Niwatori - One Handed Mode - Nougat compatible

This is the reborn package for original Niwatori - One Handed Mode. The original link is here: http://repo.xposed.info/module/jp.tkgktyk.xposed.niwatori
The original author tkgktyk doesn't support to work on Nougat and chooses to share the source code with community.
With my effort, now it can work on Nougat and I also brings some improvement. I test it with Android 6.0 stock FW on Nexus 7, Oxygen OS on Oneplus 3T and Slim7 on Oneplus 1. I don't have more devices to test. If you have any problem, please feel free to report on GitHub or XDA post.

Author(s): 
Package: 
cn.zhougy0717.xposed.niwatori
Version name: 
0.6.5
Release type: 
Stable (low risk of bugs)
Number of downloads: 
186 in total · 5 in the last 24 hours
MD5 checksum: 
135c3e8d270c690118abdeff85eb660e
Uploaded on: 
Sunday, August 5, 2018 - 09:36
Changes: 

1. Show current intent consumer on log switch.
2. Improve battery drain.
3. Bug fixes.

Version name: 
0.6.4
Release type: 
Stable (low risk of bugs)
Number of downloads: 
175 in total · 1 in the last 24 hours
MD5 checksum: 
c7480ba770736cca88cb0101eea8f8ee
Uploaded on: 
Saturday, July 28, 2018 - 01:35
Changes: 

Bug fixes.

Version name: 
0.6.3
Release type: 
Stable (low risk of bugs)
Number of downloads: 
155 in total · 0 in the last 24 hours
MD5 checksum: 
7dd5dd717b695ba363cee12f29e5385c
Uploaded on: 
Thursday, July 19, 2018 - 01:56
Changes: 

1. Re-arch all one-hand-mode handlers. Now they inherited from one base class.
2. Remove support for extra actions. This once was designed for manipulating notification panels. Now you can use notification panel gesture to do that.
3. Add switch for enabling/disabling triggering gesture.
4. Bug fix.

Version name: 
0.6.1
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
167 in total · 0 in the last 24 hours
MD5 checksum: 
0619ba63a130439569f68300556d0b6f
Uploaded on: 
Thursday, June 28, 2018 - 00:00
Changes: 

1. Add global triggering gesture for small screen mode. Now you can swipe on left or right edge to trigger small mode in any Activity window.
2. Fix the background graphical issue for notification panel.
3. Other minor bug fixes.

Version name: 
0.6.0
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
75 in total · 0 in the last 24 hours
MD5 checksum: 
a83790abf54abc28f1b70172540d546e
Uploaded on: 
Thursday, June 21, 2018 - 11:01
Changes: 

There are bunch of new features in this version. So I bump it up to a big version change.

1.The content view in small screen mode is moved away from the edge with margins in both X and Y axis.
2.You can use gestures in those margins. Be noted that this gesture still doesn't work with Notification panel. I will work on this soon. The gestures include:
- slide down to slide the upper half of the shrunk content down to bottom half.
- slide up to reset to original shrunk screen position
- scroll left to zoom out
- scroll right to zoom in
3. Add a tutorial guide in the first app launch. You can also open it up with a menu item.
4. Translate into Chinese simplified.
5. Remove all the donation limitation. You can use every premium feature free.

Version name: 
0.5.6
Release type: 
Stable (low risk of bugs)
Number of downloads: 
294 in total · 0 in the last 24 hours
MD5 checksum: 
fc5f6fc3f0d32353e6a64a43d7707219
Uploaded on: 
Wednesday, June 20, 2018 - 12:06
Changes: 

Fix a crash during multi-finger gesture in OOS and H2OS.

Version name: 
0.5.5
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
300 in total · 0 in the last 24 hours
MD5 checksum: 
26fdda0c42998382145b001ea448788f
Uploaded on: 
Sunday, April 22, 2018 - 01:46
Changes: 

1.Remove the redundant auto reset.
2.Persistent small screen works without background service.
3.Roll to latest gradle tool and Android tool chain.
4. Move default pivotY to 0.5.

Version name: 
0.5.4
Release type: 
Stable (low risk of bugs)
Number of downloads: 
985 in total · 0 in the last 24 hours
MD5 checksum: 
b192b18b19653a6e34ad9f1477095fd7
Uploaded on: 
Wednesday, March 21, 2018 - 10:47
Changes: 

1.Add double tap gesture on notification panel. You can play with Notification panel much easier with Niwatori.
2.Fix background issue in Discord and Taobao.

Version name: 
0.5.3
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
316 in total · 0 in the last 24 hours
MD5 checksum: 
86a12f14f20bc6d59a8f7a557fd5f426
Uploaded on: 
Sunday, March 11, 2018 - 13:28
Changes: 

NOTE: use reboot rather than soft reboot to make the update work well. Otherwise, you may have issues.
1.Compile with Oreo.
2.Swap directly instead of broadcast receiver to work better in Oreo. Because Oreo cut off most cross wake up among apps.
3.Enhance compatibility.

Version name: 
0.5.2
Release type: 
Beta (some bugs to be expected)
Number of downloads: 
394 in total · 0 in the last 24 hours
MD5 checksum: 
837c499a6bdb012b6295d662763883c9
Uploaded on: 
Sunday, January 28, 2018 - 07:19
Changes: 

1. Improve the compatibility.
2. Merge the shared preference solutions in Slim7 (AOSP based) and Oxygen OS.