Giter VIP home page Giter VIP logo

frameworks_base's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

frameworks_base's Issues

Lag on Expending Notification Panel

On Latest Source available, When try to expend Notification Panel/QS panel, UI gives a Lag. with following error log.

11-28 14:38:18.807 2538 2920 D TelephonyProvider: Using old permission behavior for telephony provider compat 11-28 14:38:18.814 2125 2125 W View : requestLayout() improperly called by StatusBarIconView(slot=mobile icon=null notification=null) during layout: running second layout pass 11-28 14:38:18.814 2125 2125 W View : requestLayout() improperly called by StatusBarIconView(slot=mobile icon=null notification=null) during layout: running second layout pass 11-28 14:38:18.816 2125 2352 I DataUsageUtils: Subscription is not active: -1 11-28 14:38:18.825 2125 2125 D NavigationModeController: getCurrentUserContext: contextUser=0 currentUser=0 11-28 14:38:18.828 2538 2920 D TelephonyProvider: Using old permission behavior for telephony provider compat 11-28 14:38:18.836 2125 2352 D ControlsListingControllerImpl: Subscribing callback, service count: 0 11-28 14:38:18.838 2538 2920 D TelephonyProvider: Using old permission behavior for telephony provider compat 11-28 14:38:18.841 2538 2853 D TelephonyProvider: Using old permission behavior for telephony provider compat

I'm not able to identify why.

Slow system on Redmi Note 10 Pro

Hi! I did the last update on Xiaomi Redmi Note 10 Pro. Since, the system (not when I'm on an app) is extremely slow...
When I reboot my phone, all is okay, but after 5-10 minutes: it's slow again.

Furthermore, I have like "screen refresh" (my screen goes black for half a second then return to normal).

Can those problems be solved?

Lock screen crash on reboot

POCO X3 PRO, Evolution X 7.1, magisk 25.2

When i reboot my phone it crashes on the lock screen (turns on, shows wallpaper and time, turns off the screen, tries again) ~5 times until it reboots to do the same thing again
After it reboots it does the same thing again but when it reboots the second time it boots to recovery (OrangeFox) with errors in the log

Android Rescue Party trigger! Possible solutions? Either:
 1. Wipe caches, and/or
 2. Format data, and/or
 3. Clean-flash your ROM.
 
The reported problem is:
 '--reason=RescueParty'

Full log of that OrangeFox load here: recovery_20220912_212822[2].log

Somehow i was able to fix this by plugging in a USB cable during boot because i was trying to get adb logs.
This bug has actually happened to me twice, the first time i thought it was a lucky patcher bug (patching android), i just didn't think much of it, just wiped /data and continued onwards, but this time i didnt flash anything except the rom and magisk 25.2 stable
If you want any additional logs/details just reply to this issue

Edit: after a few reboots even this work around with the usb cable stopped working

Crash when trying to edit QS

--------- beginning of crash
12-13 16:00:53.629 2161 2161 E AndroidRuntime: FATAL EXCEPTION: main
12-13 16:00:53.629 2161 2161 E AndroidRuntime: Process: com.android.systemui, PID: 2161
12-13 16:00:53.629 2161 2161 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boole
an java.lang.String.startsWith(java.lang.String)' on a null object reference
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.QSTileHost.removeTile(QSTileHost.java
:2)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile.updateConfig(An
tiFlickerTile.java:28)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile.(AntiFlic
kerTile.java:30)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.tiles.AntiFlickerTile_Factory.get(Ant
iFlickerTile_Factory.java:75)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.tileimpl.QSFactoryImpl.createTile(QSF
actoryImpl.java:1222)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.QSTileHost.createTile(QSTileHost.java
:17)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.customize.QSCustomizerController.show
(QSCustomizerController.java:343)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.systemui.qs.QSPanelController$$ExternalSyntheticL
ambda0.run(R8$$SyntheticClass:601)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at android.os.Handler.handleCallback(Handler.java:942)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:99)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7868)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(R
untimeInit.java:548)
12-13 16:00:53.629 2161 2161 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)

if (spec != null) {
...
}

[Privacy related] IMEI and other information exposure

[Privacy related] IMEI and other information exposure
Terminal or other software can access IMEi and other information without obtaining ROOT permission
image

Test ROM version : EvolutionX_4.3_raphael-10.0-20200601-0737-OFFICIAL.zip

