Context: for uninstalled app, we cannot get the package UID, name and icon from the package manager, and the app would be shown as package name and default system icon in the page. For those unknown apps, we will put them into 'Uninstalled app' component for a quick fix. Some lines are changed by auto format, and please ignore it. I will send out a follow up cl to format all battery files. It can improve the productivity if all team members are using the auto-format tool during the development. Before: https://screenshot.googleplex.com/6zmFVgMxHGYMwqH After: https://screenshot.googleplex.com/3cZwrhcE8zhDyfN Test: manual Bug: 264339271 Change-Id: I61a32675a31eefc8fdb1a408fbcebe9a2d6dcd68
34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<!--
|
|
Copyright (C) 2023 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.
|
|
-->
|
|
|
|
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:width="24.0dp"
|
|
android:height="24.0dp"
|
|
android:tint="@color/battery_usage_system_icon_color"
|
|
android:viewportWidth="24.0"
|
|
android:viewportHeight="24.0">
|
|
|
|
<path
|
|
android:fillColor="@android:color/white"
|
|
android:pathData="M15,4V3H9v1H4v2h1v13c0,1.1 0.9,2 2,2h10c1.1,0 2,-0.9 2,-2V6h1V4H15zM17,19H7V6h10V19z" />
|
|
<path
|
|
android:fillColor="@android:color/white"
|
|
android:pathData="M9,8h2v9h-2z" />
|
|
<path
|
|
android:fillColor="@android:color/white"
|
|
android:pathData="M13,8h2v9h-2z" />
|
|
</vector>
|