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

Commit e4a8483b 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

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

Change-Id: If2d05f0f06f76a4df6a2ca476abb5c78095f774f
parents 732c9e0e c8cc38c8
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -18838,10 +18838,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) {