Loading core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -741,4 +741,7 @@ <string name="config_wimaxServiceClassname"></string> <!-- Name of the wimax state tracker clas --> <string name="config_wimaxStateTrackerClassname"></string> <!-- Name of screensaver components to look for if none has been chosen by the user --> <string name="config_defaultDreamComponent">com.google.android.deskclock/com.android.deskclock.Screensaver</string> </resources> packages/SystemUI/AndroidManifest.xml +2 −1 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ <!-- handle dock insertion, launch screensaver instead --> <activity android:name=".DreamsDockLauncher" android:theme="@android:style/Theme.Dialog" android:label="@string/dreams_dock_launcher"> <intent-filter> <action android:name="android.intent.action.MAIN" /> Loading Loading @@ -124,7 +125,7 @@ <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DREAM" /> <!-- <category android:name="android.intent.category.DREAM" />--> </intent-filter> </activity> </application> Loading packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ public class DreamsDockLauncher extends Activity { try { String component = Settings.Secure.getString( getContentResolver(), Settings.Secure.DREAM_COMPONENT); if (component == null) { component = getResources().getString(com.android.internal.R.string.config_defaultDreamComponent); } if (component != null) { ComponentName cn = ComponentName.unflattenFromString(component); Intent zzz = new Intent(Intent.ACTION_MAIN) Loading policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −0 Original line number Diff line number Diff line Loading @@ -3420,6 +3420,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { try { String component = Settings.Secure.getString( mContext.getContentResolver(), Settings.Secure.DREAM_COMPONENT); if (component == null) { component = mContext.getResources().getString(R.string.config_defaultDreamComponent); } if (component != null) { ComponentName cn = ComponentName.unflattenFromString(component); Intent intent = new Intent(Intent.ACTION_MAIN) Loading Loading
core/res/res/values/config.xml +3 −0 Original line number Diff line number Diff line Loading @@ -741,4 +741,7 @@ <string name="config_wimaxServiceClassname"></string> <!-- Name of the wimax state tracker clas --> <string name="config_wimaxStateTrackerClassname"></string> <!-- Name of screensaver components to look for if none has been chosen by the user --> <string name="config_defaultDreamComponent">com.google.android.deskclock/com.android.deskclock.Screensaver</string> </resources>
packages/SystemUI/AndroidManifest.xml +2 −1 Original line number Diff line number Diff line Loading @@ -48,6 +48,7 @@ <!-- handle dock insertion, launch screensaver instead --> <activity android:name=".DreamsDockLauncher" android:theme="@android:style/Theme.Dialog" android:label="@string/dreams_dock_launcher"> <intent-filter> <action android:name="android.intent.action.MAIN" /> Loading Loading @@ -124,7 +125,7 @@ <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.DREAM" /> <!-- <category android:name="android.intent.category.DREAM" />--> </intent-filter> </activity> </application> Loading
packages/SystemUI/src/com/android/systemui/DreamsDockLauncher.java +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,9 @@ public class DreamsDockLauncher extends Activity { try { String component = Settings.Secure.getString( getContentResolver(), Settings.Secure.DREAM_COMPONENT); if (component == null) { component = getResources().getString(com.android.internal.R.string.config_defaultDreamComponent); } if (component != null) { ComponentName cn = ComponentName.unflattenFromString(component); Intent zzz = new Intent(Intent.ACTION_MAIN) Loading
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java +3 −0 Original line number Diff line number Diff line Loading @@ -3420,6 +3420,9 @@ public class PhoneWindowManager implements WindowManagerPolicy { try { String component = Settings.Secure.getString( mContext.getContentResolver(), Settings.Secure.DREAM_COMPONENT); if (component == null) { component = mContext.getResources().getString(R.string.config_defaultDreamComponent); } if (component != null) { ComponentName cn = ComponentName.unflattenFromString(component); Intent intent = new Intent(Intent.ACTION_MAIN) Loading