OSDN Git Service
Mauro Rossi [Sun, 31 May 2020 22:20:42 +0000 (00:20 +0200)]
ResolverActivity: use hardware rendering for Intent Resolver dialog (q-x86)
Workaround to avoid graphic glitches with gbm_gralloc happening
when launcher needs to be selected at first boot
Suggested by Franco Catrin for issues affecting software rendering path:
https://github.com/android-rpi/device_brcm_rpi3/issues/49
(q-x86) Resolved conflict due to changes in q-x86 branch
Jon West [Sat, 8 Feb 2020 20:06:39 +0000 (15:06 -0500)]
Add minimize & pip buttons to freeform windows
Thanks to @farmerbb for assistance and @rogerdott for the graphics
Change-Id: I8ddad6eab27f52574ee1c10e8006612fb46a83c5
Chih-Wei Huang [Fri, 29 Nov 2019 11:46:31 +0000 (19:46 +0800)]
Set forceDesktopMode to true
Mauro Rossi [Sun, 3 Mar 2019 15:28:41 +0000 (16:28 +0100)]
android_view_ThreadedRenderer: prevent Null Pointer Exception in createBitmap
To avoid Playstore crashes with nouveau and Hardware Bitmap,
a check is added to bitmap returned by Bitmap::createFrom(buffer)
inspired by similar behavior in Bitmap.cpp Bitmap_createHardwareBitmap()
Fixes the following crash:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Android-x86/android_x86/x86:8.1.0/OPM8.181005.003/uten01131829:userdebug/test-keys'
Revision: '0'
ABI: 'x86'
pid: 4644, tid: 4644, name: android.vending >>> com.android.vending <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xc
Cause: null pointer dereference
eax
89195380 ebx
b1d36290 ecx
00000000 edx
ae783074
esi
00000000 edi
ae7a9380
xcs
00000073 xds
0000007b xes
0000007b xfs
0000003b xss
0000007b
eip
b1c4f7c8 ebp
bff902c8 esp
bff9028c flags
00010246
backtrace:
#00 pc
000fd7c8 /system/lib/libandroid_runtime.so (android::bitmap::createBitmap(_JNIEnv*, android::Bitmap*, int, _jbyteArray*, _jobject*, int)+104)
#01 pc
000d08ca /system/lib/libandroid_runtime.so (android::android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode(_JNIEnv*, _jobject*, long long, int, int)+1002)
Chih-Wei Huang [Thu, 18 Oct 2018 07:47:19 +0000 (15:47 +0800)]
pm: ignore restorecon failure
On the 9p filesystem, restorecon won't work. It causes apk can't be
installed. Just ignore the errors to workaround it.
Mauro Rossi [Thu, 9 Aug 2018 23:12:22 +0000 (01:12 +0200)]
Modify color inversion matrix to swap Red and Blue colors
Instead of color inversion it will produce Red and Blue colors swap,
in order to correct displayed colors for R4xx and other old drivers
still based on KMS API
Chih-Wei Huang [Mon, 18 Jul 2016 14:32:13 +0000 (22:32 +0800)]
ABIPicker: match package name by patterns
PRC apps from different markets usually have different package names.
This change tries to match them by patterns.
To test it, install the Implosion apps from Wandoujia and CoolMarket
and run them OK.
jgu21 [Fri, 1 Apr 2016 04:40:31 +0000 (00:40 -0400)]
Fix the memory leak bug introduced by PRC compatibility feature
Fix the memory leak bug introduced by PRC compatibility feature,
introduced by https://android.intel.com/#/c/471490/
Change-Id: Iaf9bd21afa17f3a81ab700c63ae7c0bb0851a594
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-27449
Signed-off-by: jgu21 <jinghui.gu@intel.com>
Reviewed-on: https://android.intel.com:443/489353
jgu21 [Wed, 30 Mar 2016 06:57:38 +0000 (02:57 -0400)]
Fix KW issues on PRC compatibility
Fix KW issues on PRC compatibility,introduced by below commit.
https://android.intel.com/#/c/484542/
Change-Id: Ib10899655dd2a18569387dbafbe33856acf5df59
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-26904
Signed-off-by: jgu21 <jinghui.gu@intel.com>
Reviewed-on: https://android.intel.com:443/487804
xiajiang [Mon, 21 Mar 2016 16:26:06 +0000 (12:26 -0400)]
Reduce the overhead of the PRC compatibility package feature during system bootup
The PRC compatibility package introduced too heavy overhead
in system bootup. This commit aims to reduce the overhead
in system bootup and improve the performance of PRC
compatibility package.
NOTE: The format of ThirdPartySO has been changed to improve
the performance. From now on, the lib name should be trimmed
as below if want to add into the list. For "libabc_v1_2_3.so",
add "abc_v" into the list, that is, the version information
at the tail of lib name should be removed.
Change-Id: Ic374e363d3d31f9bd69be839b33b1bd65950ef61
Tracked-On:https://jira01.devtools.intel.com/browse/OAM-25819
Signed-off-by: xiajiang <xia1.jiang@intel.com>
Reviewed-on: https://android.intel.com:443/484542
xiajiang [Wed, 17 Feb 2016 18:59:14 +0000 (13:59 -0500)]
Enable the PRC compatibility package feature for PRC market
In PRC market, some APKs are packed in non-standard way, that is,
the x86(_64) libraries aren't workable although they're found in the APK.
This patch intends to relieve the impact from below 2 defects,
which is based-on the heuristic algorithm.
NOTE: To enable this feature, set "PRC_COMPATIBILITY_PACKAGE := true"
in device BoardConfig.mk before enabling houdini.
1. Missing x86(_64) libraries: The x86(_64) libraries are ported and
existing in the APK. But it's incomplete, and not workable.
2. Mixed arm(64) libraries: Several libraries are existing in lib/x86(_64)/
directory in the APK. But some of them are arm(64) libraries,
instead of x86(_64) ones.
All of above always cause APP crash if installed x86(_64) libraries
by PackageManager.
This patch aims to improve PackageManager to figure out these defects
and install arm(64) libraries to run the APP with houdini support.
The basic idea is to compare x86(_64) libraries with arm(64) alternatives
to determine which one should be workable.
To customize it for specific APPs, 3 lists are provided under
/system/vendor/etc/misc/ on the device.
1. /system/vendor/etc/misc/.OEMWhiteList:
This patch will be disabled for the APPs containing in the OEMWhiteList
2. /system/vendor/etc/misc/.OEMBlackList:
The APP is enforced to install the arm(64) libraries if existed.
3. /system/vendor/etc/misc/.ThirdPartySO:
This is another list which contains the names of all 3rd-party libraries,
which will impact on the final decision of APP installation.
Change-Id: I2613d9ebc8fe012c801f4a38fc5dede413f15a91
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-20470
Signed-off-by: xiajiang <xia1.jiang@intel.com>
Reviewed-on: https://android.intel.com:443/471490
Mauro Rossi [Fri, 8 Mar 2019 16:28:25 +0000 (17:28 +0100)]
fd_utils: fix DEBUG mode booting issue (pie-x86)
Porting to pie-x86 codebase of oreo-86 commit
c283ba107a ("fd_utils: fix DEBUG mode booting issue")
Original commit message:
Remove the "/android/" prefix before the white list checking.
Suggested by Chris Vandomelen <chris@sightworks.com>.
Chih-Wei Huang [Fri, 16 Mar 2018 06:50:39 +0000 (14:50 +0800)]
Camera: ignore exceptions from getSupportedPreviewFpsRange
Chih-Wei Huang [Tue, 21 Nov 2017 08:36:30 +0000 (16:36 +0800)]
input: simulate long press properly
The original implementation of long press sends two ACTION_DOWN events
which would be interpreted as a double tap. For example, sending
a long press POWER key will launch the camera:
11-21 16:27:37.320 2223 2223 I Input : injectKeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_POWER, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=39641, downTime=39641, deviceId=-1, source=0x101 }
11-21 16:27:37.321 2223 2223 I Input : injectKeyEvent: KeyEvent { action=ACTION_DOWN, keyCode=KEYCODE_POWER, scanCode=0, metaState=0, flags=0x80, repeatCount=1, eventTime=39641, downTime=39641, deviceId=-1, source=0x101 }
11-21 16:27:37.322 1411 1565 I GestureLauncherService: Power button double tap gesture detected, launching camera. Interval=0ms
11-21 16:27:37.322 2223 2223 I Input : injectKeyEvent: KeyEvent { action=ACTION_UP, keyCode=KEYCODE_POWER, scanCode=0, metaState=0, flags=0x0, repeatCount=0, eventTime=39641, downTime=39641, deviceId=-1, source=0x101 }
This is unexpected and incorrect.
Just simulate the long press by delaying ACTION_UP one second.
Chih-Wei Huang [Fri, 24 Mar 2017 19:13:40 +0000 (03:13 +0800)]
DiskInfo: support CD/DVD type
Chih-Wei Huang [Tue, 13 Sep 2016 09:43:11 +0000 (17:43 +0800)]
Detect HDMI audio by switch events
If detect SW_VIDEOOUT_INSERT, assume HDMI is plugged.
Ma Jian [Sun, 12 Jun 2016 07:13:55 +0000 (15:13 +0800)]
Support save local time to RTC
Make it work for dual boot with Windows, we could set property
persist.rtc_local_time to 1, so that RemixOS and Windows both
use local time in rtc.
NO_REF_TASK
Tested:
1) set time in android, reboot to bios, make sure the time in bois is
local time
2) reboot back to android, the current time should be correct local time
(this need another change)
Change-Id: Id2c0ce150fb9320b132ad8bdd83b38dcae1070db
Chih-Wei Huang [Mon, 22 Dec 2014 04:08:17 +0000 (12:08 +0800)]
Map keycode 120 to APP_SWITCH
Define the unused keycode 120 to be APP_SWITCH.
Chih-Wei Huang [Sat, 17 May 2014 18:20:32 +0000 (02:20 +0800)]
InputReader: read the pointercal from TSCalibration2
Watch the pointercal and reload it on changed.
juntingwang [Wed, 24 Apr 2013 06:06:08 +0000 (14:06 +0800)]
Make "windows" key to act as "home" key
Issue: AXIA-1893
Change-Id: I7b2b19f7e34ec8a1867e8e6ce522e65133e5267f
Signed-off-by: juntingwang <Junting.Wang@windriver.com>
Chih-Wei Huang [Wed, 20 Feb 2013 17:46:17 +0000 (01:46 +0800)]
camera: fix NullPointerException
Andy Ross [Tue, 15 Jan 2013 23:05:38 +0000 (15:05 -0800)]
GLSurfaceView: Be less picky about EGLConfig alpha sizes
EGLChooseConfig returns a "best match" set of visuals meeting or
exceeding the required r/g/b/a component depths. But GLSurfaceView
oddly requires that the returned visual be an exact match. Add to
that that the (rarely used outside of CTS) default request specifies
zero alpha bits and that not all drivers expose a zero-alpha
EGLConfig, and the default configuration will fail needlessly.
It's not incorrect to have alpha bits you didn't request: the only way
to produce divergent behavior is for a fragment shader to write out
explicit alpha values (into the channel it didn't want to begin with!)
with values other than 1.0 and then rely on them being ignored and
treated as 1.0.
For: AXIA-1448
Change-Id: I2f64995d7b9de1ae082aa47822af525390102083
Signed-off-by: Andy Ross <andy.ross@windriver.com>
Zhao Liang [Fri, 20 Jul 2012 03:56:51 +0000 (11:56 +0800)]
import YuvToEncoder R3 patches, BZ 18528, 19092, 19696
BZ: 47824
Please refer http://umgbugzilla.sh.intel.com:41006/show_bug.cgi?id=19092 and
external/jpeg/libjpeg.doc
The MCU height is max_v_samp_factor = 2 DCT rows so you must pass at least 16
scanlines on each call to jpeg_write_raw_data(), which is to say 16 actual
sample rows of Y and 8 each of Cb and Cr.
The original implement of Yuv420SpToJpegEncoder::compress didn't add padding to the frame buffer
when height and width aren't aligned with 16 pixel. It will cause illegal memory violation and core dump.
Category: aosp improvement
Domain: Video.Media-jpeg
Origin: Internal
Upstream: Yes
Change-Id: Ibcf14230d616e2d440ace244bb420723b5c01dc2
Orig-Change-Id: Ic1b7494b98ee9c1997b226d58abd034b1dcb18f6
Signed-off-by: Tong, Bo <box.tong@intel.com>
Signed-off-by: Zhao Liang <leo.zhao@intel.com>
android-build-team Robot [Mon, 2 Mar 2020 23:55:13 +0000 (23:55 +0000)]
Merge cherrypicks of [
10484934,
10484473,
10472987,
10481068] into qt-qpr2-release
Change-Id: I3ba00e16f09289a9368e55b59b0a527bc55bb3f3
Yohei Yukawa [Fri, 28 Feb 2020 23:04:58 +0000 (23:04 +0000)]
DO NOT MERGE: Revert Move startInput for WINDOW_FOCUS_GAIN to background thread
Reason for revert:
Caused an unexpected regression Bug
144174015
Bug:
139806621
Bug:
144103599
Fix:
144174015
Test: Manually verified Bug
144174015 disappeared as follows
1. Open Gmail then start composing an email
2. Swipe up the home button to recents then re-launch Gmail
3. Do the step 2 several times.
4. Make sure that you can still type something on Gmail.
Change-Id: I9265f01ed2f6e4aca7728d278f06ceea5633dac5
(cherry picked from commit
344858dd9c5616a0de16fa0ac72e0d384e2406c4)
Yohei Yukawa [Fri, 28 Feb 2020 23:04:58 +0000 (23:04 +0000)]
DO NOT MERGE: Revert: Freeup lock when IME is set inactive and unbound
Reason for revert:
Caused an unexpected regression Bug
144174015
Bug:
139806621
Bug:
144103599
Fix:
144174015
Test: Manually verified Bug
144174015 disappeared as follows
1. Open Gmail then start composing an email
2. Swipe up the home button to recents then re-launch Gmail
3. Do the step 2 several times.
4. Make sure that you can still type something on Gmail.
Change-Id: I04a77afea17f9d3eb05017fa00313fad4e48cd5c
(cherry picked from commit
9494c9dbb73b0ce237cb2f64fba90434b1b09c09)
android-build-team Robot [Fri, 28 Feb 2020 21:18:04 +0000 (21:18 +0000)]
Merge cherrypicks of [
10460465,
10460521,
10460352,
10458819] into qt-qpr2-release
Change-Id: Iceb99c57cf8adeb4ffa9fa79fbc5f8246058e2cf
Yu-Han Yang [Wed, 26 Feb 2020 20:46:01 +0000 (12:46 -0800)]
Allow settingIgnored for DBH request if inEmergency
Bug:
150232136
Test: on device
Change-Id: Ia987418a591d716b787d406d725338a8563a55dd
(cherry picked from commit
6d19cef854bdb382507daefae2a5956400a255d5)
android-build-team Robot [Tue, 11 Feb 2020 19:07:54 +0000 (19:07 +0000)]
Merge cherrypicks of [
10297641,
10298303,
10298494,
10298514,
10297196,
10298164,
10297642,
10297643,
10296046,
10296047,
10298245,
10298246,
10297197,
10297198,
10298495,
10298496] into qt-qpr2-release
Change-Id: I1f8470eec0bf64e28290002664f6e5a6c8d733dc
Alexey Kuzmin [Tue, 7 Jan 2020 11:59:18 +0000 (11:59 +0000)]
Fix serialization issue of ExternalVibration
Remove excessive serialization of Audio Attributes
Bug:
140417434
Test: atest ExternalVibrationTest#testSerialization
Change-Id: Ib7ceaed875889126a53f874eec64fab4817e48d1
(cherry picked from commit
b1a33a8b4fd4b1603c0465a904be29f0c4a07e64)
Christopher Tate [Tue, 17 Dec 2019 19:21:02 +0000 (11:21 -0800)]
Revoke 'always' web handler status when not autoverifying
If an app has previously used autoVerify to make claims about its status
re handling web navigation intents, but is updated such that it no
longer makes those claims, step down its "official handler" status as
though it had never invoked autoVerify in the first place.
Bug:
146204120
Test: manual: as described in bug; observe policy before/after via
'adb shell dumpsys package d'
Test: atest CtsOsHostTestCases
Change-Id: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
Merged-In: I58502d1b32d793aba9aa772fa2ad5ac38acca48a
(cherry picked from commit
d2a71cc4b8f11688f85f33507b75d00041c14852)
Riddle Hsu [Thu, 4 Jul 2019 08:10:08 +0000 (16:10 +0800)]
Fix potential double destroy of AssetManager
Assume there is a XmlBlock [X] created by a AssetManager [A]
([A] will have mNumRefs = 2). After [A].close is called
(mNumRefs = 1) and then both [X] and [A] are going to be GCed,
if [A].finalize is called first (nativeDestroy), the later
[X].finalize will invoke [A].xmlBlockGone that triggers the
second nativeDestroy of [A] and leads to crash.
By clearing the mObject in AssetManager.finalize, the
decRefsLocked from other paths won't call nativeDestroy again.
Bug:
136721562
Bug:
144028297
Test: atest AssetManagerTest
Test: Build and install CorePerfTests
adb shell am instrument -w -r --no-hidden-api-checks -e class \
android.app.ResourcesPerfTest#getLayoutAndTravese,android.graphics.perftests.RenderNodePerfTest \
com.android.perftests.core/androidx.test.runner.AndroidJUnitRunner
Change-Id: Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1
Merged-In: Ia938502d2443f5a6de6a3cabdb7ce1d41d3ff6d1
(cherry picked from commit
0a8a1e9d40a3cdff06150c43c623fa4c415226b6)
Fabian Kozynski [Wed, 18 Dec 2019 14:54:09 +0000 (09:54 -0500)]
Prevent sending early termination of appop use
If a package starts a particular appop both as active and noted, once
one of them is finished (usually noted after 5s), a message will be sent
to callbacks indicating the end of the use. However, the app op may
still be active. This could result in the removal of indicators
prematurely from notifications.
This change prevents that from happening by checking if the app op is
still in use by that combination uid/package (either active or noted)
and not notifying listeners if that's the case.
Test: atest AppOpsControllerTest
Test: use app from bug report. Observe that notification does not lose
the microphone indicator
Bug:
144092031
Merged-In: I180e7c257e6171e7686ba7eda9bf02249358ed0
Change-Id: I94473c3ccf1318dac29f067dade91e540e20285e
(cherry picked from commit
1a459638398446938a20b32fa0fbc63ad4bd505f)
android-build-team Robot [Sun, 12 Jan 2020 21:04:48 +0000 (21:04 +0000)]
Snap for
6129081 from
7fffbe673fc3a7273075aa36bd1e1f2820729fac to qt-qpr2-release
Change-Id: I4a8b091440effb0da17287dca3b7300c8676c577
TreeHugger Robot [Sun, 12 Jan 2020 15:16:28 +0000 (15:16 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sun, 12 Jan 2020 15:06:35 +0000 (15:06 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sun, 12 Jan 2020 15:02:43 +0000 (15:02 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sun, 12 Jan 2020 09:58:55 +0000 (01:58 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ie6d5b00e740371bb1e11dbce49edddebd466b25a
Auto-generated-cl: translation import
Bill Yi [Sun, 12 Jan 2020 09:42:51 +0000 (01:42 -0800)]
Import translations. DO NOT MERGE
Change-Id: I2a6a13d41fb703ccee7d24a5be0fbe2d26110bf0
Auto-generated-cl: translation import
Bill Yi [Sun, 12 Jan 2020 08:06:57 +0000 (00:06 -0800)]
Import translations. DO NOT MERGE
Change-Id: I5408c7ab27f2e104998d9232519328992c11a985
Auto-generated-cl: translation import
android-build-team Robot [Sun, 12 Jan 2020 00:11:56 +0000 (00:11 +0000)]
Snap for
6128439 from
b1d8ad5183a468a59d5fecb66e047d3007ed93c4 to qt-qpr2-release
Change-Id: Iec20fdd5f7b2876d7ce51280758be87f40530163
Bill Yi [Sat, 11 Jan 2020 08:53:46 +0000 (00:53 -0800)]
Import translations. DO NOT MERGE
Change-Id: I5a8acd5969781950322e34833e274c3c38fef446
Auto-generated-cl: translation import
android-build-team Robot [Fri, 10 Jan 2020 02:13:32 +0000 (02:13 +0000)]
Snap for
6123600 from
b43b52a2e138b7648005ba8187947da2bd749d73 to qt-qpr2-release
Change-Id: Ibe4e42bfb37b846419b4cef676806e25d23f5085
Automerger Merge Worker [Thu, 9 Jan 2020 17:41:35 +0000 (17:41 +0000)]
[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am:
5e0b069876 am:
81db8d8a83 am:
5b6d8d7724 -s ours am:
d0715a9f07 -s ours am:
c64d1c4649 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1
d0205a3469 is in history
Change-Id: Id7d778048e411acc447b4adf43d977e8eb98a8af
Automerger Merge Worker [Thu, 9 Jan 2020 17:40:58 +0000 (17:40 +0000)]
[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev am:
361f1e97f6 -s ours am:
92b897e4a8 -s ours
am skip reason: Change-Id I2da730feda4d7ebed1f158b073167bb3964b3e7d with SHA-1
9352cb24b1 is in history
Change-Id: I641d8967ec8af4b58696bf2c044f5a87a6836937
Automerger Merge Worker [Thu, 9 Jan 2020 17:40:04 +0000 (17:40 +0000)]
[automerger skipped] Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am:
e422bc0c8f am:
43d5e3bb62 am:
929c2c5e1b am:
0cf089521a -s ours am:
9ecc8ab3c8 -s ours
am skip reason: Change-Id I8ae4e331d09b4734c54cdc6887b273705dce88b1 with SHA-1
bf04ea6d3b is in history
Change-Id: Icf80644315482ee15830ff00e5454eb73e259777
Automerger Merge Worker [Thu, 9 Jan 2020 17:39:55 +0000 (17:39 +0000)]
[automerger skipped] Use KNOWN_PACKAGES when shared lib consumers am:
08315953bc am:
e580843476 am:
d46ef183b1 am:
d6f29b2711 -s ours am:
e1ca007272 -s ours
am skip reason: Change-Id Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea with SHA-1
428a272285 is in history
Change-Id: I52b4194b76008c44e042870f1c9059b69af6eb11
Automerger Merge Worker [Thu, 9 Jan 2020 17:39:45 +0000 (17:39 +0000)]
[automerger skipped] Handles null outInfo in deleteSystemPackageLI am:
6afabce549 am:
ae901aceda am:
3e28284fb8 am:
9f31fb9eaf -s ours am:
f8f4f28079
Change-Id: Idf3455832bb8dfea247487f8efea1a954f3f65a6
Automerger Merge Worker [Thu, 9 Jan 2020 16:50:47 +0000 (16:50 +0000)]
[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am:
5e0b069876 am:
81db8d8a83 am:
5b6d8d7724 -s ours am:
d0715a9f07 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1
d0205a3469 is in history
Change-Id: I9b95f9715b7d15e3f430e6c46a2fd975b6b51f23
Automerger Merge Worker [Thu, 9 Jan 2020 16:50:08 +0000 (16:50 +0000)]
[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev am:
361f1e97f6 -s ours
am skip reason: Change-Id I2da730feda4d7ebed1f158b073167bb3964b3e7d with SHA-1
9352cb24b1 is in history
Change-Id: Id83288231d705e604e5094d40d211c0c940c4dd4
Automerger Merge Worker [Thu, 9 Jan 2020 16:49:00 +0000 (16:49 +0000)]
[automerger skipped] Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am:
e422bc0c8f am:
43d5e3bb62 am:
929c2c5e1b am:
0cf089521a -s ours
am skip reason: Change-Id I8ae4e331d09b4734c54cdc6887b273705dce88b1 with SHA-1
bf04ea6d3b is in history
Change-Id: I8dd0a9c26382b390dd7417fe35820abce79fdb92
Automerger Merge Worker [Thu, 9 Jan 2020 16:48:50 +0000 (16:48 +0000)]
[automerger skipped] Use KNOWN_PACKAGES when shared lib consumers am:
08315953bc am:
e580843476 am:
d46ef183b1 am:
d6f29b2711 -s ours
am skip reason: Change-Id Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea with SHA-1
428a272285 is in history
Change-Id: Ia06b75350be3d1a99972e9763653fb0b6422b131
Automerger Merge Worker [Thu, 9 Jan 2020 16:48:29 +0000 (16:48 +0000)]
[automerger skipped] Handles null outInfo in deleteSystemPackageLI am:
6afabce549 am:
ae901aceda am:
3e28284fb8 am:
9f31fb9eaf -s ours
am skip reason: skipped by user patb
Change-Id: I1be1d1947f31c4c9e89f6de3768a578f58511668
Automerger Merge Worker [Thu, 9 Jan 2020 14:06:22 +0000 (14:06 +0000)]
[automerger skipped] Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am:
5e0b069876 am:
81db8d8a83 am:
5b6d8d7724 -s ours
am skip reason: Change-Id Iae9c273af822b18c2e6fce04848a86f8dea6410a with SHA-1
d0205a3469 is in history
Change-Id: Ifa87cac191ad07937dc70770ff74a9d025131a40
Automerger Merge Worker [Thu, 9 Jan 2020 13:53:42 +0000 (13:53 +0000)]
Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am:
5e0b069876 am:
81db8d8a83
Change-Id: I5660cafce05a0e3c6edff03bd645d8df329c5d50
Automerger Merge Worker [Thu, 9 Jan 2020 13:40:20 +0000 (13:40 +0000)]
Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev am:
5e0b069876
Change-Id: I4c255820617a86afdfa239febdd46fff7d082381
TreeHugger Robot [Thu, 9 Jan 2020 13:25:46 +0000 (13:25 +0000)]
Merge "Fix security problem on PermissionMonitor#hasPermission" into oc-dev
Paul Hu [Thu, 9 Jan 2020 08:53:08 +0000 (08:53 +0000)]
Merge "Fix security problem on PermissionMonitor#hasPermission" into pi-dev
Automerger Merge Worker [Thu, 9 Jan 2020 05:59:27 +0000 (05:59 +0000)]
Merge "Fix PermissionMonitor issues" into qt-dev am:
97baed2635
Change-Id: Ia955c4304c2e623b291c111615c65f012b7c3028
Paul Hu [Thu, 9 Jan 2020 05:41:52 +0000 (05:41 +0000)]
Merge "Fix PermissionMonitor issues" into qt-dev
android-build-team Robot [Thu, 9 Jan 2020 02:02:58 +0000 (02:02 +0000)]
Snap for
6120535 from
9595ad654b547711c1af56a562dbf429e608d176 to qt-qpr2-release
Change-Id: I831b75f3f7350376063409d5c53cd1f96c4e8a24
Automerger Merge Worker [Thu, 9 Jan 2020 01:50:54 +0000 (01:50 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am:
e422bc0c8f am:
43d5e3bb62 am:
929c2c5e1b
Change-Id: I59ffea6df5c62eb899b3603c8767318e96af195a
Automerger Merge Worker [Thu, 9 Jan 2020 01:50:38 +0000 (01:50 +0000)]
Use KNOWN_PACKAGES when shared lib consumers am:
08315953bc am:
e580843476 am:
d46ef183b1
Change-Id: I6a21d79dc45635a49540f5d821094925b2e71d01
Automerger Merge Worker [Thu, 9 Jan 2020 01:50:24 +0000 (01:50 +0000)]
Handles null outInfo in deleteSystemPackageLI am:
6afabce549 am:
ae901aceda am:
3e28284fb8
Change-Id: Ib34f13ac3d1e34dbe639dc19c1c664aab9d7f17d
Automerger Merge Worker [Thu, 9 Jan 2020 01:04:14 +0000 (01:04 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am:
e422bc0c8f am:
43d5e3bb62
Change-Id: I5df542202c561a4ed931b918ccbaed317a8ba942
Automerger Merge Worker [Thu, 9 Jan 2020 01:03:58 +0000 (01:03 +0000)]
Use KNOWN_PACKAGES when shared lib consumers am:
08315953bc am:
e580843476
Change-Id: I64af9ee49999f2de11f1a6779e116357649f63b2
Automerger Merge Worker [Thu, 9 Jan 2020 01:03:45 +0000 (01:03 +0000)]
Handles null outInfo in deleteSystemPackageLI am:
6afabce549 am:
ae901aceda
Change-Id: I2741bc7999cd2b1c1e16b982791f72e3023361c7
Automerger Merge Worker [Thu, 9 Jan 2020 00:08:31 +0000 (00:08 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev am:
e422bc0c8f
Change-Id: I7efbfda4517e46abf406fd53487836704a941a2e
Automerger Merge Worker [Thu, 9 Jan 2020 00:08:14 +0000 (00:08 +0000)]
Use KNOWN_PACKAGES when shared lib consumers am:
08315953bc
Change-Id: I3ab4cc8d36bd79f3b7342cf0d0fa3056d08988e7
Automerger Merge Worker [Thu, 9 Jan 2020 00:08:02 +0000 (00:08 +0000)]
Handles null outInfo in deleteSystemPackageLI am:
6afabce549
Change-Id: I077e6febea84013403feb65842ae99bc449ac737
TreeHugger Robot [Thu, 9 Jan 2020 00:02:49 +0000 (00:02 +0000)]
Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-qpr1-dev
Bryan Ferris [Wed, 8 Jan 2020 22:46:45 +0000 (22:46 +0000)]
Merge changes I8ae4e331,Id4e37c3e,If0fd4834 into oc-dev
* changes:
Fixes NPE when preparing app data during init
Use KNOWN_PACKAGES when shared lib consumers
Handles null outInfo in deleteSystemPackageLI
Patrick Baumann [Wed, 6 Nov 2019 18:36:39 +0000 (10:36 -0800)]
Fixes NPE when preparing app data during init
When deleting an unused static shared library on Q, the user manager was
fetched via mContext.getSystemService. At this time during boot, the
service wasn't registered and so null was returned. This has already
been addressed in R with a move to injecting dependencies in the
PackageManagerService constructor.
Bug:
142083996
Bug:
141413692
Test: manual; remove static dependency on eng Q build and reboot
Change-Id: I8ae4e331d09b4734c54cdc6887b273705dce88b1
Merged-In: I8ae4e331d09b4734c54cdc6887b273705dce88b1
Patrick Baumann [Thu, 10 Oct 2019 22:50:28 +0000 (15:50 -0700)]
Use KNOWN_PACKAGES when shared lib consumers
This change ensures we find ALL known packages that could be consuming a
shared library, not only currently installed ones. Without this check,
the system may get into a state in which we have currently uninstalled
but on-device apps that depend on a shared library that does not exist
on device.
This change also leaves static shared library packages on device even if
it's not installed for any of the remaining users as it could still be
used, but marked uninstalled for users in which it is consumed.
Bug:
141413692
Bug:
142083996
Test: Manual; attempt to remove shared lib after marking its consumer uninstalled.
Test: atest StaticSharedLibsHostTests
Change-Id: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
Merged-In: Id4e37c3e4d3ea3ad5fddae5d2c7305e56f50eeea
Daniel Sandler [Wed, 8 Jan 2020 15:10:35 +0000 (15:10 +0000)]
Merge "DO NOT MERGE: Add another exception to the nearby-sharing chip code." into qt-qpr1-dev
android-build-team Robot [Wed, 8 Jan 2020 02:27:06 +0000 (02:27 +0000)]
Snap for
6117658 from
45dbf8cc5a50e2ef843f60185b16c171aeccb823 to qt-qpr2-release
Change-Id: Ic11d6d6c6c20845136cba717270dfc944ff8e91a
Automerger Merge Worker [Wed, 8 Jan 2020 01:35:31 +0000 (01:35 +0000)]
Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-dev am:
be7f868e7a
Change-Id: Iafcfda17fa43b90f8b9511618a6a7bbca238e781
Automerger Merge Worker [Wed, 8 Jan 2020 01:35:27 +0000 (01:35 +0000)]
DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from am:
483da5385f
Change-Id: Ia144921ee6ad424c565ca14713a275b9383e52cb
Adam He [Wed, 8 Jan 2020 01:16:40 +0000 (01:16 +0000)]
Merge "DO NOT MERGE - Temporary fix to disable augmented autofill requests coming from password fields." into qt-dev
Dan Sandler [Tue, 7 Jan 2020 15:44:43 +0000 (10:44 -0500)]
DO NOT MERGE: Add another exception to the nearby-sharing chip code.
Fixes:
146690046
Test: Share from Chrome
Change-Id: I41b3965ca2289f628a2d1de3a6da7daf01385a54
Patrick Baumann [Fri, 23 Aug 2019 20:50:23 +0000 (13:50 -0700)]
Handles null outInfo in deleteSystemPackageLI
This change adds null checks before accessing outInfo in
deleteSystemPackageLI.
Bug:
142083996
Bug:
141413692
Test: manual; remove static dependency on eng build and reboot
Change-Id: If0fd48343e89cbb77ccd25826656194195d5b0cd
(cherry picked from commit
17471016508bb9c9ffb8c3946dda0b4897d722f1)
Merged-In: If0fd48343e89cbb77ccd25826656194195d5b0cd
Automerger Merge Worker [Tue, 7 Jan 2020 22:54:47 +0000 (22:54 +0000)]
Merge "docs: Add documentation for equals() method" into qt-dev am:
732a127636 am:
8bc1955d0e
Change-Id: Ie77e185c38a1a5eda8efa73577d98babadb6e90d
Automerger Merge Worker [Tue, 7 Jan 2020 22:41:40 +0000 (22:41 +0000)]
Merge "docs: Add documentation for equals() method" into qt-dev am:
732a127636
Change-Id: I306e8e186d2350f2dabb7238ad8b5c55d8e04e1d
Kevin Hufnagle [Tue, 7 Jan 2020 22:29:32 +0000 (22:29 +0000)]
Merge "docs: Add documentation for equals() method" into qt-dev
Kevin Hufnagle [Fri, 3 Jan 2020 15:38:37 +0000 (07:38 -0800)]
docs: Add documentation for equals() method
Explain the conditions that must be true in order for two objects
of type `ComponentName` to be considered equal.
Test: make ds-docs -j32
Bug:
62991861
Change-Id: I162ecd825b187ca688af11271a937e3740a4a833
Exempt-From-Owner-Approval: Docs-only change
android-build-team Robot [Tue, 7 Jan 2020 02:01:21 +0000 (02:01 +0000)]
Snap for
6114123 from
fc94ebae09a76f30fb0ed57ea1e39bf366bdf2f5 to qt-qpr2-release
Change-Id: I48946e4a804bbc0afabe4416975e656f33b95400
Automerger Merge Worker [Mon, 6 Jan 2020 18:24:58 +0000 (18:24 +0000)]
docs: Fix typo in IMPORTANCE_SERVICE description am:
08a4e470b8 am:
edcfda720b
Change-Id: Id0683ebab467f7baaac1650b15dd8e98f8057306
Automerger Merge Worker [Mon, 6 Jan 2020 18:13:01 +0000 (18:13 +0000)]
docs: Fix typo in IMPORTANCE_SERVICE description am:
08a4e470b8
Change-Id: I32360f63be584c4223c6aae692beb48c0bdf4802
TreeHugger Robot [Mon, 6 Jan 2020 05:10:55 +0000 (05:10 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Mon, 6 Jan 2020 01:21:55 +0000 (17:21 -0800)]
Import translations. DO NOT MERGE
Change-Id: Ic0a95801207612d600d8072163aaa5c5b8da51b3
Auto-generated-cl: translation import
android-build-team Robot [Mon, 6 Jan 2020 00:04:21 +0000 (00:04 +0000)]
Snap for
6111559 from
db92bf07a2b71e14d185fef57a698e591d37cbe4 to qt-qpr2-release
Change-Id: I25796cc00ae733250ba3be922dc946475e613d30
Bill Yi [Sun, 5 Jan 2020 07:39:30 +0000 (23:39 -0800)]
Import translations. DO NOT MERGE
Change-Id: I7edb50b15c89ca55770d4be0dcca7a066856ada7
Auto-generated-cl: translation import
Kevin Hufnagle [Fri, 3 Jan 2020 20:05:28 +0000 (20:05 +0000)]
docs: Fix typo in IMPORTANCE_SERVICE description
Test: make ds-docs -j32
Bug:
140783404
Change-Id: Ife86109eebefe9c87f7c9ed4a0587676e3392d90
Exempt-From-Owner-Approval: Docs-only change
android-build-team Robot [Fri, 3 Jan 2020 02:09:47 +0000 (02:09 +0000)]
Snap for
6107751 from
03bdd73cca7e5f2d2b858aab0040259f9b96ebf7 to qt-qpr2-release
Change-Id: I75b07d533cf9d47cf54a8290b62a3ba696c8e251
Automerger Merge Worker [Thu, 2 Jan 2020 21:50:42 +0000 (21:50 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced am:
98274d96f5 am:
9868e4c737
Change-Id: I60a049225fd042ee6c559c0a1dcbc99b4b49d92e
Automerger Merge Worker [Thu, 2 Jan 2020 21:25:50 +0000 (21:25 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced am:
98274d96f5
Change-Id: Id7b90a1a2f4f89e3303e43c1a2a78d7a9587feb3
Automerger Merge Worker [Thu, 2 Jan 2020 21:11:32 +0000 (21:11 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27 am:
af521c4ced
Change-Id: Id28175d26ec9910e184d5520cdf280e3ab831cf4
Automerger Merge Worker [Thu, 2 Jan 2020 20:47:01 +0000 (20:47 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev am:
546c644f27
Change-Id: I511da6d59c3b525cb678d6bb08a6cfa8e4e5a94f
TreeHugger Robot [Thu, 2 Jan 2020 20:31:27 +0000 (20:31 +0000)]
Merge "Fix MediaCodec FLAC Javadoc" into oc-mr1-dev
android-build-team Robot [Tue, 31 Dec 2019 02:03:11 +0000 (02:03 +0000)]
Snap for
6103831 from
15783772f43a19a23cbcfe59e4d18fced0be7b3c to qt-qpr2-release
Change-Id: Ife364e8d622d83a478c8cbcc4cbcf35ffb7ebb8b