Skip to content

Conversation

@Renton91
Copy link

@Renton91 Renton91 commented Apr 27, 2017

Fix Prevent Accidental Wake Up not working properly.

Yank555.lu : remove config for default value, settings potentially won't
             be set correctly on first boot anyway, default to stock
             Android (disabled)

ProximityWake : Add support for checking proximity when waking device

Be sure to shutdown the proximity sensor after display wake

This fixes:
http://review.cyanogenmod.org/#/c/66657/

PowerManager : Make proximity check opt-in

Framework : Fix proximity wakeup reference

[1/2] Frameworks: let InCallUI handle proximity sensor for incoming calls

Fixes "while 'prevent accidental wake-up' is on, proximity sensor
doesn't control screen state on incoming call. Must manually
turn on screen to see who's calling."

power: Fix locking for wakeup proximity check

 * Often I'm noticing high power consumption due to the proximity sensor
   never turning off. Add synchronization around this code to ensure
   ordering.

add config for proximity check on screen on default value

Services : Ensure proximity check is taken into consideration

Only do the proximity check if explicitly being asked to do so.
This is a patch that was never ported from cm-11.0 :
2293e60

issue-id: CYNGNOS-1223

services: button brightness should check proximity

base: Fix proximity check on power key (Christopher R. Palmer <[email protected]>)

To test, enable "Settings >> Display >> Prevent accidental wakeup",
hold your hand over the proximity sensor and turn your phone on.

Prior to this change, it will wake up the phone and after the change
it will not.

powermanager: Initialize SensorManager in systemReady() (Steve Kondik <[email protected]>)

 * Service startup ordering is different on M and the sensor service
   is not ready during construction of the PowerManager. This was
   causing a hang on boot. Move it to systemReady instead.

Conflicts:
	core/java/android/provider/Settings.java
	core/res/res/values/config.xml
	core/res/res/values/yaosp_symbols.xml

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

Set mProximity to PROXIMITY_UNKNOWN on screen off

In the case where the screen was already off do to the proximity
sensor and the user presses the power button, we need to set
mProximity to PROXIMITY_UNKNOWN so that when the screen comes back
on and the proximity sensor is re-enabled it will be able to pick
up the change in proximity.

Change-Id: I79bc948e4a5b64009b81879aba6b31279b7c5240
Signed-off-by: Danesh M <[email protected]>
Signed-off-by: Daniel Koman <[email protected]>
Signed-off-by: Jean-Pierre Rasquin <[email protected]>

	modified:   core/java/android/os/IPowerManager.aidl
	modified:   core/java/android/os/PowerManager.java
	modified:   core/res/res/values/config.xml
	modified:   packages/SystemUI/res/values-sw900dp/config.xml
	modified:   services/core/java/com/android/server/display/DisplayPowerController.java
	modified:   services/core/java/com/android/server/policy/PhoneWindowManager.java
	modified:   services/core/java/com/android/server/power/PowerManagerService.java
Fix Prevent Accidental Wake Up
@Renton91 Renton91 closed this Apr 27, 2017
Rashed97 pushed a commit to Rashed97/android_frameworks_base that referenced this pull request Dec 24, 2017
AKA the pixel navbar

This is a combination of 8 commits.
This is the 1st commit message:
Pixel Navbar, reverse engineered from smali.

Notes:
- This is forcing the Pixel Home button on people,
  and it looks ugly with the other nav buttons being hollow

- There MAY still be a few fixes yet to be found in this code
  because it WAS a big file to RE from smali. I have yet to find
  any, but time is the best tester.

- Shoutout to @bigrushdog for providing a decompiled form used
  to verify the smali and as a guideline for the more obsure
  smali sections. It was a big help.

- Tagging myself here to see adoption rate. @USA-RedDragon

PureNexus Edits: By: @BeansTown106
*squashed with the landscape fix
*cleaned up some of the if statements and removed the unused constants
*removed the renamed icons, this was unnecessary as we will vectorize pixel icons

Change-Id: Ia45fc89e4f1518fcabc379c4790d1955a026daee

This is the commit message LineageOS#2:

Vectorize all navbar icons (pixel theme) fix landscape bug
*the only thing navbar related that is not vectorized is the lightsout/carmode/menu icons

This is the commit message LineageOS#3:

Pixel navbar: allow disabling based on config

Create new config_allowOpaLayout bool to allow themers to disable the Pixel Navbar

Fixes the dreaded "yellow" home button

Change-Id: I69ad9a0d87317c9d9732b08b33ceabd096afee77

This is the commit message LineageOS#4:

Pixel Navbar animation toggle [1/2]

*made to work with the exposure for themers to disable navbar animation

Change-Id: Icb057edaf0c49933d6a882df3af627a076a14561

This is the commit message LineageOS#5:

Pixel navbar: remove this. and OpaLayout references, cleanup

Since it's all on the same file, I don't think they are needed (?)
Replace some hardcoded int values with meaningful variables, like MotionEvent

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba

This is the commit message LineageOS#6:

Pixel navbar: Fix Home button FC

Change-Id: I7c463999a76ee02f1f5af615ddcff3c05ca4e4f2

This is the commit message LineageOS#7:

Reload Pixel Home Animation without reboot

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba
Rashed97 pushed a commit to Rashed97/android_frameworks_base that referenced this pull request Jan 5, 2018
AKA the pixel navbar

This is a combination of 8 commits.
This is the 1st commit message:
Pixel Navbar, reverse engineered from smali.

Notes:
- This is forcing the Pixel Home button on people,
  and it looks ugly with the other nav buttons being hollow

- There MAY still be a few fixes yet to be found in this code
  because it WAS a big file to RE from smali. I have yet to find
  any, but time is the best tester.

- Shoutout to @bigrushdog for providing a decompiled form used
  to verify the smali and as a guideline for the more obsure
  smali sections. It was a big help.

- Tagging myself here to see adoption rate. @USA-RedDragon

PureNexus Edits: By: @BeansTown106
*squashed with the landscape fix
*cleaned up some of the if statements and removed the unused constants
*removed the renamed icons, this was unnecessary as we will vectorize pixel icons

Change-Id: Ia45fc89e4f1518fcabc379c4790d1955a026daee

This is the commit message LineageOS#2:

Vectorize all navbar icons (pixel theme) fix landscape bug
*the only thing navbar related that is not vectorized is the lightsout/carmode/menu icons

This is the commit message LineageOS#3:

Pixel navbar: allow disabling based on config

Create new config_allowOpaLayout bool to allow themers to disable the Pixel Navbar

Fixes the dreaded "yellow" home button

Change-Id: I69ad9a0d87317c9d9732b08b33ceabd096afee77

This is the commit message LineageOS#4:

Pixel Navbar animation toggle [1/2]

*made to work with the exposure for themers to disable navbar animation

Change-Id: Icb057edaf0c49933d6a882df3af627a076a14561

This is the commit message LineageOS#5:

Pixel navbar: remove this. and OpaLayout references, cleanup

Since it's all on the same file, I don't think they are needed (?)
Replace some hardcoded int values with meaningful variables, like MotionEvent

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba

This is the commit message LineageOS#6:

Pixel navbar: Fix Home button FC

Change-Id: I7c463999a76ee02f1f5af615ddcff3c05ca4e4f2

This is the commit message LineageOS#7:

Reload Pixel Home Animation without reboot

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba
Rashed97 pushed a commit to Rashed97/android_frameworks_base that referenced this pull request Mar 30, 2018
AKA the pixel navbar

This is a combination of 8 commits.
This is the 1st commit message:
Pixel Navbar, reverse engineered from smali.

Notes:
- This is forcing the Pixel Home button on people,
  and it looks ugly with the other nav buttons being hollow

- There MAY still be a few fixes yet to be found in this code
  because it WAS a big file to RE from smali. I have yet to find
  any, but time is the best tester.

- Shoutout to @bigrushdog for providing a decompiled form used
  to verify the smali and as a guideline for the more obsure
  smali sections. It was a big help.

- Tagging myself here to see adoption rate. @USA-RedDragon

PureNexus Edits: By: @BeansTown106
*squashed with the landscape fix
*cleaned up some of the if statements and removed the unused constants
*removed the renamed icons, this was unnecessary as we will vectorize pixel icons

Change-Id: Ia45fc89e4f1518fcabc379c4790d1955a026daee

This is the commit message LineageOS#2:

Vectorize all navbar icons (pixel theme) fix landscape bug
*the only thing navbar related that is not vectorized is the lightsout/carmode/menu icons

This is the commit message LineageOS#3:

Pixel navbar: allow disabling based on config

Create new config_allowOpaLayout bool to allow themers to disable the Pixel Navbar

Fixes the dreaded "yellow" home button

Change-Id: I69ad9a0d87317c9d9732b08b33ceabd096afee77

This is the commit message LineageOS#4:

Pixel Navbar animation toggle [1/2]

*made to work with the exposure for themers to disable navbar animation

Change-Id: Icb057edaf0c49933d6a882df3af627a076a14561

This is the commit message LineageOS#5:

Pixel navbar: remove this. and OpaLayout references, cleanup

Since it's all on the same file, I don't think they are needed (?)
Replace some hardcoded int values with meaningful variables, like MotionEvent

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba

This is the commit message LineageOS#6:

Pixel navbar: Fix Home button FC

Change-Id: I7c463999a76ee02f1f5af615ddcff3c05ca4e4f2

This is the commit message LineageOS#7:

Reload Pixel Home Animation without reboot

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba
Koloses pushed a commit to GalaxyFork/android_frameworks_base that referenced this pull request May 29, 2018
If mSurface has already been released in another thread,
this would result in a null-pointer dereference in
SurfaceSession contructor i.e. in nativeCreateScoped().

7757  7757 F DEBUG   : pid: 1402, tid: 1583, name: android.anim  >>> system_server <<<
7757  7757 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd0
7757  7757 F DEBUG   : Cause: null pointer dereference
... <trimmed>
7757  7757 F DEBUG   : backtrace:
7757  7757 F DEBUG   :     #00 pc 000000000007fe58  /system/lib64/libgui.so (android::Surface::getIGraphicBufferProducer() const)
7757  7757 F DEBUG   :     LineageOS#1 pc 00000000000ff000  /system/lib64/libandroid_runtime.so (android::nativeCreateScoped(_JNIEnv*, _jclass*, long)+52)
7757  7757 F DEBUG   :     LineageOS#2 pc 0000000000ac8968  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.content.res.XmlBlock.nativeCreateParseState [DEDUPED]+152)
7757  7757 F DEBUG   :     LineageOS#3 pc 0000000001327d24  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.view.SurfaceSession.<init>+52)
7757  7757 F DEBUG   :     LineageOS#4 pc 00000000014b7320  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSizeMismatchSnapshot+128)
7757  7757 F DEBUG   :     LineageOS#5 pc 00000000014b784c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSnapshot+188)
7757  7757 F DEBUG   :     LineageOS#6 pc 00000000014b6f2c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.create+2684)
7757  7757 F DEBUG   :     LineageOS#7 pc 00000000014b0158  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotController.createStartingSurface+72)
7757  7757 F DEBUG   :     LineageOS#8 pc 00000000014a5ca0  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.SnapshotStartingData.createStartingSurface+96)
7757  7757 F DEBUG   :     LineageOS#9 pc 000000000144b030  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.AppWindowContainerController.lambda$-com_android_server_wm_AppWindowContainerController_4735+496)
... <trimmed>

Change-Id: I41268c7680d3885c85fc3b682d0eba7415674062

