| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
Provider string was incorrect after the port to PackageInstaller.
BUG: 24006789
Change-Id: Id04785bb1a22169431db6d7df21071585d3fa1e0
|
|
|
|
|
|
|
|
| |
Bug: 23819535
- Used for Android Wear
Change-Id: Ie42ce04453cb0cd7d2cf292065bbb1891fffbfa9
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 22317719
Change-Id: I5f6526bcce382ae6fabe32d3f8842567d8dc8701
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
into mnc-dev
|
| |
| |
| |
| |
| |
| | |
bug:22231699
Change-Id: I679bb4a1f99eaa7d3984a4e6db6a04dca4574a18
|
|/
|
|
|
|
| |
bug:22505232
Change-Id: I23c15a677020bd09344b107a093dc1d21764a294
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I04d7244e82e93e2c43191a14279ea2681f1fa9a3
|
|
|
|
|
|
| |
b/20476102
Change-Id: I128bb19413121b6d0367147989e79bffe45f8d82
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
| |
installer.
bug:21195624
Change-Id: If6de516d76969c3627316d091893da58f81af832
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
Change-Id: I23a7b4e42968df44d2dc3415bff2d15627653089
|
|
|
|
| |
Change-Id: Ib77227dc0ae4d02f96efff95f67a359310b5547c
|
|
|
|
|
|
|
| |
- Update existing settings page to show action bar and app header.
- Add page to manage apps based on permission.
Change-Id: I2211044fbe4db4b4fbf981f1a7ad7a01666cd69d
|
|
|
|
| |
Change-Id: Ieb311d29d122cfce130ae1a26889dd7794548833
|
|
|
|
| |
Change-Id: I7ec15992587b0036030386be35eedc095055b6eb
|
|
|
|
| |
Change-Id: Ieacda0825f5136662cdf218b003b112d2710140a
|
|
|
|
|
|
|
|
|
| |
This allows us to get the correct theming for free
moving forward.
Bug:17045520
Change-Id: I173315b39816b0061c048459e1f14d81747f072b
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
RTL languages
- update PackageInstaller layouts for supporting RTL
- enable RTL support by adding android:supportsRtl="true" in the AndroidManifest
Change-Id: I656ff6771a2f2e684e3c6e7a1302a864b12f6187
|
|
|
|
| |
Change-Id: I80a07a30cb452eee61e0838b5133559bb1f10d6f
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
They aren't supported internally.
Bug: 6343461
Change-Id: Idee9ceb7fa4acd9a576df1768f905fc6664fa23b
|
|
|
|
|
|
|
|
|
| |
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-Id: Ifbf8a6c7615472ddc66ebea87f18166b49773a8b
|
|
|
|
| |
Change-Id: I5d4691f8a23e90265eaaaea15950affdcb8dc9b6
|
|
|
|
|
| |
Bug: 6180371
Change-Id: Ib66f2efc352dd87b462e688522f7187fce2c9889
|
|\
| |
| |
| |
| |
| |
| | |
orientation change"
* commit '7d254dff8b89bd5b43a8d2f3fe533b092ebd5561':
PackageInstaller : Don't restart on orientation change
|
| |
| |
| |
| |
| |
| |
| | |
Currently an orientation change restarts the installation.
This is due to screenSize being required on anything API level 13 or higher
Change-Id: I730ee7bde024f41cfa6bc859b1665ebb5ae7e332
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
| |
Many install requests point to APK file://-style Uris on external
storage, so add permission.
Bug: 6343461
Change-Id: Ifc609155836fb6cd644b014b0f05d6fdac42107a
|
|
|
|
|
| |
Bug: 5361373
Change-Id: I6e5e1271013130d3bb7e6fa3acd59db5eff2cc37
|
|
|
|
| |
Change-Id: I60374f937ca3ccf454480b196a7eb4e36d67fe86
|
|
|
|
| |
Change-Id: I10f62b8b4809dcab5056b97be42cfe9cef714f1a
|
|
|
|
|
|
|
|
| |
Fix some layouts to correctly display as dialogs when using a large
screen device. Still needs the WeightedLinearLayout trick.
Bug: 3298362
Change-Id: I76ad192ca8c27a0d9f4ce106dc4e1e922c01c02b
|
|
|
|
|
|
|
|
|
|
| |
Due to confusion between "running" apps and "recent" apps, some users
thought the package installer was continuously running and trying to
reinstall applications. Removing the package installer activity from
display in recent apps will clear up any confusion.
Bug: 3179073
Change-Id: I96b8fecb2810e8d8d843db5d032e9ddfd38fbc8f
|
|
|
|
| |
Also, switch to using standard fat title bar.
|
|
|
|
|
|
| |
bar assest.
Change-Id: I3735873e6f885cfbbd5e0f7731c47e2089941c92
|
|
|
|
| |
Change-Id: I831605186fb1a0244d7c2da9e72850ae1644c570
|
| |
|
|
|
|
|
|
|
| |
any lingering files from earlier failed installs
or files left behind by earlier buggy builds
Add permission to AndroidManifest to clear user data
|