| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
the package installer does not re-check the intent is valid when onClick.
get launch intent by package name when called onClick method.
CRs-Fixed: 637131
Change-Id: Ifc29df92fd84f53131dfcf8d915a7a642622067e
|
|
|
|
|
|
|
|
|
| |
This allows us to get the correct theming for free
moving forward.
Bug:17045520
Change-Id: I173315b39816b0061c048459e1f14d81747f072b
|
|
|
|
|
| |
Bug: 17414778
Change-Id: If7c67b9983923c8c02287c3325d1d8d23127adc7
|
|
|
|
|
|
| |
bug:17390424
Change-Id: I4fc49f7bab04547e47c3c0d0fe5052de6478ef7b
|
|
|
|
|
| |
Bug: 17008440
Change-Id: Ice56b712a96abecc3d908424d4595449927c2d3e
|
|
|
|
|
|
|
|
|
| |
The new PackageInstaller.uninstall() API in the framework currently
shuttles through the callers IBinder, just to get this flow working
for now.
Bug: 16515814
Change-Id: Ib7b839b3fcc1c854f99af6eeae25172e900acb80
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 15986973
Change-Id: I154fdf06d6e37c55bd4b179cdac00112455ca777
|
|
|
|
| |
Change-Id: I98f44668bd0a211b57e8311ead4b4ce01a04de90
|
|
|
|
|
|
| |
Now using exceptions for better control flow.
Change-Id: I4432721729f6b1878971c99f5eaaa033194cd8ba
|
|
|
|
|
|
|
| |
Using the flag UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES.
If true, this overrides the secure INSTALL_NON_MARKET_APPS flag.
Change-Id: I4d9628f0ce35d585d4416adfb421e74cbf01fd86
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|