summaryrefslogtreecommitdiffstats
path: root/src/com/android/packageinstaller/permission/ui
Commit message (Collapse)AuthorAgeFilesLines
* Add all permissions screenJason Monk2015-07-082-1/+231
| | | | | Bug: 21268041 Change-Id: I51674ffbd252bf4585a992f8cc9e43973ce43512
* 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
* | | Show basic feature warning for default granted permissionsSvet Ganov2015-07-032-8/+8
| |/ |/| | | | | | | | | bug:22174223 Change-Id: Ic5c9a0ed9c17353145fff6e45483e92181fd9b86
* | 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-015-127/+202
|\ \ | | | | | | | | | lib." into mnc-dev
| * | Migrate package installer permissions fragments to preference support lib.Todd Volkert2015-07-015-127/+202
| |/ | | | | | | | | | | | | | | | | | | | | | | In order to allow for TV-friendly layouts, this migrates the permissions fragments to the preference support lib, and modifies the necessary layouts and themes to make them work on TV. b/22043727 b/22045650 b/22044940 Change-Id: Ic862effe2c126da78c304983fd06e017c3ee4472
* / :Fix should show permission API back button behavior.Svetoslav2015-06-304-2/+26
|/ | | | | | | | | | Pressing the back button in the request permission dialog should be treated as a denial of the currently displayed permission. bug:22041240 Change-Id: I853d9ff5d3d10a29b2a5b1815de7de8b1c28cc6b
* Merge "Make ManagePermissionsFragment more TV-friendly." into mnc-devTodd Volkert2015-06-242-1/+50
|\
| * Make ManagePermissionsFragment more TV-friendly.Todd Volkert2015-06-232-1/+50
| | | | | | | | | | | | b/22008424 Change-Id: Id780db5a1e8ec98aece484310a2d3799d868cf2e
* | Merge "Fix issue #21945272: Crash in ↵Dianne Hackborn2015-06-231-8/+17
|\ \ | |/ |/| | | Activity.dispatchRequestPermissionsResult" into mnc-dev
| * Fix issue #21945272: Crash in Activity.dispatchRequestPermissionsResultDianne Hackborn2015-06-231-8/+17
| | | | | | | | | | | | Make sure to send a full result no matter how we finish the activity. Change-Id: Ic087a354053d0078985c33f6d1c77c9bb694dc62
* | Merge "Use icon as background image instead of main image." into mnc-devTodd Volkert2015-06-231-1/+3
|\ \
| * | Use icon as background image instead of main image.Todd Volkert2015-06-231-1/+3
| |/ | | | | | | | | | | | | | | | | | | ImageView doesn't handle scaling vector drawables properly when they're set as the image of the image view. To get around this, we set the vector drawable as the background instead. b/22039991 Change-Id: Ibcabedea8cb999b31dabe9d78de4ae5214f588d6
* | Merge "Mark permissions that are auto granted/revoked as policy_fixed" into ↵Amith Yamasani2015-06-231-0/+2
|\ \ | |/ |/| | | mnc-dev
| * Mark permissions that are auto granted/revoked as policy_fixedAmith Yamasani2015-06-231-0/+2
| | | | | | | | | | | | | | | | Let PackageManager know that the permission state was changed by policy so that it can't be modified by the user anymore. Bug: 21888917 Change-Id: Idd09005515fac89fb1603b3aff0345a1f5e7bd79
* | Merge "Only show the header on non-television ui modes." into mnc-devTodd Volkert2015-06-231-3/+7
|\ \
| * | Only show the header on non-television ui modes.Todd Volkert2015-06-231-3/+7
| | | | | | | | | | | | | | | | | | b/22005468 Change-Id: Ia6d83596e0b5cc5d005d4322062e38dedede8d14
* | | Merge "Don't let preferences change size on load" into mnc-devJason Monk2015-06-221-0/+2
|\ \ \
| * | | Don't let preferences change size on loadJason Monk2015-06-221-0/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | Set a blank (non-empty) summary so that the size doesn't need to change when the summary is loaded. Bug: 21899351 Change-Id: I86d24d83461b3574d5c17b7b033303c498270a8a
* | | Merge "Use vertically stacked buttons when we don't have space" into mnc-devJason Monk2015-06-221-0/+5
|\ \ \ | |_|/ |/| |
| * | Use vertically stacked buttons when we don't have spaceJason Monk2015-06-221-0/+5
| |/ | | | | | | | | Bug: 21997648 Change-Id: I72a9952f0f6d4134cacb18d1cef92701770e6c9d
* / Add dialog guarding permission denial for system appsJason Monk2015-06-192-6/+14
|/ | | | | Bug: 20826933 Change-Id: I9915690611467d1d4e3d48e0d8590fccf2235b53
* Merge "Link from location permission to settings for loc providers" into mnc-devJason Monk2015-06-182-1/+11
|\
| * Link from location permission to settings for loc providersJason Monk2015-06-172-1/+11
| | | | | | | | | | Bug: 21805447 Change-Id: I27aed860b73d99976479793076852aecbf0be5a2
* | Merge "Add better logic for what is 'system'" into mnc-devJason Monk2015-06-182-3/+10
|\ \
| * | Add better logic for what is 'system'Jason Monk2015-06-182-3/+10
| |/ | | | | | | | | | | | | | | Match settings logic for this: System apps are on the system image, don't show up in launcher, and haven't been updated. Bug: 21849124 Change-Id: Ida77f98d080068731dcfd7aaf26aeb086fd681ed
* | Merge "Fix crash if show system is selected too soon" into mnc-devJason Monk2015-06-181-2/+4
|\ \
| * | Fix crash if show system is selected too soonJason Monk2015-06-181-2/+4
| |/ | | | | | | | | Bug: 21871042 Change-Id: I09bf33af37b00009aa935157a66b733826644116
* / Fix animating between very different heightsJason Monk2015-06-183-22/+82
|/ | | | | | | | | | | | | - Expand ViewHeightController so it can expand up or down - Control the height of all containers in the hierarchy - Intercept touch events and compensate for any top offset on the root view, since we expand upwards - Remove the current description from the description container so that it can shrink in relayout if necessary. Bug: 21879037 Bug: 21784297 Change-Id: I3ad562158013b75c5e9150cbd91c96c6ff4941c9
* Permissions theme fixingJason Monk2015-06-122-34/+48
| | | | | | | | | | | - Mostly just paddings a whatnot for preferences. - Also fix additional permissions screen (and its back arrow). - Keep ManagePermissions preferences around so that summary reloads aren't as painful on resume. Bug: 21636268 Bug: 21642971 Change-Id: Ibeb96ce63017c90fc37a661a6d82218b57371fb3
* Requesting granted permission shows grant/revoke UI.Svet Ganov2015-06-121-7/+9
| | | | | | bug:21565838 Change-Id: Ib878d07b7d9bbab1ffe2b64f008e2fe092ead253
* Use onBackPressed instead of onKeyDown/onKeyUpFyodor Kupolov2015-06-111-17/+3
| | | | Change-Id: I1a1b8f34b1625306daced4ff28a4ed389665be40
* Handle back button in grant permissions activitySvet Ganov2015-06-111-0/+21
| | | | | | bug:21760616 Change-Id: Ie559e5ff3de93c8354e9e1b0a857ccfca228ebc0
* Merge "Add tv-specific grant permissions view handler" into mnc-devTodd Volkert2015-06-104-3/+146
|\
| * Add tv-specific grant permissions view handlerTodd Volkert2015-06-104-3/+146
| | | | | | | | | | | | b/20476102 Change-Id: I128bb19413121b6d0367147989e79bffe45f8d82
* | Merge "Respect permission request order." into mnc-devSvetoslav2015-06-092-2/+3
|\ \
| * | Respect permission request order.Svetoslav2015-06-092-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Show permission accept dialogs in the order of which the developer requested the permissions. bug:21559824 Change-Id: I2a8f459252b31440707c6d8ffb3766e8ab6e0031
* | | Move permission name to action bar and remove headerJason Monk2015-06-091-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | Also add no apps message for when only system apps are requesting a permission. Bug: 21642971 Change-Id: Ifb7ad1d1daa203097725e345ff1d4fa34a0a4ad7
* | | Fix a NPE in package installer.Svet Ganov2015-06-081-0/+3
| |/ |/| | | | | | | | | bug:21635725 Change-Id: I8cc7ff7eb2a4510ae60d371eed9bddb857fceae1
* | Add show/hide system to PermissionAppsFragmentsJason Monk2015-06-041-0/+35
|/ | | | | Bug: 20826868 Change-Id: Ie48a3624116822135eb1920806ed12ade1612874
* Merge "Prepare "grant permissions" for Tv-specific view handler." into mnc-devTodd Volkert2015-06-023-70/+140
|\
| * Prepare "grant permissions" for Tv-specific view handler.Todd Volkert2015-06-013-70/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Also, this cleans up some unused code in GrantPermissionsActivity and fixes a latent bug in GrantPermissionsActivity#updateDefaultResults where if the calling package was null, we were defaulting to GRANTED. Note that we can't simply create a tv-specific layout xml file, because the view handler is tied to the layout xml, so this change allows for the creation of different view handlers. b/20476102 Change-Id: Ia62051a0895e4bd314d18ba3001871b29de21ae5
* | Add permission summaries backJason Monk2015-05-263-33/+21
| | | | | | | | | | | | | | | | | | | | | | - Add summaries to manage permissions screen - Add some shortcuts to skip loading unneeded labels/icons for summary info - Add way for Settings to broadcast request for info about granted permissions. Bug: 21078474 Change-Id: I28582129971385203f4e4316addf73e07ee53940
* | Merge "Fix tinting issue in manage permissions" into mnc-devJason Monk2015-05-261-2/+1
|\ \
| * | Fix tinting issue in manage permissionsJason Monk2015-05-221-2/+1
| |/ | | | | | | | | | | | | | | Make sure we update the ui in onResume so we have the right tinting and make sure we clear out other tints first. Bug: 21367016 Change-Id: I800503fff5dc0cbcf3cfd6876c78c257adc24d65