Add a new developer options screen for shared data.
Add a new Storage section in the developer options menu which has a new Shared Data preference. This preference screen shows all shared data blobs on the device. There is also a new screen for each data blob which shows all of the packages which currently have a leases on it. This screen also has a button to delete the shared data blob. Bug: 150626561 Test: make RunSettingsRoboTests ROBOTEST_FILTER=SharedDataPreferenceControllerTest Test: manual (visual) Change-Id: Id84a33dc7eeac493b2f81d3996ad24ee70557a07
This commit is contained in:
@@ -52,6 +52,7 @@ import com.android.settings.development.bluetooth.BluetoothCodecDialogPreference
|
||||
import com.android.settings.development.bluetooth.BluetoothHDAudioPreferenceController;
|
||||
import com.android.settings.development.bluetooth.BluetoothQualityDialogPreferenceController;
|
||||
import com.android.settings.development.bluetooth.BluetoothSampleRateDialogPreferenceController;
|
||||
import com.android.settings.development.storage.SharedDataPreferenceController;
|
||||
import com.android.settings.search.BaseSearchIndexProvider;
|
||||
import com.android.settings.widget.SwitchBar;
|
||||
import com.android.settingslib.core.AbstractPreferenceController;
|
||||
@@ -531,6 +532,7 @@ public class DevelopmentSettingsDashboardFragment extends RestrictedDashboardFra
|
||||
bluetoothA2dpConfigStore));
|
||||
controllers.add(new BluetoothHDAudioPreferenceController(context, lifecycle,
|
||||
bluetoothA2dpConfigStore, fragment));
|
||||
controllers.add(new SharedDataPreferenceController(context));
|
||||
|
||||
return controllers;
|
||||
}
|
||||
|
Reference in New Issue
Block a user