Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Patch for Carbon ROM KitKat 4.4.2 to fix SystemUI FC on tapping settings gear for autobrightness (frameworks/base)
From 1a1885957db9200be7f4d4e9dfaa84c88b6565c6 Mon Sep 17 00:00:00 2001
From: Shubhang <shubhang92@gmail.com>
Date: Tue, 31 Dec 2013 14:41:27 +0530
Subject: [PATCH] fb: fix SystemUI crash on autobrightness settings
Change-Id: I8bf4b8296c7d4d92d7e262c33371e2befbf04022
---
.../SystemUI/src/com/android/systemui/settings/BrightnessDialog.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/SystemUI/src/com/android/systemui/settings/BrightnessDialog.java b/packages/SystemUI/src/com/android/systemui/settings/BrightnessDialog.java
index 668766b..3a19d3b 100644
--- a/packages/SystemUI/src/com/android/systemui/settings/BrightnessDialog.java
+++ b/packages/SystemUI/src/com/android/systemui/settings/BrightnessDialog.java
@@ -89,7 +89,7 @@ public class BrightnessDialog extends Dialog implements
public void onClick(View view) {
Intent intent = new Intent();
intent.setClassName("com.android.settings",
- "com.android.settings.cyanogenmod.AutoBrightnessSetup");
+ "com.android.settings.carbon.AutoBrightnessSetup");
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK
| Intent.FLAG_ACTIVITY_SINGLE_TOP
| Intent.FLAG_ACTIVITY_CLEAR_TOP
--
1.8.5.2
@ivanick87

This comment has been minimized.

Copy link

ivanick87 commented Jun 17, 2017

Hegh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.