diff options
author | Michael Ayoubi <mayoubi@google.com> | 2022-04-11 23:55:49 +0000 |
---|---|---|
committer | Michael Ayoubi <mayoubi@google.com> | 2022-04-13 21:28:09 +0000 |
commit | b371b9f1aa4f1cc756210936fa11a94c41847f16 (patch) | |
tree | 8faa41f29514b5cc72f2b047450abe4d08aa08a6 | |
parent | 8f1c3091ba8590ac58ff36482dc838c584137c2e (diff) | |
download | gs201-b371b9f1aa4f1cc756210936fa11a94c41847f16.tar.gz |
Add EuiccSupportPixelOverlay
Bug: b/228399053
Test: TH & test on device
Change-Id: I800e02be227f3985b9b56380430914b9352fe4f6
3 files changed, 81 insertions, 0 deletions
diff --git a/rro_overlays/EuiccSupportPixelOverlay/Android.bp b/rro_overlays/EuiccSupportPixelOverlay/Android.bp new file mode 100644 index 0000000..182807b --- /dev/null +++ b/rro_overlays/EuiccSupportPixelOverlay/Android.bp @@ -0,0 +1,18 @@ +package { + // See: http://go/android-license-faq + // A large-scale-change added 'default_applicable_licenses' to import + // all of the 'license_kinds' from "//device/google/gs201:device_google_gs201_license" + // to get the below license kinds: + // SPDX-license-identifier-Apache-2.0 + default_applicable_licenses: [ + "//device/google/gs201:device_google_gs201_license", + ], +} + +runtime_resource_overlay { + name: "EuiccSupportPixelOverlay", + theme: "EuiccSupportPixelOverlay", + certificate: "platform", + sdk_version: "current", + product_specific: true +} diff --git a/rro_overlays/EuiccSupportPixelOverlay/AndroidManifest.xml b/rro_overlays/EuiccSupportPixelOverlay/AndroidManifest.xml new file mode 100644 index 0000000..125aadc --- /dev/null +++ b/rro_overlays/EuiccSupportPixelOverlay/AndroidManifest.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2021 The Android Open Source Project + + 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. +--> +<!-- Pixel specific EuiccSupportPixel overlays --> +<manifest xmlns:android="http://schemas.android.com/apk/res/android" + package="com.google.euiccpixel.overlay.gs201" + android:versionCode="1" + android:versionName="1.0"> + <application android:hasCode="false" /> + <overlay + android:targetPackage="com.google.euiccpixel" + android:isStatic="true" + android:priority="0"/> +</manifest> diff --git a/rro_overlays/EuiccSupportPixelOverlay/res/values/config.xml b/rro_overlays/EuiccSupportPixelOverlay/res/values/config.xml new file mode 100644 index 0000000..7016dd4 --- /dev/null +++ b/rro_overlays/EuiccSupportPixelOverlay/res/values/config.xml @@ -0,0 +1,37 @@ +<?xml version="1.0" encoding="utf-8"?> + +<!-- +/* + * Copyright (C) 2021 The Android Open Source Project + * + * 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="config_state_ready_intent_list"> + <item>intent:#Intent;action=com.google.android.gms.dck.action.SE_STATE_CHANGED;i.com.google.android.gms.dck.extra.SE_STATE=0;end</item> + <item>intent:#Intent;action=com.qorvo.uwb.action.SE_STATE_CHANGED;i.com.qorvo.uwb.extra.SE_STATE=0;end</item> + </string-array> + <string-array name="config_state_busy_intent_list"> + <item>intent:#Intent;action=com.google.android.gms.dck.action.SE_STATE_CHANGED;i.com.google.android.gms.dck.extra.SE_STATE=1;end</item> + <item>intent:#Intent;action=com.qorvo.uwb.action.SE_STATE_CHANGED;i.com.qorvo.uwb.extra.SE_STATE=1;end</item> + </string-array> + <string-array name="config_state_request_intent_list"> + <item>intent:#Intent;action=com.google.android.gms.dck.action.SE_STATE_REQUEST;end</item> + <item>intent:#Intent;action=com.qorvo.uwb.action.SE_STATE_REQUEST;end</item> + </string-array> + <string-array name="config_state_request_permission_list"> + <item>com.google.android.gms.dck.permission.DIGITAL_KEY_PRIVILEGED</item> + <item>com.qorvo.uwb.permission.SE_STATE_REQUEST</item> + </string-array> +</resources> |