commit | 134c1966b0b29ae9140f2256f1cedab9b80a5c99 | [log] [tgz] |
---|---|---|
author | bigrushdog <randall.rushing@gmail.com> | Wed Dec 14 01:06:32 2016 -0800 |
committer | Nicholas Chum <nicholaschum@gmail.com> | Sat Feb 25 19:14:25 2017 -0500 |
tree | 44882e38048b03d5acd7cca1c7cd3cec7d285247 | |
parent | b5b1004b1f9e24e1f2ac42d600c5a938b4fe8945 [diff] |
Rewrite Masquerade for UID system ops [1/3] Allow Substratum to offload a handful of functions to system to support rootless operation Credit @Surge1223 for cleaning up restartUI function https://github.com/VelvetProject/packages_apps_masquerade/commit/3484db3dda1e7bf7e3f6fda049b903968f1506e7 Change-Id: I84edf02a4e154472940b9620b926f5ae1490c1a4
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="TeamSubstratum/masquerade" remote="github" revision="master" />
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