| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adds proper enabled/disabled icons for permissions
on Wear and adds the logic to flip between the two states
when the permissions are toggled.
BUG: 24132450
BUG: 24131441
BUG: 24277624
BUG: 24131983
Change-Id: Ie654c84fe3d648e47a76142a6f82c4348bb7fc0c
|
|/ /
| |
| |
| |
| | |
BUG: 24264373
Change-Id: I9f04ff68dcd11f48df9331abf2f1775c95f31f99
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This change updates the Wear warning dialog for when users try
to change permissions for system apps and apps that are targeting
old SDKs.
Because Wear does not have a common dialog yet, I needed to create
a new activity to hold our confirmation view.
Changes:
- Update logic to show Wear confirmation screen instead of using
AlertDialog
- Added WarningConfirmationActivity
- Change font size for confirmation dialog
- Make ConfirmationViewHandler support hiding one of the 3 vertical
buttons
- rename grant_permissions.xml to more generic confirmation_dialog
BUG: 24132857
Change-Id: Id225e663f0a2cd7b99fb177f780a6a3d0da15214
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Make sure that the button bar only animates to half way (max).
- Also make the buttons scrollable
Bug: 24265941
Bug: 24208967
Change-Id: I68d01c72658c0e7aff35b899b638da123c44d62e
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes:
- Refactor the ViewHandler a bit to be more generic.
This should help with another upcoming Wear dialog.
- Update assets for buttons
- Add deny asset
- Fix margins and other UI number tweaks
BUG: 24133550
Change-Id: I330bdf3217fa5c554f71d9105a0475106b6f3e12
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes:
- Moved non-system permission groups to the end of the list
- Updated "disabled" look to match non-center looked
- Fixed state string alpha to match other alphas when not centered
- Minor code clean ups
BUG: 24132393
BUG: 24132470
BUG: 24131983
Change-Id: I65a64d59e6fff8e0cbdaaa3da4e4a79987d6e624
|
| |
| |
| |
| |
| |
| | |
Another bad merge. Util was changed to isWear, not isWatch
Change-Id: If15036edbb09114a17fd5993c145433b5c274ec8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a first pass to build a functional settings UI page
for Permissions on Android Wear. The user flow is a little
different than the phone version, so there are some nuances
that need to be adjusted from the normal flow.
I have forked off of the AppPermissionsFragment and created
a Wear version for us to use. Rather than try to link
the Wearable-Support lib into AOSP code, I have made a
duplicate of the few files I needed.
This change adds a Wear layout version of the Settings UI
page. The UI is fully functional for most cases, but there
are some tweaks still needed for full parity. The tweaks
are primarily around UI and special edge case functions.
BUG: 23080561
Change-Id: I8477f6b966cacaae9e77aa0fb61b4b1e621a9ead
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This CL contains all the UI elements needed to build the Wear
version of the Settings UI for permissions.
The actual implementation for the Wear version of SettingsUI
will be done in a follow up bug.
This is basically a straight port from our Settings app and
wearable-support lib. I tweaked two strings and changed
the package paths to make it easier to group the files
together.
BUG: 23080561
Change-Id: I6d72d29dd1926ad07d63f85b52ccf9f72ff70df1
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
|\|
| |
| |
| |
| |
| |
| | |
location provider" into mnc-dev
* commit '5d2d9baa01c06ff8f247419eb3b66e8e21844b28':
Show location permission toggle for location provider
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:23528665
Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
into mnc-dev
* commit '5005cc47bd411539b2815d39b1e55fdb950f83af':
Refresh permissions UI on fragment resume
|
| |\ \
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:23435039
Change-Id: I244d73d3482cc17447e5e673a461183e03bc67a6
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
mnc-dev
* commit '1e6cd17f5abde2e6dd9a28021af5edc977c5b430':
Always set permission policy to fixed
|
| | |
| | |
| | |
| | |
| | | |
Bug: 23408576
Change-Id: I981810de6f5b49b94371606cc5cf7baf51375485
|
|\| |
| | |
| | |
| | |
| | | |
* commit 'cc893701a129ead00f2e753481fabae21153b1f2':
Use actual app name in location dialog.
|
| | |
| | |
| | |
| | |
| | | |
Bug: 21805447
Change-Id: I394f40d0d8bce1541ec57cac7a60751b740aefaf
|
|\| |
| | |
| | |
| | |
| | | |
* 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
|
|
|
|
| |
Change-Id: If89e603508e02cad781ee455b2149af1024bd443
|
|
|
|
|
|
| |
bug:23043018
Change-Id: I32efe93f8c52924263b16d80e09fae1a0a6babf5
|
|
|
|
|
| |
Bug: 22317719
Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
|
|
|
|
|
|
| |
bug:22383613
Change-Id: I40cb08df6b2cd01bc2db57b47062f8bd05ea673f
|
|
|
|
|
| |
Bug: 22532807
Change-Id: Ie89b4287094bc6525463c6238b53d8ee68395e38
|
|
|
|
|
|
| |
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: 22356913
Change-Id: I7a1186b9cdeddf7da9d2cace0f24fa7734e245b9
|
|/
|
|
|
| |
Bug: 22446403
Change-Id: I76d74ad49bfa90ba1680284fa6950450a214bf0c
|
|\
| |
| |
| | |
mnc-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
| |
bug:22129341
Change-Id: Ic296e44419388aff5d8b8e03c5c800364b44e44b
|
|
|
|
|
|
| |
b/22045256
Change-Id: I5f3f9a87875f02f9ca11b8001515ad82c260919b
|
|\ |
|