{"push_id":1426137796,"size":1,"distinct_size":1,"ref":"refs/heads/n7.1","head":"5783e8d3dfe2dc755b0a0225e8ba448f0b7e82f7","before":"b46b27fce2f1f70504419ce6d90a1ee65e1fadac","commits":[{"sha":"5783e8d3dfe2dc755b0a0225e8ba448f0b7e82f7","author":{"name":"Mårten Kongstad","email":"3cffa9f0984cbcdbe034048a923f9b72ea3c8264@sonymobile.com"},"message":"OMS7-N: Set EXTRA_REPLACING correctly in ACTION_PACKAGE_ADDED [4/11]\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":true,"url":"https://api.github.com/repos/ssawrav/frameworks_base/commits/5783e8d3dfe2dc755b0a0225e8ba448f0b7e82f7"}]}
{"actor":{"display_login":"ssawrav"}}