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

Commit 38b5877b authored by Matthew Ng's avatar Matthew Ng Committed by android-build-merger
Browse files

Merge "Fixes OpaLayoutTest to pass by adding SysuiTestCase (1/2)" into pi-dev am: 4565da3d

am: 49c0761d

Change-Id: I1d89b3c401606b73cc35be562cf83f86ebe64936
parents 1b72628e 49c0761d
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
@@ -228,9 +228,14 @@ public class OverviewProxyService implements CallbackController<OverviewProxyLis
        mHandler.removeCallbacks(mConnectionRunnable);
        Intent launcherServiceIntent = new Intent(ACTION_QUICKSTEP)
                .setPackage(mRecentsComponentName.getPackageName());
        boolean bound = mContext.bindServiceAsUser(launcherServiceIntent,
        boolean bound = false;
        try {
            bound = mContext.bindServiceAsUser(launcherServiceIntent,
                    mOverviewServiceConnection, Context.BIND_AUTO_CREATE,
                    UserHandle.of(mDeviceProvisionedController.getCurrentUser()));
        } catch (SecurityException e) {
            Log.e(TAG_OPS, "Unable to bind because of security error", e);
        }
        if (!bound) {
            // Retry after exponential backoff timeout
            final long timeoutMs = (long) Math.scalb(BACKOFF_MILLIS, mConnectionBackoffAttempts);