summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src
diff options
context:
space:
mode:
authorJohn Spurlock <jspurlock@google.com>2012-05-29 14:37:05 -0400
committerJohn Spurlock <jspurlock@google.com>2012-05-29 18:19:57 -0400
commit960779d3bbc6f2c767432ce48aca1e12cb0093b7 (patch)
tree7f992265b22bf9e547aae6e4daf856949b5609e6 /packages/SystemUI/src
parent48c22c84c089213dda6495fbdeb384e400c7c5c5 (diff)
downloadframeworks_base-960779d3bbc6f2c767432ce48aca1e12cb0093b7.zip
frameworks_base-960779d3bbc6f2c767432ce48aca1e12cb0093b7.tar.gz
frameworks_base-960779d3bbc6f2c767432ce48aca1e12cb0093b7.tar.bz2
Dock: Renable desk-dock apps
Revert to pre-dreams behavior. DeskClock once again launches the correct activity (instead of Screensaver) when desk-dock is attached. Bug: 6559590 Change-Id: I32a03a25469f17b5e87e16831839ec757d56c90b
Diffstat (limited to 'packages/SystemUI/src')
-rw-r--r--packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java b/packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java
index 1db2a7f..73249b4 100644
--- a/packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java
+++ b/packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java
@@ -58,8 +58,8 @@ public class DreamsDockLauncher extends Activity {
@Override
public void onReceive(Context context, Intent intent) {
final boolean activateOnDock = 0 != Settings.Secure.getInt(
- context.getContentResolver(),
- Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, 1);
+ context.getContentResolver(),
+ Settings.Secure.SCREENSAVER_ACTIVATE_ON_DOCK, 0);
if (!activateOnDock) return;