Add an automatic storage management job service.

This service runs once a day when plugged in when the device has
under 15% free space remaining. If the FeatureFactory has a
storage management job, it runs the job to begin to free up space
on the device.

This is a temporary landing place and will be refactored very
quickly out of Settings.

Bug: 28600825

Change-Id: Id2ebb42a333b3b4e3daef4e50cf985fe055b85c7
This commit is contained in:
Daniel Nishi
2016-05-04 10:08:36 -07:00
parent 74cc9772e9
commit 80c204420b
9 changed files with 237 additions and 2 deletions

View File

@@ -43,4 +43,7 @@
<!--Whether the storage manager exists. -->
<bool name="config_has_storage_manager">false</bool>
<!-- Whether the automatic storage management job should be scheduled. -->
<bool name="enable_automatic_storage_management">false</bool>
</resources>

View File

@@ -7649,4 +7649,7 @@
<!-- Preference title for the automatic storage manager toggle. [CHAR LIMIT=60]-->
<string name="automatic_storage_manager_preference_title">Storage manager</string>
<!-- Automatic storage management service label. [CHAR LIMIT=40]-->
<string name="automatic_storage_manager_service_label">Automatic Storage Management Service</string>
</resources>