Removing remaining code around ENABLE_DATABASE_RESTORE
ENABLE_DATABASE_RESTORE feature is already removed Also migrating some tests from BackupRestoreTest to RestoreDbTaskTest Bug: 270392706 Test: Presubmit Flag: N/A Change-Id: I71822bbc2232008b3d2b4b9fbed0db5d889591e4
This commit is contained in:
1 parent
bfb24c7706
commit
eb27546cc3
9 files changed
+132
-482
No files matched your search
@@ -118,21 +118,9 @@ public class ContentWriter {
|
||||
final String[] mSelectionArgs;
|
||||
|
||||
public CommitParams(String where, String[] selectionArgs) {
|
||||
this(LauncherSettings.Favorites.CONTENT_URI, where, selectionArgs);
|
||||
}
|
||||
|
||||
private CommitParams(Uri uri, String where, String[] selectionArgs) {
|
||||
mUri = uri;
|
||||
mUri = LauncherSettings.Favorites.CONTENT_URI;
|
||||
mWhere = where;
|
||||
mSelectionArgs = selectionArgs;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates commit params for backup table.
|
||||
*/
|
||||
public static CommitParams backupCommitParams(String where, String[] selectionArgs) {
|
||||
return new CommitParams(
|
||||
LauncherSettings.Favorites.BACKUP_CONTENT_URI, where, selectionArgs);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user