summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make corners on grant permision dialog roundPhilip P. Moltmann2016-05-171-2/+1
|\ | | | | | | | | | | | | | | | | am: f71c1317bf * commit 'f71c1317bfcb1d30adac16ed38391b0d3e16d8ef': Make corners on grant permision dialog round Change-Id: I3006dcf794d19bbbaf0361c48b141353dabf5b2a
| * Make corners on grant permision dialog roundPhilip P. Moltmann2016-05-161-2/+1
| | | | | | | | | | Bug: 28746698 Change-Id: Id4bdbad5efd4dba71a62a8afb22324a1236d675b
* | Merge "Take advantage of new MotionEvent flag to prevent tapjacking." into ↵Michael Wright2016-05-162-2/+58
|\| | | | | | | | | | | | | | | | | | | | | nyc-dev am: 1be5a77aaa * commit '1be5a77aaa3bfba81063cbba38422dfe30c4ce40': Take advantage of new MotionEvent flag to prevent tapjacking. Change-Id: I416339e7bb12371480432699499871cf3c43bcab
| * Merge "Take advantage of new MotionEvent flag to prevent tapjacking." into ↵TreeHugger Robot2016-05-162-2/+58
| |\ | | | | | | | | | nyc-dev
| | * Take advantage of new MotionEvent flag to prevent tapjacking.Michael Wright2016-03-312-2/+58
| | | | | | | | | | | | | | | Bug: 26677796 Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac
* | | Merge "Ensure app label properly bolded" into nyc-devSvetoslav Ganov2016-05-141-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 55dbb25ae3 * commit '55dbb25ae341353ef10312d89a248d4e658be9ee': Ensure app label properly bolded Change-Id: If437d0944f8dc45107d67252ccf1f17e8c748ca3
| * | Merge "Ensure app label properly bolded" into nyc-devSvetoslav Ganov2016-05-141-2/+2
| |\ \
| | * | Ensure app label properly boldedSvetoslav Ganov2016-05-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change ensures the app name is properly bolded in the premissions request UI even if it is a substring of "Allow" :) bug:28719607 Change-Id: I5a313f67c19a2d882732b1c97f0dbee5782b22f5
* | | | Merge "Use badged icons for permissions." into nyc-devPhilip P. Moltmann2016-05-131-10/+12
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 988f3bcb21 * commit '988f3bcb21b7026cfab89d22ef912f98c9c9f8a2': Use badged icons for permissions. Change-Id: I922e3df467d31be00c80128c91330b381853ce70
| * | | Merge "Use badged icons for permissions." into nyc-devPhilip P. Moltmann2016-05-131-10/+12
| |\ \ \
| | * | | Use badged icons for permissions.Philip P. Moltmann2016-05-111-10/+12
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Please note that the labels stay unbadged. I.e. The label will always be "Contacts" instead of "Work Contacts". Fixes: 28403737 Change-Id: Ib994db946b07098a8c0f95eab5787fb30532fe62
* | | | Merge "Finish whole installation on cancel dialog." into nyc-devPhilip P. Moltmann2016-05-131-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f682d8970c * commit 'f682d8970cc10e9943232cde1888d214637e610e': Finish whole installation on cancel dialog. Change-Id: I785f39748871178c428330c70428d2a8b4979f78
| * | | Merge "Finish whole installation on cancel dialog." into nyc-devPhilip P. Moltmann2016-05-131-1/+1
| |\ \ \
| | * | | Finish whole installation on cancel dialog.Philip P. Moltmann2016-05-111-1/+1
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user does not want to enable "unknown sources" and clicks "cancel" the whole installation should finish. Fixes: 28683865 Change-Id: I2582141ea777e5b2e14dd690b3c3fb8039cff2d4
* | | | Merge "Fine tune UI of package installer." into nyc-devPhilip P. Moltmann2016-05-121-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 51b7ac8dc1 * commit '51b7ac8dc1b2e6ccb2d3af2f1c1d84b529977e3a': Fine tune UI of package installer. Change-Id: I0b2407e42d74ac3c15b3926f202b327de5561c9a
| * | | Merge "Fine tune UI of package installer." into nyc-devPhilip P. Moltmann2016-05-121-1/+3
| |\ \ \
| | * | | Fine tune UI of package installer.Philip P. Moltmann2016-05-121-1/+3
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes two screens in the case no permissions are required. - Do not remove tabs, just make them invisible. This is required to push the "OK" and "CANCEL" button to the bottom - Show spacer under text as this looks prettier. Fixes: 28746145 Change-Id: Ia312b476c7e3944709ed3f8fd71d12268559257f
* | | | Fix app install flowSvetoslav Ganov2016-05-122-9/+25
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f63739bb3f * commit 'f63739bb3f5de9927171b84630ec5872ba85fa6c': Fix app install flow Change-Id: I37bdfd9f7e005d57eb90e46f87f4cabcfaa6519c
| * | | Fix app install flowSvetoslav Ganov2016-05-102-9/+25
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A regression was introduced when we added support for installing apps from content URIs. Since we stage the APK in the cache folder we changed the flow to wipe the cached version when the PackageInstallerActivity finishes or gets an installation result, so we started the InstallAppProgress activity for result but the latter may be called with the forward result flag which is incompatible with start activity for result. This change delegates clearing the staging file in the cache folder to the InstallAppProgress activity. bug:28551937 Change-Id: I0d9978aff60b7fab6b64fe7bf889ef30f9b2fd7c
* | | Update Wearable install logic to use stream APIAnthony Hugh2016-05-095-32/+624
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The default directory for PackageInstaller moved from /data/user/foo to /data/user_de/foo. Not sure on the exact reason why, but it has something to do with the file based encryption changes in N. This was causing the temp APK file that we were passing to PackageManager for installs to be in an invalid location. This resulted in failed installations. This is OK though because we never really wanted to use a temporary file. We were using it due to limitations in the PackageInstaller APIs. Since implementation, new APIs have been added to allow us to pass a stream through instead. This CL updates the install logic to use the stream API instead. Because this code path is being deprecated and replaced, I've opted to do the bare minimum needed to keep this code operational. I've also borrowed installation code from Wearsky/Finsky codebase to make it easier and more reliable. BUG: 28021618 Change-Id: Ia245abf56649e350e99cf48d2b503906d3cd855c
* | | Mend up onDestroy->onCreate for N.Philip P. Moltmann2016-05-062-2/+29
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 1dba1776c3 * commit '1dba1776c3fd432fd9adb5e3e251b6562aca7f3c': Mend up onDestroy->onCreate for N. Change-Id: I00752f0fbbba45886c0a081bb137dccbec145c03
| * | Mend up onDestroy->onCreate for N.Philip P. Moltmann2016-05-052-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This does not implement correct onDestroy->onCreate behavior but mends it for the common case. We now handle all configurations changes, hence onDestroy->onCreate is very rare. We also just abort quickly if we actually had a onDestroy->onCreate instead of crashing. This is a temporary fix. Bug: 28588511 Change-Id: Ief56c8b866f2561b13253f66a7f79517fc2132cb
* | | Import translations. DO NOT MERGEBaligh Uddin2016-05-040-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 4cb02fd082 -s ours * commit '4cb02fd082ceceba2c73447f466032fce94108d8': Import translations. DO NOT MERGE Change-Id: Ida0c25ec4c37a5c54b3253353cc727581e6010fd
| * | Import translations. DO NOT MERGEBaligh Uddin2016-05-041-1/+1
| | | | | | | | | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 28463229 Change-Id: I5385aa26a60096b2d8767051d5759aa508ae8519
* | | Merge "Revert "Grant only the requested permissions"" into nyc-devSvetoslav Ganov2016-05-032-59/+9
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: f8c039543d * commit 'f8c039543d624d3778022c766ec30e4d8d8285de': Revert "Grant only the requested permissions" Change-Id: I9ae425769c0ee6a3a55556bc493a31bb1a6323b3
| * | Merge "Revert "Grant only the requested permissions"" into nyc-devSvetoslav Ganov2016-05-032-59/+9
| |\ \
| | * | Revert "Grant only the requested permissions"Svetoslav Ganov2016-05-032-59/+9
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 294b6406798c59e9db5ffa99d042f9b8c6ca6f90. Change-Id: Ifb48eb1fbdb0499743f4ca88adbd5ed77cfa4cf8
* | | | Merge "Grant only the requested permissions" into nyc-devSvet Ganov2016-04-292-9/+59
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9154c12ce7 * commit '9154c12ce75af52ecf7b260600d62d64918105ff': Grant only the requested permissions Change-Id: I933b644cc8394b42862b8551e38c0c05ddbcc204
| * | | Merge "Grant only the requested permissions" into nyc-devSvetoslav Ganov2016-04-292-9/+59
| |\| |
| | * | Grant only the requested permissionsSvet Ganov2016-04-272-9/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an app requests a permission in a group we were auto granting it all permissions from the group declared as used by the app. The intended behavior is that we grant only the requested permission and requesting a permission from a group where a permission is already granted results in an auto-grant. The intended behavior was to prevent coding around permission groups which a volatile by design. Now if apps target SDK above M we provide the intended behavior, otherwise for apps targeting M we provide an unchenged behavior. bug:28347872 Change-Id: I493714b2c2581340b01b12ce6fedf80f9d3deec5
* | | | Merge "Only platform defined permissions need a review." into nyc-devSvet Ganov2016-04-291-2/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: c9cf85cbdc * commit 'c9cf85cbdc0099c94e51bf88ec848cb294bce52c': Only platform defined permissions need a review. Change-Id: Id25eee643c4807c17d0ae14ea5adfbc0464d8b97
| * | | Merge "Only platform defined permissions need a review." into nyc-devSvetoslav Ganov2016-04-291-2/+2
| |\ \ \
| | * | | Only platform defined permissions need a review.Svet Ganov2016-04-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only permissions a user can control for a legacy app in runtime style without crashing the app are the ones defined by the platform because we have app ops only for these and also we contorl the access to data guarded by them. bug:27102458 Change-Id: I63d02e169dc82e9f3638b8e8f99ed8d95ae7d325
* | | | | Merge "Fix a NPE in PackageInstaller" into nyc-devSvet Ganov2016-04-292-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 18d40b7617 * commit '18d40b761784c3e670346f159a22cc0ca1eaf62a': Fix a NPE in PackageInstaller Change-Id: Ia3aa96f250704723a817aec484c0c1af8f53ce2e
| * | | | Merge "Fix a NPE in PackageInstaller" into nyc-devSvetoslav Ganov2016-04-292-4/+4
| |\| | |
| | * | | Fix a NPE in PackageInstallerSvet Ganov2016-04-292-4/+4
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were returing a null PermissionGroup object to a place where this was not expected by design. The reason for that was an incorrect fix for b/28241097. This CL reverts the introduced regression and adds a null check just in case. bug:27102458 Change-Id: I78f8107d0adf6bb2da5d8e11c5f3cf3c00fe36a2
* | | | Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-04-270-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 6f39b6e -s ours * commit '6f39b6e8a427323f1fa2c2dd930893a2508fdab8': Import translations. DO NOT MERGE Change-Id: I5a56ad60cf7ce059980e7866333f57a2bf5cb10e
| * | | Merge "Import translations. DO NOT MERGE" into nyc-devBaligh Uddin2016-04-270-0/+0
| |\ \ \
| | * | | Import translations. DO NOT MERGEBaligh Uddin2016-04-262-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I2628855332d49ef28c1ae0954122ff7f7cb8dcbf Auto-generated-cl: translation import
* | | | | Merge "Import translations. DO NOT MERGE" into nyc-mr1-devBaligh Uddin2016-04-270-0/+0
|\ \ \ \ \
| * | | | | Import translations. DO NOT MERGEBaligh Uddin2016-04-26156-79/+547
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I4ffe24fc13a6734e1f3ed76a7df6049ff70454f6 Auto-generated-cl: translation import
* | | | | | Import translations. DO NOT MERGEBill Yi2016-04-270-0/+0
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f4d084e -s ours * commit 'f4d084e8aa594c442360b8b98e797cf14b5b8810': Import translations. DO NOT MERGE Change-Id: Ife573ae3436022a3d8c7acb6bd3db0650bc3912e
| * | | | | Import translations. DO NOT MERGEBill Yi2016-04-272-3/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | Change-Id: I48ae3be30615adcda2be3941c11b9dfab28ff404 Auto-generated-cl: translation import
* | | | | Import translations. DO NOT MERGEBill Yi2016-04-27156-79/+547
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ibb3d68046778e9935f643b17c96fe001009e5a72 Auto-generated-cl: translation import
* | | | | Merge "Remove -night qualified resources" into nyc-devAlan Viverette2016-04-261-21/+0
|\| | | | | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | am: eff96c9 * commit 'eff96c98b69ed6340f2e2d4adb99ab85389fcf19': Remove -night qualified resources Change-Id: I564ef25022685fe8a5041cc00968b23485b376ac
| * | | Merge "Remove -night qualified resources" into nyc-devTreeHugger Robot2016-04-261-21/+0
| |\ \ \ | | |/ / | |/| |
| | * | Remove -night qualified resourcesAlan Viverette2016-04-251-21/+0
| | | | | | | | | | | | | | | | | | | | Bug: 28358465 Change-Id: I01220261b60b7047fa8eed5868cbad9636e7ad92
* | | | Import translations. DO NOT MERGEBill Yi2016-04-250-0/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 9e74f22 -s ours * commit '9e74f22a95b447ea7bb49f6bbccd2b11d2ff56d9': Import translations. DO NOT MERGE Change-Id: I487b99e0443e6fa0c568bced06df237e130e3e5d
| * | | Import translations. DO NOT MERGEBill Yi2016-04-25162-891/+567
| | | | | | | | | | | | | | | | | | | | Change-Id: I51ecf7b2e7ec4e42cddb2e67e91d88495c2722d9 Auto-generated-cl: translation import
* | | | Cleanup of the PackageInstaller API - PackageInstallerSvet Ganov2016-04-2227-87/+355
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: f9bf4f7 * commit 'f9bf4f795615bac03d1b35a0138318473b1ef6bf': Cleanup of the PackageInstaller API - PackageInstaller Change-Id: I3dcb983f8f29f11b440d610fe843919b22a16f63