Loading services/core/java/com/android/server/pm/EphemeralResolverConnection.java +6 −2 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ final class EphemeralResolverConnection { /** Intent used to bind to the service */ private final Intent mIntent; private volatile boolean mBindRequested; private IEphemeralResolver mRemoteInstance; public EphemeralResolverConnection(Context context, ComponentName componentName) { Loading Loading @@ -111,8 +112,11 @@ final class EphemeralResolverConnection { return; } if (!mBindRequested) { mBindRequested = true; mContext.bindServiceAsUser(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, UserHandle.SYSTEM); } final long startMillis = SystemClock.uptimeMillis(); while (true) { Loading Loading
services/core/java/com/android/server/pm/EphemeralResolverConnection.java +6 −2 Original line number Diff line number Diff line Loading @@ -56,6 +56,7 @@ final class EphemeralResolverConnection { /** Intent used to bind to the service */ private final Intent mIntent; private volatile boolean mBindRequested; private IEphemeralResolver mRemoteInstance; public EphemeralResolverConnection(Context context, ComponentName componentName) { Loading Loading @@ -111,8 +112,11 @@ final class EphemeralResolverConnection { return; } if (!mBindRequested) { mBindRequested = true; mContext.bindServiceAsUser(mIntent, mServiceConnection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, UserHandle.SYSTEM); } final long startMillis = SystemClock.uptimeMillis(); while (true) { Loading