image

[feature request] add QS background transparency

Hey there,

Crdroid already supports transparent QS background and it might be a fine addition to EvoX as well. It doesn't need a restart of system UI but is applied instantly and works perfectly fine.

Here is the relevant commits (I tried to find all, but I'm not quite sure if this is the only one required):
crdroidandroid/android_frameworks_base@2c319bd

For the settings app, a commit like this is required:
crdroidandroid/android_packages_apps_crDroidSettings@4322653

Data switch tile always shows SIM 2

I would like to report a bug. If you have two SIM cards and you switch mobile data between them, the QS data switch tile always shows SIM 2. Switching works, but displaying the current SIM card does not work correctly.

EdgeBackGestureHandler.java:1332: error:

frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/gestural/EdgeBackGestureHandler.java:1332: error: method vibrateBack in class EdgeBackGestureHandler cann
ot be applied to given types;
vibrateBack(false /* HEAVY_CLICK */);
^
required: no arguments
found: boolean
reason: actual and formal argument lists differ in length
1 error

Add support for camera keys?

My phone has physical camera key, and the device tree is configured correctly, but camera key is not displayed in the hardware keys interface.

can't create new fingerprint (veux, scanner in power button)

bad new lottie?

12-16 22:22:49.065 22667 22667 E AndroidRuntime: FATAL EXCEPTION: main
12-16 22:22:49.065 22667 22667 E AndroidRuntime: Process: com.android.settings, PID: 22667
12-16 22:22:49.065 22667 22667 E AndroidRuntime: java.lang.IllegalStateException: Unable to parse composition
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieAnimationView$1.onResult(LottieAnimationView.java:74)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieAnimationView$1.onResult(LottieAnimationView.java:67)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieAnimationView$3.onResult(LottieAnimationView.java:91)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieAnimationView$3.onResult(LottieAnimationView.java:84)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieTask.notifyFailureListeners(LottieTask.java:158)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieTask.access$200(LottieTask.java:27)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieTask$1.run(LottieTask.java:133)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at android.os.Handler.handleCallback(Handler.java:942)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at android.os.Handler.dispatchMessage(Handler.java:99)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at android.os.Looper.loopOnce(Looper.java:201)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at android.os.Looper.loop(Looper.java:288)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at android.app.ActivityThread.main(ActivityThread.java:7868)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at java.lang.reflect.Method.invoke(Native Method)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:936)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: Caused by: java.io.EOFException: End of input
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.nextNonWhitespace(JsonUtf8Reader.java:943)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.doPeek(JsonUtf8Reader.java:300)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.parser.moshi.JsonUtf8Reader.beginObject(JsonUtf8Reader.java:136)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.parser.LottieCompositionMoshiParser.parse(LottieCompositionMoshiParser.java:57)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSyncInternal(LottieCompositionFactory.java:353)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromJsonReaderSync(LottieCompositionFactory.java:346)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:276)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromJsonInputStreamSync(LottieCompositionFactory.java:269)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromRawResSync(LottieCompositionFactory.java:232)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory.fromRawResSync(LottieCompositionFactory.java:217)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory$3.call(LottieCompositionFactory.java:201)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at com.airbnb.lottie.LottieCompositionFactory$3.call(LottieCompositionFactory.java:196)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at java.util.concurrent.FutureTask.run(FutureTask.java:264)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
12-16 22:22:49.065 22667 22667 E AndroidRuntime: <----->at java.lang.Thread.run(Thread.java:1012)

Small render issue in Qs tile

A small render time is taken when the qs is expanded fully.. During the render time it is not possible to switch the qs tiles pages..

Observe the colour change in the wifi and Mobile data tile when the qs is expanded

5_6267118623651792980.mp4

f

f

SystemUI sometimes crashes when switching video to full screen.

It is difficult to detect a clear pattern, but it happens a couple of times a day.

Happened when using the YouTube application and the Firefox browser.

Device: sunfish
Version Android: 13
Version Evolution-X: 7.9 Kare-kare

Log
Process: com.android.systemui
PID: 2743
UID: 10474
Frozen: false
Flags: 0x20c8be0d
Package: com.android.systemui v33 (13)
Foreground: No
Process-Runtime: 13049770
Subject: MediaHierarchyManager
Build: google/sunfish/sunfish:13/TQ2A.230505.002/9891397:user/release-keys
Dropped-Count: 0

