Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6d299d2f authored by Al Sutton's avatar Al Sutton
Browse files

Soft removal LocalTansport#dataManagementLabel

This API was deprecated in Q and so moves to soft-removal in R.

Bug: 134661849
Test: m clobber; m -j and ensure compile completes without errors
Test: atest CtsBackupTestCases
Change-Id: I749bb26155ad63245065d32d82ffe995a7d30fa5
parent 0b77cb99
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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;