summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Implement base version of GrantPermissions dialog"Anthony Hugh2015-08-213-315/+0
| | | | | | | | This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5. We can't reference vendor from this package. Need to add the references manually. Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
* Implement base version of GrantPermissions dialogAnthony Hugh2015-08-213-0/+315
| | | | | | | | | | | | | | | | | | | | | With the Emerald release, we need to support the new permission APIs. This changelist adds a dialog for the Activity.requestPermissions() API so that users can request permissions. This check in is a functional version, but not polished. will need to be a follow up CL to add the correct animations and update the UI to the appropriate redlines. The implementation for the confirmation dialog is modeled after the one in the clockwork libs/Views folder. There are some tweaks to match the designed behavior of the permission dialog. When there's more time in the future, we should try to condense this to one implementation. BUG: 23118402 Change-Id: Ic90d37a2ce8a7adacb7c4e004b0a5260b624f5c8
* Fix issue #23115154: APR: NPE in PackageInstallerDianne Hackborn2015-08-111-0/+4
| | | | Change-Id: If89e603508e02cad781ee455b2149af1024bd443
* Do not show removed permissions in the UI - frameworkSvet Ganov2015-08-074-3/+12
| | | | | | bug:23043018 Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
* Show warning when touches are being blocked by overlaysJason Monk2015-08-076-4/+121
| | | | | Bug: 22317719 Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
* Merge "Use the new per UID app op APIs for legacy permissions." into mnc-devSvetoslav Ganov2015-08-011-9/+6
|\
| * Use the new per UID app op APIs for legacy permissions.Svet Ganov2015-07-311-9/+6
| | | | | | | | | | | | bug:22802981 Change-Id: I2bbc53bb3638b8f83ddf099b0ddd72d3688c477c
* | Change MNC codename to just M.Dianne Hackborn2015-07-291-1/+1
|/ | | | Change-Id: If86ce89143414405acb8ebbbf2139b07c4eb26bd
* Ingore not installed permissions in the UISvetoslav2015-07-223-5/+10
| | | | | | bug:22303510 Change-Id: Ieab8da041627e6a5807d00a72a1ec73f1cca821b
* Update permission icons to final versions - installerSvet Ganov2015-07-211-1/+2
| | | | | | bug:22383613 Change-Id: I40cb08df6b2cd01bc2db57b47062f8bd05ea673f
* Keep the permissions dialog width consistentJason Monk2015-07-201-1/+7
| | | | | Bug: 22532807 Change-Id: Ie89b4287094bc6525463c6238b53d8ee68395e38
* Merge "Remove the obsolete 'show legacy' option from permission screens" ↵Svet Ganov2015-07-176-75/+21
|\ | | | | | | into mnc-dev
| * Remove the obsolete 'show legacy' option from permission screensSvet Ganov2015-07-166-75/+21
| | | | | | | | | | | | bug:22523221 Change-Id: I09b605c7689c7402942c02a2639f1f28c7ee0c54
* | Merge "Add APIs for verifier to grant at install and revoke permissions" ↵Svet Ganov2015-07-161-38/+38
|\ \ | |/ |/| | | into mnc-dev
| * Add APIs for verifier to grant at install and revoke permissionsSvet Ganov2015-07-151-38/+38
| | | | | | | | | | | | bug:22231699 Change-Id: I679bb4a1f99eaa7d3984a4e6db6a04dca4574a18
* | Merge "Do not disable app ops on a permission revocation for modern apps." ↵Svet Ganov2015-07-161-8/+1
|\ \ | | | | | | | | | into mnc-dev
| * | Do not disable app ops on a permission revocation for modern apps.Svet Ganov2015-07-151-8/+1
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were disabling both permission and app ops for modern apps - to have app ops as a safety net. This creates the issue that if a permission is revoked (which disables the app op) and data is cleared, then apps that get permissions granted by default would end up with th permission but not the app op and will not work. We still enable the app op on a permission grant to ensure that a legacy app with a disabled app ops will have the app op enabled if updated and the permission is then granted. bug:22464566 Change-Id: Ia5f4de42bcaf6f736e50d6f3109878ff2ce8ff9f
* / Add "show additional permissions" screen to app permissions for TV.Todd Volkert2015-07-147-91/+111
|/ | | | | | | | | | | | | This also cleans up some code: 1) Factor out isTelevision into Utils.isTelevision() and call it where we were previously inlining that code 2) Make AppPermissionsFragment work better with config changes and screen rotation changes (the extra screen wasn't working at all with such changes) b/22045242 Change-Id: I937eaa67f19f44b5e1a76a58e3fdd799ae36e73b
* Merge "Add animation to checkbox" into mnc-devJason Monk2015-07-141-2/+20
|\
| * Add animation to checkboxJason Monk2015-07-141-2/+20
| | | | | | | | | | Bug: 22356913 Change-Id: I7a1186b9cdeddf7da9d2cace0f24fa7734e245b9
* | Merge "Fix back arrow on additional permissions" into mnc-devJason Monk2015-07-141-0/+11
|\ \ | |/ |/|
| * Fix back arrow on additional permissionsJason Monk2015-07-131-0/+11
| | | | | | | | | | Bug: 22446403 Change-Id: I76d74ad49bfa90ba1680284fa6950450a214bf0c
* | Merge "Teach strorage appops." into mnc-devSvet Ganov2015-07-141-14/+14
|\ \
| * | Teach strorage appops.Svet Ganov2015-07-101-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change app ops before toggling a permissions as we don't always restart the app when permisisons change and this may cause evaluation of the storage mount state which depends on both app ops and permissions. bug:22104923 Change-Id: I274b581a3ef44ae33c668aaa9eab5c9379365856
* | | Merge "Remove personal/device group & skip perm screen for M+ apps." into ↵Julia Reynolds2015-07-131-46/+47
|\ \ \ | |_|/ |/| | | | | mnc-dev
| * | Remove personal/device group & skip perm screen for M+ apps.Julia Reynolds2015-07-131-46/+47
| |/ | | | | | | | | Bug: 22229417 Change-Id: I30d7e7a2e7abf4dcf70adb055d3252ee4941cd42
* | Merge "Don't flash "No apps" while loading permissions screens on TV" into ↵Todd Volkert2015-07-114-16/+22
|\ \ | | | | | | | | | mnc-dev
| * | Don't flash "No apps" while loading permissions screens on TVTodd Volkert2015-07-104-16/+22
| |/ | | | | | | | | | | | | | | | | | | | | | | This borrows from the work done in ag/722429, and: 1) makes it work for TV 2) fixes a bug in ag/722429 whereby we would show loading forever if preference count was 0 (as opposed to correctly showing "No apps" / "No permissions") b/22090283 Change-Id: I7e2d8a4b99f99e2d1a933a2ac87494e38d2f77b9
* / Properly label the permission request activity for accessibilitySvet Ganov2015-07-101-0/+2
|/ | | | | | bug:22129341 Change-Id: Ic296e44419388aff5d8b8e03c5c800364b44e44b
* Add "Show system apps" to "apps > permissions > [permission]" for TVTodd Volkert2015-07-093-34/+176
| | | | | | b/22045256 Change-Id: I5f3f9a87875f02f9ca11b8001515ad82c260919b
* Merge "Add all permissions screen" into mnc-devJason Monk2015-07-092-1/+231
|\
| * Add all permissions screenJason Monk2015-07-082-1/+231
| | | | | | | | | | Bug: 21268041 Change-Id: I51674ffbd252bf4585a992f8cc9e43973ce43512
* | Fix accessibility for grant permission dialogJason Monk2015-07-092-0/+7
| | | | | | | | | | | | | | | | | | - Announce properly - Clear button focus after selecting to avoid multiple accidental allows/denys Bug: 22331950 Change-Id: Ibbe9af386c497024447cb696a94a9fbe515c91ef
* | Merge "Ensure that mixed permission policies return the right result" into ↵Benjamin Franz2015-07-091-6/+8
|\ \ | | | | | | | | | mnc-dev
| * | Ensure that mixed permission policies return the right resultBenjamin Franz2015-07-071-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, when a policy is fixed denied, but the profile / device owner has set DevicePolicyManager.PERMISSION_POLICY_AUTO_GRANT, requesting a permission returns the wrong result. Bug: 22291565 Change-Id: I9c531faf89236f7e177ccd4b2c3e8f86308b263e
* | | Merge "Make "1 more" a plurals for translation purposes" into mnc-devJason Monk2015-07-082-4/+6
|\ \ \ | |_|/ |/| |
| * | Make "1 more" a plurals for translation purposesJason Monk2015-07-072-4/+6
| | | | | | | | | | | | | | | Bug: 22229652 Change-Id: Id0a142eddfe1e3dda5d5910196dce138484a7a7d
* | | Merge "Add loading screens to permissions" into mnc-devJason Monk2015-07-084-5/+70
|\ \ \
| * | | Add loading screens to permissionsJason Monk2015-07-074-5/+70
| |/ / | | | | | | | | | | | | | | | | | | Styled the same way as in settings. Bug: 22234767 Change-Id: If21d71b132e5f0e69b65109c479162f03116dab8
* | | Merge "Update grant result when a granted permission was requeried and ↵Svet Ganov2015-07-071-1/+1
|\ \ \ | |/ / |/| | | | | denied." into mnc-dev
| * | Update grant result when a granted permission was requeried and denied.Svet Ganov2015-07-061-1/+1
| | | | | | | | | | | | Change-Id: I98fe8099144d51d852fae6ab604fa6e85b1e13f6
* | | Merge "Display explanatory text in 'App permissions' settings when ↵Alex Chau2015-07-062-0/+6
|\ \ \ | | | | | | | | | | | | permissions policies are enforced" into mnc-dev
| * | | Display explanatory text in 'App permissions' settings when permissions ↵Alex Chau2015-07-032-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | policies are enforced "Enforced by policy" is shown in summary when permissions are enforced by policy, in both permission grouped by app and app grouped by permission screen Bug: 22195440 Change-Id: I3a6e0eae43e0ddf07bbeb43c968c3422b6e6a13b
* | | | Merge "Consider only dagerous permissions of a group in permission apps ↵Svet Ganov2015-07-061-4/+9
|\ \ \ \ | | | | | | | | | | | | | | | screen" into mnc-dev
| * | | | Consider only dagerous permissions of a group in permission apps screenSvet Ganov2015-07-021-4/+9
| | |/ / | |/| | | | | | | | | | | | | | | | | | bug:22173337 Change-Id: If484f7d5d8820cbdbf84dcf67d71e74e00c1bbcd
* | | | Merge "Show basic feature warning for default granted permissions" into mnc-devSvet Ganov2015-07-065-8/+28
|\ \ \ \
| * | | | Show basic feature warning for default granted permissionsSvet Ganov2015-07-035-8/+28
| |/ / / | | | | | | | | | | | | | | | | | | | | bug:22174223 Change-Id: Ic5c9a0ed9c17353145fff6e45483e92181fd9b86
* / / / Reflect the proper permission group state in the UISvet Ganov2015-07-031-5/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | A pemrission group is granted when at least one permission is granted as opposed to all permissions being granted. bug:22195416 Change-Id: I0bf7a8ec56380f89edc775a82c7f9d4f8e8f8245
* | | Wire up "Additional Permissions" to TVTodd Volkert2015-07-011-17/+23
| | | | | | | | | | | | | | | | | | b/22045562 Change-Id: I5a0ade1190b6067cbdf3221acab81168466dafc8
* | | Merge "Migrate package installer permissions fragments to preference support ↵Todd Volkert2015-07-018-131/+208
|\ \ \ | |_|/ |/| | | | | lib." into mnc-dev