Signed-off-by: Adesh15 <[email protected]>
i81u812 pushed a commit to i81u812/android_frameworks_base that referenced this pull request Jul 30, 2018
If mSurface has already been released in another thread,
this would result in a null-pointer dereference in
SurfaceSession contructor i.e. in nativeCreateScoped().

7757  7757 F DEBUG   : pid: 1402, tid: 1583, name: android.anim  >>> system_server <<<
7757  7757 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd0
7757  7757 F DEBUG   : Cause: null pointer dereference
... <trimmed>
7757  7757 F DEBUG   : backtrace:
7757  7757 F DEBUG   :     #00 pc 000000000007fe58  /system/lib64/libgui.so (android::Surface::getIGraphicBufferProducer() const)
7757  7757 F DEBUG   :     LineageOS#1 pc 00000000000ff000  /system/lib64/libandroid_runtime.so (android::nativeCreateScoped(_JNIEnv*, _jclass*, long)+52)
7757  7757 F DEBUG   :     LineageOS#2 pc 0000000000ac8968  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.content.res.XmlBlock.nativeCreateParseState [DEDUPED]+152)
7757  7757 F DEBUG   :     LineageOS#3 pc 0000000001327d24  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.view.SurfaceSession.<init>+52)
7757  7757 F DEBUG   :     LineageOS#4 pc 00000000014b7320  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSizeMismatchSnapshot+128)
7757  7757 F DEBUG   :     LineageOS#5 pc 00000000014b784c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSnapshot+188)
7757  7757 F DEBUG   :     LineageOS#6 pc 00000000014b6f2c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.create+2684)
7757  7757 F DEBUG   :     LineageOS#7 pc 00000000014b0158  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotController.createStartingSurface+72)
7757  7757 F DEBUG   :     LineageOS#8 pc 00000000014a5ca0  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.SnapshotStartingData.createStartingSurface+96)
7757  7757 F DEBUG   :     LineageOS#9 pc 000000000144b030  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.AppWindowContainerController.lambda$-com_android_server_wm_AppWindowContainerController_4735+496)
... <trimmed>

Change-Id: I41268c7680d3885c85fc3b682d0eba7415674062

Signed-off-by: Pranav Vashi <[email protected]>
i81u812 pushed a commit to i81u812/android_frameworks_base that referenced this pull request Jul 30, 2018
AKA the pixel navbar

This is a combination of 8 commits.
This is the 1st commit message:
Pixel Navbar, reverse engineered from smali.

Notes:
- This is forcing the Pixel Home button on people,
  and it looks ugly with the other nav buttons being hollow

- There MAY still be a few fixes yet to be found in this code
  because it WAS a big file to RE from smali. I have yet to find
  any, but time is the best tester.

- Shoutout to @bigrushdog for providing a decompiled form used
  to verify the smali and as a guideline for the more obsure
  smali sections. It was a big help.

- Tagging myself here to see adoption rate. @USA-RedDragon

PureNexus Edits: By: @BeansTown106
*squashed with the landscape fix
*cleaned up some of the if statements and removed the unused constants
*removed the renamed icons, this was unnecessary as we will vectorize pixel icons

Change-Id: Ia45fc89e4f1518fcabc379c4790d1955a026daee

This is the commit message LineageOS#2:

Vectorize all navbar icons (pixel theme) fix landscape bug
*the only thing navbar related that is not vectorized is the lightsout/carmode/menu icons

This is the commit message LineageOS#3:

Pixel navbar: allow disabling based on config

Create new config_allowOpaLayout bool to allow themers to disable the Pixel Navbar

Fixes the dreaded "yellow" home button

Change-Id: I69ad9a0d87317c9d9732b08b33ceabd096afee77

This is the commit message LineageOS#4:

Pixel Navbar animation toggle [1/2]

*made to work with the exposure for themers to disable navbar animation

Change-Id: Icb057edaf0c49933d6a882df3af627a076a14561

This is the commit message LineageOS#5:

Pixel navbar: remove this. and OpaLayout references, cleanup

Since it's all on the same file, I don't think they are needed (?)
Replace some hardcoded int values with meaningful variables, like MotionEvent

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba

This is the commit message LineageOS#6:

Pixel navbar: Fix Home button FC

Change-Id: I7c463999a76ee02f1f5af615ddcff3c05ca4e4f2

This is the commit message LineageOS#7:

Reload Pixel Home Animation without reboot

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba
Signed-off-by: Erfan Abdi <[email protected]>
Rashed97 pushed a commit to Rashed97/android_frameworks_base that referenced this pull request Aug 4, 2018
AKA the pixel navbar

This is a combination of 8 commits.
This is the 1st commit message:
Pixel Navbar, reverse engineered from smali.

Notes:
- This is forcing the Pixel Home button on people,
  and it looks ugly with the other nav buttons being hollow

- There MAY still be a few fixes yet to be found in this code
  because it WAS a big file to RE from smali. I have yet to find
  any, but time is the best tester.

- Shoutout to @bigrushdog for providing a decompiled form used
  to verify the smali and as a guideline for the more obsure
  smali sections. It was a big help.

- Tagging myself here to see adoption rate. @USA-RedDragon

PureNexus Edits: By: @BeansTown106
*squashed with the landscape fix
*cleaned up some of the if statements and removed the unused constants
*removed the renamed icons, this was unnecessary as we will vectorize pixel icons

Change-Id: Ia45fc89e4f1518fcabc379c4790d1955a026daee

This is the commit message LineageOS#2:

Vectorize all navbar icons (pixel theme) fix landscape bug
*the only thing navbar related that is not vectorized is the lightsout/carmode/menu icons

This is the commit message LineageOS#3:

Pixel navbar: allow disabling based on config

Create new config_allowOpaLayout bool to allow themers to disable the Pixel Navbar

Fixes the dreaded "yellow" home button

Change-Id: I69ad9a0d87317c9d9732b08b33ceabd096afee77

This is the commit message LineageOS#4:

Pixel Navbar animation toggle [1/2]

*made to work with the exposure for themers to disable navbar animation

Change-Id: Icb057edaf0c49933d6a882df3af627a076a14561

This is the commit message LineageOS#5:

Pixel navbar: remove this. and OpaLayout references, cleanup

Since it's all on the same file, I don't think they are needed (?)
Replace some hardcoded int values with meaningful variables, like MotionEvent

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba

This is the commit message LineageOS#6:

Pixel navbar: Fix Home button FC

Change-Id: I7c463999a76ee02f1f5af615ddcff3c05ca4e4f2

This is the commit message LineageOS#7:

Reload Pixel Home Animation without reboot

Change-Id: I4d7b2fe57d3e1bf2fa034bf81efb11d37a5ebfba
ChronoMonochrome pushed a commit to CustomROMs/android_frameworks_base that referenced this pull request Sep 13, 2018
If mSurface has already been released in another thread,
this would result in a null-pointer dereference in
SurfaceSession contructor i.e. in nativeCreateScoped().

7757  7757 F DEBUG   : pid: 1402, tid: 1583, name: android.anim  >>> system_server <<<
7757  7757 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd0
7757  7757 F DEBUG   : Cause: null pointer dereference
... <trimmed>
7757  7757 F DEBUG   : backtrace:
7757  7757 F DEBUG   :     #00 pc 000000000007fe58  /system/lib64/libgui.so (android::Surface::getIGraphicBufferProducer() const)
7757  7757 F DEBUG   :     LineageOS#1 pc 00000000000ff000  /system/lib64/libandroid_runtime.so (android::nativeCreateScoped(_JNIEnv*, _jclass*, long)+52)
7757  7757 F DEBUG   :     LineageOS#2 pc 0000000000ac8968  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.content.res.XmlBlock.nativeCreateParseState [DEDUPED]+152)
7757  7757 F DEBUG   :     LineageOS#3 pc 0000000001327d24  /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.view.SurfaceSession.<init>+52)
7757  7757 F DEBUG   :     LineageOS#4 pc 00000000014b7320  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSizeMismatchSnapshot+128)
7757  7757 F DEBUG   :     LineageOS#5 pc 00000000014b784c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSnapshot+188)
7757  7757 F DEBUG   :     LineageOS#6 pc 00000000014b6f2c  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.create+2684)
7757  7757 F DEBUG   :     LineageOS#7 pc 00000000014b0158  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotController.createStartingSurface+72)
7757  7757 F DEBUG   :     LineageOS#8 pc 00000000014a5ca0  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.SnapshotStartingData.createStartingSurface+96)
7757  7757 F DEBUG   :     LineageOS#9 pc 000000000144b030  /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.AppWindowContainerController.lambda$-com_android_server_wm_AppWindowContainerController_4735+496)
... <trimmed>

Bug: 74129970

Change-Id: I41268c7680d3885c85fc3b682d0eba7415674062
villarleg pushed a commit to villarleg/android_frameworks_base that referenced this pull request Dec 18, 2018
11-13 20:00:00.527 10645 10645 I crash_dump64: performing dump of process 1467 (target tid = 10124)
11-13 20:00:00.538 10645 10645 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-13 20:00:00.539 10645 10645 F DEBUG   : Build fingerprint: 'HONOR/BKL-L09/HWBKL:8.0.0/HUAWEIBKL-L09S/172(C432):user/release-keys'
11-13 20:00:00.539 10645 10645 F DEBUG   : Revision: '0'
11-13 20:00:00.539 10645 10645 F DEBUG   : ABI: 'arm64'
11-13 20:00:00.539 10645 10645 F DEBUG   : pid: 1467, tid: 10124, name: Visualizer  >>> com.android.systemui <<<
11-13 20:00:00.539 10645 10645 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
11-13 20:00:00.539 10645 10645 F DEBUG   : Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7c633df0f4)'
11-13 20:00:00.539 10645 10645 F DEBUG   :     x0  0000000000000000  x1  000000000000278c  x2  0000000000000006  x3  0000000000000008
11-13 20:00:00.539 10645 10645 F DEBUG   :     x4  0000000000008080  x5  0000000000008080  x6  0000000000008080  x7  0000000000000038
11-13 20:00:00.539 10645 10645 F DEBUG   :     x8  0000000000000083  x9  40ef6d32d31c854a  x10 0000000000000000  x11 fffffffc7ffffbdf
11-13 20:00:00.539 10645 10645 F DEBUG   :     x12 0000000000000001  x13 000000005beb1f30  x14 0005a1f49bc3a000  x15 0000112f9e154a12
11-13 20:00:00.539 10645 10645 F DEBUG   :     x16 0000007cffb6f2c8  x17 0000007cffaad0d0  x18 00000000fffbfffe  x19 00000000000005bb
11-13 20:00:00.539 10645 10645 F DEBUG   :     x20 000000000000278c  x21 0000007d000d96d0  x22 0000000000000001  x23 0000000000000035
11-13 20:00:00.539 10645 10645 F DEBUG   :     x24 0000007d000c6fc8  x25 0000007d000c7680  x26 0000007c52a14588  x27 0000000000000000
11-13 20:00:00.539 10645 10645 F DEBUG   :     x28 0000000000000005  x29 0000007c52a141a0
11-13 20:00:00.539 10645 10645 F DEBUG   :     sp  0000007c52a14160  lr  0000007cffaa1bfc  pc  0000007cffaa1c24
11-13 20:00:00.564 10645 10645 F DEBUG   :
11-13 20:00:00.564 10645 10645 F DEBUG   : backtrace:
11-13 20:00:00.564 10645 10645 F DEBUG   :     #00 pc 0000000000021c24  /system/lib64/libc.so (abort+116)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#1 pc 0000000000082f04  /system/lib64/libc.so (__fortify_fatal(char const*, ...)+120)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#2 pc 0000000000082600  /system/lib64/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+52)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#3 pc 00000000000824b4  /system/lib64/libc.so (pthread_mutex_lock+228)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#4 pc 00000000000a8c54  /system/lib64/libmedia.so (android::Visualizer::periodicCapture()+56)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#5 pc 00000000000a8aac  /system/lib64/libmedia.so (android::Visualizer::CaptureThread::threadLoop()+88)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#6 pc 000000000000f9d8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#7 pc 00000000000b4980  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#8 pc 0000000000081938  /system/lib64/libc.so (__pthread_start(void*)+36)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#9 pc 0000000000023478  /system/lib64/libc.so (__start_thread+68)
Change-Id: Ic7f9788df8a38084c3b150eaa22d67f869085ca2

