From 960779d3bbc6f2c767432ce48aca1e12cb0093b7 Mon Sep 17 00:00:00 2001 From: John Spurlock Date: Tue, 29 May 2012 14:37:05 -0400 Subject: 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 --- packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/SystemUI/src') 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; -- cgit v1.1