| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In cases where an app had a long list of permissions the Install button
was not being enabled.
Test: Manually clicked on an apk that required a long list of
permissions. Checked that the install button is enabled. Switch out and
back to the activity to force a pause/resume. The button gets disabled
and enabled as expected. Also the existing test passes as before:
gts-tradefed run gts-dev -m PackageInstallerTapjacking
Bug: 35056974
Change-Id: I2ef7d5ce4e137969c70d2929271620c2bcb723f2
(cherry picked from commit 4c6afe94942c33e293d456be70ffa933d7d3e374)
|
|
|
|
|
|
| |
This reverts commit 54b91b04a2dd9da928230eeb9d62a43fc40eefe4.
Change-Id: I0f207b7de5675595a07416aef169985bc322372f
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
If mOkCanInstall is false when onResume() is called, the button gets
disabled and never re-enabled. This fix is for branches that have
change I42c15d05dffc1f6db69c9f67148f7ceb6e8bd8ae ("Split layout for
confirm step.") which causes the button to be disabled and enabled
for different reasons. Here the button is constantly enabled and its
action changes depending on the value of mOkCanInstall. The attribute
filterTouchesWhenObscured should prevent tapjacking when overlays are
present, so revert this commit.
This has also been done in branch cm-14.1 via commit
4b0c302eae8d772d09346718559cc42548485f75
This reverts commit 7a204a0e265a0a92537d57fd1bab594250c96149.
Change-Id: I82b2c9ae0d588ef1696c8356a31c4204247823ad
|
|
|
|
|
|
|
|
|
| |
Bug: 62196835
Test: Verify overlays disappear on a11y capabilities
dialog.
Change-Id: I9a58fd647e53cb41f577d8d4782221d73b49f668
(cherry picked from commit 787c5b4948e309c0dbbf0f762c06fa07f88526b1)
|
|
|
|
|
|
|
|
|
|
|
| |
The install button can be disabled for other reasons, hence we have to
store the enabled state independent of the resumed/paused state.
Test: gts-tradefed run gts-dev -m PackageInstallerTapjacking
Bug: 35056974
Change-Id: I2effa0f5afacfaed217a030550a778e32912cfbb
(cherry picked from commit 287d1d11a321040948d6c12e48fa303eed3c4859)
|
|\
| |
| |
| |
| |
| | |
Android 6.0.1 Release 61 (MOB30Z)
Change-Id: Ic775ddf31a2f5c391898e83bed469041849f8903
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The package installer has a special event handling when
the user tries to interact with it and an overlay window
intersects the installer one. We show a warning that an
overlay was detected and point the user to settings. This
regressed and nothing happened when the users click the
allow button.
bug:28572707
bug:26677796
Change-Id: I617595e7cd5277576ccb9915946b77082a1c2b9e
Resolution to mnc-mr2-release when CP'ing ag/1065580
|
| |
| |
| |
| |
| | |
Change-Id: I8fa2360d1340cb825938f4c820d99c98d3037baa
Signed-off-by: Bryan Owens <djbryan3540@gmail.com>
|
|\|
| |
| |
| |
| |
| | |
Android 6.0.1 release 46
Change-Id: Ie2b11a3416c1719374f06c8048b29f27ab8414a7
|
| |
| |
| |
| |
| |
| |
| | |
Bug: 26677796
Change-Id: I563541f0a42564b854af0f8037c1d4741c79a2ac
Fix merge conflict when cp'ing ag/903239 to mnc-mr1-release
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
am: 22d381113c
* commit '22d381113c34edf57b7dc231a4b7fbce16a404b6':
Always have an icon
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: 58045ad49a
* commit '58045ad49af12b202b08a4f054a54e2774ca48f1':
Always have an icon
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The permission icon can be an external icon and thus might not exist.
So, ensure we always have an icon for the permissions UI.
Bug: 25602523
Change-Id: Ibdb1f296ff8c5f3664fe8056c8637844b580cce9
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
cw-e-dev
am: 79d4387181
* commit '79d43871818bc9b66d774d521e9c4d02c42eaef4':
[PkgInstaller] Refactoring arguments of WearPackageInstaller
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- Creating a WearPackageArgs object
Change-Id: I9616fe5e6621856e5d07da5cee205e7162dad451
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
am: cfc6b97c7d
* commit 'cfc6b97c7d4dbaf7a50433a0f459ee4e25725e82':
Fix wake lock leak
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Wake lock was not being released when installation failed
due to early bail out call. I wrapped the calls into
a try/finally to ensure it gets released.
Code was tested by tweaking the code to force a failure
and test installing/uninstalling apps.
BUG: 25814793
Change-Id: I2e81e5d76edcfb601ce734cf571705e979c51f32
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 25822682
Change-Id: Ib5b40f014a8b6d0fb756d7f4c4802c9e8dfa7a44
|
|/ / /
| | |
| | |
| | | |
Change-Id: I2a3e235bb13f1920c14f6776ee3a1ef7285ea548
|
|\| |
| | |
| | |
| | | |
Change-Id: I965fb579e2730fa1cdb182bc18e134f262929328
|
| |\ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
am: 2cf17ddcef
* commit '2cf17ddcef3c8dd260bd3d174123842c81a7d025':
Clean up package installer styling
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Package installer should be using exclusively the device
defaut themes on handhelds (phones and tables) to allow
OEMs customize its look and feel. Also for handhelds the
installer should use the same preference framework as the
settings app to ensure it looks like the settings app on
an OEMs device.
This change needs to be picked up by a GMS build to deliver
to partners ensuring the installer UI is consistent with
the device UI.
bug:24286616
Change-Id: I92e39fd1488e76b0b23b7f1efa13e04ed5bbc7ba
|
| | |
| | |
| | |
| | | |
Change-Id: I3fe38a9ac62466b38efec834dceb712d2782c518
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This adds code to remove an app that is in the "needs permission"
state from the ShowPermStore if the app fails to install.
b/25721625 tracks creating a new intent to handle this case for F.
BUG: 25363020
Change-Id: Ifed00024d7e329fb3185a4607a347e972f697fcd
|
| | |
| | |
| | |
| | | |
Change-Id: I9c5a0be4e18cc27e163da60ba9dd81ae71588bef
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|