summaryrefslogtreecommitdiffstats
path: root/res/values
Commit message (Collapse)AuthorAgeFilesLines
* Fix "Provide more information why an install failed" for TVMichael Bestas2018-08-211-1/+1
| | | | | | * Workaround crowdin issues with aapt2 and missing translations Change-Id: I3e42fc7fca6b2683653470f81b04e4085b0be00a
* Merge "Properly define info button in App Permissions" into pi-devTreeHugger Robot2018-03-281-0/+3
|\
| * Properly define info button in App PermissionsPhilip P. Moltmann2018-03-281-0/+3
| | | | | | | | | | | | | | | | | | - 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
* | improve car appsPermission viewLujiang Xue2018-03-211-0/+4
|/ | | | | | | | Fixes: 73127860 Test: deployed to head unit and test Change-Id: I86744f7901c696bf04201840164206c8895b47b9 (cherry picked from commit 31c9070d270be764b94847df5b89ddc79cbd7be0)
* Checking user restriction before starting installSuprabh Shukla2017-05-311-0/+2
| | | | | | | | | | 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
* Revert "Using SecureTouchListener for install button during install ↵Suprabh Shukla2017-05-241-6/+0
| | | | | | | | | | confirmation" This reverts commit 38e0f956664f2997941e2087284366e0d0dadbf7. Bug: 35056974, 38306660 Change-Id: Ib00be0c4e8be9156b0bdb1f303e1e518136d55ac
* Using SecureTouchListener for install button during install confirmationSuprabh Shukla2017-05-051-0/+6
| | | | | | | | | | 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
* Removing the ClearApplicationUserDataDialogActivitymsnider2017-04-241-5/+0
| | | | | | | | | | | | See ag/2119036 in master for revert Test: N/A Bug: 37413812 Bug: 37497021 Bug: 37494148 Bug: 37414037 Change-Id: Iac5ae44c2fdf30efe256d9612d40524ddad123db
* Merge "WearPackageInstallerSvc move to startForeground" into oc-devvinodkrishnan2017-04-221-0/+4
|\
| * WearPackageInstallerSvc move to startForegroundVinod Krishnan2017-04-211-0/+4
| | | | | | | | | | | | | | | | | | - also some cleanup Bug: 35885458 Test: Manual Change-Id: I85159346a6273bac2f29d9fed34b4938649dc940
* | Enforced app op permission in package installerSuprabh Shukla2017-04-181-0/+27
|/ | | | | | | | | | | | | | | 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
* Unininstall notifications -> notification channelsPhilip P. Moltmann2017-04-111-0/+6
| | | | | | | | | | | | | | 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)
* Remove full stop from toastPhilip P. Moltmann2017-03-311-1/+1
| | | | | Test: Uninstalled app. Change-Id: I90acfbe2560c3c1cc632d5a56af1b2009aeaab79
* Enterprise string clean-up for OCharles He2017-03-241-9/+11
| | | | | | Bug: 34326838 Test: make Change-Id: Ie0261403367925c53ebeedcac3485f02766f00a5
* Updating strings for unknown sources dialogSuprabh Shukla2017-03-201-11/+12
| | | | | | | | | | | 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
* Add wear customization for permission review activity.Shijian Li2017-03-021-0/+2
| | | | | | | | | | 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
* Adding the Activity for ClearData intent from ag/1806300msnider2017-01-241-0/+5
| | | | | | | | | | | | | 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
* Fixing character limit for string translationSuprabh Shukla2017-01-231-1/+1
| | | | | | Test: N/A Bug: 34581666 Change-Id: Ie12688033e02935dd8267e49da2f61ab74323661
* Checking for app op OP_INSTALL_PACKAGES in PackageInstallerSuprabh Shukla2017-01-181-0/+9
| | | | | | | | | | | | 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
* Merge "Uninstaller: For result lifecycle safe"TreeHugger Robot2016-11-071-0/+2
|\
| * Uninstaller: For result lifecycle safePhilip P. Moltmann2016-11-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | Make headerevelation 8dp.Philip P. Moltmann2016-11-041-1/+1
|/ | | | | Test: Performed installationl; looked at UI Change-Id: Ia5f11133b7d54318a521587c6db6a3fab8506a12
* Uninstaller: Check if allowed earlyPhilip P. Moltmann2016-11-031-0/+2
| | | | | | | | | | | | | 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
* No activity while uninstalling unless neededPhilip P. Moltmann2016-11-021-0/+3
| | | | | | | | | | | 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
* Add progress bars and make them show somethingPhilip P. Moltmann2016-10-281-0/+20
| | | | | | | | | | | 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
* UI tweaks for package installerPhilip P. Moltmann2016-10-273-20/+23
| | | | | | | | | | | | - 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
* Split success from failure screenPhilip P. Moltmann2016-10-181-0/+4
| | | | | | | | | | | | 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
* Provide more information why an install failedPhilip P. Moltmann2016-10-121-4/+4
| | | | | | | | | | | | | | | | - 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
* Polish permissions review UI.Svet Ganov2016-09-211-2/+14
| | | | | | | | | | | | | | | | | | | 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
* Revert "Make ReviewPermissions a MD full screen dialog"Svetoslav Ganov2016-09-202-12/+4
| | | | | | This reverts commit 0bbd04b3b5995c96fc268713bdfbebe153251bbd. Change-Id: I69f062bfb74717e17d377f249886e2a814605671
* Make ReviewPermissions a MD full screen dialogPhilip P. Moltmann2016-08-122-4/+12
| | | | Change-Id: I5a800cc80d436a1ece35a326deeb80c7c302b1f6
* Merge \\"Update PackageInstaller theme to DeviceDefault.\\" into nyc-mr1-dev ↵Andrew Sapperstein2016-07-131-1/+1
|\ | | | | | | | | | | | | | | am: c357e6fae8 am: a6d93ab7b4 Change-Id: I677ceeeecf945f073f21a99e35d14fbf167b7e2f
| * Update PackageInstaller theme to DeviceDefault.Andrew Sapperstein2016-07-131-1/+1
| | | | | | | | | | | | | | | | My previous updates to PackageInstaller forgot to update Theme.DialogWhenLarge to use a DeviceDefault theme. Change-Id: I3c17ee58699a8dc379685c57eb3d94038ec14dcc Fixes: 30115474
* | Convert PackageInstaller to build with AAPT2Adam Lesinski2016-06-291-0/+35
|/ | | | | Bug:29462255 Change-Id: Ic804b5cd4e00c48a735adad5c421387122587ba5
* Format the template using HTML tags.Philip P. Moltmann2016-05-231-1/+1
| | | | | | | Manual formatting is to complicated to do. Fixes: 28852429 Change-Id: Ibab723b82a2b14ad94a3038dffccc96f86ba8ee4
* Fix misleading uninstall message for managed profilesFyodor Kupolov2016-04-181-3/+8
| | | | | | | | | | | | 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
* Merge "Adding help link to apps permissions page" into nyc-devSuprabh Shukla2016-04-081-0/+3
|\
| * Adding help link to apps permissions pageSuprabh Shukla2016-04-071-0/+3
| | | | | | | | | | | | | | | | Added a menu item to link for the help center article for app permissions. Bug: b/22096093 Change-Id: Ic810bbcc64b20ab6ee21140f0bb3ea055c10813a
* | Merge "Make side-load install path material design-y" into nyc-devPhilip P. Moltmann2016-04-081-1/+20
|\ \
| * | Make side-load install path material design-yPhilip P. Moltmann2016-04-071-1/+20
| |/ | | | | | | | | Bug: 26932948 Change-Id: Ic8bcec523fc6cd0db847a4575724fbe465e65c5d
* / Remove dialog titles from simple package installer dialogs.Philip P. Moltmann2016-04-081-8/+1
|/ | | | | | | | | | | | - 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
* Increase char limit for uninstall_blocked_profile_ownerFyodor Kupolov2016-03-251-1/+1
| | | | | Bug: 27821740 Change-Id: Ib3407f1968b432a1820f1e955c8c4e7a737943f2
* Merge "Update deny button in permission warning dialogs" into nyc-devSvetoslav Ganov2016-03-231-1/+4
|\
| * Update deny button in permission warning dialogsSvet Ganov2016-03-221-1/+4
| | | | | | | | | | | | bug:23899558 Change-Id: I37bf080d54fc4fff5dfcc9f8240b95c82fed56d2
* | Added "Manage users" buttonFyodor Kupolov2016-03-221-2/+6
| | | | | | | | | | | | | | Show "Manage users" button when a secondary user is blocking the uninstall. Bug: 24616123 Change-Id: I61f1d9814dccc9f9e8acbce97d8ef681f5ec8944
* | Tweak strings when uninstalling updatesAmith Yamasani2016-03-091-1/+2
| | | | | | | | | | | | | | Inform about data deletion and also about other users. Bug: 26694521 Change-Id: Ib1ab8ca58e111cfbad6895f296e567e289ce34d8
* | Merge "Support app install from a content URI" into nyc-devSvetoslav Ganov2016-03-061-0/+6
|\ \
| * | Support app install from a content URISvet Ganov2016-03-051-0/+6
| | | | | | | | | | | | | | | | | | bug:24079113 Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
* | | Merge "Fix confirm button text when revoking special permissons" into nyc-devSvetoslav Ganov2016-03-021-1/+1
|\ \ \ | | |/ | |/|
| * | Fix confirm button text when revoking special permissonsSvet Ganov2016-03-021-1/+1
| |/ | | | | | | | | | | bug:23899558 Change-Id: Ic40994d5a74f726d0a7bc5f0f476b62f114fd18f