-
Notifications
You must be signed in to change notification settings - Fork 54
Open
Labels
Milestone
Description
Not every user knows how large their /system
partition is.
We could indicate the current space used and available on /system
just like Android itself can show about disk-usage.
UI:
- a multi-colored bar that indicates 3 types: used by ROM + used by GApps + free
- maybe (tooltip) text with human readable size info
Backend:
- fetch partition size, used space and free space of
/system/
- check existence of
/system/etc/g.prop
if it exists and indicates with prop-values that Open GApps installed, check for/system/addon.d/70-gapps.sh
and collect the filepaths listed inlist_files
. - calculate the total filesize of these GApps-related files
- total used space minus these GApps filesize => used by ROM size