| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| | |
* commit '6986f29bb93a6aaaeaaddcab081d0e0afd7082e8':
Auto grant permissions in an already granted group.
|
| |
| |
| |
| |
| |
| | |
bug:24074183
Change-Id: Iad6f9b7d5b83d0b0121796891bcd069658995a47
|
|\|
| |
| |
| |
| | |
* commit '86f1ee8c2db04d37d48f25a60086e5a27a812fb9':
Revert "Auto grant permissions in an already granted group."
|
| |
| |
| |
| |
| |
| | |
This reverts commit c7e595a22c11247b3e6b0fbfa324542321ab9d14.
Change-Id: I0a319ef590e9c0f830af470155213677bed684f4
|
|\|
| |
| |
| |
| | |
* commit 'c7e595a22c11247b3e6b0fbfa324542321ab9d14':
Auto grant permissions in an already granted group.
|
| |
| |
| |
| |
| |
| |
| | |
bug:24074183
Change-Id: I8eb4e4c76ed27721b04e09ae009ddd2daec1e0b1
(cherry picked from commit ecc46fe0ce772338786cb9e23cb872189e6a285c)
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Fix the Permissions Dialogs for round layout
- Show animation for the buttons
- Also fixed the names ellipsis issue.
- Fixed the theming of the dialogs.
Bug: 23118402
Change-Id: I385c827ac41b06222334c36bfda2c70b346232a2
|
|\|
| |
| |
| |
| |
| |
| | |
mnc-dev
* commit '1e6cd17f5abde2e6dd9a28021af5edc977c5b430':
Always set permission policy to fixed
|
| |
| |
| |
| |
| | |
Bug: 23408576
Change-Id: I981810de6f5b49b94371606cc5cf7baf51375485
|
|\|
| |
| |
| |
| | |
* commit '7f4103b04d6af92fd92d92f5526b73aa76fbd233':
Show multi-permission UI in the requested order.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apps can request several permissions at once but the UI was
not shown in the request order. This is problematic since
apps may show on board UI stating which permissions will be
requested.
Bug: 23314383
Change-Id: I0c59a741fb09e63bead0f76d4d337769d2dff387
|
|\|
| |
| |
| |
| |
| |
| | |
not the whole group."" into mnc-dev
* commit 'af8c918e6a54c95d35f1e92cb16a4251e1ee7fb8':
Revert "Grant only requested permissions not the whole group."
|
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit e899d8d48558a6d4a8f0498c38a623115aad2205.
Bug: 23314383
Bug: 23397858
Change-Id: Ia928a4b24c60eae6b4fb16ebdbfa6b6787f6c3ae
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
order."
* commit '4a399b3249a39c66108f7bed37c95bc4d43a92b2':
Revert "Show multi-permission UI in the requested order."
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit dda78230999da573318594c7cfcdbc738bab864e.
Bug: 23314383
Bug: 23397858
Change-Id: I8d06936ad8a51299148f0a311da81d8868840e78
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
This is a resubmit without the wearable-support lib.
I will figure out how to get that referenced in the next
UI pass.
BUG: 23118402
Change-Id: Ib2fb94b356aa965b999b3e12726fda86928a963e
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit b7da1f5f9886ff8a4ad81b0d617d442c461ca1e5.
We can't reference vendor from this package. Need to add the references
manually.
Change-Id: I3ee31de110f24014100ce804b0659055b26f963b
|
|\| | |
| |/ /
|/| | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Apps can request several permissions at once but the UI was
not shown in the request order. This is problematic since
apps may show on board UI stating which permissions will be
requested.
bug:23314383
Change-Id: Iffd0f4fd7df04aeece3995290a7798a559430304
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The policy for an app requesting permissions is that only the requested permissions
are granted not the whole groups to which these permissions belong. There was a
regression where we granted the whole group not only the requested permissions. If
an app has a permission in a group already granted, now per policy a subsequent
request from the same group is followed by an auto grant.
bug:23370436
Change-Id: Icce6377d60187f6f153d10d646cd8c9878dd6fab
|
|
|
|
|
| |
Bug: 22317719
Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
|
|
|
|
|
|
| |
bug:22523221
Change-Id: I09b605c7689c7402942c02a2639f1f28c7ee0c54
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bug:22129341
Change-Id: Ic296e44419388aff5d8b8e03c5c800364b44e44b
|
|
|
|
|
|
|
|
|
| |
- Announce properly
- Clear button focus after selecting to avoid multiple accidental
allows/denys
Bug: 22331950
Change-Id: Ibbe9af386c497024447cb696a94a9fbe515c91ef
|
|\
| |
| |
| | |
mnc-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
| |
Change-Id: I98fe8099144d51d852fae6ab604fa6e85b1e13f6
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
Activity.dispatchRequestPermissionsResult" into mnc-dev
|
| |
| |
| |
| |
| |
| | |
Make sure to send a full result no matter how we finish the activity.
Change-Id: Ic087a354053d0078985c33f6d1c77c9bb694dc62
|
|/
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
bug:21565838
Change-Id: Ib878d07b7d9bbab1ffe2b64f008e2fe092ead253
|
|
|
|
| |
Change-Id: I1a1b8f34b1625306daced4ff28a4ed389665be40
|
|
|
|
|
|
| |
bug:21760616
Change-Id: Ie559e5ff3de93c8354e9e1b0a857ccfca228ebc0
|
|\ |
|
| |
| |
| |
| |
| |
| | |
b/20476102
Change-Id: I128bb19413121b6d0367147989e79bffe45f8d82
|
|/
|
|
|
|
|
|
|
| |
Show permission accept dialogs in the order of which
the developer requested the permissions.
bug:21559824
Change-Id: I2a8f459252b31440707c6d8ffb3766e8ab6e0031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
bug:21336863
Change-Id: I5c25581bea76cc50b7b09534c9222550e7f464ff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Settings > Apps > Advanced > Permissions
- Permission icon needed tinting
- Settings > Apps > [App] > Permissions
- Permission icon also needed tinting
- Grant permission dialog
- Needed new base theme
- App name color span needed dark color
- Progress text needed dark color
Bug: 21154903
Change-Id: I34045ac71ca87abbb4ce828435f583f53ab0d3da
|
|
|
|
|
|
|
|
| |
installer.
bug:21195624
Change-Id: If6de516d76969c3627316d091893da58f81af832
|
|
|
|
|
|
| |
bug:21078221
Change-Id: Ie5bfb4c6013faf528b95eda0d5caf1c591f1e439
|
|
|
|
| |
Change-Id: Id2d5733db0978e909d7159b0eade2b85ec838924
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- DialogFragment was removed and just use the dialog-themed activity
instead. The previously GrantPermissionFragment, now acts as a
helper class.
- The dialog always tells the window its the same size, but then
draws at whatever height is required for the current permission.
(this allows it to stay in one position)
- Touching outside now does nothing so that the user must respond
to the permission request.
Change-Id: I12f27de4de5ad83e123cb9acfa062950db39f61b
|
|
Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089
|