summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Log APK hash for package install attempts in the Event Log.Alex Klyubin2013-10-184-12/+119
| | | | | | | | | | | | | | 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
* Import translations. DO NOT MERGEBaligh Uddin2013-10-162-5/+5
| | | | | Change-Id: I7c4d78223d18f393eec9223e79c29297fb41499c Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-10-101-1/+1
| | | | | Change-Id: Iae5e69cdfe2a5b403d5879850dd65a7822f68d9e Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-10-046-14/+14
| | | | | Change-Id: I6d18df83117a8c2fdbcf4e6500146d3d9d21517c Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-09-252-30/+30
| | | | | Change-Id: I808c9dea6e0eb2acfa0401ec7bf0e25d8c11384c Auto-generated-cl: translation import
* Merge "Robustify logging of analytics about PackageInstaller." into klp-devAlex Klyubin2013-09-232-65/+42
|\
| * Robustify logging of analytics about PackageInstaller.Alex Klyubin2013-09-102-65/+42
| | | | | | | | | | | | | | | | | | | | | | 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
* | Import translations. DO NOT MERGEBaligh Uddin2013-09-1416-38/+859
|/ | | | | Change-Id: I0edd4735e9e5616ae88beab41f3ee18bbfe39d0b Auto-generated-cl: translation import
* Merge "Record analytics about package install attempts to Event Log." into ↵Alex Klyubin2013-09-106-37/+650
|\ | | | | | | klp-dev
| * Record analytics about package install attempts to Event Log.Alex Klyubin2013-09-096-37/+650
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix bug #10397732 'X' icon of download manager UI error not mirroredFabrice Di Meglio2013-09-061-1/+2
|/ | | | | | - use TextView.setCompoundDrawablesRelative() instead of setCompoundDrawables() Change-Id: I4021236aa40d92ed9df0e354b8ce2287afa51168
* Import translations. DO NOT MERGEBaligh Uddin2013-08-0148-144/+144
| | | | | Change-Id: Iec4b403a0a40f6eab5c05635b373d9a53141e9d7 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-07-291-1/+1
| | | | | Change-Id: I62dc26ed226f7e31f715435339cbe3ad0b227cef Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-06-241-1/+1
| | | | | Change-Id: I51ad29f77da17e223b6182b0022cf21a0a47a1d2 Auto-generated-cl: translation import
* Update install-permission logic to use new FLAG_PRIVILEGEDChristopher Tate2013-06-141-5/+5
| | | | | | | | | | | 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
* Import translations. DO NOT MERGEBaligh Uddin2013-05-271-3/+3
| | | | | Change-Id: I10a76f5b6f5f8a206a491496bf1dad8c988bf722 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-05-031-5/+5
| | | | | Change-Id: I55d2da6adfe3d14de275bb18bb95b429f20efe89 Auto-generated-cl: translation import
* Import translations. DO NOT MERGEBaligh Uddin2013-04-291-1/+1
| | | | | Change-Id: I2b05bfa888728f46ee24305806a6d848f6b484b1 Auto-generated-cl: translation import
* am b1a5960a: Import translations. DO NOT MERGEBaligh Uddin2013-04-230-0/+0
|\ | | | | | | | | * commit 'b1a5960af6814e38ae7dcd771d25c1d8ab1dcae6': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2013-04-221-1/+1
| | | | | | | | | | Change-Id: I0f03ba3a2bff1ff8a09e96048a6c0bb680bd94ca Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-04-221-1/+1
| | | | | | | | | | Change-Id: I37d539c545d031db5877999be5fbcb17d99a20cf Auto-generated-cl: translation import
* | am 4388dd48: Import translations. DO NOT MERGEBaligh Uddin2013-04-170-0/+0
|\| | | | | | | | | * commit '4388dd48a63d74d33a354a1e79a786bc743c387e': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2013-04-171-1/+1
| | | | | | | | | | Change-Id: Id6b32590bec6fe1a400188157efa90cbcb7377ab Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-04-171-1/+1
| | | | | | | | | | Change-Id: I7cb78e1a4eab43cc2a7e67d1e47a5235267adaba Auto-generated-cl: translation import
* | am 14a039eb: Import translations. DO NOT MERGEBaligh Uddin2013-04-050-0/+0
|\| | | | | | | | | * commit '14a039ebbffb93bfa1acacfa3bc2fb8c4eafcfac': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2013-04-051-1/+1
| | | | | | | | | | Change-Id: I115b8f49fcbc3a35e03b3c45dda36964101e8b1d Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-04-051-1/+1
| | | | | | | | | | Change-Id: I15adb1dd80b71b151e760635535b8becc330ecae Auto-generated-cl: translation import
* | am 57a21b41: Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-04-030-0/+0
|\| | | | | | | | | * commit '57a21b41a898810420cb54666c9d38826a029730': Import translations. DO NOT MERGE
| * Merge "Import translations. DO NOT MERGE" into jb-mr2-devBaligh Uddin2013-04-0348-97/+49
| |\
| | * Import translations. DO NOT MERGEBaligh Uddin2013-04-0348-97/+49
| | | | | | | | | | | | | | | Change-Id: I02a815d40f79b608e62ded3e5789e08a4bef11e1 Auto-generated-cl: translation import
* | | Merge "Import translations. DO NOT MERGE"Baligh Uddin2013-04-0348-97/+49
|\ \ \
| * | | Import translations. DO NOT MERGEBaligh Uddin2013-04-0348-97/+49
| | | | | | | | | | | | | | | | | | | | Change-Id: Icda5c4a9fe41f4dbbe5f2c92f006387842519eab Auto-generated-cl: translation import
* | | | am 8d3437fe: Use direct call to get ManifestDigestKenny Root2013-04-031-1/+1
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '8d3437fe1be41c2cebdb81de8241d17dca0b8cab': Use direct call to get ManifestDigest
| * / Use direct call to get ManifestDigestKenny Root2013-04-021-1/+1
| |/ | | | | | | | | | | | | | | This speeds up startup of PackageInstaller since it doesn't have to read all the data. Bug: 8528639 Change-Id: Ic7b9dc93f0f940a128b583936b3f56c707b5cb2c
* | am 20aa0113: (-s ours) Import translations. DO NOT MERGEBaligh Uddin2013-03-300-0/+0
|\| | | | | | | | | * commit '20aa01132b0d4bf3af891f9131fbe9a96c8fa708': Import translations. DO NOT MERGE
| * Import translations. DO NOT MERGEBaligh Uddin2013-03-2949-7/+105
| | | | | | | | | | Change-Id: I0a07f509f56e673e0f7da4e0cc14c8a828d58d54 Auto-generated-cl: translation import
* | Import translations. DO NOT MERGEBaligh Uddin2013-03-2949-1/+99
| | | | | | | | | | Change-Id: Ic052d7e7e998165db7c37f492163b380be3f3b5f Auto-generated-cl: translation import
* | am 292e4dab: PackageInstaller: add permission granting supportNick Kralevich2013-03-273-0/+243
|\| | | | | | | | | * commit '292e4dabe97f77ea91945b2f520c0c680fabb145': PackageInstaller: add permission granting support
| * PackageInstaller: add permission granting supportNick Kralevich2013-03-273-0/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | am 2055eecd: Move TabsAdapter into it\'s own class.Nick Kralevich2013-03-252-132/+156
|\| | | | | | | | | * commit '2055eecd55b944643111c4987e507f4a650f95e4': Move TabsAdapter into it's own class.
| * Move TabsAdapter into it's own class.Nick Kralevich2013-03-252-132/+156
| | | | | | | | | | | | | | | | 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
* | Import translations. DO NOT MERGEBaligh Uddin2013-03-221-1/+1
| | | | | | | | | | Change-Id: I96a426be13007beac29355247361d66ee37972c8 Auto-generated-cl: translation import
* | am 8f193212: Merge "Fix bug #8133419 Android Download Manager/Installer ↵Fabrice Di Meglio2013-03-217-26/+27
|\| | | | | | | | | | | | | 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
| * Merge "Fix bug #8133419 Android Download Manager/Installer should be ↵Fabrice Di Meglio2013-03-217-26/+27
| |\ | | | | | | | | | mirrored for RTL languages" into jb-mr2-dev
| | * Fix bug #8133419 Android Download Manager/Installer should be mirrored for ↵Fabrice Di Meglio2013-03-217-26/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | RTL languages - update PackageInstaller layouts for supporting RTL - enable RTL support by adding android:supportsRtl="true" in the AndroidManifest Change-Id: I656ff6771a2f2e684e3c6e7a1302a864b12f6187
* | | Import translations. DO NOT MERGEBaligh Uddin2013-03-201-1/+1
| | | | | | | | | | | | | | | Change-Id: Icb5f36f9bcd9bc6c223fd0bef455339e5551efeb Auto-generated-cl: translation import
* | | am 813a4bd4: PackageUtil: don\'t collect certs if package doesn\'t existNick Kralevich2013-03-191-3/+6
|\| | | | | | | | | | | | | | * commit '813a4bd48de33efe5c882ad3b9258e88d6d10fd7': PackageUtil: don't collect certs if package doesn't exist
| * | PackageUtil: don't collect certs if package doesn't existNick Kralevich2013-03-191-3/+6
| |/ | | | | | | | | | | | | | | | | | | | | 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
* | am 2b3202c3: Add manifest to verification paramsKenny Root2013-03-143-1/+10
|\| | | | | | | | | * commit '2b3202c3ff18469b294629bf1416118f12492173': Add manifest to verification params
| * Add manifest to verification paramsKenny Root2013-03-143-1/+10
| | | | | | | | Change-Id: I088ab981cb56d4f156b6ff910d6a2270e3302dc4