Refresh storage UI when disk is destroyed.
Otherwise we leave stale items for the user to click on. Bug: 25370499 Change-Id: Ia4492b7fb5a1a722bb92a583344677071ef07bba
This commit is contained in:
committed by
Jeff Sharkey
parent
d4dee3b70d
commit
31691bffd7
@@ -116,6 +116,11 @@ public class StorageSettings extends SettingsPreferenceFragment implements Index
|
||||
refresh();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDiskDestroyed(DiskInfo disk) {
|
||||
refresh();
|
||||
}
|
||||
};
|
||||
|
||||
private static boolean isInteresting(VolumeInfo vol) {
|
||||
|
Reference in New Issue
Block a user