OSDN Git Service

Add an Activity to handle Intents to invoke the Deletion Helper.
authorDaniel Nishi <dhnishi@google.com>
Wed, 4 May 2016 01:00:49 +0000 (18:00 -0700)
committerDaniel Nishi <dhnishi@google.com>
Sat, 14 May 2016 00:03:30 +0000 (17:03 -0700)
commit287d91181f70c990e1d961eedf13676f2451a169
treeaa959fa519e24754787ca8512aa1b460f410c86b
parentf4ffd6daff1a626d196e30cdebcbf913f936714e
Add an Activity to handle Intents to invoke the Deletion Helper.

This will allow apps to launch the deletion helper when they need to
have space freed up.

To launch the activity using an intent, you can set it as follows:
Intent intent = new Intent(Settings.ACTION_DELETION_HELPER_SETTINGS);
startActivity(intent);

This intent should bring up the Deletion Helper.

Bug: 28675265
Change-Id: I781615ccad4ca1fcae97817ecb823e5dcad67b5b
AndroidManifest.xml
src/com/android/settings/Settings.java
src/com/android/settings/SettingsActivity.java