| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Workaround crowdin issues with aapt2 and missing translations
Change-Id: I3e42fc7fca6b2683653470f81b04e4085b0be00a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Set accessibility label
- Color it so it can be seen
Fixes: 67822503
Test: Looked at button an used Talkback to announce it
Change-Id: I866777e3de4b1720e487fc57921c4e378e556915
|
|/
|
|
|
|
|
|
| |
Fixes: 73127860
Test: deployed to head unit and test
Change-Id: I86744f7901c696bf04201840164206c8895b47b9
(cherry picked from commit 31c9070d270be764b94847df5b89ddc79cbd7be0)
|
|
|
|
|
|
|
|
|
|
| |
Package installer was crashing because package manager threw a security
exception if the user restriction DISALLOW_INSTALL_APPS was set.
Test: Manual
Fixes: 62204640
Change-Id: Ic69f30c4271fad618695ab9a5b635799c1c776c5
|
|
|
|
|
|
|
|
|
|
| |
confirmation"
This reverts commit 38e0f956664f2997941e2087284366e0d0dadbf7.
Bug: 35056974,
38306660
Change-Id: Ib00be0c4e8be9156b0bdb1f303e1e518136d55ac
|
|
|
|
|
|
|
|
|
|
| |
Dropping touches to the install button if the package installer window
is partly or wholly obscured by another window.
Test: gts-tradefed run gts-dev -m PackageInstallerTapjacking
Bug: 35056974
Change-Id: I2b548f16b291b6386c2a7d04c03f858c8afcd573
|
|
|
|
|
|
|
|
|
|
|
|
| |
See ag/2119036 in master for revert
Test: N/A
Bug: 37413812
Bug: 37497021
Bug: 37494148
Bug: 37414037
Change-Id: Iac5ae44c2fdf30efe256d9612d40524ddad123db
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- also some cleanup
Bug: 35885458
Test: Manual
Change-Id: I85159346a6273bac2f29d9fed34b4938649dc940
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Apps targetting O and above need to declare REQUEST_INSTALL_PACKAGES
permission in order to start package installer. Only apps exempt are
downloads provider and document manager apps. And only these apps can
use EXTRA_ORIGINATING_UID to blame other uids for app installs. Also
added a special wraning dialog for when system cannot identify the
source of the package.
Test: gts-tradefed run gts -m ExternalSourcesNegative
Bug: 35916776,
33351244
Change-Id: I74b242355807502c4e1bf0e7dbdb9845dc725e48
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the uninstall failed notifications are very hidden.
Bonus: IPackageInstall.uninstall thrown IAE when package is already
uninstalled, at least do not crash.
Test: Faked a failure to uninstall
Slowed down uninstall to see uninstall notification
Fixes: 35760276
Change-Id: I0ef09e4334df90ac8a70f28149ab4445bcdb60f4
(cherry picked from commit e5bb8d911c64ac990f9d37eb5fe13c3113d7cc94)
|
|
|
|
|
| |
Test: Uninstalled app.
Change-Id: I90acfbe2560c3c1cc632d5a56af1b2009aeaab79
|
|
|
|
|
|
| |
Bug: 34326838
Test: make
Change-Id: Ie0261403367925c53ebeedcac3485f02766f00a5
|
|
|
|
|
|
|
|
|
|
|
| |
Updated strings in the blocking dialog for app installs via unknown
sources to be more meaningful. Also, removed obsolete strings related to
the feature.
Test: Manual.
Bug: 36454399
Change-Id: Ibf524ce9c81041343f21b67268dc87462d800ea9
|
|
|
|
|
|
|
|
|
|
| |
There will be two follow-up changes to refactor the logic bit to a
controller and then add test in master branch. See the effect image in
b/3422016.
Bug: 34322016
Test: Manual test on a local build
Change-Id: I873edb7e21cb8928e038847b4261f0b0bca12975
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This exposes the activity of the Intent to show the user a
confirmation AlertDialog before clearing a package's data.
Test: Covered by a gts-test ag/1806256 and manually tested
by calling from com.google.vending (Play Store).
bug: 33017941
bug: 31008483
Change-Id: I3199cdb5846c1f99448f543e0edf082d09e6f420
|
|
|
|
|
|
| |
Test: N/A
Bug: 34581666
Change-Id: Ie12688033e02935dd8267e49da2f61ab74323661
|
|
|
|
|
|
|
|
|
|
|
|
| |
PackageInstaller now ignores the secure settings INSTALL_NON_MARKET_APPS
and uses the app op INSTALL_PACKAGES to decide whether it should allow
installation of an app coming from an external source. This allows the
user to control with more granularity which app sources they trust.
Test: Tracking tests in b/33792674
Bug: 31002700
Change-Id: Ifa2961b1e2b4cf622ab52a2d545048ba065fa0d4
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Move old uninstallation code to TV only (code in app_details.xml,
uninstall_progress.xml, UninstallAppProgress,
UninstallAppProgressFragment)
- use increasing (non-random) IDs for all uninstallations, even those
without uninstall-event-handling.
- Have new workflow to uninstallations that require the result to be
forwarded. For those just show a progress dialog. (code in
UninstallUninstalling). To deal with lifecyle events I am reusing the
EventResultPersister similar to the installation.
Test: Uninstalled from Settings
Change-Id: Iabdebd5412a910efa94c74efc4dd141879614d0b
|
|/
|
|
|
| |
Test: Performed installationl; looked at UI
Change-Id: Ia5f11133b7d54318a521587c6db6a3fab8506a12
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Run check for whether the user can request an uninstallation in
UninstallerActivity. This means that this now runs before the user
confirms to uninstall a package. This adds a new failure dialog in
UserIsNotAllowedDialogFragment.
Bonus: move dialog buttons to the right (neutral -> positive) where they
belong according to material design spec.
Test: Simulated a failure and saw UI.
Change-Id: Id3e3ade62d5422d0dc2cbda0ab91da0d7f5afed1
|
|
|
|
|
|
|
|
|
|
|
| |
In many cases uninstalling does not require any acticity. In this case,
just show a notification instead of a problematic translucent activity.
Note: In a future change this will also allow uninstallation for all
users. This might need API changes though.
Test: Simulated all error and success scenarios
Change-Id: Iaa655fecc981b7274b995608f6e9b428f84a8d7d
|
|
|
|
|
|
|
|
|
|
|
| |
In the staging activity show a progress bar and make the layout of the
activity match the other activities (with a big center icon).
Update the progress bar while installing and show the same icon as used
by app stores (download icon).
Test: Only UI changes, hence I looked at the UIs.
Change-Id: I47eec806370eb0404851f5d7aee31f4626cd7af7
|
|
|
|
|
|
|
|
|
|
|
|
| |
- separate tablet and phone UI
- Switch to AAPT1 until APPT2 bugs preventing HW accelleration is fixed.
- Set elevation for action bar.
Missing: - install_start has to be split into the various variations
- tablet mode needs to be throughly tested
Test: Ran installation on phone
Change-Id: Ia1c72ee34e945b6a872be35801ea18a901cbb38f
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also:
- Support RTL layout
- Always make title bar colored
- No animation in between steps of installer
Test: Installed package successfully and failed installing package.
Rotation of the success screen.
Change-Id: I149907103918b36a6ebd7efcaf8530317a04fb07
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Incorporate "App not installed" into error string
- Change failure_invalid string as it does not always mean corrupt
- Provide non-translated "raw" status message from package manager in
the UI
Test: Installed Firefox 18, then tried to install Firefox 15. Saw error
message:
App not installed as package appears to be invalid
INSTALL_FAILED_VERSION_DOWNGRADE
Change-Id: Ia9fe97dda7e683d5446d48710ed2ee859c6b04d6
Fixes: 29343425
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change adds a more info button to the permission
grant UI and the permission review UI which sends the
user to the all permissions screen.
It also adds UI to manage all permissions in the SMS
group individually. Now tapping on the switch in the app
permissions screen toggles the permission group and
tapping on the permission name sends the user to the
detailed permission-level management UI.
Lastly, this change adds management controls to each SMS
permission in the all permissions screen where tapping on
the switch toggles the permission and tapping on the
name as before shows a detailed description.
Change-Id: I1d6cbc478c789e7680f41b92b9f3fa2504576ecd
|
|
|
|
|
|
| |
This reverts commit 0bbd04b3b5995c96fc268713bdfbebe153251bbd.
Change-Id: I69f062bfb74717e17d377f249886e2a814605671
|
|
|
|
| |
Change-Id: I5a800cc80d436a1ece35a326deeb80c7c302b1f6
|
|\
| |
| |
| |
| |
| |
| |
| | |
am: c357e6fae8
am: a6d93ab7b4
Change-Id: I677ceeeecf945f073f21a99e35d14fbf167b7e2f
|
| |
| |
| |
| |
| |
| |
| |
| | |
My previous updates to PackageInstaller forgot to update Theme.DialogWhenLarge
to use a DeviceDefault theme.
Change-Id: I3c17ee58699a8dc379685c57eb3d94038ec14dcc
Fixes: 30115474
|
|/
|
|
|
| |
Bug:29462255
Change-Id: Ic804b5cd4e00c48a735adad5c421387122587ba5
|
|
|
|
|
|
|
| |
Manual formatting is to complicated to do.
Fixes: 28852429
Change-Id: Ibab723b82a2b14ad94a3038dffccc96f86ba8ee4
|
|
|
|
|
|
|
|
|
|
|
|
| |
The message now depends on the state of mAllUsers flag in
UninstallAppProgress activity:
- This app is required for some users or profiles and was uninstalled for
others (if mAllUsers==true)
- This app is needed for your work profile and can't be uninstalled
(if mAllUsers==false)
Bug: 28240714
Change-Id: Ia060aebd112d3e4c5fcaee02a777140f085abf87
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Added a menu item to link for the help center article for app
permissions.
Bug: b/22096093
Change-Id: Ic810bbcc64b20ab6ee21140f0bb3ea055c10813a
|
|\ \ |
|
| |/
| |
| |
| |
| | |
Bug: 26932948
Change-Id: Ic8bcec523fc6cd0db847a4575724fbe465e65c5d
|
|/
|
|
|
|
|
|
|
|
|
|
| |
- Checked the wording of the content of the dialogs and I think the
title does not add any information. Design guidelines discourage
dialog titles.
- Removed unused dialog type
- Removed now unused strings
- Spell corrected a string
Bug: 5526317
Change-Id: I7d125d92ef3a2fb3fd6fd402af8d2422c0d8b869
|
|
|
|
|
| |
Bug: 27821740
Change-Id: Ib3407f1968b432a1820f1e955c8c4e7a737943f2
|
|\ |
|
| |
| |
| |
| |
| |
| | |
bug:23899558
Change-Id: I37bf080d54fc4fff5dfcc9f8240b95c82fed56d2
|
| |
| |
| |
| |
| |
| |
| | |
Show "Manage users" button when a secondary user is blocking the uninstall.
Bug: 24616123
Change-Id: I61f1d9814dccc9f9e8acbce97d8ef681f5ec8944
|
| |
| |
| |
| |
| |
| |
| | |
Inform about data deletion and also about other users.
Bug: 26694521
Change-Id: Ib1ab8ca58e111cfbad6895f296e567e289ce34d8
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
bug:24079113
Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
|
|\ \ \
| | |/
| |/| |
|
| |/
| |
| |
| |
| |
| | |
bug:23899558
Change-Id: Ic40994d5a74f726d0a7bc5f0f476b62f114fd18f
|