Merge "Ignore No Data Changed Notifications"
This commit is contained in:
committed by
Android (Google) Code Review
commit
b3191a3396
@@ -211,6 +211,12 @@ public class LocalTransport extends BackupTransport {
|
||||
|
||||
private int performBackupInternal(
|
||||
PackageInfo packageInfo, ParcelFileDescriptor data, int flags) {
|
||||
if ((flags & BackupTransport.FLAG_DATA_NOT_CHANGED) != 0) {
|
||||
// For unchanged data notifications we do nothing and tell the
|
||||
// caller everything was OK
|
||||
return BackupTransport.TRANSPORT_OK;
|
||||
}
|
||||
|
||||
boolean isIncremental = (flags & FLAG_INCREMENTAL) != 0;
|
||||
boolean isNonIncremental = (flags & FLAG_NON_INCREMENTAL) != 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user