summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
Commit message (Collapse)AuthorAgeFilesLines
* Not longer need MANAGE_DEVICE_ADMINS permission.Rubin Xu2016-08-021-3/+0
| | | | | | | | This was added to show policy transparency dialog with custom support message, but the check is now removed so no need to hold this permission. Bug: 30582906 Change-Id: I55f7b7d683001e09d9e0b00ed5f7e1ead5470dd8
* Mend up onDestroy->onCreate for N.Philip P. Moltmann2016-05-051-1/+1
| | | | | | | | | | | | | | This does not implement correct onDestroy->onCreate behavior but mends it for the common case. We now handle all configurations changes, hence onDestroy->onCreate is very rare. We also just abort quickly if we actually had a onDestroy->onCreate instead of crashing. This is a temporary fix. Bug: 28588511 Change-Id: Ief56c8b866f2561b13253f66a7f79517fc2132cb
* Cleanup of the PackageInstaller API - PackageInstallerSvet Ganov2016-04-211-0/+7
| | | | | | | | | The PackageInstaller app manages side-loading apps as well as permission management. It should be updatable, hence should rely on system APIs to talk to the platform. This is the first step of defining an API boundary. Change-Id: I37aea1e5cc3195b8b636af6790af45fe5a9765cd
* Wear Cleanup: Removing implicit intent & API changeVinod Krishnan2016-03-181-9/+1
| | | | | | | | - Remove a way to implicitly call Wear install service - Also make the Service take in the package as the data, just like the activities in PackageInstaller Change-Id: I0c4c9cebbb7396e025cab81eed835ab1a941ca01
* Follow framework refactoring.Jeff Sharkey2016-03-171-2/+2
| | | | | Bug: 27531029 Change-Id: I7bb3273421a84c6bb5853340ac31197bdbd78fec
* Support app install from a content URISvet Ganov2016-03-051-0/+2
| | | | | | bug:24079113 Change-Id: Ide1aa1667370f6b8d00ff269ef28992589656e9a
* No overlay when permissions shown - package installerSvet Ganov2016-02-201-0/+1
| | | | | | bug:26973205 Change-Id: Ibae1b971ceb1ea0d831435b9d5166482199e9184
* Add a padlock to options when disabled by admin.Sudheer Shanka2016-01-201-0/+3
| | | | | | | | Currently, if admin has enforced setPermissionGrantState to denied or granted, we disable the option and add a summary that the option is disabled by admin. With this change, a padlock will also be added in this case. Change-Id: I58080c914fabab045282eb3cc491901676fffaed
* Add optional permission review for legacy apps - installerSvet Ganov2015-12-011-0/+10
| | | | Change-Id: Ifc88b2fa259d2d22bea6b5500cded2714ad4da85
* Mark this coreApp as being encryptionAware.Jeff Sharkey2015-11-191-1/+3
| | | | | | | | | | Historically, apps marked with "coreApp" were prepared to run in a limited boot environment, and were critical to booting the device, so in the new file-based encryption world we're marking these apps with both "forceDeviceEncrypted" and "encryptionAware" attributes. Bug: 22358539 Change-Id: Ib54d9b4cdc0d66695feed690ace31681a35df90f
* Add new dialog for warning confirmationsAnthony Hugh2015-09-231-0/+4
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix "needs permissions" items iconsAnthony Hugh2015-09-171-3/+1
| | | | | | | Provider string was incorrect after the port to PackageInstaller. BUG: 24006789 Change-Id: Id04785bb1a22169431db6d7df21071585d3fa1e0
* Add an API for getting list of all apps that have runtime permsVinod Krishnan2015-09-141-0/+1
| | | | | | | | Bug: 23819535 - Used for Android Wear Change-Id: Ie42ce04453cb0cd7d2cf292065bbb1891fffbfa9
* Redo Move ClockworkPackageInstaller functionality here"Vinod Krishnan2015-09-091-0/+23
| | | | | | This reverts commit 5b26c2e64ceeaa1e71436b36a28f53100e358ed8. Change-Id: I88fa09f87023a7c1b2aac3100cfbdce6283de770
* Revert "Move ClockworkPackageInstaller functionality here"Griff Hazen2015-09-081-23/+0
| | | | | | | | Breaking ub-wear-dinar/ub-wear-master builds This reverts commit aa4368cafc3c92b33a99c3fbe0e6af08d7e092e4. Change-Id: Ib22189891e9cd9eef61cdaa5ac329d05ab9783e8
* Move ClockworkPackageInstaller functionality hereVinod Krishnan2015-09-041-0/+23
| | | | | | | | | - 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
* Show warning when touches are being blocked by overlaysJason Monk2015-08-071-0/+4
| | | | | Bug: 22317719 Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
* Protect package installer UI with the new permissions.Svet Ganov2015-07-201-2/+2
| | | | | | | | | | | | | | The grant_revoke_permissions permission was split in two to separate granting and revoking a permission. Package installer can both grant and revoke, while the verifier can only revoke permissions. We want the permissions UI to be launchable ony by the installer, therefore it is now protected by the grant_runtime_permissions permission which only the installer has. bug:22231699 Change-Id: I81fe3b20ff1af4806d655537ff30273a4782494c
* Merge "Add APIs for verifier to grant at install and revoke permissions" ↵Svet Ganov2015-07-161-1/+3
|\ | | | | | | into mnc-dev
| * Add APIs for verifier to grant at install and revoke permissionsSvet Ganov2015-07-151-1/+3
| | | | | | | | | | | | bug:22231699 Change-Id: I679bb4a1f99eaa7d3984a4e6db6a04dca4574a18
* | Remove unnecessary READ_PHONE_STATE permission.Svet Ganov2015-07-151-1/+0
|/ | | | | | bug:22505232 Change-Id: I23c15a677020bd09344b107a093dc1d21764a294
* Make package installer a privileged core appSvet Ganov2015-07-081-1/+1
| | | | | | | | | | | | | Package installer should be a core app, so it is available when we boot in a core app only mode for the user to enter a pattern to decrypt. Package installer is now a privileged app as it needs provileged permissions in the additions to the ones we explicitly grant it. This is to ensure it will get these permissions when its cert changes. bug:22341030 Change-Id: I52137fe181b84fca6d49fb6b1b363527f0fd323c
* Protect the permission count receiver.Svet Ganov2015-07-011-1/+2
| | | | Change-Id: I04d7244e82e93e2c43191a14279ea2681f1fa9a3
* Add tv-specific grant permissions view handlerTodd Volkert2015-06-101-1/+1
| | | | | | b/20476102 Change-Id: I128bb19413121b6d0367147989e79bffe45f8d82
* Add permission summaries backJason Monk2015-05-261-0/+5
| | | | | | | | | | | - Add summaries to manage permissions screen - Add some shortcuts to skip loading unneeded labels/icons for summary info - Add way for Settings to broadcast request for info about granted permissions. Bug: 21078474 Change-Id: I28582129971385203f4e4316addf73e07ee53940
* Handle dark themes in permissions UIJason Monk2015-05-191-1/+1
| | | | | | | | | | | | | | - Settings > Apps > Advanced > Permissions - Permission icon needed tinting - Settings > Apps > [App] > Permissions - Permission icon also needed tinting - Grant permission dialog - Needed new base theme - App name color span needed dark color - Progress text needed dark color Bug: 21154903 Change-Id: I34045ac71ca87abbb4ce828435f583f53ab0d3da
* Hide platform platform legacy permissions behind a menu option - package ↵Svet Ganov2015-05-171-0/+1
| | | | | | | | installer. bug:21195624 Change-Id: If6de516d76969c3627316d091893da58f81af832
* Add animation for multiple permission checksJason Monk2015-05-081-1/+1
| | | | | | | | | | | | | - DialogFragment was removed and just use the dialog-themed activity instead. The previously GrantPermissionFragment, now acts as a helper class. - The dialog always tells the window its the same size, but then draws at whatever height is required for the current permission. (this allows it to stay in one position) - Touching outside now does nothing so that the user must respond to the permission request. Change-Id: I12f27de4de5ad83e123cb9acfa062950db39f61b
* Permission UI - legacy apps support - package installerSvet Ganov2015-05-051-2/+4
| | | | Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089
* Add leanback-looking UI to permissions screensTony Mantler2015-04-221-1/+1
| | | | Change-Id: Ib77227dc0ae4d02f96efff95f67a359310b5547c
* Update permissions UIJason Monk2015-03-271-0/+3
| | | | | | | - Update existing settings page to show action bar and app header. - Add page to manage apps based on permission. Change-Id: I2211044fbe4db4b4fbf981f1a7ad7a01666cd69d
* Initial version of the grant permission UI.Svet Ganov2015-03-241-2/+13
| | | | Change-Id: Ieb311d29d122cfce130ae1a26889dd7794548833
* Add basic support for new runtime permissionsSvet Ganov2015-03-241-1/+1
| | | | Change-Id: I7ec15992587b0036030386be35eedc095055b6eb
* Don't let others intercept the package uninstall UI.Dianne Hackborn2015-02-201-1/+1
| | | | Change-Id: Ieacda0825f5136662cdf218b003b112d2710140a
* Use an AlertDialog for the Uninstall confirmationAdam Lesinski2014-09-101-2/+2
| | | | | | | | | This allows us to get the correct theming for free moving forward. Bug:17045520 Change-Id: I173315b39816b0061c048459e1f14d81747f072b
* Extend to support install sessions.Jeff Sharkey2014-08-071-15/+19
| | | | | | | | | Light changes to existing code to support pre-staged install sessions. Only inspects a base APK from session, which defines all permissions. Bug: 16515814 Change-Id: Ia1cb43ff9fdfe1f2468ad0d1374cff2b8eb50f54
* Support uninstalling apps for other profiles.Kenny Guy2014-07-101-0/+1
| | | | | | | | | | | | | | Allow client to pick which user the package will be removed for, checking its a profile of the current user. Inform user if package is blocked from being removed and let them knows its due to an admin. Add check to stop non owner asking to uninstall for all users. Bug: 14127299 Change-Id: I60504224f5271272a390320a0fa62aa7f5de4e54
* PackageInstaller: add permission granting supportNick Kralevich2013-03-271-0/+10
| | | | | | | | | | | | | | | | | | | | | | Add support to PackageInstaller for allowing the user to grant permissions to other apps. The user is involved in the decision, and can approve or reject permissions. Applications can make a request to PackageInstaller using something like the following code: private void onPromptPermissionsClicked(String... permissions) { Intent i = getActivity().getApplication() .getPackageManager().requestPermission(permissions); startActivityForResult(i, 0); } This code reuses the sideloading upgrade flow when adding permissions, making the UI very familiar to someone who's sideloaded applications. Conceptually, we are treating a permission grant as a reinstall of the application with new permissions. Change-Id: Ia37f761e5574a490d1d37b9eb40cf5e77c928a40
* Fix bug #8133419 Android Download Manager/Installer should be mirrored for ↵Fabrice Di Meglio2013-03-211-1/+2
| | | | | | | | | RTL languages - update PackageInstaller layouts for supporting RTL - enable RTL support by adding android:supportsRtl="true" in the AndroidManifest Change-Id: I656ff6771a2f2e684e3c6e7a1302a864b12f6187
* Fix issue #7448596: Can't uninstall app that was installed by another userDianne Hackborn2012-10-311-0/+1
| | | | Change-Id: I80a07a30cb452eee61e0838b5133559bb1f10d6f
* Allow side-loading of apps from other users.Dianne Hackborn2012-09-191-1/+1
| | | | | | | | This will allow applications to do the desired bypass of downloading and re-installing an app if it is already installed on the device for another user. Change-Id: Ib2bc0f39bc6b495af653560cf13cb8477413186d
* Stop advertising support for content:// Uris.Jeff Sharkey2012-08-011-1/+0
| | | | | | | They aren't supported internally. Bug: 6343461 Change-Id: Idee9ceb7fa4acd9a576df1768f905fc6664fa23b
* Update themes for PackageInstallerAdam Powell2012-05-231-2/+3
| | | | | | | | | Use DeviceDefault to better integrate with the host system. Use Dialog theme for all devices when uninstalling apps instead of DialogWhenLarge. Change-Id: Ia427c85c81bf175518d07cfef56de5816c052943
* Change theme back to dark.Dianne Hackborn2012-05-111-1/+1
| | | | Change-Id: Ifbf8a6c7615472ddc66ebea87f18166b49773a8b
* New permissions UI.Dianne Hackborn2012-05-031-1/+1
| | | | Change-Id: I5d4691f8a23e90265eaaaea15950affdcb8dc9b6
* Don't restart on orientation change.felipeal2012-04-301-1/+1
| | | | | Bug: 6180371 Change-Id: Ib66f2efc352dd87b462e688522f7187fce2c9889
* am 7d254dff: am 1430ad97: Merge "PackageInstaller : Don\'t restart on ↵Dianne Hackborn2012-04-241-3/+3
|\ | | | | | | | | | | | | orientation change" * commit '7d254dff8b89bd5b43a8d2f3fe533b092ebd5561': PackageInstaller : Don't restart on orientation change
| * PackageInstaller : Don't restart on orientation changeDanesh Mondegarian2012-04-101-3/+3
| | | | | | | | | | | | | | Currently an orientation change restarts the installation. This is due to screenSize being required on anything API level 13 or higher Change-Id: I730ee7bde024f41cfa6bc859b1665ebb5ae7e332
* | Stop advertising content://-style Uri support.Jeff Sharkey2012-04-161-1/+0
| | | | | | | | | | | | | | | | | | Internally using PackageParser, which needs raw files. Tried making local copy of incoming files, but ran into 6347522. Instead, stop advertising support for content://-style Uris. Bug: 6343461 Change-Id: Ia57ffa56876f38db359e618d9a2c1116c71f56f2
* | Grant READ_EXTERNAL_STORAGE.Jeff Sharkey2012-04-161-0/+1
|/ | | | | | | | Many install requests point to APK file://-style Uris on external storage, so add permission. Bug: 6343461 Change-Id: Ifc609155836fb6cd644b014b0f05d6fdac42107a