| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Bug: 30056625
Change-Id: I1ffc7ba88ea5f99591b66c08e72ea07d60ab82d5
|
|
|
|
|
| |
Bug: 30056625
Change-Id: Ie8e46fc7a2c340fb04b64feb331af0d882fe9672
|
|
|
|
|
| |
Bug: 30056625
Change-Id: Ie8e46fc7a2c340fb04b64feb331af0d882fe9672
|
|
|
|
|
|
|
|
|
|
| |
... when installing app via packageInstaller.
This allows the apk to have some limited control over where it will be
installed.
Change-Id: Id5140e7d2a2e3b8dd59815a0febf5c05cee08fbf
Fixes: 30056625
|
|
|
|
|
| |
Fixes: 29260288
Change-Id: Iaa309f362ae6a296f7ba365e418d4a6f55b23f0c
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first bug was that we were starting the install before
having the package info for the installed app. The second
was that we were calling the permission review UI despite
we were there before the user selected to install. i.e. the
user already reviewed the permissions.
bug:29197887
Change-Id: I2fac4d014dde7f7744a6b831c2b0ff510e29e8e8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A regression was introduced when we added support for
installing apps from content URIs. Since we stage the
APK in the cache folder we changed the flow to wipe
the cached version when the PackageInstallerActivity
finishes or gets an installation result, so we started
the InstallAppProgress activity for result but the latter
may be called with the forward result flag which is
incompatible with start activity for result. This change
delegates clearing the staging file in the cache folder
to the InstallAppProgress activity.
bug:28551937
Change-Id: I0d9978aff60b7fab6b64fe7bf889ef30f9b2fd7c
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 26932948
Change-Id: Ic8bcec523fc6cd0db847a4575724fbe465e65c5d
|
|
|
|
|
|
|
|
|
| |
PackageInstaller app is using the new Package Installer API
(android.content.pm.PackageInstaller) which removes the need to pass
the digest of AndroidManifest.xml around.
Bug: 24542768
Change-Id: I477b8f955b3af11bdd3cb88a9d8187ccb6449000
|
|
|
|
|
|
|
|
| |
These were no longer being used and they were broken with a recent change
adjusting the flow of the PackageInstaller.
Bug: 24542039
Change-Id: I14b98dd0f8cdb69d31eab54a3f1b96048263c222
|
|
|
|
|
|
|
|
|
| |
We've been using the deprecated package manager installation methods.
Replace those with the PackageInstaller.Session installation
mechanism.
Bug: 22282121
Change-Id: I34aefcbae2703c400a7ed35780f61713992b7181
|
|
|
|
|
|
| |
Bug 18507476
Change-Id: I5cfefa4be52306fee14b7fb163a730b1d39fc759
|
|
|
|
|
|
|
|
|
|
| |
This CL adds a package_digest field to the install_package_attempt
event. The field is populated with the SHA-256 digest of the contents
of the APK iff the user has consented to app verification and app
verification is enabled.
Bug: 10605940
Change-Id: I0d191398ed8d28950c7b5ee0ce02ec077d2c888b
|
|\
| |
| |
| | |
klp-dev
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The purpose of this change is to provide analytics about the various
stages of the install flow. Recorded information does not contain
user-, device-, or package/app-identifying information.
Examples of recorded information are:
* duration of the flow (start to finish)
* duration of the flow until the moment the user clicks Install
* whether the attempt is an update or a new install.
* whether app verification is enabled.
* whether Unknown Sources is enabled.
* whether the attempt was blocked by Unknown Sources.
* whether permissions were displayed.
* error code (if any) returned by PackageManager when installing the
package.
Bug: 10605940
Change-Id: I9bc009223a365a558cdf02bd91cf4315b82564c2
|
|/
|
|
|
|
| |
- use TextView.setCompoundDrawablesRelative() instead of setCompoundDrawables()
Change-Id: I4021236aa40d92ed9df0e354b8ce2287afa51168
|
|
|
|
| |
Change-Id: I088ab981cb56d4f156b6ff910d6a2270e3302dc4
|
|
|
|
|
| |
Bug: 6923241
Change-Id: I281301ca0bece2cb2395cde1d7652be168ffa202
|
|
|
|
|
|
|
|
| |
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 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: 6539616
Change-Id: I5740b680520606d880646bd419423c08bdc81a99
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: Ica79bece0fd29c27126e1ee51daeac96affaa1ab
|
|
|
|
| |
Also, switch to using standard fat title bar.
|
|
|
|
|
|
| |
Move dialog for insufficient storage as a post-install error handle dialog
Change-Id: I419b1dc233e01fc91e29d1274bae17d5bd63a60d
|
|
|
|
| |
Change-Id: I6bbb6c079c53f09a3b92b4e2a50d17fbd4839a0e
|
| |
|
| |
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The main activity was managing the state transitions during
installation/uninstallation which was actually not needed.
Just make the activities independent and start sub activities
without waiting for activity result codes in the main activity.
If the user enables development setting to immediately destroy activities,
and sideloads an app, the ActivityManager tries to destroy the
main activity while it starts sub activities to finish installation
and this results in UI bizarreness based on the current state of
the installer.
Also move InstallConfirmation to the main activity.
Converge InstallDone and InstallProgress into one screen. Just enable
or disable launch/close buttons. This is how it should have been in the
first place..
Same set of issues with uninstall code path as well.
|
|
|
|
|
|
| |
load label and icon for yet to be installed app from assets and resources created from the apk.
define new method for initing app snippet for uninstall related code
rename changed utility methods in install and uninstall code paths
|
|
|
|
|
| |
If this extra is set in the Intent which launches PackageInstaller,
PackageInstaller passes it in the call to PackageManager.installPackage().
|
| |
|
| |
|
| |
|
| |
|
|
|