| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Change-Id: Iff791715b0eadb85016c976da8fbb1e3a185b7b4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There have been reports of issues with runtime permissions. Revert
all the changes introduced with cafrebase.
This reverts the following commits:
- 64d3812bca7c1121a767e8436b433e8b293e0110
- df27c8179ea9b6ed1c1a16049bdf541091c3126b
- e4d18337497cd53ab311fa95acf89951b2d0d478
- b787f076e6cb038717af62f1b6a7b55620dfd626
- 2d5c59ce6a0def14934662b6741cbef6c07c7e71
- be2a8bf78deff2b2db485cc6a247e9a6d49960f6
- c48dd8c1686dc0631dad5b90295e79a3f1ef63c8
BUGBASH-270
BUGBASH-285
Change-Id: I39029116f331835d23bcc1b089972be4cf610519
|
|
|
|
| |
Change-Id: Ib721269ced20dd0ad7b29d1d4c786db0668048c0
|
|
|
|
| |
Change-Id: Ie2f9e9c28c662ff937c266bc4a019236acd53dd4
|
|\
| |
| |
| |
| |
| |
| |
| | |
Android 7.1.1 release 25
# gpg: Signature made Mon Mar 6 11:55:08 2017 CST
# gpg: using DSA key E8AD3F819AB10E78
# gpg: Can't check signature: No public key
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Package Installer intent should always be handled by the package
installer. Only privilegded apps can have a priority > 0.
The K version is I79fd77b12bad9b79d1a53d08629a2b07919aad2c
The L version is I27611baae21c3820f594e8f58aec34fc4d0b1ffb
The M version is I7f1726fc9665e57ec63c966570169216eb2e0764
Bug: 32553261
Change-Id: I3d9054ddd475c7e77e1696e31285a6b47d59fa2a
(cherry picked from commit 540a404bd489d65feca8dbd85216891300e0fcfc)
|
| |
| |
| |
| | |
Change-Id: I9331dbce60af667879c589258b9d5830fb50ec96
|
| |
| |
| |
| | |
Change-Id: Ifcb9abc84f775c725113b6ba3ff7ed029e4f8a1f
|
| |
| |
| |
| |
| | |
Change-Id: If202f113e16cf0e41b727f21dacf9c59445a4dd7
Ticket: -
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
10-31 16:28:03.756 25193 25207 E DatabaseUtils: Writing exception to parcel
10-31 16:28:03.756 25193 25207 E DatabaseUtils: java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/my_downloads/831 from pid=25212, uid=10019 requires android.permission.INTERNET, or grantUriPermission()
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:608)
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:483)
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.content.ContentProvider$Transport.enforceFilePermission(ContentProvider.java:474)
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:419)
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:313)
10-31 16:28:03.756 25193 25207 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:565)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
10-31 16:28:03.763 25212 25227 E AndroidRuntime: Process: com.android.packageinstaller, PID: 25212
10-31 16:28:03.763 25212 25227 E AndroidRuntime: java.lang.RuntimeException: An error occurred while executing doInBackground()
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:318)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:223)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.lang.Thread.run(Thread.java:761)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: Caused by: java.lang.SecurityException: Permission Denial: reading com.android.providers.downloads.DownloadProvider uri content://downloads/my_downloads/831 from pid=25212, uid=10019 requires android.permission.INTERNET, or grantUriPermission()
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.os.Parcel.readException(Parcel.java:1683)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:146)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:692)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:1145)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:982)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.content.ContentResolver.openInputStream(ContentResolver.java:702)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity$StagingAsyncTask.doInBackground(PackageInstallerActivity.java:765)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at com.android.packageinstaller.PackageInstallerActivity$StagingAsyncTask.doInBackground(PackageInstallerActivity.java:756)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:304)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237)
10-31 16:28:03.763 25212 25227 E AndroidRuntime: ... 4 more
Change-Id: I66e1167d5c819a7f4333b182decce83240ceae4b
|
|\ \
| | |
| | |
| | | |
Change-Id: Ib0c49c306aec1a4e6c5f1edbbb1065763a48fb3d
|
| |\ \
| | | |
| | | |
| | | | |
Change-Id: I35095d893ec383aa2573cb6c8e2314e998fdbc6c
|
| | |\|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
src/com/android/packageinstaller/permission/ui/handheld/GrantPermissionsViewHandlerImpl.java
Change-Id: Ia57d17750406754f1e19266f51f0115e3cf774ba
|
| | | |\ |
|
| | | | |\ |
|
| | | | | |\ |
|
| | | | | | |\ |
|
| | | | | | | |\ |
|
| | | | | | | | |\ |
|
| | | | | | | | | |\ |
|
| | | | | | | | | | |\ |
|
| | | | | | | | | | | |\ |
|
| | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |\ |
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Manual formatting is to complicated to do.
Fixes: 28852429
Change-Id: Ibab723b82a2b14ad94a3038dffccc96f86ba8ee4
|
| | | |/ / / / / / / / / / / / / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Test: Simulated OK result from settings and triggered run-once
workflow
Fixes: 32105068
Change-Id: I9f6c3b56b09d520d2bc9c6eeb6c75f151e3f1aff
|
| | | |/ / / / / / / / / / / / / / / / / / / / / / / / / /
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Also scroll the whole dialog if the screen is too small to for the
dialog.
Test: Executed steps in the bug. Dialog looks fine. Also toyed around
with display scaling and font scaling to make sure dialog always looks
ok (but might scroll) on very small displays.
Fixes: 31442798
Change-Id: I74328afde38ec2170a14aaa8e77675ad2164460e
(cherry picked from commit 3a5c306e5b6bf2285980aa34cb8eb00fbcf5ea2c)
|
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
So that when we return from the settings app we do not have distinguish
between file and content-uri based install anymore
Test: Manually went through the following workflows:
- Install from file
- Unknown sources is already enabled
- Unknown sources is not enabled yet
- Return 0 from settings
- unknown sources was enabled
- unknown sources was not enabled
- Return -1 from settings
- unknown sources was enabled
- unknown sources was not enabled
- Install from content URI
- Unknown sources is already enabled
- Unknown sources is not enabled yet
- Return 0 from settings
- unknown sources was enabled
- unknown sources was not enabled
- Return -1 from settings
- unknown sources was enabled
- unknown sources was not enabled
Fixes: 31328285
Change-Id: I1d23f2ba9a835f7bffc59108565b286aeb675411
|
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | | |/ / / / / / / / / / / / / / / / / / / / / / / / /
| | | |/| | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
am: 59541acfd9 -s ours
Change-Id: I848e7265de3ce9a060b30f78974b32cfe8fd76b9
|
| | | | | |_|_|_|_|/ / / / / / / / / / / / / / / / / / /
| | | | |/| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Auto-generated-cl: translation import
Bug: 31516661
Change-Id: I40b7d2ad4cb15b89e3e99b2881f10d895ec73f9e
|
| | | | |/ / / / / / / / / / / / / / / / / / / / / / /
| | | |/| | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
Bug: 30056625
Change-Id: I1ffc7ba88ea5f99591b66c08e72ea07d60ab82d5
|
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
Bug: 30056625
Change-Id: Ie8e46fc7a2c340fb04b64feb331af0d882fe9672
|
| | | | |/ / / / / / / / / / / / / / / / / / / / / /
| | | |/| | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | | | | | | | | | | | | | | | | | |
Bug: 30056625
Change-Id: Ie8e46fc7a2c340fb04b64feb331af0d882fe9672
|
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ |
|