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

Commit a938714b authored by Jeff Sharkey's avatar Jeff Sharkey Committed by android-build-merger
Browse files

Merge "Avoid restart when inserting/ejecting adopted." into nyc-dev am: c8cc38c8 am: 204eb6bf

am: 747b385c

* commit '747b385c':
  Avoid restart when inserting/ejecting adopted.

Change-Id: I44780451eea0978fb863bf1872d48132ec0ad0ca
parents 006c3add 747b385c
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -18847,10 +18847,15 @@ Slog.v(TAG, ":: stepped forward, applying functor at tag " + parser.getName());
                continue;
            }
            try {
                sm.prepareUserStorage(volumeUuid, user.id, user.serialNumber, flags);
                synchronized (mInstallLock) {
                    reconcileAppsDataLI(volumeUuid, user.id, flags);
                }
            } catch (IllegalStateException e) {
                // Device was probably ejected, and we'll process that event momentarily
                Slog.w(TAG, "Failed to prepare storage: " + e);
            }
        }
        synchronized (mPackages) {