Import ParanoidColorStub
* taken from https://github.com/AOSPA/android_vendor_pa/tree/ruby/overlay/AOSPAOverlayStub Change-Id: Ie957ce393e89d58fe345b3a4fd9ae3ea70722418 Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
This commit is contained in:
parent
cbe99ac0d5
commit
d50f53cb30
12
Android.bp
12
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,
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="co.aospa.colorstub">
|
||||
|
||||
<application android:label="@string/app_name" />
|
||||
|
||||
</manifest>
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2022 Paranoid Android
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<string-array name="color_bundles">
|
||||
<item>default</item>
|
||||
<item>blue</item>
|
||||
<item>purple</item>
|
||||
<item>red</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2022 Paranoid Android
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Default -->
|
||||
<color name="color_primary_default">#87d432</color>
|
||||
<color name="color_secondary_default">#86d62f</color>
|
||||
|
||||
<!-- Blue -->
|
||||
<color name="color_primary_blue">#1a73e8</color>
|
||||
<color name="color_secondary_blue">#1a73e8</color>
|
||||
|
||||
<!-- Purple -->
|
||||
<color name="color_primary_purple">#6f24d6</color>
|
||||
<color name="color_secondary_purple">#dabfff</color>
|
||||
|
||||
<!-- Red -->
|
||||
<color name="color_primary_red">#eb0028</color>
|
||||
<color name="color_secondary_red">#eb0028</color>
|
||||
|
||||
</resources>
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2022 Paranoid Android
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<resources>
|
||||
<string name="app_name">AOSPA Colors</string>
|
||||
|
||||
<!-- Default -->
|
||||
<string name="default_color_name">Default</string>
|
||||
<string name="bundle_name_default">@string/default_color_name</string>
|
||||
|
||||
<!-- Blue -->
|
||||
<string name="blue_color_name">Blue</string>
|
||||
<string name="bundle_name_blue">@string/blue_color_name</string>
|
||||
|
||||
<!-- Purple -->
|
||||
<string name="purple_color_name">Purple</string>
|
||||
<string name="bundle_name_purple">@string/purple_color_name</string>
|
||||
|
||||
<!-- Red -->
|
||||
<string name="red_color_name">Red</string>
|
||||
<string name="bundle_name_red">@string/red_color_name</string>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue