• R/O
  • HTTP
  • SSH

frameworks-base: List of commits


Rev. Tiempo Autor
c271ff8 pie-x86 2019-11-14 13:55:34 Chih-Wei Huang

Fix QuickSetting panel width

Suggested-by: fguy <>

1189c31 2019-11-14 13:55:33 he, bo

Align the pageBlockOrder to the kerne 4.19 kernel

Change-Id: Ieb76e3d78856c80c0450e239b5ba026219920c2e
Signed-off-by: he, bo <>

ef099b4 2019-11-14 13:55:33 Yan, WalterX

Check if mClingWindow is already added before adding.

If not to check if it's added, the previous one will leak
and cannot be removed any more.

Change-Id: Ifd50b57badd8c630aaa1e202695c7c4525b3a30e
Tracked-On: OAM-72403
Signed-off-by: Yan, WalterX <>

5eb05d4 2019-11-14 13:55:32 Madhusudhan S

Enabling suspend on IVI after clicking sleep from the power button menu.

Tracked-on: OAM-56502

Change-Id: Ib8e5f351815474d8e99739938ac5845227f711ff
Signed-off-by: Madhusudhan S <>

8078bf0 2019-11-14 13:55:32 saranya

GlobalActions: Handle 'sleep' action

Some Intel platforms do not provide separate
events for power key press and release. This
makes it impossible to detect long press of
power button. So, the solution is to handle
only short press and add 'sleep' also as an
option in GlobalActions menu. This patch
handles 'sleep' option.

Change-Id: Iaae59b324e5ba6eaed9e507fdaa8e5006535716c
Tracked-On: OAM-56502
Signed-off-by: saranya <>
Signed-off-by: Madhusudhan S <>

532a277 2019-11-14 13:55:31 Chih-Wei Huang

Fix forceDefaultOrientation

Ignore screen size when determines mForceDefaultOrientation.

Fix the bug in the calculation of left and top of DisplayContent
when default orientation is forced. (by Ladehunter)

1598f96 2019-11-14 13:55:30 Mauro Rossi

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 >>> <<<
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

#00 pc 000fd7c8 /system/lib/ (android::bitmap::createBitmap(_JNIEnv*, android::Bitmap*, int, _jbyteArray*, _jobject*, int)+104)
#01 pc 000d08ca /system/lib/ (android::android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode(_JNIEnv*, _jobject*, long long, int, int)+1002)

2f10c56 2019-11-14 13:55:30 Chih-Wei Huang

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.

cbbc313 2019-11-14 13:55:29 Mauro Rossi

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

745d8fa 2019-11-14 13:55:29 Chih-Wei Huang

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.

9983b4d 2019-11-14 13:55:28 jgu21

Fix the memory leak bug introduced by PRC compatibility feature

Fix the memory leak bug introduced by PRC compatibility feature,
introduced by

Change-Id: Iaf9bd21afa17f3a81ab700c63ae7c0bb0851a594
Signed-off-by: jgu21 <>

10d0168 2019-11-14 13:55:28 jgu21

Fix KW issues on PRC compatibility

Fix KW issues on PRC compatibility,introduced by below commit.

Change-Id: Ib10899655dd2a18569387dbafbe33856acf5df59
Signed-off-by: jgu21 <>

9b43750 2019-11-14 13:55:27 xiajiang

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 "",
add "abc_v" into the list, that is, the version information
at the tail of lib name should be removed.

Change-Id: Ic374e363d3d31f9bd69be839b33b1bd65950ef61
Signed-off-by: xiajiang <>

4722438 2019-11-14 13:55:27 xiajiang

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 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
Signed-off-by: xiajiang <>

fa44fbf 2019-11-14 13:55:26 Mauro Rossi

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 <>.

032ded5 2019-11-14 13:55:26 Chih-Wei Huang

Camera: ignore exceptions from getSupportedPreviewFpsRange

1bf9ce0 2019-11-14 13:55:25 Chih-Wei Huang

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.

459ee0a 2019-11-14 13:55:25 Chih-Wei Huang

DiskInfo: support CD/DVD type

90ba10c 2019-11-14 13:55:24 Chih-Wei Huang

Detect HDMI audio by switch events

If detect SW_VIDEOOUT_INSERT, assume HDMI is plugged.

d3f4eb5 2019-11-14 13:55:23 Hugo

analytics: send anonymous usage information

Send usage information to google analytics when applications are started
or throws exceptions.

6a853f7 2019-11-14 13:55:23 Ma Jian

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.

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

6712e39 2019-11-14 13:55:22 Chih-Wei Huang

Map keycode 120 to APP_SWITCH

Define the unused keycode 120 to be APP_SWITCH.

c366d1c 2019-11-14 13:55:22 Chih-Wei Huang

InputReader: read the pointercal from TSCalibration2

Watch the pointercal and reload it on changed.

e374a1b 2019-11-14 13:55:21 jshe32X

SystemUI: Recycle the old wallpaper background bitmap after we choose a new wallpaper.

BZ: 101064

RootCause: ImageWallpaper didn't call old background bitmap's recycle before
set it to null.

Category: aosp improvement
Domain: AOSP-Framework-Media
Origin: internal
Upstream-Candidate: yes

Orig-Change-Id: I27f6971a3edd26472b69e59b542b27fd7c8e7b90
Change-Id: Ice59aea79f8137d5995d7a5ce9a6ed7903750d30
Signed-off-by: jshe32X<>

0ec1580 2019-11-14 13:55:21 Chih-Wei Huang

MediaFile: support more media types

d1f8986 2019-11-14 13:55:20 juntingwang

Make "windows" key to act as "home" key

Issue: AXIA-1893
Change-Id: I7b2b19f7e34ec8a1867e8e6ce522e65133e5267f
Signed-off-by: juntingwang <>

d16daed 2019-11-14 13:55:20 Chih-Wei Huang

camera: fix NullPointerException

98b9fdb 2019-11-14 13:55:19 Andy Ross

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 <>

7816294 2019-11-14 13:55:19 Zhao Liang

import YuvToEncoder R3 patches, BZ 18528, 19092, 19696

BZ: 47824

Please refer and

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 <>
Signed-off-by: Zhao Liang <>

a3a788c oreo-x86 android-x86-8.1-r3 2019-10-24 13:31:17 Chih-Wei Huang

Android 8.1.0 Release 69 (5794017)


Merge tag 'android-8.1.0_r69' into oreo-x86

Android 8.1.0 Release 69 (5794017)

Show on old repository browser