| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
There was an incorrect calculation for determining when
the content was occluded by the button bar or not.
BUG: 25164689
Change-Id: I121f6e0232da2d1536e0fbbf697e00a4f9c1841f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This is being added to help identify system apps so that
the UI can filter on that type.
BUG: 24955055
Change-Id: I8d843bae2d81329009c8cda8c25355d08ab9d1d7
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It looks like the cached index had become invalid at some
point. It's unclear why, but the logs suggest that a
bunch of Home services crashed.
Rather than cache the index within the Activity, I have
changed the code to send the index along with the
dialog activity launch. This way when the dialog returns,
the index will be saved within the callback.
The index should be enough because the permission set
should not change for the app between screens and the
permission set is alphabetized.
BUG: 25334674
Change-Id: I8f9189960aa7fc9b09cc25f594397523550ac626
|
|
|
|
|
|
|
|
|
| |
Make handler run on UI thread to avoid race conditions.
Update some logic to prevent animation from running when it
shouldn't be.
BUG: 24954323
Change-Id: Ia1635cbb3c9128080a8e4a9c3ce6ee935c4d957e
|
|
|
|
|
|
|
|
| |
If either the page number or an icon is shown above the message,
reduce the top padding on round screens.
Bug: 24961379
Change-Id: Iec9193e3bbdd8ac607743cd0010f2331edbebc81
|
|
|
|
|
|
|
|
|
| |
Add top padding to the content inside the scroll view for the grant
permission dialog so that you can read the beginning of the text on
round watches.
Bug: 24961379
Change-Id: I9311fbaabd72bd8f8aee4f71845c1ae11bfeab8c
|
|\
| |
| |
| |
| | |
* 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)
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- If {Companion App was targeting M, Companion was running L,
watch is running M, watch app is targeting M}, we were not installing
the app before this fix.
- If {Companion App was targeting M, Companion was running M,
watch is running M, watch app is targeting M}, we were not installing
the app before this fix.
Bug: 24813602
Bug: 23378733
Change-Id: I96f06adad2372517e57467d4af8d87dcb6068445
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We were explicitly setting the height of the permission
screen title, which wasn't 100% guaranteed to work in all
languages. This change sets minHeight (to maintain
UI consistency) instead, and changes the height to
wrap_content to enable it to expand further if necessary.
Bug:24774285
Bug:24391658
Change-Id: Icf25ad6a176537b0f34a30f53220c73fccec2d24
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the button bar animation to work on round
devices and also fixes the max height animation to make
sure the vertical button layout animates to max height
when there are only two buttons.
Also adjust some redlines like margins on the buttons and
updated some files that were missing our licensing header.
Change-Id: Ifad4d0f92605be04db2d3c991b4e8a26eadb4b14
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- We did not support this feature on Android Wear before
- The impact is unknown. For example, the Setting for UNKNOWN_SOURCES is
not implemented in Android Wear Settings App.
Bug: 24336381
Change-Id: I0fb4006d4769291c872e8f21407383a7c4a77b93
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
|/ /
| |
| |
| |
| |
| | |
Referenced wrong R
Change-Id: Ic4157964a09dd65cada2efd5fc213bd3089b0b4a
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'b6e35d1c5efeec22481f4912a7e422daad601fbc':
Use unique preference key.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The UI code was wrongly using UID as the key - it is not
unique - resulting in keeping only one app per UID in the
UI and not showing permission controls for the other apps
in this UID. This change uses the unique package plus UID
as the preference key.
bug:23937944
Change-Id: I859afcf3ec8efdcb62d0e9dacd19f771436da084
|
|\ \ \
| | | |
| | | |
| | | | |
cw-e-dev
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 23819535
- Used for Android Wear
Change-Id: Ie42ce04453cb0cd7d2cf292065bbb1891fffbfa9
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- 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
|
| |
| |
| |
| |
| |
| | |
This reverts commit 5b26c2e64ceeaa1e71436b36a28f53100e358ed8.
Change-Id: I88fa09f87023a7c1b2aac3100cfbdce6283de770
|
| |
| |
| |
| |
| |
| |
| |
| | |
Breaking ub-wear-dinar/ub-wear-master builds
This reverts commit aa4368cafc3c92b33a99c3fbe0e6af08d7e092e4.
Change-Id: Ib22189891e9cd9eef61cdaa5ac329d05ab9783e8
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- The code is being moved from
https://cs.corp.google.com/#android/vendor/google_clockwork/packages/PackageInstaller/src/com/google/android/clockwork/packageinstaller/
Bug: 22411517
Change-Id: If6a0b7f49530176a6cff6b76ee6eff44ba822547
|
|\|
| |
| |
| |
| |
| |
| | |
corresponding app op.
* commit 'ab4bb65e30cfc7323dc7dfab8f370c7452956962':
Display properly runtime permissions without a corresponding app op.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
We added the GET_ACCOUNTS permission to the contacts group
but it does not have an app op. The UI code was written with
the assumption that all runtime permissions have an app op
and was not showing the contacts group if the only requested
permission from that group was GET_ACCOUNTS.
bug:23726958
Change-Id: Iad5493297901c3f1144f4d58a3dad3f022c593a1
|
|\|
| |
| |
| |
| |
| |
| | |
location provider" into mnc-dev
* commit '5d2d9baa01c06ff8f247419eb3b66e8e21844b28':
Show location permission toggle for location provider
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:23528665
Change-Id: Id3a0838c3421b56dcf47c86043bb51c670268d03
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
even when fixed."" into mnc-dev
* commit '954f5f2ed1c7ff288ba9f4686bdee93860d02720':
Revert "Show location permission group, even when fixed."
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This reverts commit 3c093f94a82a7b013dd93edf3f5811aa3763af4b.
Change-Id: I28e5597390df3abfdde6e4f8c46d0350028392c8
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
into mnc-dev
* commit '5005cc47bd411539b2815d39b1e55fdb950f83af':
Refresh permissions UI on fragment resume
|