diff --git a/Android.bp b/Android.bp index 8a146c1..dd1f91b 100644 --- a/Android.bp +++ b/Android.bp @@ -116,10 +116,20 @@ android_app { required: [ "privapp_whitelist_com.android.wallpaper", "default_permissions_com.android.wallpaper", - "AospaColorStub", + "ParanoidColorStub", ], } +android_app { + name: "ParanoidColorStub", + manifest: "AndroidManifest-Stub.xml", + resource_dirs: ["res-stub"], + + certificate: "platform", + product_specific: true, + sdk_version: "current", +} + prebuilt_etc { name: "privapp_whitelist_com.android.wallpaper", system_ext_specific: true, diff --git a/AndroidManifest-Stub.xml b/AndroidManifest-Stub.xml new file mode 100644 index 0000000..f578603 --- /dev/null +++ b/AndroidManifest-Stub.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/res-stub/values/arrays.xml b/res-stub/values/arrays.xml new file mode 100644 index 0000000..b6cc040 --- /dev/null +++ b/res-stub/values/arrays.xml @@ -0,0 +1,22 @@ + + + + + + default + blue + purple + red + + + diff --git a/res-stub/values/colors.xml b/res-stub/values/colors.xml new file mode 100644 index 0000000..8baa0e5 --- /dev/null +++ b/res-stub/values/colors.xml @@ -0,0 +1,31 @@ + + + + + + #87d432 + #86d62f + + + #1a73e8 + #1a73e8 + + + #6f24d6 + #dabfff + + + #eb0028 + #eb0028 + + diff --git a/res-stub/values/strings.xml b/res-stub/values/strings.xml new file mode 100644 index 0000000..9ab2903 --- /dev/null +++ b/res-stub/values/strings.xml @@ -0,0 +1,32 @@ + + + + AOSPA Colors + + + Default + @string/default_color_name + + + Blue + @string/blue_color_name + + + Purple + @string/purple_color_name + + + Red + @string/red_color_name + +