Merge "Soft removal LocalTansport#dataManagementLabel"
This commit is contained in:
committed by
Android (Google) Code Review
commit
c8ae06554b
@@ -16,6 +16,7 @@
|
||||
|
||||
package com.android.localtransport;
|
||||
|
||||
import android.annotation.Nullable;
|
||||
import android.app.backup.BackupAgent;
|
||||
import android.app.backup.BackupDataInput;
|
||||
import android.app.backup.BackupDataOutput;
|
||||
@@ -142,10 +143,17 @@ public class LocalTransport extends BackupTransport {
|
||||
return null;
|
||||
}
|
||||
|
||||
/** @removed Replaced with dataManagementIntentLabel in the API */
|
||||
public String dataManagementLabel() {
|
||||
return TRANSPORT_DATA_MANAGEMENT_LABEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
@Nullable
|
||||
public CharSequence dataManagementIntentLabel() {
|
||||
return TRANSPORT_DATA_MANAGEMENT_LABEL;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String transportDirName() {
|
||||
return TRANSPORT_DIR_NAME;
|
||||
|
||||
Reference in New Issue
Block a user