android.util.Log$TerribleFailure: mediaFrame height is too small for child: 176 vs 506
  at android.util.Log.wtf(Log.java:315)
  at android.util.Log.wtf(Log.java:279)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.updateHostAttachment(MediaHierarchyManager.kt:1070)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.applyState(MediaHierarchyManager.kt:1020)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.applyState$default(MediaHierarchyManager.kt:1000)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.cancelAnimationAndApplyDesiredState(MediaHierarchyManager.kt:995)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.performTransitionToNewLocation(MediaHierarchyManager.kt:773)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.updateDesiredLocation(MediaHierarchyManager.kt:688)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager.access$updateDesiredLocation(MediaHierarchyManager.kt:87)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager$register$1.invoke(MediaHierarchyManager.kt:597)
  at com.android.systemui.media.controls.ui.MediaHierarchyManager$register$1.invoke(MediaHierarchyManager.kt:591)
  at com.android.systemui.media.controls.ui.MediaHost.updateViewVisibility(MediaHost.kt:209)
  at com.android.systemui.media.controls.ui.MediaHost$listener$1.onMediaDataLoaded(MediaHost.kt:92)
  at com.android.systemui.media.controls.pipeline.MediaDataManager$Listener$DefaultImpls.onMediaDataLoaded$default(MediaDataManager.kt:1376)
  at com.android.systemui.media.controls.pipeline.MediaDataFilter.onMediaDataLoaded(MediaDataFilter.kt:116)
  at com.android.systemui.media.controls.pipeline.MediaDataManager$Listener$DefaultImpls.onMediaDataLoaded$default(MediaDataManager.kt:1376)
  at com.android.systemui.media.controls.pipeline.MediaDataCombineLatest.update(MediaDataCombineLatest.kt:91)
  at com.android.systemui.media.controls.pipeline.MediaDataCombineLatest.onMediaDataLoaded(MediaDataCombineLatest.kt:44)
  at com.android.systemui.media.controls.pipeline.MediaDataManager$Listener$DefaultImpls.onMediaDataLoaded$default(MediaDataManager.kt:1376)
  at com.android.systemui.media.controls.pipeline.MediaSessionBasedFilter$dispatchMediaDataLoaded$1.run(MediaSessionBasedFilter.kt:173)
  at android.os.Handler.handleCallback(Handler.java:942)
  at android.os.Handler.dispatchMessage(Handler.java:99)
  at android.os.Looper.loopOnce(Looper.java:201)
  at android.os.Looper.loop(Looper.java:288)
  at android.app.ActivityThread.main(ActivityThread.java:7926)
  at java.lang.reflect.Method.invoke(Native Method)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:942)

Blurred in-app icons in 4.3 EvoX builds

After checking with multiple app versions and comparing with other devices I came to conclusion that this issue is on rom side. Other users are experiencing too. In-app icons look blurry, here is a example of Instagram bottom navigation bar. Hope you can fix this.
Screenshot_20200515-181718384 (1)

Bluetooth audio device connection issues causing lag and cuts

I am experiencing issues with connecting my Bluetooth audio devices, such as my car Bluetooth or my headset. The connection is often laggy and cuts out frequently, which makes it difficult to enjoy music or take calls while on the go.

I have tried troubleshooting the issue by resetting the devices, clearing the Bluetooth cache, and restarting my phone, but the problem persists. I believe this may be a bug related to the Bluetooth connectivity on my phone.

Could you please look into this issue and provide a fix? I would be happy to provide additional information or logs to help diagnose the problem.

Thank you for your help.

frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProviderImpl.kt:40:65: error: unresolved reference: config_fingerprintWakeAndUnl ock

frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProviderImpl.kt:32:8: error: unresolved reference: con
import con.android.internal.R.bool.config_fingerprintWakeAndUnlock
^
frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/FingerprintInteractiveToAuthProviderImpl.kt:40:65: error: unresolved reference: config_fingerprintWakeAndUnl
ock
private val defaultValue = if (context.resources.getBoolean(config_fingerprintWakeAndUnlock)) {

onAuthenticated ID:0

unofficial build for alioth
config_powerButtonFingerprint := true

After several consecutive unlocks with a registered finger, if press with
an unregistered finger, sometimes the screen is unlocked. while in the logs ID:0.

07-11 18:44:53.872 1272 1599 W [email protected]: onAuthenticated(fid=0, gid=0)
07-11 18:44:53.873 1569 1569 V FingerprintService: onAuthenticated(false), ID:0, Owner: com.android.systemui, isBP: false, listener: com.android.server.biometrics.fingerprint.FingerprintService$ServiceListenerImpl@649763a, requireConfirmation: false, user: 0
07-11 18:44:54.269 1272 1598 W [email protected]: onAcquired(6) (23)
07-11 23:23:14.803 0 0 I fpc1020 soc: fingerprint_fpc: fingerdown_wait_set -> enable
07-11 18:44:55.259 1272 1599 W [email protected]: onAcquired(6) (22)
07-11 23:23:15.723 0 0 I fpc1020 soc: fingerprint_fpc: fingerdown_wait_set -> disable
07-11 18:44:55.570 1272 1599 W [email protected]: onAcquired(0) (0)

solution for myself: https://github.com/alex9yust/frameworks_base/commit/a19c17c7f693a2437e341f7f0a737822415c0130

[Feature request] Add haptic effect after back gesture is performed/finished/finger released.

Sorry for duplicated issue, but previous issue #485 is closed unexpectedly. I will re- explain what this issue is for and post a video to show it visually.

The exist setting is not exactly the same thing, that one is a global switch whether gesture have haptic effect at all.

Currently no haptic effect when the gesture is done(mean it by finished, or finger released), i.e. back operation is performed.

For example, you will get 2-times vibratations when back, one on the begining(swipe and hold) and one on the ending(release).

Btw, currently you can get 2-times haptic effect, but when cancelling the gesture, that is one on the begining and one on the cancellation.

The video:
https://github.com/Evolution-X/frameworks_base/assets/40318251/4bd5a2c7-7422-4218-8295-012d816115e9

Bugs that can be seen in pixel fold

This is a very difficult and complex development, and I didn't know where to put the issue, so I am writing it here.

I have implemented EvolutionX in pixel fold (felix) and I have found three major problems.

First, when the pixel fold is put to sleep by closing it, the cover display does not appear when the power button is pressed, and is probably displayed on the main display in the closed state.
After using the main display, if the main display is put to sleep by pressing the power button and then closed, the next time the power button is pressed, the cover display will be shown on the cover display.
Second, when the unit is open, two bars for gestures will appear. Presumably the upper one will be the gesture bar for the cover display.
Screenshot_20240417-041156_設定
Screenshot_20240417-041205_設定

Third, the function to sleep by double-tapping on the lock screen affects the keypad input. This causes it to sleep when typing long passwords at high speed.

I also have a couple of requests.

First, the icon layout in the regular pixel launcher cannot be changed.
I think it would be better to be able to customize the layout to at least 6x6, as a 4x4 layout is too wasteful.

Secondly, I would like to be able to specify not only the number of columns but also the number of rows in the quick settings. when the pixel fold is used open, all notifications are displayed on the right side, so more items can be displayed when it is open.
Currently, there are more items when closed than when open, which is very inconvenient.
Screenshot_20240417-042911_設定
Screenshot_20240417-043204_設定

Thank you for looking through this.

Can't enter TWRP on liber

As the title suggests, trying to enter boot into TWRP on a Motorola One Fusion + (Liber) doesn't seem to work, while it works on Stock Firmware, Evolution X seems to break TWRP.

If you try fastboot boot twrp.img, it sends the required file, tries to boot in TWRP, shows maybe 1-3 seconds of the TWRP splash screen then just turns black.
adb devices does show that the device is in "recovery", so you can either hold the power button to restart or do adb reboot bootloader to get out of it.

I can't confirm if this is a TWRP issue or a Evo X issue, my original intend was to flash another ROM, but I wanted to make a backup first, just in case.

Which leads me to my question, does Evolution-X have an official backup application, that you can restore if you mess up the installation process of another ROM, so you can rollback onto Evolution X, keeping all your User data, App data and such?

Navigation Pill isn't properly aligned

I read another issue saying it was already fixed, but it's not. I'm using Oneplus 8's build and the problem is still there.

Great ROM but this is just obnoxious
189409214-ec98d5d6-d01c-4f49-bbf0-0c6d21e94d82

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.