{"push_id":1426875969,"size":16,"distinct_size":0,"ref":"refs/heads/n","head":"b4f8416349865813628fa49be4e3bff1e4dae8a2","before":"0d0dc59abf4a18e848c6ef9ad37767100b9dfa14","commits":[{"sha":"c82d665559c53cba9196cb05c0b9bd59f8d63f0a","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Support tagging resources as OK to overlay [1/14]\n\nThis will allow applications to have a resource xml defining what\nresources that are safe to overlay by third party overlay packages.\nThe format of the tag is <overlay type=\"...\" name=\"...\"/> and it will\nresult in the FLAG_OVELAY being set on the resource entry.\n\nAn overlay package with resources that are not tagged as OK\nto overlay by the target application, is considered to be a dangerous\noverlay.\n\nIdmaps generated for dangerous overlays will be flagged as dangerous in\nthe idmap header. It is still possible to use both idmap and overlays that\nare dangerous, but it might not be advisable.\n\nThe intention is to allow dangerous overlays to be used if\nthey are pre-installed or if the signature of the overlay package\nmatches the signature of the target package.\n\nChange-Id: I08d11de845c1679017798ea1636ef4c36f820d8e","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/c82d665559c53cba9196cb05c0b9bd59f8d63f0a"},{"sha":"e42447c009b6f739588b290c1a69af0ce4a7d0f4","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Introduce the OverlayManagerService [2/14]\n\nAdd a new system service to manage Runtime Resource Overlays. This will\noffload the PackageManagerService and allow administration of overlay\npackages while affected packages continue to execute.\n\nOverlays can be enabled or disabled during runtime. To the running\napplication the change is invisible. Technically, the overlay is added\nor removed from the running application similarly to how multi-window\naffects resources.\n\nBefore an overlay can be enabled it has to be approved. This happens\nduring package installation or upgrade and if an error occurs, the\noverlay is marked as not approved.\n\nThe system performs the following security checks, in\nthe order listed, to determine if an overlay can be approved:\n\n  1. Is the overlay package pre-installed? If yes, OK to use.\n\n  2. Are the target and overlay packages signed with the same\n     certificate? If yes, OK to use.\n\n  3. Is the overlay dangerous? If no, OK to use.\n\nAn overlay is said to be dangerous if it modifies resources not\nexplicitly specified by the target as OK to overlay. (This is done by\nadding <overlay type=\"...\" name=\"...\"/> tags to the target's resources.)\n\nThe decision to approve/not approve an overlay is not re-evaluated until\nthe next time either the overlay or its target package is changed.\n\nThe order in which a set of overlays is loaded may also be changed\nduring runtime. The underlying mechanics are the same as for when an\noverlay is enabled or disabled.\n\nWhen an overlay changes state, e.g. becomes enabled, the\nOverlayManagerService will broadcast one of the new intents\nandroid.intent.action.OVERLAY_ADDED, *_CHANGED, *_REMOVED or\n*.OVERLAYS_REORDERED.\n\nClients that wish to read information about overlays for users other\nthan themselves are required to hold the\nandroid.permission.INTERACT_ACROSS_USERS_FULL permission. This mirrors\nthe protection level of PackageManager.getPackageInfo.\n\nClients that wish to change the information are required to\nhold the permission android.permission.CHANGE_CONFIGURATION.\n\nEach pair of overlay package and corresponding target package is\nrespresented by a new OverlayInfo class. This class mirrors the\nexisting PackageInfo class.\n\nOverlay packages are handled per Android user. The data is persisted in\n/data/system/overlays.xml.\n\nChange-Id: Icc3c7daa25345d20bc5014b865024422eab72f5b","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/e42447c009b6f739588b290c1a69af0ce4a7d0f4"},{"sha":"6d06918b9a2f9ef2321ea7718b1fdba9953d7a2a","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Integrate OverlayManagerService into framework [3/14]\n\nHand over ownership of overlays to OverlayManagerService.\n\nChanges to a package's overlays are propagated using the activity life\ncycle. Affected activities will be recreated as needed. This provides a\nwell-defined point to modify an application's assets while the\napplication is paused.\n\nConsolidate how overlays targeting the system and overlays targeting\nregular applications are handled. Previously, system overlays were\nhandled as a special case. Now, everything is handled identically. As a\nside effect, the call to idmap --scan during Zygote boot has become\nobsolete and is removed.\n\nDeprecate and remove use of SCAN_TRUSTED_OVERLAY from\nPackageManagerService. Previously, the flag was used to restrict what\npaths overlays were allowed to be installed in. Now, overlay packages\nare first class packages and it is up to the OverlayManagerService to\ndecide whether to use the overlay or not.\n\nInformation on what overlays to use is recorded in\nApplicationInfo.resourceDirs. The PackageManagerService is responsible\nfor the creation of ApplicationInfo objects. The OverlayManagerService\nis responsible for informing the PackageManagerService in advance about\nwhat resourceDirs to use.\n\nWhen launching an application, the ApplicationInfo is already populated\nwith up-to-date information about overlays.\n\nWhen enabling or disabling an overlay for a running application, the\nOverlayManagerService first notifies the OverlayManagerService about the\nupdated resourceDirs. It then tells the ActivityManagerService to push\nthe new ApplicationInfo object to the application's ActivityThread.\nFinally the application requests its ResourcesManager to create new\nResourcesImpl objects based on the updated paths.\n\nChange-Id: If0b1eaa690c38f9c33f7c8dc981314205a73fa9c","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/6d06918b9a2f9ef2321ea7718b1fdba9953d7a2a"},{"sha":"97b1b8cb562e0276d1d61dfcd0c08a9cb6f20194","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Set EXTRA_REPLACING correctly in ACTION_PACKAGE_ADDED [4/14]\n\nWhen broadcasting ACTION_PACKAGE_ADDED the recipients of the Intent are\nsplit into two groups: the first group hasn't seen the new package\nbefore and the Intent should have EXTRA_REPLACING set to false; and vice\nversa for the second group.\n\nThe package manager schedules these Intent broadcasts on a background\nthread by posting Runnable objects to a handler. Each Runnable holds\nreferences to objects used to construct the Intents, one of which is a\nBundle used to create the Intent extras.\n\nIf the same Bundle object is used for both recipient groups, any\nmodification to the object made for one group will unintentionally\npropagate to the other. To prevent this a separate Bundle is now created\nfor each group.\n\nPrior to this patch, the following scenario would fail:\n\n  1. Install a package P for user owner\n  2. Create and switch to a secondary user\n  3. Install a new version of package P (for all users)\n\nIn step 3, the secondary user was expected to receive\nACTION_PACKAGE_ADDED with EXTRA_REPLACING set to false, but instead it\nwas set to true. The bug was initially introduced in commit bd0e9e49.\n\nChange-Id: Icf869013d5d652de4bf0f6df4529b7a68d35a25c","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/97b1b8cb562e0276d1d61dfcd0c08a9cb6f20194"},{"sha":"bd65fd6ce892bfb1f0894d7af0ce865729d1430c","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: idmap: suppress print for padded resources [5/14]\n\nChange-Id: I565ccf515068b96927e4317cc9c06543415bb324","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/bd65fd6ce892bfb1f0894d7af0ce865729d1430c"},{"sha":"38c79aefbd9b2aa6f88e16440226669be335942d","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Ensure unique type IDs when parsing overlays [6/14]\n\nAlways add a block to the idmap for each type in the overlay package\neven if there are no matching resources for that type. This ensures that\nResTable::parsePackage will always get a unique ID for each type.\n\nAn alternative implementation would be to skip non-matching types when\nparsing the overlay package, but that would prevent resolving references\nto resources in XML.\n\nChange-Id: Ia405fa53562967139965c4c6aa49f252b79d14d2\nCo-authored-by: Anton Risberg Alakula <anton.risbergalakula@sonymobile.com>","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/38c79aefbd9b2aa6f88e16440226669be335942d"},{"sha":"d87d8a7e68f5e3459de54eec9f3ef0e3786a9f90","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Fix memory leak during idmap creation [7/14]\n\nPlug a memory leak in AssetManager::createIdmap.\n\nChange-Id: Ieed805c596df931e2167ebb47c1b2907d6bf67f4","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/d87d8a7e68f5e3459de54eec9f3ef0e3786a9f90"},{"sha":"00a56e317d5c5dec2b9f6c044a02a5ebd0980245","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: installd: add command 'rmidmap' [8/14]\n\nAdd an installd command to remove an idmap file. This is the inverse of\nthe 'idmap' command and is intended for clean-up once an idmap file is\nno longer needed because an APK was removed, etc.\n\nThis commit depends on a corresponding commit in frameworks/native (with\nthe same Change-Id).\n\nChange-Id: I58f55f643da99c0bd69136ee43c1c8c70c352797","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/00a56e317d5c5dec2b9f6c044a02a5ebd0980245"},{"sha":"1cf46111a569e542b1e5ad11c19a94e327033427","author":{"name":"Josh Guilfoyle","email":"9b42480b02d129ef3739d32c21c799dd2f1d87c3@T-Mobile.com"},"message":"OMS7-N: Disable Zygote preloaded drawables [10/14]\n\nWith a theme applied, most of these preloaded drawables go unused.  Any\nassets the theme has redirected will need to be loaded with each app\nprocess regardless.  Worse, preloads make it impossible to do asset\nredirection for constituent parts of a preloaded drawable (for instance,\nindividual states of a StateListDrawable cannot be redirected).\n\nSome day it might be nice to revisit this and see if there's a way to\nreintroduce the drawable cache in a way that can be altered at runtime\nwithout significant complexity or runtime penalty.\n\nChange-Id: I253b1a22482ac664c196533a4c2fcd88ae84b996","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/1cf46111a569e542b1e5ad11c19a94e327033427"},{"sha":"b8a6eed26b5a1df92a8b54c7f367d63f7500a444","author":{"name":"Nicholas Chum","email":"9cffcde276d661c9019421619e3387d586632a0f@gmail.com"},"message":"OMS7-N: Persistence on boot through OverlayManagerServiceImpl [11/14]\n\nOverlays should not be enforced by the traditional OverlayManagerService\nby Sony, but instead, it shouldn't be enforced at all to allow third\nparty overlays from the community to boot up with the device.\n\nChange-Id: Ic6eeb38b5e7bcec4211405d4504ba37a75738227","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/b8a6eed26b5a1df92a8b54c7f367d63f7500a444"},{"sha":"c1c9a5916c08892d3ab908809b2572f9d7d2dd7f","author":{"name":"Nicholas Chum","email":"9cffcde276d661c9019421619e3387d586632a0f@gmail.com"},"message":"OMS7-N: Do not enforce code policy limiting the installation of overlays [12/14]\n\nChange-Id: Iea317f3771f25dbfcbf4938e88cace12fd97d7eb","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/c1c9a5916c08892d3ab908809b2572f9d7d2dd7f"},{"sha":"4ad6c57e759dab7adedea07a3aff13c63a1775dc","author":{"name":"Jacob McSwain","email":"b41244c534ba6306bfcb847425c10e64add69e9d@gmail.com"},"message":"OMS7-N: Implement multiple targets for enable/disable and disable-all [13/14]\n\nJust use the enable option like normal, but you can add more arguments\nfor more packages. Also add a feature that allows the client to disable\nall of the current user's overlays.\n\nMultiple targets example:\n    om enable android.AkZent com.android.systemui.AkZent\n\nWorks the same as:\n    om enable android.AkZent && om enable com.android.systemui.AkZent\n\nOriginal implementation for M by @USA-RedDragon\nCurrent and further development by @nicholaschum\n\nChange-Id: I04a595084a87b8260b5c534c4f5f111adbe154d7","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/4ad6c57e759dab7adedea07a3aff13c63a1775dc"},{"sha":"5dc76c0168ffc3b957ff9cc72c181a6f39828069","author":{"name":"Jacob McSwain","email":"b41244c534ba6306bfcb847425c10e64add69e9d@gmail.com"},"message":"OMS7-N: Allow on-demand window refreshes using \"om refresh\" [14/14]\n\nThis commit allows Substratum to call \"om refresh\" to trigger window\nrefreshes on demand.\n\nOriginal implementation for M by @USA-RedDragon\nCurrent and further development by @nicholaschum\n\nChange-Id: Iad761c1c208ef2af14fd1e4510a99eda6deaf286","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/5dc76c0168ffc3b957ff9cc72c181a6f39828069"},{"sha":"723fb01bd91a052c7e59f63a6630a5a4014230a5","author":{"name":"0xD34D","email":"8f178a7fafffcaf06c8964a85d64b7eb9b0b233d@scheffsblend.com"},"message":"N-Extras: Add dynamic theme BootAnimation support\n\nExtracted from \"Themes: Port to CM13 [1/3]\"\nhttp://review.cyanogenmod.org/#/c/113273/14\n\nChange-Id: I4a71548d4ed6560be2bb80926023b275a1ea4e9c\n\nConflicts:\n\tcmds/bootanimation/BootAnimation.cpp","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/723fb01bd91a052c7e59f63a6630a5a4014230a5"},{"sha":"0e71648750109ae2c6ef6a43fe446e09aa104e01","author":{"name":"Nicholas Chum","email":"9cffcde276d661c9019421619e3387d586632a0f@gmail.com"},"message":"N-Extras: AudioService: Allow system effect sounds to be themed\n\nThis commit checks whether there is a preexisting file in the themed\ndirectory \"/data/system/theme/audio/ui/\" and if so, change the base\nfile paths for the sound. If the file does not exist in the theme\ndirectory, then use the default sounds.\n\nAt the current moment, this will require a soft reboot to work.\n\nChange-Id: I7666c2bd259443ccec442bf6059786bea3dc069e","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/0e71648750109ae2c6ef6a43fe446e09aa104e01"},{"sha":"b4f8416349865813628fa49be4e3bff1e4dae8a2","author":{"name":"0xD34D","email":"8f178a7fafffcaf06c8964a85d64b7eb9b0b233d@scheffsblend.com"},"message":"N-Extras: Add dynamic theme fonts support\n\nExtracted from Themes: Port to CM13 [1/3]\nhttp://review.cyanogenmod.org/#/c/113273/14\n\nSquashed:\n\nSmall adjustment to Font commit\nAuthor camcory\nhttps://github.com/SubstratumResources/platform_frameworks_base/commit/a13f088dff70bc52f2053f32acff47a7a377a807\n\nThemes: Ensure themed fonts always have fallbacks\nAuthor 0xD34D\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/18b301874e2a658eb01f97defd70da038521f450\n\nThemes: Let garbage collector free up native instances\nAuthor 0xD34D\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/b7108ea9ce7ad2226aa6340046d24e069c6e8e21\n\nThemes: Make parse() method in FontListParser public\nAuthor 0xD34D\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/b3ae4609f2754fd156e34dfbf39551041e976031\n\nFonts: add sans-serif fallback fonts first\nAuthor 0xD34D\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/f1d7b86dd267ed5b59e51339edc4553d37561a39\n\nThemes: Add config change flag for font change\nAuthor 0xD34D\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/2ec1a33b70d3c013daa956696b68167a5eeef70d\n\nThemes: don't recreateDefaults on typeface when locale changes\nAuthor romanbb\nhttps://github.com/CyanogenMod/android_frameworks_base/commit/e05ffea4ea55a4eb6b40436a864a570509eb33ac\n\nChange-Id: I1f61bd269b42ab6145482a51d25fe5b1b5308f94","distinct":false,"url":"https://api.github.com/repos/Cosmic-OS/platform_frameworks_base/commits/b4f8416349865813628fa49be4e3bff1e4dae8a2"}]}
{"actor":{"display_login":"sagarshah1729"}}