Bring back Android Dreams.
Bug: 5121105 Change-Id: I29ddee7e4a83a01844cdb735de14c02dcbf3086c
This commit is contained in:
@@ -40,12 +40,10 @@
|
|||||||
android:entries="@array/screen_timeout_entries"
|
android:entries="@array/screen_timeout_entries"
|
||||||
android:entryValues="@array/screen_timeout_values" />
|
android:entryValues="@array/screen_timeout_values" />
|
||||||
|
|
||||||
<!--
|
|
||||||
<PreferenceScreen
|
<PreferenceScreen
|
||||||
android:title="@string/dream_settings_title"
|
android:title="@string/dream_settings_title"
|
||||||
android:summary="@string/dream_settings_summary"
|
android:summary="@string/dream_settings_summary"
|
||||||
android:fragment="com.android.settings.DreamSettings" />
|
android:fragment="com.android.settings.DreamSettings" />
|
||||||
-->
|
|
||||||
|
|
||||||
<ListPreference
|
<ListPreference
|
||||||
android:key="font_size"
|
android:key="font_size"
|
||||||
|
@@ -67,7 +67,7 @@ public class DreamTesterPreference extends Preference {
|
|||||||
.setComponent(cn)
|
.setComponent(cn)
|
||||||
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
|
||||||
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
|
| Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
|
||||||
| Intent.FLAG_ACTIVITY_SINGLE_TOP)
|
)
|
||||||
.putExtra("android.dreams.TEST", true);
|
.putExtra("android.dreams.TEST", true);
|
||||||
getContext().startActivity(intent);
|
getContext().startActivity(intent);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user