Signed-off-by: Pranav Vashi <[email protected]>
partcyborg pushed a commit to partcyborg/android_frameworks_base-lineage that referenced this pull request Jul 31, 2019
11-13 20:00:00.527 10645 10645 I crash_dump64: performing dump of process 1467 (target tid = 10124)
11-13 20:00:00.538 10645 10645 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-13 20:00:00.539 10645 10645 F DEBUG   : Build fingerprint: 'HONOR/BKL-L09/HWBKL:8.0.0/HUAWEIBKL-L09S/172(C432):user/release-keys'
11-13 20:00:00.539 10645 10645 F DEBUG   : Revision: '0'
11-13 20:00:00.539 10645 10645 F DEBUG   : ABI: 'arm64'
11-13 20:00:00.539 10645 10645 F DEBUG   : pid: 1467, tid: 10124, name: Visualizer  >>> com.android.systemui <<<
11-13 20:00:00.539 10645 10645 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
11-13 20:00:00.539 10645 10645 F DEBUG   : Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7c633df0f4)'
11-13 20:00:00.539 10645 10645 F DEBUG   :     x0  0000000000000000  x1  000000000000278c  x2  0000000000000006  x3  0000000000000008
11-13 20:00:00.539 10645 10645 F DEBUG   :     x4  0000000000008080  x5  0000000000008080  x6  0000000000008080  x7  0000000000000038
11-13 20:00:00.539 10645 10645 F DEBUG   :     x8  0000000000000083  x9  40ef6d32d31c854a  x10 0000000000000000  x11 fffffffc7ffffbdf
11-13 20:00:00.539 10645 10645 F DEBUG   :     x12 0000000000000001  x13 000000005beb1f30  x14 0005a1f49bc3a000  x15 0000112f9e154a12
11-13 20:00:00.539 10645 10645 F DEBUG   :     x16 0000007cffb6f2c8  x17 0000007cffaad0d0  x18 00000000fffbfffe  x19 00000000000005bb
11-13 20:00:00.539 10645 10645 F DEBUG   :     x20 000000000000278c  x21 0000007d000d96d0  x22 0000000000000001  x23 0000000000000035
11-13 20:00:00.539 10645 10645 F DEBUG   :     x24 0000007d000c6fc8  x25 0000007d000c7680  x26 0000007c52a14588  x27 0000000000000000
11-13 20:00:00.539 10645 10645 F DEBUG   :     x28 0000000000000005  x29 0000007c52a141a0
11-13 20:00:00.539 10645 10645 F DEBUG   :     sp  0000007c52a14160  lr  0000007cffaa1bfc  pc  0000007cffaa1c24
11-13 20:00:00.564 10645 10645 F DEBUG   : 
11-13 20:00:00.564 10645 10645 F DEBUG   : backtrace:
11-13 20:00:00.564 10645 10645 F DEBUG   :     #00 pc 0000000000021c24  /system/lib64/libc.so (abort+116)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#1 pc 0000000000082f04  /system/lib64/libc.so (__fortify_fatal(char const*, ...)+120)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#2 pc 0000000000082600  /system/lib64/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+52)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#3 pc 00000000000824b4  /system/lib64/libc.so (pthread_mutex_lock+228)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#4 pc 00000000000a8c54  /system/lib64/libmedia.so (android::Visualizer::periodicCapture()+56)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#5 pc 00000000000a8aac  /system/lib64/libmedia.so (android::Visualizer::CaptureThread::threadLoop()+88)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#6 pc 000000000000f9d8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#7 pc 00000000000b4980  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#8 pc 0000000000081938  /system/lib64/libc.so (__pthread_start(void*)+36)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#9 pc 0000000000023478  /system/lib64/libc.so (__start_thread+68)
Change-Id: Ic7f9788df8a38084c3b150eaa22d67f869085ca2
pengus77 pushed a commit to pengus77/frameworks_base that referenced this pull request Sep 30, 2019
11-13 20:00:00.527 10645 10645 I crash_dump64: performing dump of process 1467 (target tid = 10124)
11-13 20:00:00.538 10645 10645 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-13 20:00:00.539 10645 10645 F DEBUG   : Build fingerprint: 'HONOR/BKL-L09/HWBKL:8.0.0/HUAWEIBKL-L09S/172(C432):user/release-keys'
11-13 20:00:00.539 10645 10645 F DEBUG   : Revision: '0'
11-13 20:00:00.539 10645 10645 F DEBUG   : ABI: 'arm64'
11-13 20:00:00.539 10645 10645 F DEBUG   : pid: 1467, tid: 10124, name: Visualizer  >>> com.android.systemui <<<
11-13 20:00:00.539 10645 10645 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
11-13 20:00:00.539 10645 10645 F DEBUG   : Abort message: 'FORTIFY: pthread_mutex_lock called on a destroyed mutex (0x7c633df0f4)'
11-13 20:00:00.539 10645 10645 F DEBUG   :     x0  0000000000000000  x1  000000000000278c  x2  0000000000000006  x3  0000000000000008
11-13 20:00:00.539 10645 10645 F DEBUG   :     x4  0000000000008080  x5  0000000000008080  x6  0000000000008080  x7  0000000000000038
11-13 20:00:00.539 10645 10645 F DEBUG   :     x8  0000000000000083  x9  40ef6d32d31c854a  x10 0000000000000000  x11 fffffffc7ffffbdf
11-13 20:00:00.539 10645 10645 F DEBUG   :     x12 0000000000000001  x13 000000005beb1f30  x14 0005a1f49bc3a000  x15 0000112f9e154a12
11-13 20:00:00.539 10645 10645 F DEBUG   :     x16 0000007cffb6f2c8  x17 0000007cffaad0d0  x18 00000000fffbfffe  x19 00000000000005bb
11-13 20:00:00.539 10645 10645 F DEBUG   :     x20 000000000000278c  x21 0000007d000d96d0  x22 0000000000000001  x23 0000000000000035
11-13 20:00:00.539 10645 10645 F DEBUG   :     x24 0000007d000c6fc8  x25 0000007d000c7680  x26 0000007c52a14588  x27 0000000000000000
11-13 20:00:00.539 10645 10645 F DEBUG   :     x28 0000000000000005  x29 0000007c52a141a0
11-13 20:00:00.539 10645 10645 F DEBUG   :     sp  0000007c52a14160  lr  0000007cffaa1bfc  pc  0000007cffaa1c24
11-13 20:00:00.564 10645 10645 F DEBUG   : 
11-13 20:00:00.564 10645 10645 F DEBUG   : backtrace:
11-13 20:00:00.564 10645 10645 F DEBUG   :     #00 pc 0000000000021c24  /system/lib64/libc.so (abort+116)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#1 pc 0000000000082f04  /system/lib64/libc.so (__fortify_fatal(char const*, ...)+120)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#2 pc 0000000000082600  /system/lib64/libc.so (HandleUsingDestroyedMutex(pthread_mutex_t*, char const*)+52)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#3 pc 00000000000824b4  /system/lib64/libc.so (pthread_mutex_lock+228)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#4 pc 00000000000a8c54  /system/lib64/libmedia.so (android::Visualizer::periodicCapture()+56)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#5 pc 00000000000a8aac  /system/lib64/libmedia.so (android::Visualizer::CaptureThread::threadLoop()+88)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#6 pc 000000000000f9d8  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+280)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#7 pc 00000000000b4980  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#8 pc 0000000000081938  /system/lib64/libc.so (__pthread_start(void*)+36)
11-13 20:00:00.564 10645 10645 F DEBUG   :     LineageOS#9 pc 0000000000023478  /system/lib64/libc.so (__start_thread+68)
Change-Id: Ic7f9788df8a38084c3b150eaa22d67f869085ca2
haggertk added a commit to haggertk/android_frameworks_base that referenced this pull request Mar 2, 2021
…d-11.0.0_r32

Android 11.0.0 Release 32 (RQ2A.210305.006)

