| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This speeds up startup of PackageInstaller since it doesn't have to read
all the data.
Bug: 8528639
Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Extract TabsAdapter into it's own class. It makes the code
more reusable and makes PackageInstallerActivity.java smaller.
No change in functionality.
Change-Id: I1ebc7fd05f600fd4764020c5ab72274f435ed211
|
|
|
|
|
|
|
|
|
|
|
| |
If packageParser.parsePackage() returns null, don't attempt call
packageParser.collectCertificates().
This fixes a NPE triggered by the following command:
am start -a android.intent.action.VIEW -d file:///blah/blah.apk -t application/vnd.android.package-archive
Change-Id: I6f6f836734d4b4ee07e98ee6b1f6339fa675b8b0
|
|
|
|
| |
Change-Id: I088ab981cb56d4f156b6ff910d6a2270e3302dc4
|
|
|
|
| |
Change-Id: I80a07a30cb452eee61e0838b5133559bb1f10d6f
|
|
|
|
| |
Change-Id: I3fc9f9bf492178ba064a4579826f49f252d41a20
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 6923241
Change-Id: I281301ca0bece2cb2395cde1d7652be168ffa202
|
|/
|
|
|
|
| |
...Device Access and Privacy headings
Change-Id: I9aca7d9fec60d4312ca13d8bce26fc7aebfe326c
|
|
|
|
|
| |
Bug: 7231172
Change-Id: Ib6fd133057bdcd40c2cc8699033f548985339aa8
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This API is hidden, but we don't try to protect with a permission
here because we always go through a UI for the user to verify the
operation.
Change-Id: I5580bcbe7ca00b8613c0d8523f348ce83b2d5031
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Privacy and Device permissions are not shown as separate tabs,
but instead separate sections in the same single scrollable
permissions list.
- No tabs are shown when installing a new app (they are all in
the new single list); two tabs are shown when installing an
update: the new permissions, and all permissions.
- If you are reviewing more permissions than fit on the screen,
the "install" button is changed to a "next" button until you
scroll through the entire list.
Change-Id: I0665a797f80ba5276e782e94be97090a429e5280
|
| |
|
|\
| |
| |
| |
| | |
* commit '47fe118e0178e9d72c98073ff588ee5cf353258e':
Show a Toast on a successful application uninstall
|
| |
| |
| |
| |
| |
| |
| |
| | |
Instead of waiting for the user to tap OK, just show a Toast
and get out of the way. Does not change anything for
unsuccessful uninstall attempts
Change-Id: I32c2097405b4c4f514224b7561b83175a1c882fb
|
| |
| |
| |
| |
| |
| |
| |
| | |
This change passes the originating URI and referrer of an apk, when
available, to the package manager.
Bug: 6544677
Change-Id: I1431b0e02eb779d9699e282ae59aaab485a00626
|
| |
| |
| |
| |
| |
| | |
This reverts commit 076ca8c8373a3d5f3f56103fa85966cc6c34c94a
Change-Id: I955510c4aa9f7fada2685ca274d0bb8fbdd91cdf
|
|/
|
|
|
|
|
|
| |
This change passes the originating URI and referrer of an apk, when
available, to the package manager.
Bug: 6544677
Change-Id: I6b1036012399f6cd42feceedeca2493b6b20501a
|
|
|
|
|
|
| |
Bug: 6593206
Change-Id: Ib8ec410e9af258b507706f2a162e8e7482f93f6a
|
|\ |
|
| |
| |
| |
| |
| | |
Bug: 6539616
Change-Id: I5740b680520606d880646bd419423c08bdc81a99
|
|\| |
|
| |
| |
| |
| |
| | |
Bug: 6539616
Change-Id: I60cbf1c49ffd565504504ef4b67fe5a512c086e4
|
|/
|
|
|
|
| |
Bug 6538805
Change-Id: I8baec78443f7e623cfb49cda90a5a9a95e71090d
|
|
|
|
|
|
|
|
|
|
| |
Make tab bar scrollable if tabs don't all fit.
Scroll the currently selected tab into view when it becomes selected.
Bug 6481646
Change-Id: Ic492526ce06fae759b23127f74cfcb8e2fd8f030
|
|
|
|
| |
Change-Id: I5d4691f8a23e90265eaaaea15950affdcb8dc9b6
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I60374f937ca3ccf454480b196a7eb4e36d67fe86
|
|
|
|
|
|
| |
This settings has been moved to Security.
Change-Id: Ie5b630d5d4e909a687d60ac941a407ee9588635a
|
|
|
|
| |
Change-Id: Ica79bece0fd29c27126e1ee51daeac96affaa1ab
|
|
|
|
| |
Change-Id: Iabef1f9c6758e09c9e7f697da29cda7d532c625b
|
|
|
|
|
|
|
|
|
|
| |
Users being directed into Settings because of some problem were getting
the Settings activity on the PackageInstaller stack. This caused some
confusion because going into PackageInstaller again put them into
Settings which is wrong.
Bug: 3456307
Change-Id: Idda1e02a619950dbc4db81c4962a3257f67094b2
|
|
|
|
| |
Also, switch to using standard fat title bar.
|
|
|
|
|
|
|
|
| |
system partition app
Make sure to set the replace flag if the app exists but has been renamed.
Change-Id: I0849834b59eb2a98c94e763860f649770eeeef43
|
|
|
|
|
|
| |
Move dialog for insufficient storage as a post-install error handle dialog
Change-Id: I419b1dc233e01fc91e29d1274bae17d5bd63a60d
|
|
|
|
| |
Change-Id: I6bbb6c079c53f09a3b92b4e2a50d17fbd4839a0e
|
|
|
|
| |
Modify free storage logic.
|
| |
|
| |
|
|
|
|
| |
Folowing through with making recommendAPpInstallLocation(..) an instance method in PackageManager.
|
|
|
|
|
| |
Modifying sideload app to recommend location where to install application package, based on application flags, total space and available space
on internal and SD card storage. Currently ignoring "Do not install" recommendation.
|
|
|
|
| |
The system process can now make a copy for itself.
|
|
|
|
|
|
| |
Also load the label from the new pkg for existing packages
Use installer's metrics and configuration info when creating resources
for new package
|
|
|
|
| |
and deal with cleanly deleting the file
|
|
|
|
|
| |
Also invoke the right method based on if its an installed application
or not. just move the if condition prior to initializing the view
|
|
|
|
|
|
| |
and cancel buttons appear at the bottom of the screen. If the permission list doesn't fillup the screen aka has very few permissions, the buttons don't appear at the buttom. so just increate the layout weight of the parent as well to fix this issue.
Also hide the whole permissions panel so that we don't see the text related to showing permissions at all
|
|
|
|
|
|
|
| |
any lingering files from earlier failed installs
or files left behind by earlier buggy builds
Add permission to AndroidManifest to clear user data
|
|
|
|
|
|
|
| |
which indicates progress etc., If not, the UninstallerActivity is again displayed
after finishing off uninstallation.
Remove entries from manifest that are no longer part of code base
|