Last active
June 17, 2017 15:59
-
-
Save xenon92/8194442 to your computer and use it in GitHub Desktop.
Patch for Carbon ROM KitKat 4.4.2 to fix SystemUI FC on tapping settings gear for autobrightness (frameworks/base)
This file contains 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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hegh