Enforce the presence of the Indexable interface for Indexing

- check that the Indexable interface has been defined before indexing

Change-Id: Ia61915b2bd1240226ba560ecfd883a115b49da95
This commit is contained in:
Fabrice Di Meglio
2014-07-24 19:53:47 -07:00
parent 1bf89b742d
commit 9a60d7b569
2 changed files with 51 additions and 21 deletions

View File

@@ -63,7 +63,7 @@ import java.util.List;
* Panel showing storage usage on disk for known {@link StorageVolume} returned
* by {@link StorageManager}. Calculates and displays usage of data types.
*/
public class Memory extends SettingsPreferenceFragment implements Indexable{
public class Memory extends SettingsPreferenceFragment implements Indexable {
private static final String TAG = "MemorySettings";
private static final String TAG_CONFIRM_CLEAR_CACHE = "confirmClearCache";