OSDN Git Service

Add a deletion helper view for clearing space.
authorDaniel Nishi <dhnishi@google.com>
Mon, 11 Apr 2016 21:08:44 +0000 (14:08 -0700)
committerDaniel Nishi <dhnishi@google.com>
Fri, 15 Apr 2016 16:06:32 +0000 (09:06 -0700)
commita671272bf6a48c2b25e4c3f6e823753df674506f
tree82ffa2188032edf6f70cc94b7113a05cac9c4bc1
parent86f5ad39a817c56bcb79521bdf99c8a91c6e30ba
Add a deletion helper view for clearing space.

This view provides an interface which allows users to clear out
apps and other data which they may no longer need to alleviate
storage pressure. This implementation gives the bits to uninstall
apps which have not been used within the last 60 days from the
system.

A future patch will add in the ability to extend the deletion helper
view to have additional clearing types.

Change-Id: I65cba54ca247d52227e67e2fa9b84fe63fb8ab34
12 files changed:
AndroidManifest.xml
res/layout/app_item.xml
res/menu/storage_volume.xml
res/values/strings.xml
res/xml/deletion_helper_list.xml [new file with mode: 0644]
src/com/android/settings/applications/ManageApplications.java
src/com/android/settings/deletionhelper/AppDeletionPreference.java [new file with mode: 0644]
src/com/android/settings/deletionhelper/AppStateUsageStatsBridge.java [new file with mode: 0644]
src/com/android/settings/deletionhelper/DeletionHelperFragment.java [new file with mode: 0644]
src/com/android/settings/deletionhelper/PackageDeletionTask.java [new file with mode: 0644]
src/com/android/settings/deviceinfo/PrivateVolumeSettings.java
tests/unit/src/com/android/settings/deletionhelper/PackageDeletionTaskTest.java [new file with mode: 0644]