summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* PermissionController: Enable permission hub by defaultlineage-17.0Luca Stefani2019-09-041-1/+1
| | | | Change-Id: I0c7539947d381264db4c8c6cd80e3e490206fdbc
* Revert "Remove Permissions Hub."Luca Stefani2019-09-0415-10/+2127
| | | | | | This reverts commit 5747740517e37ebe05209fde129cc776af4c2127. Change-Id: Ic38e77e8b11baa2dded3593089720d6592d8ddb6
* Merge cherrypicks of [8673593, 8673409, 8673796, 8673797, 8673798, 8673855, ↵android-build-team Robot2019-07-171-30/+34
|\ | | | | | | | | | | 8673151, 8673594, 8673499, 8673799, 8673895, 8673896] into qt-release Change-Id: Ifabd921ababb715958d57a2fd841c826fb962065
| * Fix assistant role availability on low ram devices.Hai Zhang2019-07-171-30/+34
|/ | | | | | | | | | The assistant role should be available on low ram devices, just that only assistant activities but not assistant services can be qualified. Fixes: 137388024 Test: presubmit & manual Change-Id: Ie84fd163fb49c0514f51ba64ba89c225dceb2e5b (cherry picked from commit 2300b89008de4476b2e692daeade9a1729cb3077)
* Merge cherrypicks of [8655472, 8655254, 8655915, 8655916, 8655554, 8655935, ↵android-build-team Robot2019-07-151-2/+6
|\ | | | | | | | | | | 8655917, 8655800, 8655789, 8655473, 8655918, 8655474, 8655408, 8655351] into qt-release Change-Id: If6c7ee763aedea27d9889675e55661ce59b6ee42
| * Use EXTRA_CALLING_PACKAGE for legacy change default dialer/SMS intents.Hai Zhang2019-07-151-2/+6
|/ | | | | | | | | | | So that RequestRoleActivity can always know the calling package. This is required to keep supporting pre-Q apps calling with startActivity(). Bug: 137054465 Test: manual Change-Id: I10c758fcadde8157a2d360a192accea75550a1dd (cherry picked from commit dc683d3001a13ac69f428960dd9ef052e33ae9f6)
* Snap for 5713174 from 7887f34d1e15c7528205f6d5c49a86c292ba59ab to qt-releaseandroid-build-team Robot2019-07-091-2/+8
|\ | | | | | | Change-Id: If4999b72522e0cf17653457e6512c2dda5c43d7d
| * Fix RoleSearchIndexablesProvider.Hai Zhang2019-07-031-2/+8
| | | | | | | | | | | | | | | | | | By clearing the calling identity before determining whether a role is available, to avoid the SecurityException. Bug: 135665821 Test: manual Change-Id: Ibee46949c65a5cd068a5453ca053025108da2096
* | Snap for 5704971 from 29ed7908265f3e947b7d790930288d6e0cb19e88 to qt-releaseandroid-build-team Robot2019-07-031-2/+7
|\| | | | | | | Change-Id: I0133899971af16830d76060bbcdc88b26250e835
| * Do not crash permission review on invalid permissionsPhilip P. Moltmann2019-07-021-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Apps can request permissions that are not defined. In this case any attempt to change properties of these permission will fail. This is also means that these were never marked as REVIEW_REQURIED. Hence it is totally fine to just pave over these exception. Fixes: 136143384 Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.PermissionsHostTest#testCompatDefault22 (crashed before, now passes) Change-Id: I9fc29ec5b63046c5f753aae3ea3b7b599924cad8
* | Snap for 5688376 from bfb184415188d45882b52e3f76ffb76455689ff1 to qt-releaseandroid-build-team Robot2019-06-262-0/+57
|\| | | | | | | Change-Id: I5b54221a275398d4cb54c1ecd1c60647bd7ae1fb
| * Merge "Whitelist all permission in apks on /system" into qt-devTreeHugger Robot2019-06-251-0/+48
| |\
| | * Whitelist all permission in apks on /systemPhilip P. Moltmann2019-06-251-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As these apps never get installed, there is no entity white-listing these permissions. Hence the system needs to do that. Test: Added permission to an app during OTA and made sure that it is white-listed Bug: 135950886 Change-Id: I882c033f995c684a4eb0460c7adce0bb870a16c8
| * | Fix issue with AppPermissionsFragment crashing when no allowed or no denied ↵Stanislav Zholnin2019-06-251-0/+9
| |/ | | | | | | | | | | | | | | permissions presented. Change-Id: I4f3e27350cced26f26173822e1ba806afa34c2b6 Fix: 135974275 Test: manual verification
* | Snap for 5682192 from a60eaef48b042f5c5ecfe69ff103ccd62a8d4024 to qt-releaseandroid-build-team Robot2019-06-234-25/+25
|\| | | | | | | Change-Id: I824b28600ee18a4b8a4869d043a1bc7bf7cc1c29
| * Import translations. DO NOT MERGEBill Yi2019-06-234-25/+25
| | | | | | | | | | | | | | Auto-generated-cl: translation import Bug: 64712476 Change-Id: I18018cac9b9e2c8f934a068ec46d901dc6ebe7e5
* | Snap for 5681426 from ca55f2759fc40596bec8afa3f79b9e784d4bf31f to qt-releaseandroid-build-team Robot2019-06-227-39/+269
|\| | | | | | | Change-Id: I324742a39aed80379a3b94ac683a3eb0f94bcc0c
| * Add logging of user actions in AppPermissionFragment.Stanislav Zholnin2019-06-211-0/+87
| | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 215 Bug:133401502 Change-Id: Ic586a22e676cefbf67a9f7e638655fad58bd5613
| * Merge "Add logging of location access check notificaiton." into qt-devStanislav Zholnin2019-06-211-7/+37
| |\
| | * Add logging of location access check notificaiton.Stanislav Zholnin2019-06-211-7/+37
| | | | | | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 214 Bug:133401502 Change-Id: Ia9a4b8215997dda441b1160627bb58e267bcf23f
| * | Merge "Add logging of AppPermissionsFragment views." into qt-devStanislav Zholnin2019-06-211-17/+74
| |\ \
| | * | Add logging of AppPermissionsFragment views.Stanislav Zholnin2019-06-211-17/+74
| | |/ | | | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 217 Bug: 133401502 Change-Id: Ia1a1cb132c4c97013eadafe904c648a449a76c01
| * | Merge "Add logging to PermissionAppsFragment" into qt-devStanislav Zholnin2019-06-211-0/+44
| |\ \
| | * | Add logging to PermissionAppsFragmentStanislav Zholnin2019-06-211-0/+44
| | |/ | | | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 218 Bug: 133401502 Change-Id: I51d8d1eed099fa17d2e8b6726cd174436a4c457e
| * / Add logging of user views in AppPermissionFragmentStanislav Zholnin2019-06-211-5/+19
| |/ | | | | | | | | | | Test: ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 216 Bug: 133401502 Change-Id: I35d1e48064eb986dc77497d12d7e61ee9fcd1fb9
| * Merge "Revert "Add START_ACTIVITIES_FROM_BACKGROUND permission to ↵TreeHugger Robot2019-06-201-2/+0
| |\ | | | | | | | | | PermissionController"" into qt-dev
| | * Revert "Add START_ACTIVITIES_FROM_BACKGROUND permission to PermissionController"Wenjie Zhou2019-06-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit f25afa9048e17e041cae354ea160377f30a41090. Reason for revert: There is a better choice (ag/8051966) than adding the permission to resolve b/130827484 Bug: 130827484 Change-Id: I8dba97080f2c64b7e8d44d46bf1b5acb4b1e5075
| * | Merge "Add help links to overlayable" into qt-devEvan Severson2019-06-201-0/+6
| |\ \
| | * | Add help links to overlayableEvan Severson2019-06-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Test: make installclean && make -j && vendor/google/tools/flashall -w Bug: 132617220 Change-Id: I64a875741bcedb4da3b2d08b050848370b5439ab
| * | | Merge "Revert "Expand location for everybody"" into qt-devTreeHugger Robot2019-06-201-8/+2
| |\ \ \
| | * | | Revert "Expand location for everybody"Philip P. Moltmann2019-06-201-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6f7c486ece2256e118cdd65d67c4c1e81f2eb22b. Reason for revert: Droidfood daily and weekly got fixed. Hence no need to keep this in anymore. Fixes: 118661683 Test: Clean revert Change-Id: I3e17ef18220a76d7c4e035575ffd7d915b56a137
* | | | | Snap for 5671254 from 0f0587d8c532657d39848178fc79e47e2b89cc56 to qt-releaseandroid-build-team Robot2019-06-196-17/+102
|\| | | | | | | | | | | | | | | | | | | Change-Id: Iedef86dd0a037635739af094bbd923665daea853
| * | | | Adding logging for GrantPermissionsActivity buttons presented and pressed.Stanislav Zholnin2019-06-181-15/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 213 Bug:133401502 Bug:134581123 Change-Id: I51dc90f01f603ac882c03b7c849596c252293dd2
| * | | | Merge "Logging permission grants during upgrade." into qt-devStanislav Zholnin2019-06-181-0/+21
| |\ \ \ \
| | * | | | Logging permission grants during upgrade.Stanislav Zholnin2019-06-171-0/+21
| | | |/ / | | |/| | | | | | | | | | | | | | | | | | | | | | Test: manually verified Bug:133401502 Change-Id: Iffc603906eaf4a818e77bf1e6f9bd3c03424e02c
| * / | | Fix candidate apps appearing after footer.Hai Zhang2019-06-174-2/+17
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The footer should always be removed before being added again, and the order must be reset as well to allow orderingAsAdded to work. Fixes: 135463572 Test: manual Change-Id: I46441f829645223ea93cadaa3ecb9ac36b0a9bdd
* | | | Snap for 5663820 from 2556c5c7878e809d3f856ff2e969a3041d57d748 to qt-releaseandroid-build-team Robot2019-06-151-1/+27
|\| | | | | | | | | | | | | | | Change-Id: Id70ec3416e3f5c781aecd90db10cacf29fcfc848
| * | | Add logging of ReviewPermissionsFragment actions.Stanislav Zholnin2019-06-141-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | Test: make statsd_testdrive && ./out/host/linux-x86/bin/statsd_testdrive -p com.google.android.permissioncontroller 211 Bug: 133401502 Change-Id: Ic4179d8853bf526acd6dc67ba14574312a054309
* | | | Snap for 5656475 from a74705b770f6fe6d9f26c19d2f2b02b2b356e519 to qt-releaseandroid-build-team Robot2019-06-132-11/+21
|\| | | | | | | | | | | | | | | Change-Id: I1f921b5631e0960af4551dbf720e43438e3d5499
| * | | Whitelist permission before trying to grant it for role.Hai Zhang2019-06-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Or otherwise the permission cannot be granted if it's not whitelisted beforehand by something else. Fixes: 135136001 Test: presubmit Change-Id: I11fa97c8c31c1dfbc498158852dff18cf8e23a8d
| * | | Merge "Unset even restricted permissions" into qt-devPhilip P. Moltmann2019-06-121-7/+17
| |\ \ \
| | * | | Unset even restricted permissionsPhilip P. Moltmann2019-06-111-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We do not create AppPermissionGroup objects for restricted permissions as the user cannot change those. If a permission is restricted, but needs a review we still need to mark it as reviewed as otherwise the app won't start. As the user cannot change it, leaving the permission in the default state without review is fine. Test: Installed pre-23 app with restricted permissions and reviewed permissions -> app started after review Fixes: 134500512 Change-Id: If458e739ecf980d2521e87828b75b879aec289c5
* | | | | Merge "Snap for 5652499 from 2af4e1b3e865889e214f56fc541306af011ccc46 to ↵android-build-team Robot2019-06-120-0/+0
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | qt-release" into qt-release
| * | | | | Snap for 5652499 from 2af4e1b3e865889e214f56fc541306af011ccc46 to qt-releaseandroid-build-team Robot2019-06-121-2/+2
| |\| | | | | | | | | | | | | | | | | | | | | | Change-Id: Iccc0d1f7110fd2288f92e84598bf5985ae696bd3
* | | | | | Snap for 5652499 from 2af4e1b3e865889e214f56fc541306af011ccc46 to qt-releaseandroid-build-team Robot2019-06-121-2/+2
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / Change-Id: I87a47eaa26ee55051548bfb2a2439ee9a837e757
| * | | | Merge "qt-dev should be v290000000 and targetSdkVersion=29" into qt-devAkshay Thakker2019-06-111-2/+2
| |\ \ \ \
| | * | | | qt-dev should be v290000000 and targetSdkVersion=29Akshay2019-06-071-2/+2
| | |/ / / | | | | | | | | | | | | | | | | | | | | Bug: 129546105 Change-Id: If4e768da2ed0b2e099d1591c4c0e221c0aa881d4
* | | | | Snap for 5649081 from 1c1d5864376eca28fa76e565193f744d64847c2b to qt-releaseandroid-build-team Robot2019-06-111-2/+8
|\| | | | | | | | | | | | | | | | | | | Change-Id: I9ea8283e83a2db2a34ec2e9915c8721678e57f05
| * | | | Merge "Expand location for everybody" into qt-devPhilip P. Moltmann2019-06-101-2/+8
| |\ \ \ \ | | | |/ / | | |/| |
| | * | | Expand location for everybodyPhilip P. Moltmann2019-06-071-2/+8
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... to fix up that some the apps that got downgraded from always to while-in-use. Fixes: 118661683 Test: Checked that location perms got expanded on Q->Q upgrade Change-Id: I5fdbd2d439e6002d463da2f73af00531fe3355c0