sm6375-common: Add TurboPowerOverlays from stock
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com> Co-authored-by: Naxo79 <nacho79.garcia@gmail.com> Change-Id: Ia262182e86757e16ac6e06d37aa59c0683f98943 Signed-off-by: Naxo79 <nacho79.garcia@gmail.com>
This commit is contained in:
12
resource-overlay/motorola/Android.bp
Normal file
12
resource-overlay/motorola/Android.bp
Normal file
@@ -0,0 +1,12 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
phony {
|
||||
name: "TurboPowerOverlay",
|
||||
required: [
|
||||
"TurboPowerOverlaySettingsLib",
|
||||
"TurboPowerOverlaySystemUI",
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TurboPowerOverlaySettingsLib",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.lineageos.lineageparts.overlay.motorola">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetPackage="org.lineageos.lineageparts" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- [CHAR_LIMIT=20] Battery use screen. Battery status shown in chart label when charging speed is fast. -->
|
||||
<string name="battery_info_status_charging_fast">TurboPower connected</string>
|
||||
</resources>
|
||||
9
resource-overlay/motorola/TurboPowerSystemUI/Android.bp
Normal file
9
resource-overlay/motorola/TurboPowerSystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "TurboPowerOverlaySystemUI",
|
||||
vendor: true,
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.systemui.overlay.motorola">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="500"
|
||||
android:targetPackage="com.android.systemui" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower conectado</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- When the lock screen is showing and the phone plugged in, and the battery
|
||||
is not fully charged, and it's plugged into a fast charger, say that it's charging fast. -->
|
||||
<string name="keyguard_plugged_in_charging_fast"><xliff:g id="percentage">%s</xliff:g> • TurboPower connected</string>
|
||||
</resources>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower conectado (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> hasta la carga completa)</string>
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower conectado (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> até a carga completa)</string>
|
||||
</resources>
|
||||
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indication on the keyguard that is shown when the device is charging rapidly. Should match keyguard_plugged_in_charging_fast [CHAR LIMIT=50]-->
|
||||
<string name="keyguard_indication_charging_time_fast"><xliff:g id="percentage">%2$s</xliff:g> • TurboPower connected (<xliff:g id="charging_time_left" example="4 hours and 2 minutes">%1$s</xliff:g> until full)</string>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user