| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
- flag is passed in from https://critique.corp.google.com/#review/126666577
Bug: 29641183
Change-Id: I1becbb446d824331430eb37d99bdbc7a36dd13db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The default directory for PackageInstaller moved from
/data/user/foo to /data/user_de/foo. Not sure on the exact reason
why, but it has something to do with the file based encryption
changes in N. This was causing the temp APK file that we were
passing to PackageManager for installs to be in an invalid location.
This resulted in failed installations.
This is OK though because we never really wanted to use a temporary
file. We were using it due to limitations in the PackageInstaller
APIs. Since implementation, new APIs have been added to allow us
to pass a stream through instead.
This CL updates the install logic to use the stream API instead.
Because this code path is being deprecated and replaced, I've opted
to do the bare minimum needed to keep this code operational. I've
also borrowed installation code from Wearsky/Finsky codebase to
make it easier and more reliable.
BUG: 28021618
Change-Id: Ia245abf56649e350e99cf48d2b503906d3cd855c
|
|
|
|
|
|
|
|
| |
- Remove a way to implicitly call Wear install service
- Also make the Service take in the package as the data, just like the
activities in PackageInstaller
Change-Id: I0c4c9cebbb7396e025cab81eed835ab1a941ca01
|
|
|
|
|
|
| |
- Creating a WearPackageArgs object
Change-Id: I9616fe5e6621856e5d07da5cee205e7162dad451
|
|
|
|
|
|
|
|
|
|
|
|
| |
Wake lock was not being released when installation failed
due to early bail out call. I wrapped the calls into
a try/finally to ensure it gets released.
Code was tested by tweaking the code to force a failure
and test installing/uninstalling apps.
BUG: 25814793
Change-Id: I2e81e5d76edcfb601ce734cf571705e979c51f32
|
|
|
|
|
|
|
|
|
|
| |
This adds code to remove an app that is in the "needs permission"
state from the ShowPermStore if the app fails to install.
b/25721625 tracks creating a new intent to handle this case for F.
BUG: 25363020
Change-Id: Ifed00024d7e329fb3185a4607a347e972f697fcd
|
|
|
|
| |
Change-Id: I9c5a0be4e18cc27e163da60ba9dd81ae71588bef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- If {Companion App was targeting M, Companion was running L,
watch is running M, watch app is targeting M}, we were not installing
the app before this fix.
- If {Companion App was targeting M, Companion was running M,
watch is running M, watch app is targeting M}, we were not installing
the app before this fix.
Bug: 24813602
Bug: 23378733
Change-Id: I96f06adad2372517e57467d4af8d87dcb6068445
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix the Permissions Dialogs for round layout
- Show animation for the buttons
- Also fixed the names ellipsis issue.
- Fixed the theming of the dialogs.
Bug: 23118402
Change-Id: I385c827ac41b06222334c36bfda2c70b346232a2
|
|
|
|
|
|
| |
This reverts commit 5b26c2e64ceeaa1e71436b36a28f53100e358ed8.
Change-Id: I88fa09f87023a7c1b2aac3100cfbdce6283de770
|
|
|
|
|
|
|
|
| |
Breaking ub-wear-dinar/ub-wear-master builds
This reverts commit aa4368cafc3c92b33a99c3fbe0e6af08d7e092e4.
Change-Id: Ib22189891e9cd9eef61cdaa5ac329d05ab9783e8
|
|
- The code is being moved from
https://cs.corp.google.com/#android/vendor/google_clockwork/packages/PackageInstaller/src/com/google/android/clockwork/packageinstaller/
Bug: 22411517
Change-Id: If6a0b7f49530176a6cff6b76ee6eff44ba822547
|