Fix null pointer in XWebView (2)
Add dump function
Reduce Xposed dependency
Further reduce Xposed dependency
Merge pull request #1395 from jpeg729/template

Added applyTemplate function
Added template for on demand restricting

Closes #1376
Refs #1395
Updated changelog
Updated changelog
Updated changelog
Fixed duplicate usage data entries
1.99.49 test
Added missing file
Updated changelog
Less Xposed dependency
Prevent recursion
Revert "Prevent recursion"

This reverts commit d6a1d4bdc9c2470b87125506fea97c8d8a727793.
Move on demand dialog layout to resources

Reading the activity manager sources revealed how to do this :-)
Suppress warnings
Improved on demand restricting dialog layout
Delay checking activity manager state until lock acquired

(the power state could have been changed in the mean time)