| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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: 11275004
Bug: 10605940
(cherry picked from commit 8fca480bee00578c1529b1f32ab30af096db82dd)
Change-Id: I9773925f7e397ada26efac022349dc8e4af01208
|
|
|
|
|
| |
Change-Id: I7c4d78223d18f393eec9223e79c29297fb41499c
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: Iae5e69cdfe2a5b403d5879850dd65a7822f68d9e
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I6d18df83117a8c2fdbcf4e6500146d3d9d21517c
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I808c9dea6e0eb2acfa0401ec7bf0e25d8c11384c
Auto-generated-cl: translation import
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL switches from the type-unsafe EventLog.writeEvent method to
the strictly-typed EventLogTags.writeInstallPackageAttempt. This
method is generated from the definition of this event in EventLogTags.logtags
and thus offers compile-time type checking.
Bug: 10605940
Change-Id: I62895b60fe4c01d4314eba564476e0f1ed7ad78b
|
|/
|
|
|
| |
Change-Id: I0edd4735e9e5616ae88beab41f3ee18bbfe39d0b
Auto-generated-cl: translation import
|
|\
| |
| |
| | |
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: Iec4b403a0a40f6eab5c05635b373d9a53141e9d7
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I62dc26ed226f7e31f715435339cbe3ad0b227cef
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I51ad29f77da17e223b6182b0022cf21a0a47a1d2
Auto-generated-cl: translation import
|
|
|
|
|
|
|
|
|
|
|
| |
We no longer grant all "signatureOrSystem" type permissions to all apps
bundled on the system partition; there is a build-time grant of
privileged status. The logic for granting install permission now
checks the caller's privileged status, not just its apk location.
Bug 8765951
Change-Id: Ib88f4b0911743bd6bfd3458302fe88518e08ac86
|
|
|
|
|
| |
Change-Id: I10a76f5b6f5f8a206a491496bf1dad8c988bf722
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I55d2da6adfe3d14de275bb18bb95b429f20efe89
Auto-generated-cl: translation import
|
|
|
|
|
| |
Change-Id: I2b05bfa888728f46ee24305806a6d848f6b484b1
Auto-generated-cl: translation import
|
|\
| |
| |
| |
| | |
* commit 'b1a5960af6814e38ae7dcd771d25c1d8ab1dcae6':
Import translations. DO NOT MERGE
|
| |
| |
| |
| |
| | |
Change-Id: I0f03ba3a2bff1ff8a09e96048a6c0bb680bd94ca
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I37d539c545d031db5877999be5fbcb17d99a20cf
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '4388dd48a63d74d33a354a1e79a786bc743c387e':
Import translations. DO NOT MERGE
|
| |
| |
| |
| |
| | |
Change-Id: Id6b32590bec6fe1a400188157efa90cbcb7377ab
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I7cb78e1a4eab43cc2a7e67d1e47a5235267adaba
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '14a039ebbffb93bfa1acacfa3bc2fb8c4eafcfac':
Import translations. DO NOT MERGE
|
| |
| |
| |
| |
| | |
Change-Id: I115b8f49fcbc3a35e03b3c45dda36964101e8b1d
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: I15adb1dd80b71b151e760635535b8becc330ecae
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '57a21b41a898810420cb54666c9d38826a029730':
Import translations. DO NOT MERGE
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: I02a815d40f79b608e62ded3e5789e08a4bef11e1
Auto-generated-cl: translation import
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Change-Id: Icda5c4a9fe41f4dbbe5f2c92f006387842519eab
Auto-generated-cl: translation import
|
|\ \ \ \
| |/ / /
|/| / /
| |/ /
| | | |
* commit '8d3437fe1be41c2cebdb81de8241d17dca0b8cab':
Use direct call to get ManifestDigest
|
| |/
| |
| |
| |
| |
| |
| |
| | |
This speeds up startup of PackageInstaller since it doesn't have to read
all the data.
Bug: 8528639
Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
|
|\|
| |
| |
| |
| | |
* commit '20aa01132b0d4bf3af891f9131fbe9a96c8fa708':
Import translations. DO NOT MERGE
|
| |
| |
| |
| |
| | |
Change-Id: I0a07f509f56e673e0f7da4e0cc14c8a828d58d54
Auto-generated-cl: translation import
|
| |
| |
| |
| |
| | |
Change-Id: Ic052d7e7e998165db7c37f492163b380be3f3b5f
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| | |
* commit '292e4dabe97f77ea91945b2f520c0c680fabb145':
PackageInstaller: add permission granting support
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '2055eecd55b944643111c4987e507f4a650f95e4':
Move TabsAdapter into it's own class.
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| | |
Change-Id: I96a426be13007beac29355247361d66ee37972c8
Auto-generated-cl: translation import
|
|\|
| |
| |
| |
| |
| |
| | |
should be mirrored for RTL languages" into jb-mr2-dev
* commit '8f193212ed48f38f54e7f78ca8789758cf9a0c7b':
Fix bug #8133419 Android Download Manager/Installer should be mirrored for RTL languages
|
| |\
| | |
| | |
| | | |
mirrored for RTL languages" into jb-mr2-dev
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
RTL languages
- update PackageInstaller layouts for supporting RTL
- enable RTL support by adding android:supportsRtl="true" in the AndroidManifest
Change-Id: I656ff6771a2f2e684e3c6e7a1302a864b12f6187
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Icb5f36f9bcd9bc6c223fd0bef455339e5551efeb
Auto-generated-cl: translation import
|
|\| |
| | |
| | |
| | |
| | | |
* commit '813a4bd48de33efe5c882ad3b9258e88d6d10fd7':
PackageUtil: don't collect certs if package doesn't exist
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\|
| |
| |
| |
| | |
* commit '2b3202c3ff18469b294629bf1416118f12492173':
Add manifest to verification params
|
| |
| |
| |
| | |
Change-Id: I088ab981cb56d4f156b6ff910d6a2270e3302dc4
|