Splitting System category in Settings > Storage into "Android 14" and "Temporary system files". Android 14 is calculated as StorageStatsManager#getTotalBytes - (size of /data partition). Basically it's the size of all partitions except for the userdata. It also includes the storage rounding which we do to display a nice round storage size (128GB, 256GB, etc). Temporary System Files serves as "Everything else" category that represents all the used storage that didn't fall under any other category. It's the same as how currently "System" category works. Bug: 309801699 Test: atest StorageItemPreferenceControllerTest Test: atest StorageCacheHelperTest Change-Id: Ifae5819bf1d7a1a675df1fa67bd6dcdfa074b584
27 lines
1.5 KiB
XML
27 lines
1.5 KiB
XML
<!--
|
|
~ Copyright (C) 2024 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="24dp"
|
|
android:height="24dp"
|
|
android:viewportWidth="960"
|
|
android:viewportHeight="960"
|
|
android:tint="?android:attr/colorControlNormal">
|
|
<path
|
|
android:fillColor="#FF000000"
|
|
android:pathData="M40,720Q49,613 105.5,523Q162,433 256,380L182,252Q176,243 179,233Q182,223 192,218Q200,213 210,216Q220,219 226,228L300,356Q386,320 480,320Q574,320 660,356L734,228Q740,219 750,216Q760,213 768,218Q778,223 781,233Q784,243 778,252L704,380Q798,433 854.5,523Q911,613 920,720L40,720ZM280,610Q301,610 315.5,595.5Q330,581 330,560Q330,539 315.5,524.5Q301,510 280,510Q259,510 244.5,524.5Q230,539 230,560Q230,581 244.5,595.5Q259,610 280,610ZM680,610Q701,610 715.5,595.5Q730,581 730,560Q730,539 715.5,524.5Q701,510 680,510Q659,510 644.5,524.5Q630,539 630,560Q630,581 644.5,595.5Q659,610 680,610Z"/>
|
|
</vector>
|
|
|