diff options
-rw-r--r-- | AndroidManifest.xml | 8 | ||||
-rw-r--r-- | res/xml/photo_flipper_dream.xml | 3 | ||||
-rw-r--r-- | res/xml/photo_table_dream.xml | 3 |
3 files changed, 10 insertions, 4 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 485a787..deb2b26 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -15,8 +15,8 @@ android:icon="@mipmap/ic_launcher_phototable" android:label="@string/table_screensaver_name"> <meta-data - android:name="android.service.dreams.config_activity" - android:value="com.android.dreams.phototable/.PhotoTableDreamSettings"/> + android:name="android.service.dream" + android:resource="@xml/photo_table_dream" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> @@ -37,8 +37,8 @@ android:icon="@mipmap/ic_launcher_photoframe" android:label="@string/flipper_screensaver_name"> <meta-data - android:name="android.service.dreams.config_activity" - android:value="com.android.dreams.phototable/.FlipperDreamSettings"/> + android:name="android.service.dream" + android:resource="@xml/photo_flipper_dream" /> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> diff --git a/res/xml/photo_flipper_dream.xml b/res/xml/photo_flipper_dream.xml new file mode 100644 index 0000000..a43ce9b --- /dev/null +++ b/res/xml/photo_flipper_dream.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<dream xmlns:android="http://schemas.android.com/apk/res/android" + android:settingsActivity="com.android.dreams.phototable/.FlipperDreamSettings" />
\ No newline at end of file diff --git a/res/xml/photo_table_dream.xml b/res/xml/photo_table_dream.xml new file mode 100644 index 0000000..08d34c6 --- /dev/null +++ b/res/xml/photo_table_dream.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="utf-8"?> +<dream xmlns:android="http://schemas.android.com/apk/res/android" + android:settingsActivity="com.android.dreams.phototable/.PhotoTableDreamSettings" />
\ No newline at end of file |