Open
Conversation
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
--------- beginning of crash 05-30 17:19:07.775 7184 7418 E AndroidRuntime: FATAL EXCEPTION: pool-2-thread-1 05-30 17:19:07.775 7184 7418 E AndroidRuntime: Process: com.google.android.connectivitythermalpowermanager, PID: 7184 05-30 17:19:07.775 7184 7418 E AndroidRuntime: java.lang.IllegalStateException: telephony service is null. 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at android.telephony.TelephonyManager.getAllowedNetworkTypesForReason(TelephonyManager.java:9681) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at com.google.android.connectivitythermalpowermanager.power.cellular.decision.PowerManagerDecision.internalApplyCriteriaAllowedNetworkTypes(PowerManagerDecision.java:928) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at com.google.android.connectivitythermalpowermanager.power.cellular.decision.PowerManagerDecision.applyCriteriaAllowedNetworkTypesWithRetry(PowerManagerDecision.java:888) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at com.google.android.connectivitythermalpowermanager.power.cellular.decision.PowerManagerDecision.lambda$applyCriteriaAllowedNetworkTypes$4(PowerManagerDecision.java:905) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at com.google.android.connectivitythermalpowermanager.power.cellular.decision.PowerManagerDecision.$r8$lambda$YOnForDFleFGD2Y5mI1VezN2WgU(PowerManagerDecision.java:0) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at com.google.android.connectivitythermalpowermanager.power.cellular.decision.PowerManagerDecision$$ExternalSyntheticLambda7.run(R8$$SyntheticClass:0) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) 05-30 17:19:07.775 7184 7418 E AndroidRuntime: at java.lang.Thread.run(Thread.java:1012) reference: https://github.com/RisingOS-staging/android_packages_apps_Settings/blob/1e59ca72a0d3a67e86be2d96ec6486189beca50d/src/com/android/settings/network/telephony/cdma/CdmaSystemSelectPreferenceController.java#L69 https://github.com/RisingOS-staging/android_packages_apps_Settings/blob/1e59ca72a0d3a67e86be2d96ec6486189beca50d/src/com/android/settings/network/telephony/PreferredNetworkModePreferenceController.java#L106 Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
07-23 07:16:21.271 E/TelephonyManager(5971): Error calling #isDataEnabled, returning default (false). 07-23 07:16:21.271 E/TelephonyManager(5971): java.lang.IllegalStateException: telephony service is null. 07-23 07:16:21.271 E/TelephonyManager(5971): at android.telephony.TelephonyManager.isDataEnabledForReason(TelephonyManager.java:14334) 07-23 07:16:21.271 E/TelephonyManager(5971): at android.telephony.TelephonyManager.isDataEnabledForReason(TelephonyManager.java:14325) 07-23 07:16:21.271 E/TelephonyManager(5971): at android.telephony.TelephonyManager.isDataEnabled(TelephonyManager.java:11660) 07-23 07:16:21.271 E/TelephonyManager(5971): at fmvz.a(PG:23) 07-23 07:16:21.271 E/TelephonyManager(5971): at fnlc.call(PG:2) 07-23 07:16:21.271 E/TelephonyManager(5971): at java.util.concurrent.FutureTask.run(FutureTask.java:264) 07-23 07:16:21.271 E/TelephonyManager(5971): at fibt.run(PG:1) 07-23 07:16:21.271 E/TelephonyManager(5971): at iino.run(PG:23) 07-23 07:16:21.271 E/TelephonyManager(5971): at fiaw.run(PG:2) 07-23 07:16:21.271 E/TelephonyManager(5971): at java.lang.Thread.run(Thread.java:1012) 07-23 07:16:21.271 E/TelephonyManager(5971): at fiby.run(PG:6) Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
…pherNotificationsEnabled
Shrink the bits of parcel version to extend the MAX_STATS_ARRAY_LENGTH to prevent the OOB of MAX_STATS_ARRAY_LENGTH when the number of cpu frequencies exceeds the original MAX_STATS_ARRAY_LENGTH. Google: 3480310 Change-Id: Iba678056d1ba81b6ddc98eb817721e11bb0499a9
Test: monkey test Flag: EXEMPT bugfix Bug: 395017790 Google: 3482291 Change-Id: I4d6036899969d654aa032c2297933067d8114d5c
Fixes: crdroidandroid/issue_tracker#650 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
8:03.430 2440 2440 E ShadeDialogContextRepo: Couldn't get dialog context for displayId=0. Returning default one 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: java.lang.IllegalStateException: This should be instantiated only when either StatusBarConnectedDisplays or ShadeWindowGoesAround or cursorHotCorner are enabled. 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.display.data.repository.DisplayWindowPropertiesRepositoryImpl.<init>(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:35) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get3(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:715) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:96) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at dagger.internal.DoubleCheck.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:14) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContextOrDefault(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:46) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContext(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:33) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl.getContext$1(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:3) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1$$ExternalSyntheticLambda0.invoke(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:14) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.animation.ActivityTransitionAnimator.startIntentWithAnimation(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:307) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1.run(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:80) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.handleCallback(Handler.java:1041) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.dispatchMessage(Handler.java:103) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.dispatchMessage(Looper.java:315) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loopOnce(Looper.java:251) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loop(Looper.java:349) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at android.app.ActivityThread.main(ActivityThread.java:9067) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at java.lang.reflect.Method.invoke(Native Method) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) 01-06 12:58:03.430 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: Couldn't get dialog context for displayId=0. Returning default one 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: java.lang.IllegalStateException: This should be instantiated only when either StatusBarConnectedDisplays or ShadeWindowGoesAround or cursorHotCorner are enabled. 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.display.data.repository.DisplayWindowPropertiesRepositoryImpl.<init>(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:35) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get3(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:715) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:96) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at dagger.internal.DoubleCheck.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:14) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContextOrDefault(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:46) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContext(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:33) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl.getContext$1(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:3) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1$$ExternalSyntheticLambda0.invoke(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:84) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.animation.ActivityTransitionAnimator.startIntentWithAnimation(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:307) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1.run(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:80) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.handleCallback(Handler.java:1041) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.dispatchMessage(Handler.java:103) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.dispatchMessage(Looper.java:315) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loopOnce(Looper.java:251) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loop(Looper.java:349) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at android.app.ActivityThread.main(ActivityThread.java:9067) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at java.lang.reflect.Method.invoke(Native Method) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) 01-06 12:58:03.434 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: Couldn't get dialog context for displayId=0. Returning default one 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: java.lang.IllegalStateException: This should be instantiated only when either StatusBarConnectedDisplays or ShadeWindowGoesAround or cursorHotCorner are enabled. 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.display.data.repository.DisplayWindowPropertiesRepositoryImpl.<init>(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:35) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get3(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:715) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:96) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at dagger.internal.DoubleCheck.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:14) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContextOrDefault(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:46) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContext(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:33) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl.getContext$1(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:3) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1$$ExternalSyntheticLambda0.invoke(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:92) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.animation.ActivityTransitionAnimator.startIntentWithAnimation(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:307) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1.run(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:80) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.handleCallback(Handler.java:1041) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.dispatchMessage(Handler.java:103) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.dispatchMessage(Looper.java:315) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loopOnce(Looper.java:251) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loop(Looper.java:349) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at android.app.ActivityThread.main(ActivityThread.java:9067) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at java.lang.reflect.Method.invoke(Native Method) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) 01-06 12:58:03.438 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: Couldn't get dialog context for displayId=0. Returning default one 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: java.lang.IllegalStateException: This should be instantiated only when either StatusBarConnectedDisplays or ShadeWindowGoesAround or cursorHotCorner are enabled. 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.display.data.repository.DisplayWindowPropertiesRepositoryImpl.<init>(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:35) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get3(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:715) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.dagger.DaggerReferenceGlobalRootComponent$ReferenceSysUIComponentImpl$SwitchingProvider.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:96) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at dagger.internal.DoubleCheck.get(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:14) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContextOrDefault(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:46) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.shade.domain.interactor.ShadeDialogContextInteractorImpl.getContext(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:33) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl.getContext$1(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:3) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1$$ExternalSyntheticLambda0.invoke(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:100) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.animation.ActivityTransitionAnimator.startIntentWithAnimation(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:307) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.systemui.statusbar.phone.LegacyActivityStarterInternalImpl$startActivityDismissingKeyguard$runnable$1.run(go/retraceme 72c579ceb01122ff1cb014d1b6f305a3c734b2a386d5105a246f105cfb7379b4:80) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.handleCallback(Handler.java:1041) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.os.Handler.dispatchMessage(Handler.java:103) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.dispatchMessage(Looper.java:315) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loopOnce(Looper.java:251) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.os.Looper.loop(Looper.java:349) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at android.app.ActivityThread.main(ActivityThread.java:9067) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at java.lang.reflect.Method.invoke(Native Method) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:593) 01-06 12:58:03.442 2440 2440 E ShadeDialogContextRepo: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:929) Change-Id: I0819895e20ee4abc326920f84f741bb01cdbc070 Signed-off-by: rmp22 <195054967+rmp22@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I480874825319e35d340fc719f8c729bc1a33ed97 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Added NFC tile to default list for supported devicesp Change-Id: I0265865dd6a594889e2f25a3adb499d3a9dc0808 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
@neobuddy89: Updated for A12, A13, A14, A16 Squashed: From: ShevT <evgeny.shishkov@gmail.com> Date: Wed, 23 Feb 2022 22:37:52 +0300 Subject: OnTheGoTile: Fixed refresh state when turning off tile Test: 1) Click on the tile. The On-The-Go mode is activated. The tile becomes active. 2) Click on the tile again. On-The-Go mode turns off. The tile remains active until we close quick settings and reopen. Let's fix this. Change-Id: Ic345f83723a48e3a7d610926fb9b47fab7ef878f Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
[ghostrider-reborn: misc improvements and cleanup]
Squashed commit of the following:
commit 69f86d9a38b5a942e3f9c914895ee45c0079e8e9
Author: maxwen <max.weninger@gmail.com>
Date: Fri Apr 13 03:32:51 2018 +0200
base: SystemUI: stop crashing qs tiles during boot
this triggers my ocd
continues a579c2430f1a0bf088023b4283dcec37776c070d
Change-Id: I31719b595cb50a330f26e25074243e04c06f63c1
Signed-off-by: xyyx <xyyx@mail.ru>
commit f419619c033fa99a809f53aa82dbdd7d6732177c
Author: xyyx <xyyx@mail.ru>
Date: Thu Sep 28 11:55:36 2017 +0800
SoundTile: Change ZEN_MODE_NO_INTERRUPTIONS to ZEN_MODE_ALARMS
Change-Id: I5edaaa4d551630049b29e09d3cecfb5ffd503e99
commit 916645271f57c47d60bb0a04c4e51776b51a18f1
Author: Yoshinori Hirano <yoshinori.hirano@sonymobile.com>
Date: Sun Sep 18 22:33:08 2016 +0200
Add Sound tile to Quick Settings
abc ezio84: adapt to O, show volume panel with long press,
use full dnd (no interruptions) as silent mode
beanstown106: Sound Tile improvements
*added longpress action
*added more descriptive labels for each state instead of always saying sound
ezio84: Adapt for N
Change-Id: I46f4f8cc62683144a9bd714ca67e2a0f46940d96
Change-Id: I178bfa69ff181f0f65f94ffae1444aaea5f21a80
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
[neobuddy89: Do not re-initialize vibtor if already done] Change-Id: I263dde1b4fbe1c6ec6137a247d9804b3fa5eaaae Signed-off-by: Jayant-Deshmukh <jayantdeshmuk008@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
includes all modifications and fixes from P @neobuddy89: Remove redundant DreamManager code Change-Id: I0e6dee53ebcd864a522cfd3d78a5abb253991a9c Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
@neobuddy89: Adapted tile for A13, A14, A16 Change-Id: I84fcdff1c29c0bcd3f85d60b4ccba25288ebbddd Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
@neobuddy89: Adapted tile for A13, A14, A16 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* We now make use of coroutines for periodically reading fps * Added support for controlling fps read interval via overlay * Make sure tile is not available if fps info node is not accessible * Also keep the overlay below statusbar inset Signed-off-by: jhonboy121 <alfredmathew05@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Error handling, mem fixes, enhancements. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
@neobuddy89: * Set default state to inactive * Remove slashed icon * Add check if device supports compass * Disable long click for Compass tile * Code clean up and adapt to Android 13, 14 * Combine compass check in tile itself Squashed: From: timjosten <timjosten@gmail.com> Date: Thu, 18 Aug 2022 18:10:47 +0000 Subject: SystemUI: Fix QS compass tile spam & instability E ViewRootImpl: Accessibility content change on non-UI thread. Future Android versions will throw an exception. E ViewRootImpl: android.view.ViewRootImpl$CalledFromWrongThreadException: Only the original thread that created a view hierarchy can touch its views. E ViewRootImpl: at android.view.ViewRootImpl$SendWindowContentChangedAccessibilityEvent.runOrPost(ViewRootImpl.java:10375) E ViewRootImpl: at android.view.ViewRootImpl.postSendWindowContentChangedCallback(ViewRootImpl.java:9203) E ViewRootImpl: at android.view.ViewRootImpl.notifySubtreeAccessibilityStateChanged(ViewRootImpl.java:9383) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(ViewGroup.java:3847) E ViewRootImpl: at android.view.View.notifySubtreeAccessibilityStateChangedIfNeeded(View.java:14002) E ViewRootImpl: at android.view.View.setRotation(View.java:17015) Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
(rather than where the user is facing)
* Based on OnePlus' OxygenOS tile, reworked to work with AOSP toggling without requirements on proprietary telephony-ext features @neobuddy89: Updated for Android 14 and squashed below - From: DennySPB <dennyspb@gmail.com> Date: Thu, 5 Dec 2019 12:40:17 +0300 Subject: DataSwitchTile: collapse notification panel onClick Change-Id: I37a064c910ea05493b41bdd0123ca3a6aca1f25d Signed-off-by: DennySPB <dennyspb@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: micky387 <mickaelsaibi@free.fr> Date: Wed, 11 Mar 2020 13:36:51 +0100 Subject: DataSwitchTile: dont show toast on click and add drawable for No SIM Change-Id: Ib9d26630879420216e67de1a1e6fc82c5c2ace5e Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: DennySPb <dennyspb@gmail.com> Date: Tue, 17 Nov 2020 11:39:43 +0300 Subject: SystemUI: Show carrier name of opposite slot in DataSwitch tile label make it more user friendly Change-Id: I53094db21fe21b1a4bd9ee76fd28661622eb5e26 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: Ido Ben-Hur <idoybh2@gmail.com> Date: Wed, 14 Jul 2021 01:43:13 +0900 Subject: DataSwitchTile: Improve the code * Get rid of deprecated AsyncTask * Removed unused imports * Finalize global vars * Some other formatting and minor stuff Change-Id: Id3e39c98dac6200301d15bf752f866f47875633d Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: Pranav Vashi <neobuddy89@gmail.com> Date: Mon, 7 Feb 2022 15:06:47 +0530 Subject: DataSwitchTile: Fix issue when subId is non-binary Fixes: #770 Other changes: 1. Collapse QS panel after switching sim. 2. Change drawable to reflect opposite sim number. 3. Move move opposite sim label to secondary level. Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: ShevT <evgeny.shishkov@gmail.com> Date: Sat, 12 Feb 2022 00:02:04 +0300 Subject: DataSwitchTile: Resolve initial tile state After loading the system, we do not see on the tile the telecom operator to which we will switch. Instead, we see "On". And so on until we switch the network. If you pull out one SIM, then the name of the operator to which we could switch to will "freeze" on the tile. Let's fix this. @neobuddy89: Improvise logic and rewrite. Change-Id: I7a4996b48e014825c5452c1259454e9b7c70ce82 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: Joe Maples <joe@maples.dev> Date: Sat, 29 Feb 2020 16:38:14 -0500 Subject: DataSwitchTile: Use Mobile Data panel Change-Id: I9f818eea1ab906bb1721e0aab4cbb138187e507b Signed-off-by: SagarMakhar <sagarmakhar@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: Hernán Castañón Álvarez <herna@paranoidandroid.co> Date: Thu, 4 Jun 2020 19:08:06 +0000 Subject: [PATCH 0533/1200] DataSwitchTile: Update SIMs QS icons * Designed and made by Andrew Fluck. Change-Id: I1b83c360029382a8a1d0598758cddf1634f7d489 Co-authored-by: Andrew Fluck <andrew@aospa.co> Signed-off-by: Hernán Castañón Álvarez <herna@paranoidandroid.co> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: Pranav Vashi <neobuddy89@gmail.com> Date: Sat, 25 Mar 2023 14:16:57 +0530 Subject: DataSwitchTile: Show active sim as tile current state Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Change-Id: Ie2e280c07f24f9da6b4ee218b72501a2713ce429 Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Squashed:
From: Joey Huab <joey@evolution-x.org>
Date: Wed, 18 Mar 2020 16:23:51 +0000
Subject: QS: Use Settings.Panel intent for Volume Tile
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: Ic583c24e304d1edc903127237fc9eb5c7eeb7e4d
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Single tap enables/disables.
Long press opens Smart Pixels settings.
User is not allowed to enable or disable when
Smart Pixels has been auto-enabled on battery saver.
Squashed:
From: Pranav Vashi <neobuddy89@gmail.com>
Date: Sun, 7 Jul 2019 11:56:12 +0530
Subject: Fix long click intent for Smart Pixels tile [1/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I535c84a0ca6360e1db351391e9d0fb9095896ee3
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Initial code based on 11.0 commit 9773423 * Removed detailed adapter - deprecated now. :( * Simplify code and strings * Use location as tile label when enabled * handleClick will open settings when disabled, will open weather app when enabled * handleLongClick will always open settings Squashed: From: minaripenguin <minaripenguin@users.noreply.github.com> Date: Sun, 8 Sep 2024 19:11:39 +0800 Subject: CurrentWeather: Prevent possible memory leak Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> From: minaripenguin <minaripenguin@users.noreply.github.com> Date: Thu, 29 Aug 2024 09:12:16 +0800 Subject: Weather Tile: Launch Omnijaws weather activity if there are no weather apps available Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
…or gracefully Avoids crashing or logging unhandled exceptions when the Bluetooth energy info callback returns an error. This ensures the stats collection proceeds even if BluetoothActivityEnergyInfo is unavailable or fails. E BluetoothPowerStatsCollector: Cannot acquire BluetoothActivityEnergyInfo E BluetoothPowerStatsCollector: java.util.concurrent.ExecutionException: java.lang.RuntimeException: error: 9 E BluetoothPowerStatsCollector: at java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:372) E BluetoothPowerStatsCollector: at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:2072) E BluetoothPowerStatsCollector: at com.android.server.power.stats.BluetoothPowerStatsCollector.collectBluetoothActivityInfo(BluetoothPowerStatsCollector.java:192) E BluetoothPowerStatsCollector: at com.android.server.power.stats.BluetoothPowerStatsCollector.collectStats(BluetoothPowerStatsCollector.java:155) E BluetoothPowerStatsCollector: at com.android.server.power.stats.PowerStatsCollector.collectAndDeliverStats(PowerStatsCollector.java:176) E BluetoothPowerStatsCollector: at com.android.server.power.stats.PowerStatsCollector$$ExternalSyntheticLambda0.run(R8$$SyntheticClass:0) E BluetoothPowerStatsCollector: at android.os.Handler.handleCallback(Handler.java:995) E BluetoothPowerStatsCollector: at android.os.Handler.dispatchMessage(Handler.java:103) E BluetoothPowerStatsCollector: at android.os.Looper.loopOnce(Looper.java:248) E BluetoothPowerStatsCollector: at android.os.Looper.loop(Looper.java:338) E BluetoothPowerStatsCollector: at android.os.HandlerThread.run(HandlerThread.java:85) E BluetoothPowerStatsCollector: Caused by: java.lang.RuntimeException: error: 9 E BluetoothPowerStatsCollector: at com.android.server.power.stats.BluetoothPowerStatsCollector$1.onBluetoothActivityEnergyInfoError(BluetoothPowerStatsCollector.java:181) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothAdapter$OnBluetoothActivityEnergyInfoProxy.lambda$onError$2(BluetoothAdapter.java:1059) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothAdapter$OnBluetoothActivityEnergyInfoProxy$$ExternalSyntheticLambda0.run(D8$$SyntheticClass:0) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothUtils.lambda$executeFromBinder$0(BluetoothUtils.java:343) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothUtils$$ExternalSyntheticLambda1.run(D8$$SyntheticClass:0) E BluetoothPowerStatsCollector: at com.android.server.SystemServerInitThreadPool$$ExternalSyntheticLambda0.execute(R8$$SyntheticClass:0) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothUtils.executeFromBinder(BluetoothUtils.java:343) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothAdapter$OnBluetoothActivityEnergyInfoProxy.onError(BluetoothAdapter.java:1058) E BluetoothPowerStatsCollector: at android.bluetooth.BluetoothAdapter.requestControllerActivityEnergyInfo(BluetoothAdapter.java:2694) E BluetoothPowerStatsCollector: at com.android.server.power.stats.BatteryStatsImpl$BluetoothStatsRetrieverImpl.requestControllerActivityEnergyInfo(BatteryStatsImpl.java:485) E BluetoothPowerStatsCollector: at com.android.server.power.stats.BluetoothPowerStatsCollector.collectBluetoothActivityInfo(BluetoothPowerStatsCollector.java:170) E BluetoothPowerStatsCollector: ... 8 more Change-Id: I143e701db08ab514c9f161445d515542c6a6cf71 Signed-off-by: Arindam Bhattacharjee <abhattacharjee717@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
OmniROM:
From: maxwen <max.weninger@gmail.com>
Date: Wed, 14 Oct 2020 17:17:31 +0200
Subject: [PATCH] SystemUI: qs tiles revenge
-screenshot
[micky387]
* edit to the new A12 Tiles API
* Add secondaryLabel for the long press screenshot tile
From: micky387 <mickaelsaibi@free.fr>
Date: Wed, 14 Dec 2022 13:12:26 +0100
Subject: [PATCH] SystemUI: Update ScreenshotTile after merge
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.