BatteryStatsViewer: Remove some hardcoded strings

Change-Id: If0e6b1a1d32b12201d0acf99913fefed9ab59ecb
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This commit is contained in:
Michael Bestas
2023-01-18 18:59:33 +02:00
committed by Ghosuto
parent 63e4ddeae9
commit 24029c27b5
2 changed files with 12 additions and 3 deletions

View File

@@ -27,9 +27,9 @@
android:theme="@style/Theme"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_round"
android:label="Battery Stats Viewer">
android:label="@string/app_name">
<activity android:name=".BatteryConsumerPickerActivity"
android:label="Battery Stats"
android:label="@string/header"
android:launchMode="singleTop"
android:exported="true">
<intent-filter>
@@ -39,7 +39,7 @@
</activity>
<activity android:name=".BatteryStatsViewerActivity"
android:label="Battery Stats"
android:label="@string/header"
android:parentActivityName=".BatteryConsumerPickerActivity"/>
</application>
</manifest>

View File

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
SPDX-FileCopyrightText: 2023 The Calyx Institute
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<string name="app_name">Battery Stats Viewer</string>
<string name="header">Battery stats</string>
</resources>