* tag 'android-11.0.0_r32':
  Allow CBR when device owners is set up
  DO NOT MERGE Revert "Set fixed fps when ambient or display brightness is high"
  DO NOT MERGE Revert "Allow DeviceConfig to change display settings for high zone"
  Protect account chooser activities against overlay.
  DO NOT MERGE: Disable StrictMode VM Policy check.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Copy the list before passing to deliverAlarms
  Import translations. DO NOT MERGE ANYWHERE
  MediaRouterService binds services when necessary
  DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver
  multiple users support for carrier wifi provisioning
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE port power tap gesture logs to new standard
  Import translations. DO NOT MERGE ANYWHERE
  Add package name when initializing SoundPool.
  DO NOT MERGE Correctly reset cross-profile app-op
  Add mediametrics enum for MediaExtractor usage
  Import translations. DO NOT MERGE ANYWHERE
  Adding logging for the ML mBack gesture model.
  Import translations. DO NOT MERGE ANYWHERE
  Removes undesirable invokation of checkUriPermission
  Don't change the voice interactor setting if it's explicitly unset.
  Make low storage notification PendingIntent immutable
  Bluetooth: Check state correctly when client wants to bind
  Automatically dismiss SIM combination warnings and selection dialogs.
  Fix sharing shortcuts not showing for Work Profile.
  [GraphicsEnvironment] Avoid null access.
  Clear fixed rotation if rotated recents activity becomes top
  Expose MediaExtractor entry point to MediaMetrics
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Move phone ID to extra for action provision
  Combine uids for CpuTimePerUidFreq atom
  Update Visualizer implementation after changes in AudioEffect
  Extend Battery Defender strings chars limit
  add permission check for exported activity
  Send DROPBOX_ENTRY_ADDED to all users
  Add rotary highlight to switches
  Grant CHANGE_DEVICE_IDLE_TEMP_WHITELIST to call log provider.
  Fix issue with saving protos to disk during shutdown.
  Import translations. DO NOT MERGE ANYWHERE
  Update rotary highlight on bordered buttons
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Migrate media output switcher metrics - 1/n
  Use per-user Shell UID for adoptShellPermissionIdentity().
  AudioService: increase audio mode timeout.
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Make AOD battery text field support BatteryDefender
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Revert "Ignore to show splash screen if the decorView is not opaque"
  Check isOnScreen for wallpaper target of recents animation
  Allow the System UID to unregister ConnDiags CBs.
  Filter conversation list by current users
  Fix pixel buds icon is empty in output switcher
  [DO NOT MERGE] Fixes CompanionDeviceManagerTest
  DO NOT MERGE Use round highlight for navigation buttons
  [DO NOT MERGE]Fix IndexOutOfBoundsException for TDA stack
  Do not allow non-system dialogs on UsbConfirmAct
  Import translations. DO NOT MERGE ANYWHERE
  Update link for Permissions samples in Javadoc
  Fix wrong target launches in Chooser.
  Import translations. DO NOT MERGE ANYWHERE
  Add back enforceReadPermission for getmetadata
  Import translations. DO NOT MERGE ANYWHERE
  Update CPA startActivity javadoc to refer to passing the result back
  Update SystemUI and SettingsLib battery defender strings
  Import translations. DO NOT MERGE ANYWHERE
  Apply animation for Media Ouput Switcher dialog
  Add dynamic item in output switcher if it is available
  Fix NPE when notification icon is empty
  Fix output switcher didn't show album art
  Add dynamic group operation in output switcher
  Enhancement for group operation in output switcher
  Add dismiss timing for Media Output Dialog
  Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
  Add constant for dismiss Settings panel
  Add animation when switching output device
  Add dismiss intent and method for MediaOutputDialog
  Add "Stop" button for remote device
  Add constant for dialog dismiss
  Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
  Add getFeatures() for get device supporting features
  Add a receiver to launch Output Switcher dialog
  Add MediaOutputDialogFactory to create MediaOutputDialog
  Add Media Output Dialog for Output Switcher
  Add controller for Media operation
  Add MediaOutputAdapter for Media device list
  Define strings for output switcher dialog in SystemUI
  Add image utility methods
  Import translations. DO NOT MERGE ANYWHERE
  docs: Mention app query filters on Android 11
  Add new carrier config option for enabling SIP PUBLISH of RCS caps
  Camera: Document behavior when cropRegion and zoomRation conflict
  Use current fullscreen opaque window as insets control target
  Make the visibility of rotated insets up-to-date
  Allow DeviceConfig to change display settings for high zone
  Set fixed fps when ambient or display brightness is high
  Add FakeSettingsProviderRule class
  DO NOT MERGE: Add constant for Output Switcher to start Bluetooth paring page
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Fix ConcurrentModification in onUidStateChanged
  Import translations. DO NOT MERGE ANYWHERE
  Add ART optimization dimension to reportFullyDrawn
  Import translations. DO NOT MERGE ANYWHERE
  Make sure we preserve preserveLegacyExternalStorage.
  Add Null check for mView.findFocus() in ViewRootImpl
  DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Ensure insets state for dispatch is processed by policy
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  Move all BluetoothCodecConfig and BluetoothCodecStatus APIs moved from the non-SDK API list to the blocklist in Android 11 back to the non-SDK API list.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS without helper method.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Allow only preloaded voice recognition services to blame calling apps.
  Fix unique identifiers best practices links in device ID API docs
  Allow self blames to be trusted
  Add permissions to car shell
  Add READ_DREAM_STATE to the settings list
  Move handleCompleteDeferredRemoval to animator thread
  Add Battery Defender strings to SystemUI and SettingsLib
  Fix potential deadlock in shutdown in HistoricalRegistry
  Ensure caller identity is restored in CP quick-path.
  DO NOT MERGE: Associate notif cancels with notif posts
  Controls UI - RTL for input pin/password
  DO NOT MERGE Update bottom huns container to use HeadsUpContainerView
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Import translations. DO NOT MERGE ANYWHERE
  Run error callback when BiometricPrompt dismissed early
  Do let IME fit invisible insets
  Fix AccessibilityService#getWindows time out
  Add flag to get the name of the Model file from the flag in case we want to try out different models. In addition, we should not log touches in the middle of the screen for logging so moving the block at the very beginning.
  Add package_name to log for debugging the back gesture model.
  Add log entries for the results for the ML model for the back gesture.
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Fix up some camera API javadocs
  Import translations. DO NOT MERGE ANYWHERE
  [DO NOT MERGE] Transition to clear state after gesture cancelation.
  [RESTRICT AUTOMERGE] Fix Keyboard shown after force stopped app package
  Do not power off display on lockNow() on automotive builds.
  Use ML model for the Back Gesture in EdgeBackGestureHandler.
  Allow voice recognition service to blame other apps access.
  Ignore GrantCredentials call with unexpected calling uid.
  Ignore GrantCredentials call with unexpected calling uid.
  Protect GrantCredentialsPermissionActivity against overlay.
  Revert "Ignore GrantCredentials call with unexpected calling uid."
  Protect GrantCredentialsPermissionActivity against overlay.
  BroadcastQueue: temporarily unfreeze for parallel broadcasts
  Fix the focus not move to the place where the finger clicks
  Propagate callingPackage explicitly within CDM
  Don't set timeout when showing CDM UI
  Fix anr when installing package
  Only log first input reader length
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  DO NOT MERGE Prevent isEnabled from mutating state
  FileBridge: fix fd ownership mismanagement.
  Ignore GrantCredentials call with unexpected calling uid.
  Add disconnect message constant Bug: b/171255813 Test: make Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e
  iorap: Add a DEBUG guide on IORap debugging log.
  Check that Account Parcel has name and type.
  Ignore GrantCredentials call with unexpected calling uid.
  Fix non-dismissible resumption players.
  Grant access to the URI when forwarding intent from InstallStart to InstallInstalling
  Controls - Large ranges improperly calculated
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  CPU time min threshold for CpuTimePerUidFreq
  docs: fix "buidler" typos in Typeface.Builder
  Reschedule the pre-reboot verification after boot completed.
  Prevent sessions from resuming once boot is completed
  Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Prevent exceptions in pre-reboot verification from crashing system server
  Only use system gesture insets for exclusion rects with root ime view
  RESTRICT AUTOMERGE
  DO NOT MERGE: Only restore the positions of types which are controlled
  Do not allow uninstalling while an app is pinned
  CachedAppOptimizer: ensure binder is never frozen with app unfrozen
  Introduce INPUT_CONSUMER permission for InputConsumer
  Allow the network stack to read network stats history
  Add MediaMetrics support to MediaParser
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS flag for now to avoid crashes.
  [DO NOT MERGE] Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Add conditions for Auto to isUserSetupComplete()
  Hide overlays over uninstall confirm dialog
  Hide overlays over uninstall confirm dialog
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  Default dual tone alpha set to 0.3
  Prevent exceptions in pre-reboot verification from crashing system server
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Avoid MotionEvent no finish raise unnecessary ANR
  Finish fixed rotation of recents if it is invisible
  Ignore to show splash screen if the decorView is not opaque
  Reland "Distinguish warm/hot launch by whether the activity has attached process"
  Revert "Distinguish warm/hot launch by whether the activity has attached process"
  Distinguish warm/hot launch by whether the activity has attached process
  Import translations. DO NOT MERGE ANYWHERE
  Makes the multi-touch prevention only works for editable TextView.
  Release ICloseHandle instance after announcement listener is unregistered
  initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
  Cache network capabilities.
  Import translations. DO NOT MERGE ANYWHERE
  Mark deleteMessageFromIcc() as @UnsupportedAppUsage.
  Handle possible null PlaybackState
  Update require attention in stats pull service
  Change default value for face metrics
  docs: Use correct profile for intent
  Allow permission to change application state
  Import translations. DO NOT MERGE ANYWHERE
  Update ranking for uninflated updated notifs
  Make framework-res dep in stubs explicit
  Ignore orientation from invisible non-activity window
  Doc: Fix typo the right way. Supersedes cl/318172931
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  DO NOT MERGE: Revert "Don't let IME window fit status bar"
  Notifications starting paused shall still be subject to timeout.
  Disable player's "Dismiss" button when notification is not dismissible.
  [DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes.
  [DO NOT MERGE] Fix Accidently trigger A11y button long pressed
  [RESTRICT AUTOMERGE] Revert "[RESTRICT AUTOMERGE] Revert "Require permission to create trusted displays""
  Typo in the sand icon shape
  Rememeber the last dark mode before shutdown when in auto mode
  Remove accidentally added diff file
  Remove SQLlite log
  [DO NOT MERGE] MultiFingerSwipe: scale touch slop to number of fingers.
  [DO NOT MERGE] Use correct touch slop value for two-finger passthrough.
  [DO NOT MERGE] Fix sometime couldn't trigger A11y button with 3-finger
  [DO NOT MERGE] Fix hardly to perform 3-finger swipe from the bottom
  [DO NOT MERGE] Fix edge swipe logic.
  [DO NOT MERGE] Require both fingers to move before starting two-finger passthrough.
  [DO NOT MERGE] Start dragging where the fingers initially went down.
  [DO NOT MERGE]  Address drag unreliability during touch exploration
  [DO NOT MERGE] Fix crash with multifinger touch exploration
  [DO NOT MERGE] Enable two-finger passthrough swipes.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Media player attempts to dismiss notifications when players removed.
  IdleMaint: run IdleMaint if battery is charging
  Update javadoc for setLaunchDisplayId
  DO NOT MERGE Revoke install permissions when the permission defining app is uninstalled.
  Revoke install permissions when the permission defining app is uninstalled.
  When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available.
  Flip ENABLE_DYNAMIC_PERMISSIONS, attempt LineageOS#7.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Ignore non test package events for AppStandbyControllerTests
  Camera: Track native metadata allocations
  Allow notfication vibrations in DND
  RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Notify AppOps when notifications are [un]blocked for an app.
  Validate user-supplied tree URIs in DocumentsProvider calls
  Fix storing the wrong value of mLockdown in setting
  Use shared libdrmframeworkcommon.
  [BACKPORT] Improve location checks in TelephonyRegistry
  [DO NOT MERGE][BACKPORT]Improve location checks in TelephonyRegistry
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  [RESTRICT AUTOMERGE] Fix VrDisplayTest failure
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Call DecorView.drawableChanged() in PhoneWindow.setBackgroungDrawable
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Do not re-initialize synthetic password
  Fix out of bound error of IncidentService
  Enforce permission checks in getting app exit reasons
  Validate user-supplied URIs in DocumentsProvider calls
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Protect bluetooth.device.action.ALIAS_CHANGED

Conflicts:
	core/java/com/android/internal/app/ChooserActivity.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java
	services/core/java/com/android/server/notification/NotificationManagerService.java

Change-Id: I898282ae459c97f9341dbfa18216045c072a98e5
haggertk added a commit to haggertk/android_frameworks_base that referenced this pull request Mar 2, 2021
…d-11.0.0_r32

Android 11.0.0 Release 32 (RQ2A.210305.006)

* tag 'android-11.0.0_r32':
  Allow CBR when device owners is set up
  DO NOT MERGE Revert "Set fixed fps when ambient or display brightness is high"
  DO NOT MERGE Revert "Allow DeviceConfig to change display settings for high zone"
  Protect account chooser activities against overlay.
  DO NOT MERGE: Disable StrictMode VM Policy check.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Copy the list before passing to deliverAlarms
  Import translations. DO NOT MERGE ANYWHERE
  MediaRouterService binds services when necessary
  DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver
  multiple users support for carrier wifi provisioning
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE port power tap gesture logs to new standard
  Import translations. DO NOT MERGE ANYWHERE
  Add package name when initializing SoundPool.
  DO NOT MERGE Correctly reset cross-profile app-op
  Add mediametrics enum for MediaExtractor usage
  Import translations. DO NOT MERGE ANYWHERE
  Adding logging for the ML mBack gesture model.
  Import translations. DO NOT MERGE ANYWHERE
  Removes undesirable invokation of checkUriPermission
  Don't change the voice interactor setting if it's explicitly unset.
  Make low storage notification PendingIntent immutable
  Bluetooth: Check state correctly when client wants to bind
  Automatically dismiss SIM combination warnings and selection dialogs.
  Fix sharing shortcuts not showing for Work Profile.
  [GraphicsEnvironment] Avoid null access.
  Clear fixed rotation if rotated recents activity becomes top
  Expose MediaExtractor entry point to MediaMetrics
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Move phone ID to extra for action provision
  Combine uids for CpuTimePerUidFreq atom
  Update Visualizer implementation after changes in AudioEffect
  Extend Battery Defender strings chars limit
  add permission check for exported activity
  Send DROPBOX_ENTRY_ADDED to all users
  Add rotary highlight to switches
  Grant CHANGE_DEVICE_IDLE_TEMP_WHITELIST to call log provider.
  Fix issue with saving protos to disk during shutdown.
  Import translations. DO NOT MERGE ANYWHERE
  Update rotary highlight on bordered buttons
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Migrate media output switcher metrics - 1/n
  Use per-user Shell UID for adoptShellPermissionIdentity().
  AudioService: increase audio mode timeout.
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Make AOD battery text field support BatteryDefender
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Revert "Ignore to show splash screen if the decorView is not opaque"
  Check isOnScreen for wallpaper target of recents animation
  Allow the System UID to unregister ConnDiags CBs.
  Filter conversation list by current users
  Fix pixel buds icon is empty in output switcher
  [DO NOT MERGE] Fixes CompanionDeviceManagerTest
  DO NOT MERGE Use round highlight for navigation buttons
  [DO NOT MERGE]Fix IndexOutOfBoundsException for TDA stack
  Do not allow non-system dialogs on UsbConfirmAct
  Import translations. DO NOT MERGE ANYWHERE
  Update link for Permissions samples in Javadoc
  Fix wrong target launches in Chooser.
  Import translations. DO NOT MERGE ANYWHERE
  Add back enforceReadPermission for getmetadata
  Import translations. DO NOT MERGE ANYWHERE
  Update CPA startActivity javadoc to refer to passing the result back
  Update SystemUI and SettingsLib battery defender strings
  Import translations. DO NOT MERGE ANYWHERE
  Apply animation for Media Ouput Switcher dialog
  Add dynamic item in output switcher if it is available
  Fix NPE when notification icon is empty
  Fix output switcher didn't show album art
  Add dynamic group operation in output switcher
  Enhancement for group operation in output switcher
  Add dismiss timing for Media Output Dialog
  Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
  Add constant for dismiss Settings panel
  Add animation when switching output device
  Add dismiss intent and method for MediaOutputDialog
  Add "Stop" button for remote device
  Add constant for dialog dismiss
  Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
  Add getFeatures() for get device supporting features
  Add a receiver to launch Output Switcher dialog
  Add MediaOutputDialogFactory to create MediaOutputDialog
  Add Media Output Dialog for Output Switcher
  Add controller for Media operation
  Add MediaOutputAdapter for Media device list
  Define strings for output switcher dialog in SystemUI
  Add image utility methods
  Import translations. DO NOT MERGE ANYWHERE
  docs: Mention app query filters on Android 11
  Add new carrier config option for enabling SIP PUBLISH of RCS caps
  Camera: Document behavior when cropRegion and zoomRation conflict
  Use current fullscreen opaque window as insets control target
  Make the visibility of rotated insets up-to-date
  Allow DeviceConfig to change display settings for high zone
  Set fixed fps when ambient or display brightness is high
  Add FakeSettingsProviderRule class
  DO NOT MERGE: Add constant for Output Switcher to start Bluetooth paring page
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Fix ConcurrentModification in onUidStateChanged
  Import translations. DO NOT MERGE ANYWHERE
  Add ART optimization dimension to reportFullyDrawn
  Import translations. DO NOT MERGE ANYWHERE
  Make sure we preserve preserveLegacyExternalStorage.
  Add Null check for mView.findFocus() in ViewRootImpl
  DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Ensure insets state for dispatch is processed by policy
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  Move all BluetoothCodecConfig and BluetoothCodecStatus APIs moved from the non-SDK API list to the blocklist in Android 11 back to the non-SDK API list.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS without helper method.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Allow only preloaded voice recognition services to blame calling apps.
  Fix unique identifiers best practices links in device ID API docs
  Allow self blames to be trusted
  Add permissions to car shell
  Add READ_DREAM_STATE to the settings list
  Move handleCompleteDeferredRemoval to animator thread
  Add Battery Defender strings to SystemUI and SettingsLib
  Fix potential deadlock in shutdown in HistoricalRegistry
  Ensure caller identity is restored in CP quick-path.
  DO NOT MERGE: Associate notif cancels with notif posts
  Controls UI - RTL for input pin/password
  DO NOT MERGE Update bottom huns container to use HeadsUpContainerView
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Import translations. DO NOT MERGE ANYWHERE
  Run error callback when BiometricPrompt dismissed early
  Do let IME fit invisible insets
  Fix AccessibilityService#getWindows time out
  Add flag to get the name of the Model file from the flag in case we want to try out different models. In addition, we should not log touches in the middle of the screen for logging so moving the block at the very beginning.
  Add package_name to log for debugging the back gesture model.
  Add log entries for the results for the ML model for the back gesture.
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Fix up some camera API javadocs
  Import translations. DO NOT MERGE ANYWHERE
  [DO NOT MERGE] Transition to clear state after gesture cancelation.
  [RESTRICT AUTOMERGE] Fix Keyboard shown after force stopped app package
  Do not power off display on lockNow() on automotive builds.
  Use ML model for the Back Gesture in EdgeBackGestureHandler.
  Allow voice recognition service to blame other apps access.
  Ignore GrantCredentials call with unexpected calling uid.
  Ignore GrantCredentials call with unexpected calling uid.
  Protect GrantCredentialsPermissionActivity against overlay.
  Revert "Ignore GrantCredentials call with unexpected calling uid."
  Protect GrantCredentialsPermissionActivity against overlay.
  BroadcastQueue: temporarily unfreeze for parallel broadcasts
  Fix the focus not move to the place where the finger clicks
  Propagate callingPackage explicitly within CDM
  Don't set timeout when showing CDM UI
  Fix anr when installing package
  Only log first input reader length
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  DO NOT MERGE Prevent isEnabled from mutating state
  FileBridge: fix fd ownership mismanagement.
  Ignore GrantCredentials call with unexpected calling uid.
  Add disconnect message constant Bug: b/171255813 Test: make Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e
  iorap: Add a DEBUG guide on IORap debugging log.
  Check that Account Parcel has name and type.
  Ignore GrantCredentials call with unexpected calling uid.
  Fix non-dismissible resumption players.
  Grant access to the URI when forwarding intent from InstallStart to InstallInstalling
  Controls - Large ranges improperly calculated
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  CPU time min threshold for CpuTimePerUidFreq
  docs: fix "buidler" typos in Typeface.Builder
  Reschedule the pre-reboot verification after boot completed.
  Prevent sessions from resuming once boot is completed
  Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Prevent exceptions in pre-reboot verification from crashing system server
  Only use system gesture insets for exclusion rects with root ime view
  RESTRICT AUTOMERGE
  DO NOT MERGE: Only restore the positions of types which are controlled
  Do not allow uninstalling while an app is pinned
  CachedAppOptimizer: ensure binder is never frozen with app unfrozen
  Introduce INPUT_CONSUMER permission for InputConsumer
  Allow the network stack to read network stats history
  Add MediaMetrics support to MediaParser
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS flag for now to avoid crashes.
  [DO NOT MERGE] Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Add conditions for Auto to isUserSetupComplete()
  Hide overlays over uninstall confirm dialog
  Hide overlays over uninstall confirm dialog
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  Default dual tone alpha set to 0.3
  Prevent exceptions in pre-reboot verification from crashing system server
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Avoid MotionEvent no finish raise unnecessary ANR
  Finish fixed rotation of recents if it is invisible
  Ignore to show splash screen if the decorView is not opaque
  Reland "Distinguish warm/hot launch by whether the activity has attached process"
  Revert "Distinguish warm/hot launch by whether the activity has attached process"
  Distinguish warm/hot launch by whether the activity has attached process
  Import translations. DO NOT MERGE ANYWHERE
  Makes the multi-touch prevention only works for editable TextView.
  Release ICloseHandle instance after announcement listener is unregistered
  initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
  Cache network capabilities.
  Import translations. DO NOT MERGE ANYWHERE
  Mark deleteMessageFromIcc() as @UnsupportedAppUsage.
  Handle possible null PlaybackState
  Update require attention in stats pull service
  Change default value for face metrics
  docs: Use correct profile for intent
  Allow permission to change application state
  Import translations. DO NOT MERGE ANYWHERE
  Update ranking for uninflated updated notifs
  Make framework-res dep in stubs explicit
  Ignore orientation from invisible non-activity window
  Doc: Fix typo the right way. Supersedes cl/318172931
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  DO NOT MERGE: Revert "Don't let IME window fit status bar"
  Notifications starting paused shall still be subject to timeout.
  Disable player's "Dismiss" button when notification is not dismissible.
  [DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes.
  [DO NOT MERGE] Fix Accidently trigger A11y button long pressed
  [RESTRICT AUTOMERGE] Revert "[RESTRICT AUTOMERGE] Revert "Require permission to create trusted displays""
  Typo in the sand icon shape
  Rememeber the last dark mode before shutdown when in auto mode
  Remove accidentally added diff file
  Remove SQLlite log
  [DO NOT MERGE] MultiFingerSwipe: scale touch slop to number of fingers.
  [DO NOT MERGE] Use correct touch slop value for two-finger passthrough.
  [DO NOT MERGE] Fix sometime couldn't trigger A11y button with 3-finger
  [DO NOT MERGE] Fix hardly to perform 3-finger swipe from the bottom
  [DO NOT MERGE] Fix edge swipe logic.
  [DO NOT MERGE] Require both fingers to move before starting two-finger passthrough.
  [DO NOT MERGE] Start dragging where the fingers initially went down.
  [DO NOT MERGE]  Address drag unreliability during touch exploration
  [DO NOT MERGE] Fix crash with multifinger touch exploration
  [DO NOT MERGE] Enable two-finger passthrough swipes.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Media player attempts to dismiss notifications when players removed.
  IdleMaint: run IdleMaint if battery is charging
  Update javadoc for setLaunchDisplayId
  DO NOT MERGE Revoke install permissions when the permission defining app is uninstalled.
  Revoke install permissions when the permission defining app is uninstalled.
  When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available.
  Flip ENABLE_DYNAMIC_PERMISSIONS, attempt LineageOS#7.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Ignore non test package events for AppStandbyControllerTests
  Camera: Track native metadata allocations
  Allow notfication vibrations in DND
  RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Notify AppOps when notifications are [un]blocked for an app.
  Validate user-supplied tree URIs in DocumentsProvider calls
  Fix storing the wrong value of mLockdown in setting
  Use shared libdrmframeworkcommon.
  [BACKPORT] Improve location checks in TelephonyRegistry
  [DO NOT MERGE][BACKPORT]Improve location checks in TelephonyRegistry
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  [RESTRICT AUTOMERGE] Fix VrDisplayTest failure
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Call DecorView.drawableChanged() in PhoneWindow.setBackgroungDrawable
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Do not re-initialize synthetic password
  Fix out of bound error of IncidentService
  Enforce permission checks in getting app exit reasons
  Validate user-supplied URIs in DocumentsProvider calls
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Protect bluetooth.device.action.ALIAS_CHANGED

Conflicts:
	core/java/com/android/internal/app/ChooserActivity.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java
	services/core/java/com/android/server/notification/NotificationManagerService.java

Change-Id: I898282ae459c97f9341dbfa18216045c072a98e5
lineageos-gerrit pushed a commit that referenced this pull request Mar 6, 2021
…d-11.0.0_r32

Android 11.0.0 Release 32 (RQ2A.210305.006)

* tag 'android-11.0.0_r32':
  Allow CBR when device owners is set up
  DO NOT MERGE Revert "Set fixed fps when ambient or display brightness is high"
  DO NOT MERGE Revert "Allow DeviceConfig to change display settings for high zone"
  Protect account chooser activities against overlay.
  DO NOT MERGE: Disable StrictMode VM Policy check.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Copy the list before passing to deliverAlarms
  Import translations. DO NOT MERGE ANYWHERE
  MediaRouterService binds services when necessary
  DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver
  multiple users support for carrier wifi provisioning
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE port power tap gesture logs to new standard
  Import translations. DO NOT MERGE ANYWHERE
  Add package name when initializing SoundPool.
  DO NOT MERGE Correctly reset cross-profile app-op
  Add mediametrics enum for MediaExtractor usage
  Import translations. DO NOT MERGE ANYWHERE
  Adding logging for the ML mBack gesture model.
  Import translations. DO NOT MERGE ANYWHERE
  Removes undesirable invokation of checkUriPermission
  Don't change the voice interactor setting if it's explicitly unset.
  Make low storage notification PendingIntent immutable
  Bluetooth: Check state correctly when client wants to bind
  Automatically dismiss SIM combination warnings and selection dialogs.
  Fix sharing shortcuts not showing for Work Profile.
  [GraphicsEnvironment] Avoid null access.
  Clear fixed rotation if rotated recents activity becomes top
  Expose MediaExtractor entry point to MediaMetrics
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Move phone ID to extra for action provision
  Combine uids for CpuTimePerUidFreq atom
  Update Visualizer implementation after changes in AudioEffect
  Extend Battery Defender strings chars limit
  add permission check for exported activity
  Send DROPBOX_ENTRY_ADDED to all users
  Add rotary highlight to switches
  Grant CHANGE_DEVICE_IDLE_TEMP_WHITELIST to call log provider.
  Fix issue with saving protos to disk during shutdown.
  Import translations. DO NOT MERGE ANYWHERE
  Update rotary highlight on bordered buttons
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Migrate media output switcher metrics - 1/n
  Use per-user Shell UID for adoptShellPermissionIdentity().
  AudioService: increase audio mode timeout.
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Make AOD battery text field support BatteryDefender
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Revert "Ignore to show splash screen if the decorView is not opaque"
  Check isOnScreen for wallpaper target of recents animation
  Allow the System UID to unregister ConnDiags CBs.
  Filter conversation list by current users
  Fix pixel buds icon is empty in output switcher
  [DO NOT MERGE] Fixes CompanionDeviceManagerTest
  DO NOT MERGE Use round highlight for navigation buttons
  [DO NOT MERGE]Fix IndexOutOfBoundsException for TDA stack
  Do not allow non-system dialogs on UsbConfirmAct
  Import translations. DO NOT MERGE ANYWHERE
  Update link for Permissions samples in Javadoc
  Fix wrong target launches in Chooser.
  Import translations. DO NOT MERGE ANYWHERE
  Add back enforceReadPermission for getmetadata
  Import translations. DO NOT MERGE ANYWHERE
  Update CPA startActivity javadoc to refer to passing the result back
  Update SystemUI and SettingsLib battery defender strings
  Import translations. DO NOT MERGE ANYWHERE
  Apply animation for Media Ouput Switcher dialog
  Add dynamic item in output switcher if it is available
  Fix NPE when notification icon is empty
  Fix output switcher didn't show album art
  Add dynamic group operation in output switcher
  Enhancement for group operation in output switcher
  Add dismiss timing for Media Output Dialog
  Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
  Add constant for dismiss Settings panel
  Add animation when switching output device
  Add dismiss intent and method for MediaOutputDialog
  Add "Stop" button for remote device
  Add constant for dialog dismiss
  Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
  Add getFeatures() for get device supporting features
  Add a receiver to launch Output Switcher dialog
  Add MediaOutputDialogFactory to create MediaOutputDialog
  Add Media Output Dialog for Output Switcher
  Add controller for Media operation
  Add MediaOutputAdapter for Media device list
  Define strings for output switcher dialog in SystemUI
  Add image utility methods
  Import translations. DO NOT MERGE ANYWHERE
  docs: Mention app query filters on Android 11
  Add new carrier config option for enabling SIP PUBLISH of RCS caps
  Camera: Document behavior when cropRegion and zoomRation conflict
  Use current fullscreen opaque window as insets control target
  Make the visibility of rotated insets up-to-date
  Allow DeviceConfig to change display settings for high zone
  Set fixed fps when ambient or display brightness is high
  Add FakeSettingsProviderRule class
  DO NOT MERGE: Add constant for Output Switcher to start Bluetooth paring page
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Fix ConcurrentModification in onUidStateChanged
  Import translations. DO NOT MERGE ANYWHERE
  Add ART optimization dimension to reportFullyDrawn
  Import translations. DO NOT MERGE ANYWHERE
  Make sure we preserve preserveLegacyExternalStorage.
  Add Null check for mView.findFocus() in ViewRootImpl
  DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Ensure insets state for dispatch is processed by policy
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  Move all BluetoothCodecConfig and BluetoothCodecStatus APIs moved from the non-SDK API list to the blocklist in Android 11 back to the non-SDK API list.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS without helper method.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Allow only preloaded voice recognition services to blame calling apps.
  Fix unique identifiers best practices links in device ID API docs
  Allow self blames to be trusted
  Add permissions to car shell
  Add READ_DREAM_STATE to the settings list
  Move handleCompleteDeferredRemoval to animator thread
  Add Battery Defender strings to SystemUI and SettingsLib
  Fix potential deadlock in shutdown in HistoricalRegistry
  Ensure caller identity is restored in CP quick-path.
  DO NOT MERGE: Associate notif cancels with notif posts
  Controls UI - RTL for input pin/password
  DO NOT MERGE Update bottom huns container to use HeadsUpContainerView
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Import translations. DO NOT MERGE ANYWHERE
  Run error callback when BiometricPrompt dismissed early
  Do let IME fit invisible insets
  Fix AccessibilityService#getWindows time out
  Add flag to get the name of the Model file from the flag in case we want to try out different models. In addition, we should not log touches in the middle of the screen for logging so moving the block at the very beginning.
  Add package_name to log for debugging the back gesture model.
  Add log entries for the results for the ML model for the back gesture.
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Fix up some camera API javadocs
  Import translations. DO NOT MERGE ANYWHERE
  [DO NOT MERGE] Transition to clear state after gesture cancelation.
  [RESTRICT AUTOMERGE] Fix Keyboard shown after force stopped app package
  Do not power off display on lockNow() on automotive builds.
  Use ML model for the Back Gesture in EdgeBackGestureHandler.
  Allow voice recognition service to blame other apps access.
  Ignore GrantCredentials call with unexpected calling uid.
  Ignore GrantCredentials call with unexpected calling uid.
  Protect GrantCredentialsPermissionActivity against overlay.
  Revert "Ignore GrantCredentials call with unexpected calling uid."
  Protect GrantCredentialsPermissionActivity against overlay.
  BroadcastQueue: temporarily unfreeze for parallel broadcasts
  Fix the focus not move to the place where the finger clicks
  Propagate callingPackage explicitly within CDM
  Don't set timeout when showing CDM UI
  Fix anr when installing package
  Only log first input reader length
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  DO NOT MERGE Prevent isEnabled from mutating state
  FileBridge: fix fd ownership mismanagement.
  Ignore GrantCredentials call with unexpected calling uid.
  Add disconnect message constant Bug: b/171255813 Test: make Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e
  iorap: Add a DEBUG guide on IORap debugging log.
  Check that Account Parcel has name and type.
  Ignore GrantCredentials call with unexpected calling uid.
  Fix non-dismissible resumption players.
  Grant access to the URI when forwarding intent from InstallStart to InstallInstalling
  Controls - Large ranges improperly calculated
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  CPU time min threshold for CpuTimePerUidFreq
  docs: fix "buidler" typos in Typeface.Builder
  Reschedule the pre-reboot verification after boot completed.
  Prevent sessions from resuming once boot is completed
  Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Prevent exceptions in pre-reboot verification from crashing system server
  Only use system gesture insets for exclusion rects with root ime view
  RESTRICT AUTOMERGE
  DO NOT MERGE: Only restore the positions of types which are controlled
  Do not allow uninstalling while an app is pinned
  CachedAppOptimizer: ensure binder is never frozen with app unfrozen
  Introduce INPUT_CONSUMER permission for InputConsumer
  Allow the network stack to read network stats history
  Add MediaMetrics support to MediaParser
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS flag for now to avoid crashes.
  [DO NOT MERGE] Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Add conditions for Auto to isUserSetupComplete()
  Hide overlays over uninstall confirm dialog
  Hide overlays over uninstall confirm dialog
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  Default dual tone alpha set to 0.3
  Prevent exceptions in pre-reboot verification from crashing system server
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Avoid MotionEvent no finish raise unnecessary ANR
  Finish fixed rotation of recents if it is invisible
  Ignore to show splash screen if the decorView is not opaque
  Reland "Distinguish warm/hot launch by whether the activity has attached process"
  Revert "Distinguish warm/hot launch by whether the activity has attached process"
  Distinguish warm/hot launch by whether the activity has attached process
  Import translations. DO NOT MERGE ANYWHERE
  Makes the multi-touch prevention only works for editable TextView.
  Release ICloseHandle instance after announcement listener is unregistered
  initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
  Cache network capabilities.
  Import translations. DO NOT MERGE ANYWHERE
  Mark deleteMessageFromIcc() as @UnsupportedAppUsage.
  Handle possible null PlaybackState
  Update require attention in stats pull service
  Change default value for face metrics
  docs: Use correct profile for intent
  Allow permission to change application state
  Import translations. DO NOT MERGE ANYWHERE
  Update ranking for uninflated updated notifs
  Make framework-res dep in stubs explicit
  Ignore orientation from invisible non-activity window
  Doc: Fix typo the right way. Supersedes cl/318172931
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  DO NOT MERGE: Revert "Don't let IME window fit status bar"
  Notifications starting paused shall still be subject to timeout.
  Disable player's "Dismiss" button when notification is not dismissible.
  [DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes.
  [DO NOT MERGE] Fix Accidently trigger A11y button long pressed
  [RESTRICT AUTOMERGE] Revert "[RESTRICT AUTOMERGE] Revert "Require permission to create trusted displays""
  Typo in the sand icon shape
  Rememeber the last dark mode before shutdown when in auto mode
  Remove accidentally added diff file
  Remove SQLlite log
  [DO NOT MERGE] MultiFingerSwipe: scale touch slop to number of fingers.
  [DO NOT MERGE] Use correct touch slop value for two-finger passthrough.
  [DO NOT MERGE] Fix sometime couldn't trigger A11y button with 3-finger
  [DO NOT MERGE] Fix hardly to perform 3-finger swipe from the bottom
  [DO NOT MERGE] Fix edge swipe logic.
  [DO NOT MERGE] Require both fingers to move before starting two-finger passthrough.
  [DO NOT MERGE] Start dragging where the fingers initially went down.
  [DO NOT MERGE]  Address drag unreliability during touch exploration
  [DO NOT MERGE] Fix crash with multifinger touch exploration
  [DO NOT MERGE] Enable two-finger passthrough swipes.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Media player attempts to dismiss notifications when players removed.
  IdleMaint: run IdleMaint if battery is charging
  Update javadoc for setLaunchDisplayId
  DO NOT MERGE Revoke install permissions when the permission defining app is uninstalled.
  Revoke install permissions when the permission defining app is uninstalled.
  When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available.
  Flip ENABLE_DYNAMIC_PERMISSIONS, attempt #7.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Ignore non test package events for AppStandbyControllerTests
  Camera: Track native metadata allocations
  Allow notfication vibrations in DND
  RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Notify AppOps when notifications are [un]blocked for an app.
  Validate user-supplied tree URIs in DocumentsProvider calls
  Fix storing the wrong value of mLockdown in setting
  Use shared libdrmframeworkcommon.
  [BACKPORT] Improve location checks in TelephonyRegistry
  [DO NOT MERGE][BACKPORT]Improve location checks in TelephonyRegistry
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  [RESTRICT AUTOMERGE] Fix VrDisplayTest failure
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Call DecorView.drawableChanged() in PhoneWindow.setBackgroungDrawable
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Do not re-initialize synthetic password
  Fix out of bound error of IncidentService
  Enforce permission checks in getting app exit reasons
  Validate user-supplied URIs in DocumentsProvider calls
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Protect bluetooth.device.action.ALIAS_CHANGED

Conflicts:
	core/java/com/android/internal/app/ChooserActivity.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java
	services/core/java/com/android/server/notification/NotificationManagerService.java

Change-Id: I898282ae459c97f9341dbfa18216045c072a98e5
AliHasan7671 pushed a commit to LineageOS-18/android_frameworks_base that referenced this pull request Mar 7, 2021
…1_merge-android-11.0.0_r32

Android 11.0.0 Release 32 (RQ2A.210305.006)

* tag 'android-11.0.0_r32':
  Allow CBR when device owners is set up
  DO NOT MERGE Revert "Set fixed fps when ambient or display brightness is high"
  DO NOT MERGE Revert "Allow DeviceConfig to change display settings for high zone"
  Protect account chooser activities against overlay.
  DO NOT MERGE: Disable StrictMode VM Policy check.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Copy the list before passing to deliverAlarms
  Import translations. DO NOT MERGE ANYWHERE
  MediaRouterService binds services when necessary
  DO NOT MERGE add android.permission.STATUS_BAR for cellbroadcastreceiver
  multiple users support for carrier wifi provisioning
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE port power tap gesture logs to new standard
  Import translations. DO NOT MERGE ANYWHERE
  Add package name when initializing SoundPool.
  DO NOT MERGE Correctly reset cross-profile app-op
  Add mediametrics enum for MediaExtractor usage
  Import translations. DO NOT MERGE ANYWHERE
  Adding logging for the ML mBack gesture model.
  Import translations. DO NOT MERGE ANYWHERE
  Removes undesirable invokation of checkUriPermission
  Don't change the voice interactor setting if it's explicitly unset.
  Make low storage notification PendingIntent immutable
  Bluetooth: Check state correctly when client wants to bind
  Automatically dismiss SIM combination warnings and selection dialogs.
  Fix sharing shortcuts not showing for Work Profile.
  [GraphicsEnvironment] Avoid null access.
  Clear fixed rotation if rotated recents activity becomes top
  Expose MediaExtractor entry point to MediaMetrics
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Move phone ID to extra for action provision
  Combine uids for CpuTimePerUidFreq atom
  Update Visualizer implementation after changes in AudioEffect
  Extend Battery Defender strings chars limit
  add permission check for exported activity
  Send DROPBOX_ENTRY_ADDED to all users
  Add rotary highlight to switches
  Grant CHANGE_DEVICE_IDLE_TEMP_WHITELIST to call log provider.
  Fix issue with saving protos to disk during shutdown.
  Import translations. DO NOT MERGE ANYWHERE
  Update rotary highlight on bordered buttons
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Migrate media output switcher metrics - 1/n
  Use per-user Shell UID for adoptShellPermissionIdentity().
  AudioService: increase audio mode timeout.
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Make AOD battery text field support BatteryDefender
  [SettingsProvider] fix font size scale validator
  [SettingsProvider] fix font size scale validator
  Revert "Ignore to show splash screen if the decorView is not opaque"
  Check isOnScreen for wallpaper target of recents animation
  Allow the System UID to unregister ConnDiags CBs.
  Filter conversation list by current users
  Fix pixel buds icon is empty in output switcher
  [DO NOT MERGE] Fixes CompanionDeviceManagerTest
  DO NOT MERGE Use round highlight for navigation buttons
  [DO NOT MERGE]Fix IndexOutOfBoundsException for TDA stack
  Do not allow non-system dialogs on UsbConfirmAct
  Import translations. DO NOT MERGE ANYWHERE
  Update link for Permissions samples in Javadoc
  Fix wrong target launches in Chooser.
  Import translations. DO NOT MERGE ANYWHERE
  Add back enforceReadPermission for getmetadata
  Import translations. DO NOT MERGE ANYWHERE
  Update CPA startActivity javadoc to refer to passing the result back
  Update SystemUI and SettingsLib battery defender strings
  Import translations. DO NOT MERGE ANYWHERE
  Apply animation for Media Ouput Switcher dialog
  Add dynamic item in output switcher if it is available
  Fix NPE when notification icon is empty
  Fix output switcher didn't show album art
  Add dynamic group operation in output switcher
  Enhancement for group operation in output switcher
  Add dismiss timing for Media Output Dialog
  Update OutputSwitcher from SettingsPanel to MediaOutputDialog in SystemUI
  Add constant for dismiss Settings panel
  Add animation when switching output device
  Add dismiss intent and method for MediaOutputDialog
  Add "Stop" button for remote device
  Add constant for dialog dismiss
  Rename MediaOutDialogReceiver to MediaOutputDialogReceiver
  Add getFeatures() for get device supporting features
  Add a receiver to launch Output Switcher dialog
  Add MediaOutputDialogFactory to create MediaOutputDialog
  Add Media Output Dialog for Output Switcher
  Add controller for Media operation
  Add MediaOutputAdapter for Media device list
  Define strings for output switcher dialog in SystemUI
  Add image utility methods
  Import translations. DO NOT MERGE ANYWHERE
  docs: Mention app query filters on Android 11
  Add new carrier config option for enabling SIP PUBLISH of RCS caps
  Camera: Document behavior when cropRegion and zoomRation conflict
  Use current fullscreen opaque window as insets control target
  Make the visibility of rotated insets up-to-date
  Allow DeviceConfig to change display settings for high zone
  Set fixed fps when ambient or display brightness is high
  Add FakeSettingsProviderRule class
  DO NOT MERGE: Add constant for Output Switcher to start Bluetooth paring page
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Fix ConcurrentModification in onUidStateChanged
  Import translations. DO NOT MERGE ANYWHERE
  Add ART optimization dimension to reportFullyDrawn
  Import translations. DO NOT MERGE ANYWHERE
  Make sure we preserve preserveLegacyExternalStorage.
  Add Null check for mView.findFocus() in ViewRootImpl
  DO NOT MERGE: Enable ENABLE_DYNAMIC_PERMISSIONS depending on MediaProvider.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Ensure insets state for dispatch is processed by policy
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  RESTRICT AUTOMERGE Ensure caller identity is restored in CP quick-path.
  Move all BluetoothCodecConfig and BluetoothCodecStatus APIs moved from the non-SDK API list to the blocklist in Android 11 back to the non-SDK API list.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS without helper method.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Allow only preloaded voice recognition services to blame calling apps.
  Fix unique identifiers best practices links in device ID API docs
  Allow self blames to be trusted
  Add permissions to car shell
  Add READ_DREAM_STATE to the settings list
  Move handleCompleteDeferredRemoval to animator thread
  Add Battery Defender strings to SystemUI and SettingsLib
  Fix potential deadlock in shutdown in HistoricalRegistry
  Ensure caller identity is restored in CP quick-path.
  DO NOT MERGE: Associate notif cancels with notif posts
  Controls UI - RTL for input pin/password
  DO NOT MERGE Update bottom huns container to use HeadsUpContainerView
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Import translations. DO NOT MERGE ANYWHERE
  Run error callback when BiometricPrompt dismissed early
  Do let IME fit invisible insets
  Fix AccessibilityService#getWindows time out
  Add flag to get the name of the Model file from the flag in case we want to try out different models. In addition, we should not log touches in the middle of the screen for logging so moving the block at the very beginning.
  Add package_name to log for debugging the back gesture model.
  Add log entries for the results for the ML model for the back gesture.
  Delete orphaned staging directories for staged session on reboot
  Clean up staged session data on validation failure
  Fix up some camera API javadocs
  Import translations. DO NOT MERGE ANYWHERE
  [DO NOT MERGE] Transition to clear state after gesture cancelation.
  [RESTRICT AUTOMERGE] Fix Keyboard shown after force stopped app package
  Do not power off display on lockNow() on automotive builds.
  Use ML model for the Back Gesture in EdgeBackGestureHandler.
  Allow voice recognition service to blame other apps access.
  Ignore GrantCredentials call with unexpected calling uid.
  Ignore GrantCredentials call with unexpected calling uid.
  Protect GrantCredentialsPermissionActivity against overlay.
  Revert "Ignore GrantCredentials call with unexpected calling uid."
  Protect GrantCredentialsPermissionActivity against overlay.
  BroadcastQueue: temporarily unfreeze for parallel broadcasts
  Fix the focus not move to the place where the finger clicks
  Propagate callingPackage explicitly within CDM
  Don't set timeout when showing CDM UI
  Fix anr when installing package
  Only log first input reader length
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  [DO NOT MERGE] Make GlobalScreenshot PendingIntents immutable
  DO NOT MERGE Prevent isEnabled from mutating state
  FileBridge: fix fd ownership mismanagement.
  Ignore GrantCredentials call with unexpected calling uid.
  Add disconnect message constant Bug: b/171255813 Test: make Change-Id: Ia300b12ecf7d0c1d7d057b48a801b2928354315e
  iorap: Add a DEBUG guide on IORap debugging log.
  Check that Account Parcel has name and type.
  Ignore GrantCredentials call with unexpected calling uid.
  Fix non-dismissible resumption players.
  Grant access to the URI when forwarding intent from InstallStart to InstallInstalling Controls - Large ranges improperly calculated
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  Revoke permission on non-runtime -> runtime upgrade
  Ensure permissions are revoked on state changes
  CPU time min threshold for CpuTimePerUidFreq
  docs: fix "buidler" typos in Typeface.Builder
  Reschedule the pre-reboot verification after boot completed.
  Prevent sessions from resuming once boot is completed
  Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Prevent exceptions in pre-reboot verification from crashing system server
  Only use system gesture insets for exclusion rects with root ime view
  RESTRICT AUTOMERGE
  DO NOT MERGE: Only restore the positions of types which are controlled
  Do not allow uninstalling while an app is pinned
  CachedAppOptimizer: ensure binder is never frozen with app unfrozen
  Introduce INPUT_CONSUMER permission for InputConsumer
  Allow the network stack to read network stats history
  Add MediaMetrics support to MediaParser
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Disable ENABLE_DYNAMIC_PERMISSIONS flag for now to avoid crashes.
  [DO NOT MERGE] Prevent extra sessions owned by staged install from living across restarts
  Prevent exceptions during staged install from crashing system server
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  DO NOT MERGE: Add conditions for Auto to isUserSetupComplete()
  Hide overlays over uninstall confirm dialog
  Hide overlays over uninstall confirm dialog
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  RESTRICT AUTOMERGE Fix CDM package check
  Default dual tone alpha set to 0.3
  Prevent exceptions in pre-reboot verification from crashing system server
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Remove updateIntentVerificationStatusAsUser from ResolverActivity
  Avoid MotionEvent no finish raise unnecessary ANR
  Finish fixed rotation of recents if it is invisible
  Ignore to show splash screen if the decorView is not opaque
  Reland "Distinguish warm/hot launch by whether the activity has attached process"
  Revert "Distinguish warm/hot launch by whether the activity has attached process"
  Distinguish warm/hot launch by whether the activity has attached process
  Import translations. DO NOT MERGE ANYWHERE
  Makes the multi-touch prevention only works for editable TextView.
  Release ICloseHandle instance after announcement listener is unregistered
  initialized carrier_certificate_string_array to an empty array instead of null, so that when a certificate is removed, it is also removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
  Cache network capabilities.
  Import translations. DO NOT MERGE ANYWHERE
  Mark deleteMessageFromIcc() as @UnsupportedAppUsage.
  Handle possible null PlaybackState
  Update require attention in stats pull service
  Change default value for face metrics
  docs: Use correct profile for intent
  Allow permission to change application state
  Import translations. DO NOT MERGE ANYWHERE
  Update ranking for uninflated updated notifs
  Make framework-res dep in stubs explicit
  Ignore orientation from invisible non-activity window
  Doc: Fix typo the right way. Supersedes cl/318172931
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  remove sensitive pii from safetynet logging
  DO NOT MERGE: Revert "Don't let IME window fit status bar"
  Notifications starting paused shall still be subject to timeout.
  Disable player's "Dismiss" button when notification is not dismissible.
  [DO NOT MERGE ] Stop setting flag to enable two-finger passthrough swipes.
  [DO NOT MERGE] Fix Accidently trigger A11y button long pressed
  [RESTRICT AUTOMERGE] Revert "[RESTRICT AUTOMERGE] Revert "Require permission to create trusted displays""
  Typo in the sand icon shape
  Rememeber the last dark mode before shutdown when in auto mode
  Remove accidentally added diff file
  Remove SQLlite log
  [DO NOT MERGE] MultiFingerSwipe: scale touch slop to number of fingers.
  [DO NOT MERGE] Use correct touch slop value for two-finger passthrough.
  [DO NOT MERGE] Fix sometime couldn't trigger A11y button with 3-finger
  [DO NOT MERGE] Fix hardly to perform 3-finger swipe from the bottom
  [DO NOT MERGE] Fix edge swipe logic.
  [DO NOT MERGE] Require both fingers to move before starting two-finger passthrough.
  [DO NOT MERGE] Start dragging where the fingers initially went down.
  [DO NOT MERGE]  Address drag unreliability during touch exploration
  [DO NOT MERGE] Fix crash with multifinger touch exploration
  [DO NOT MERGE] Enable two-finger passthrough swipes.
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Import translations. DO NOT MERGE ANYWHERE
  Media player attempts to dismiss notifications when players removed.
  IdleMaint: run IdleMaint if battery is charging
  Update javadoc for setLaunchDisplayId
  DO NOT MERGE Revoke install permissions when the permission defining app is uninstalled.
  Revoke install permissions when the permission defining app is uninstalled.
  When logging ranking positions, use the number of displayed targets in calculating offset rather than the total number available.
  Flip ENABLE_DYNAMIC_PERMISSIONS, attempt LineageOS#7.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Ignore non test package events for AppStandbyControllerTests
  Camera: Track native metadata allocations
  Allow notfication vibrations in DND
  RESTRICT AUTOMERGE Implement sendBroadcastAsUserMultiplePermissions in BridgeContext.
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  DO NOT MERGE Check fingerprint client against top activity in auth callback
  Notify AppOps when notifications are [un]blocked for an app.
  Validate user-supplied tree URIs in DocumentsProvider calls
  Fix storing the wrong value of mLockdown in setting
  Use shared libdrmframeworkcommon.
  [BACKPORT] Improve location checks in TelephonyRegistry
  [DO NOT MERGE][BACKPORT]Improve location checks in TelephonyRegistry
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  [RESTRICT AUTOMERGE] Fix VrDisplayTest failure
  Backport sendBroadcastAsUserMultiplePermissions to oc-dev
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Make WallpaperMS bind wallpaper component PendingIntent immutable.
  Call DecorView.drawableChanged() in PhoneWindow.setBackgroungDrawable
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Fix the issue provider can be wrong when requesting slice permission
  Do not re-initialize synthetic password
  Fix out of bound error of IncidentService
  Enforce permission checks in getting app exit reasons
  Validate user-supplied URIs in DocumentsProvider calls
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Revoke the uri permission when the file is deleted
  Protect bluetooth.device.action.ALIAS_CHANGED

Conflicts:
	core/java/com/android/internal/app/ChooserActivity.java
	packages/SystemUI/src/com/android/systemui/statusbar/phone/EdgeBackGestureHandler.java
	services/core/java/com/android/server/notification/NotificationManagerService.java

Change-Id: I898282ae459c97f9341dbfa18216045c072a98e5
Signed-off-by: Ali Hasan <[email protected]>
althafvly pushed a commit to LOS-M8916/android_frameworks_base that referenced this pull request Jun 26, 2021
base: Volume Long Press to Skip Tracks [1/2]
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 9, 2023
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 9, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 9, 2023
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 9, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 15, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 17, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 17, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 21, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 21, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 21, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 23, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 26, 2023
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
xenxynon pushed a commit to xenxynon/lineage that referenced this pull request Dec 5, 2024
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
xenxynon pushed a commit to xenxynon/lineage that referenced this pull request Dec 5, 2024
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Dec 10, 2024
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Dec 10, 2024
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Dec 17, 2024
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Dec 17, 2024
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
kshitij-vk pushed a commit to TenX-OS-VIC/frameworks_base that referenced this pull request Dec 27, 2024
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Change-Id: Icba46f4521e11b146461dec67a68a92393a9bba1
Signed-off-by: Pranav Vashi <[email protected]>
Signed-off-by: Aston-Martinn <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jan 27, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jan 27, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
minaripenguin added a commit to unofficial-risingos-backup/android_frameworks_base that referenced this pull request Feb 1, 2025
base: Add minimal support for Richtap vibrations
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Feb 18, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Feb 18, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Mar 13, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Mar 13, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 10, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request May 10, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jun 7, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jun 7, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jun 13, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
MJPollard pushed a commit to AltairROM/android_frameworks_base that referenced this pull request Jun 13, 2025
* i thought this was fixed by dropping HB and freetype modifications but a user reported a sysui crash without logcat nor context so im using my old copy

* addr2line was pointing the NPD [1] to a new instance of SkMemoryStream (if im not mistaken)
minaripenguin@minaripenguin:~/bugreport-oriole-TQ2A.230405.003.E1-2023-04-13-09-02-17/FS/data/tombstones$ addr2line -f -e '/mnt/xxxx/xxxxx/out/target/product/oriole/system/lib/libhwui.so' 000000000024a61c
_ZN14SkMemoryStreamC2E5sk_spI6SkDataE

* to temporarily aid the crash issue, until we find and fix the font that causes the crash, silently swallow the errors since the rom shouldn't booting at all if current font in use has invalid data.

[1]
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
RisingOS Version: '1.0-20230412-UNOFFICIAL-oriole'
Build fingerprint: 'google/oriole/oriole:13/TQ2A.230305.008.E1/9677224:user/release-keys'
Revision: 'MP1.0'
ABI: 'arm64'
Timestamp: 2023-04-13 00:41:15.026955853+0800
Process uptime: 216s
Cmdline: com.android.systemui
pid: 17576, tid: 17613, name: RenderThread  >>> com.android.systemui <<<
uid: 10403
tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b4000074cc5b7e60  x1  00000072ca63fa20  x2  00000072ca63fa20  x3  0000000000000001
    x4  00000072ca63efa0  x5  000000747c59e4bc  x6  00005a120000edab  x7  0000906f00008280
    x8  0000000000000000  x9  56bd015d3f6fc8f6  x10 0000000000000000  x11 000000000000001a
    x12 0000000000000000  x13 b4000074ecbba980  x14 0000000000000033  x15 0000000000000019
    x16 00000075f74ae6a8  x17 00000075fdb0fec0  x18 00000072ca470000  x19 b4000074cc5b7e60
    x20 b4000074cc5b7e88  x21 b4000074cc5b7e60  x22 b40000737c76ae48  x23 b40000737c76ae30
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b4000073cc52f898
    x28 00000072ca547000  x29 00000072ca63f7e0
    lr  00000075eec487e0  sp  00000072ca63f7e0  pc  00000075eec4a61c  pst 0000000020001000

backtrace:
      #00 pc 000000000024a61c  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+108) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#1 pc 00000000002487dc  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#2 pc 000000000025b2a4  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#3 pc 000000000027fdcc  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+348) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#4 pc 0000000000282bdc  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+364) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#5 pc 0000000000272c34  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+580) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#6 pc 0000000000292e9c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+412) (BuildId: f37109e40765e94e2634e351e2ba0981)
      LineageOS#7 pc 0000000000013220  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+416) (BuildId: 536947a6fb111c99b28090cdd95ee772)
      LineageOS#8 pc 00000000000bc1cc  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 7c802f36645db769f96376c94049c9cf)
      LineageOS#9 pc 0000000000055020  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 7c802f36645db769f96376c94049c9cf)

Signed-off-by: minaripenguin <[email protected]>
Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Aug 3, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Aug 3, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Aug 16, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 1, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 1, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 4, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 4, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 5, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 5, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
toukashishigaya pushed a commit to youkai-b/los_fwb that referenced this pull request Sep 7, 2025
Fix NULL deref

```
Cmdline: com.android.systemui
pid: 2530, tid: 2589, name: RenderThread  >>> com.android.systemui <<<
uid: 10293
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000010
Cause: null pointer dereference
    x0  b400007cbe7b8ff0  x1  0000007bf78fb9f0  x2  b400007c8c184898  x3  0000000000000001
    x4  0000007bf78faf80  x5  00000000007f5687  x6  000000001991ade0  x7  0000000000000010
    x8  0000000000000000  x9  43490de4ff9b0700  x10 b400007cbe7b8c00  x11 0000000000000002
    x12 0000000000000000  x13 000000003f800000  x14 000000003f800000  x15 0000000000000000
    x16 0000007d71724720  x17 0000007d57ccdb00  x18 0000007bf7568000  x19 b400007cbe7b8ff0
    x20 b400007cbe7b9018  x21 b400007cbe7b8ff0  x22 b400007cbe280010  x23 b400007cbe280000
    x24 7ffffffffffffff8  x25 1fffffffffffffff  x26 00000000ffffffff  x27 b400007c7e1b0da8
    x28 0000007bf78fc000  x29 0000007bf78fb7a0
    lr  0000007d67aaf330  sp  0000007bf78fb7a0  pc  0000007d67ab1590  pst 0000000020001000

backtrace:
      #00 pc 0000000000253590  /system/lib64/libhwui.so (android::uirenderer::AnimatorManager::pushStaging()+112)
      LineageOS#1 pc 000000000025132c  /system/lib64/libhwui.so (android::uirenderer::AnimationContext::runRemainingAnimations(android::uirenderer::TreeInfo&)+44)
      LineageOS#2 pc 0000000000267664  /system/lib64/libhwui.so (android::uirenderer::AnimationContextBridge::runRemainingAnimations(android::uirenderer::TreeInfo&)+36)
      LineageOS#3 pc 0000000000292720  /system/lib64/libhwui.so (android::uirenderer::renderthread::CanvasContext::prepareTree(android::uirenderer::TreeInfo&, long*, long, android::uirenderer::RenderNode*)+352)
      LineageOS#4 pc 00000000002959c8  /system/lib64/libhwui.so (std::__1::__function::__func<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0, std::__1::allocator<android::uirenderer::renderthread::DrawFrameTask::postAndWait()::$_0>, void ()>::operator()() (.c1671e787f244890c877724752face20)+360)
      LineageOS#5 pc 0000000000282ce4  /system/lib64/libhwui.so (android::uirenderer::WorkQueue::process()+1108)
      LineageOS#6 pc 00000000002a808c  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+556)
      LineageOS#7 pc 0000000000013a14  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+436)
      LineageOS#8 pc 00000000000d07ac  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204)
      LineageOS#9 pc 00000000000567f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
```

Signed-off-by: Pranav Vashi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants