commit | 7714c9b4c24915a9f8ea28ab17307a6936b1e0aa | [log] [tgz] |
---|---|---|
author | George G <kreach3r@users.noreply.github.com> | Tue Feb 28 20:30:12 2017 +0200 |
committer | Nathan Chancellor <natechancellor@gmail.com> | Sun Mar 05 02:33:43 2017 +0100 |
tree | 190939c7bd19aae598edc6f583aba2d2140a865a | |
parent | 6ef1df0412a484d04749ed55d7d366d2cdaf767a [diff] |
Broadcast authorization result Masquerade will send out a masquerade.substratum.CALLER_AUTHORIZED intent with an boolean isCallerAuthorized to notify about the authorization attempt. Change-Id: Ie88350812a9f8e0b3089e55eb28d1f15a01c77ce
Masquerade is Substratum's background service that runs functions that should run on a completely separate thread. This alleviates the stress on the main app and allows for Substratum to run more smoothly.
If you are a ROM developer, by now you should know how to track new packages while building your ROM. However, if you don't - please follow these steps:
Add "masquerade" under PRODUCT_PACKAGES in "vendor/config/common.mk"
PRODUCT_PACKAGES += \ ...\ ...\ ...\ masquerade
Add the project path in "platform_manifest/default.xml"
<project path="packages/apps/masquerade" name="substratum/masquerade" remote="github" revision="n-rootless" />
platform_manifest/default.xml: https://github.com/TipsyOs/platform_manifest/commit/fbff9ea598ec04f4f4a69687a8024770fefa83de
vendor_tipsy/config/common.mk: https://github.com/TipsyOs/vendor_tipsy/commit/2e72dc4eb3a206fad34e9c4f130e270180eab1c2