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

Commit 66cd9877 authored by Joël Stemmer's avatar Joël Stemmer Committed by Android (Google) Code Review
Browse files

Merge "Update language to comply with Android's inclusive language guidance"

parents 1f2b43b4 3a4c61e5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -919,7 +919,7 @@ public abstract class BackupAgent extends ContextWrapper {

    /**
     * Only specialized platform agents should overload this entry point to support
     * restores to crazy non-app locations.
     * restores to non-app locations.
     * @hide
     */
    protected void onRestoreFile(ParcelFileDescriptor data, long size,
+1 −1
Original line number Diff line number Diff line
@@ -2307,7 +2307,7 @@ public class UserBackupManagerService {
    public void enqueueFullBackup(String packageName, long lastBackedUp) {
        FullBackupEntry newEntry = new FullBackupEntry(packageName, lastBackedUp);
        synchronized (mQueueLock) {
            // First, sanity check that we aren't adding a duplicate.  Slow but
            // First, check that we aren't adding a duplicate.  Slow but
            // straightforward; we'll have at most on the order of a few hundred
            // items in this list.
            dequeueFullBackupLocked(packageName);
+1 −1
Original line number Diff line number Diff line
@@ -379,7 +379,7 @@ public class FullRestoreEngine extends RestoreEngine {
                        }
                    }

                    // Sanity check: make sure we never give data to the wrong app.  This
                    // Make sure we never give data to the wrong app.  This
                    // should never happen but a little paranoia here won't go amiss.
                    if (okay && !pkg.equals(mAgentPackage)) {
                        Slog.e(TAG, "Restoring data for " + pkg