Android-x86
Fork
Donation

  • R/O
  • HTTP
  • SSH
  • HTTPS

frameworks-base: List of commits

frameworks/base


RSS
Rev. Time Author
fe0a6f9 s-x86 2023-07-25 01:03:07 Jon West

Import PowerManager in GlobalActionsDialog

Change-Id: I1a37a05a7d565d44cd665b051f14b1754a1476b0

e79bb83 2023-07-25 01:02:57 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 <madhusudhan.s@intel.com>

Conflicts:
services/core/java/com/android/server/power/PowerManagerService.java

Conflicts:
services/core/java/com/android/server/power/PowerManagerService.java

Conflicts:
services/core/java/com/android/server/power/PowerManagerService.java

62a863b 2023-07-25 01:02:47 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 <saranya.gopal@intel.com>
Signed-off-by: Madhusudhan S <madhusudhan.s@intel.com>

Conflicts:
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java

Conflicts:
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java

Conflicts:
core/res/res/values-zh-rHK/strings.xml
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java

Conflicts:
packages/SystemUI/src/com/android/systemui/globalactions/GlobalActionsDialog.java

9a8a265 2023-07-25 01:02:37 Jon West

Import IOException for suspend on IVI

Change-Id: I457dd2e187c046f9212f39e4c7a03e1df5bba37c

c5b0000 2023-07-25 01:02:27 he, bo

Align the pageBlockOrder to the kerne 4.19 kernel

Change-Id: Ieb76e3d78856c80c0450e239b5ba026219920c2e
Tracked-On: https://jira01.devtools.intel.com/browse/OAM-70044
Signed-off-by: he, bo <bo.he@intel.com>

Conflicts:
cmds/incident_helper/src/parsers/PageTypeInfoParser.cpp

b81f116 2023-07-25 01:02:17 utzcoz

Only show pip button if activity supports it

Signed-off-by: utzcoz <utzcoz@outlook.com>
Change-Id: I1512f35a90592c247c230461bee8b882c5df98dd

Conflicts:
core/java/android/app/Activity.java
core/java/com/android/internal/widget/DecorCaptionView.java

4219943 2023-07-25 01:02:07 Jon West

Update titlebar button graphics

Thanks to @RadekBledowski for the graphics
Change-Id: Ic53146429051acae509a3a68050a8e0f1c1ae69d

5451efa 2023-07-25 01:01:58 Unknown

Update back button graphics

Thanks again @rogerdott for the artwork

8bf662d 2023-07-25 01:01:48 utzcoz

Add back button for freeform window

Signed-off-by: utzcoz <utzcoz@outlook.com>
Change-Id: Ic847315ef5fb606cacde03f30ad0ec41730d36b7

Conflicts:
config/hiddenapi-private-dex.txt
core/java/com/android/internal/widget/DecorCaptionView.java

18ec095 2023-07-25 01:01:38 Mauro Rossi

libalarm_jni: add libcutils shared dependency

Fixes the following building error:

ld.lld: error: undefined symbol: property_get_bool
>>> referenced by com_android_server_alarm_AlarmManagerService.cpp:152
(frameworks/base/apex/jobscheduler/service/jni/com_android_server_alarm_AlarmManagerService.cpp:152)

Change-Id: I206a50d291a4b3e063a5c9c39afcdfe25029f9d6

00004c0 2023-07-25 01:01:28 Jon West

Add minimize & pip buttons to freeform windows

Thanks to @farmerbb for assistance and @rogerdott for the graphics

Change-Id: I8ddad6eab27f52574ee1c10e8006612fb46a83c5

d169909 2023-07-25 01:01:17 Chih-Wei Huang

Set forceDesktopMode to true

c7959d8 2023-07-25 01:01:08 Mauro Rossi

android_graphics_HardwareRenderer: 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)

fff73e7 2023-07-25 01:00:58 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.

f28e3ea 2023-07-25 01:00:47 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

f4d3cf4 2023-07-25 01:00:37 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.

7f7883c 2023-07-25 01:00:27 jgu21

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

c8e641b 2023-07-25 01:00:17 jgu21

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

8e48fa7 2023-07-25 01:00:07 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 "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

be10355 2023-07-25 00:59:57 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 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

5bc084f 2023-07-25 00:59:46 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 <chris@sightworks.com>.

03785c7 2023-07-25 00:59:37 Chih-Wei Huang

DiskInfo: support CD/DVD type

d530121 2023-07-25 00:59:28 Chih-Wei Huang

Detect HDMI audio by switch events

If detect SW_VIDEOOUT_INSERT, assume HDMI is plugged.

9088783 2023-07-25 00:59:19 Ma Jian

Support save local time to RTC (s-x86)

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

8864c74 2023-07-25 00:59:10 Chih-Wei Huang

Map keycode 120 to APP_SWITCH

Define the unused keycode 120 to be APP_SWITCH.

54d4028 2023-07-25 00:59:01 Chih-Wei Huang

InputReader: read the pointercal from TSCalibration2

Watch the pointercal and reload it on changed.

b7118e7 2023-07-25 00:58:52 juntingwang

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

Issue: AXIA-1893
Change-Id: I7b2b19f7e34ec8a1867e8e6ce522e65133e5267f
Signed-off-by: juntingwang <Junting.Wang@windriver.com>

ad9d2dc 2023-07-25 00:58:43 Chih-Wei Huang

camera: fix NullPointerException

e70e733 2023-07-25 00:58:34 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 <andy.ross@windriver.com>

b9ffb4b 2023-07-25 00:58:25 Zhao Liang

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>

Show on old repository browser