summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2021-05-04 01:01:47 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-05-04 01:01:47 +0000
commite0583a8ade02e24f6ef46a8bb50f09fd8451c457 (patch)
tree992c02c921df66f2c1cf37f259473b1727368d8e
parentf026376639e8789d0cc10861751a51ec25e26a10 (diff)
parent422ac4325bbb40e0248ae69e8c1bcc2f75bda9f9 (diff)
downloadredfin-e0583a8ade02e24f6ef46a8bb50f09fd8451c457.tar.gz
Snap for 7333400 from 422ac4325bbb40e0248ae69e8c1bcc2f75bda9f9 to sc-release
Change-Id: I0f2eb4710140c6d1587b159e0c82ca4e0275ba62
-rw-r--r--redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/Android.bp25
-rw-r--r--redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/AndroidManifest.xml26
-rw-r--r--redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/config.xml27
-rw-r--r--redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/strings.xml23
-rw-r--r--redfin/overlay/packages/apps/NoCutoutOverlay/Android.bp25
-rw-r--r--redfin/overlay/packages/apps/NoCutoutOverlay/AndroidManifest.xml26
-rw-r--r--redfin/overlay/packages/apps/NoCutoutOverlay/res/values/config.xml36
-rw-r--r--redfin/overlay/packages/apps/NoCutoutOverlay/res/values/strings.xml24
8 files changed, 0 insertions, 212 deletions
diff --git a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/Android.bp b/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/Android.bp
deleted file mode 100644
index 17b278d..0000000
--- a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/Android.bp
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright 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.
-//
-
-package {
- default_applicable_licenses: ["Android-Apache-2.0"],
-}
-
-runtime_resource_overlay {
- name: "AvoidAppsInCutoutOverlay",
- theme: "DisplayCutoutAvoidAppsInCutout",
- product_specific: true,
-}
diff --git a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/AndroidManifest.xml b/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/AndroidManifest.xml
deleted file mode 100644
index e63c5c3..0000000
--- a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/AndroidManifest.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
- ~ 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.
- -->
-
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.internal.display.cutout.emulation.avoidAppsInCutout"
- android:versionCode="1"
- android:versionName="1.0">
- <overlay android:targetPackage="android"
- android:category="com.android.internal.display_cutout_emulation"
- android:priority="0"/>
-
- <application android:label="@string/display_cutout_emulation_overlay" android:hasCode="false"/>
-</manifest>
diff --git a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/config.xml b/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/config.xml
deleted file mode 100644
index 22eabf2..0000000
--- a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/config.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<!--
- ~ 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <!-- Whether the display cutout region of the main built-in display should be forced to
- black in software (to avoid aliasing or emulate a cutout that is not physically existent).
- -->
- <bool name="config_fillMainBuiltInDisplayCutout">false</bool>
-
- <!-- If true, hide the display cutout with display area -->
- <bool name="config_hideDisplayCutoutWithDisplayArea">true</bool>
-
-</resources>
diff --git a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/strings.xml b/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/strings.xml
deleted file mode 100644
index a65fd43..0000000
--- a/redfin/overlay/packages/apps/AvoidAppsInCutoutOverlay/res/values/strings.xml
+++ /dev/null
@@ -1,23 +0,0 @@
-<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <!-- [CHAR_LIMIT=NONE] Developer Settings: Label for the option that masks the display cutout, i.e. avoid apps in cutout region.-->
- <string name="display_cutout_emulation_overlay">Hide (avoid apps in cutout region)</string>
-
-</resources>
-
diff --git a/redfin/overlay/packages/apps/NoCutoutOverlay/Android.bp b/redfin/overlay/packages/apps/NoCutoutOverlay/Android.bp
deleted file mode 100644
index 3f7efa2..0000000
--- a/redfin/overlay/packages/apps/NoCutoutOverlay/Android.bp
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright 2020, 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.
-//
-
-package {
- default_applicable_licenses: ["Android-Apache-2.0"],
-}
-
-runtime_resource_overlay {
- name: "NoCutoutOverlay",
- theme: "DisplayCutoutNoCutout",
- product_specific: true,
-}
diff --git a/redfin/overlay/packages/apps/NoCutoutOverlay/AndroidManifest.xml b/redfin/overlay/packages/apps/NoCutoutOverlay/AndroidManifest.xml
deleted file mode 100644
index fa924bc..0000000
--- a/redfin/overlay/packages/apps/NoCutoutOverlay/AndroidManifest.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-<!--
- ~ Copyright (C) 2020 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.
- -->
-
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
- package="com.android.internal.display.cutout.emulation.noCutout"
- android:versionCode="1"
- android:versionName="1.0">
- <overlay android:targetPackage="android"
- android:category="com.android.internal.display_cutout_emulation"
- android:priority="0"/>
-
- <application android:label="@string/display_cutout_emulation_overlay" android:hasCode="false"/>
-</manifest>
diff --git a/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/config.xml b/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/config.xml
deleted file mode 100644
index 0ed1f4d..0000000
--- a/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/config.xml
+++ /dev/null
@@ -1,36 +0,0 @@
-<!--
- ~ Copyright (C) 2020 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <!-- Whether the display cutout region of the main built-in display should be forced to
- black in software (to avoid aliasing or emulate a cutout that is not physically existent).
- -->
- <bool name="config_fillMainBuiltInDisplayCutout">false</bool>
-
- <!-- If true, and there is a cutout on the main built in display, the cutout will be masked
- by shrinking the display such that it does not overlap the cutout area. -->
- <bool name="config_maskMainBuiltInDisplayCutout">true</bool>
-
- <!-- Height of the status bar -->
- <dimen name="status_bar_height_portrait">28dp</dimen>
- <dimen name="status_bar_height_landscape">28dp</dimen>
-
- <!-- Height of area above QQS where battery/time go (equal to status bar height if > 48dp) -->
- <dimen name="quick_qs_offset_height">48dp</dimen>
- <!-- Total height of QQS (quick_qs_offset_height + 128) -->
- <dimen name="quick_qs_total_height">176dp</dimen>
-</resources>
diff --git a/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/strings.xml b/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/strings.xml
deleted file mode 100644
index b876523..0000000
--- a/redfin/overlay/packages/apps/NoCutoutOverlay/res/values/strings.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- ~ Copyright (C) 2020 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
-
- <!-- [CHAR_LIMIT=NONE] Developer Settings: Label for the option that masks the display cutout,
- i.e. it shrinks the display such that the display cutout is no longer visible.-->
- <string name="display_cutout_emulation_overlay">Hide</string>
-
-</resources>
-