am 369c60f9: am 191b91f4: Fixed the blank screen problem when hitting "Set alarm" in dim mode
* commit '369c60f998c1802b778a76f7ded34ccd27df738c':
Fixed the blank screen problem when hitting "Set alarm" in dim mode
diff --git a/src/com/android/deskclock/DeskClock.java b/src/com/android/deskclock/DeskClock.java
index 5f67107..d27bda1 100644
--- a/src/com/android/deskclock/DeskClock.java
+++ b/src/com/android/deskclock/DeskClock.java
@@ -470,6 +470,8 @@
final View.OnClickListener alarmClickListener = new View.OnClickListener() {
@Override
public void onClick(View v) {
+ mDimmed = false;
+ doDim(true);
startActivity(new Intent(DeskClock.this, AlarmClock.class));
}
};