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

Commit 45c0924f authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Fix test build failure

Change-Id: Ic96c2490439a78af2fb92db49b25b67b56954a20
parent 8ff9a156
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -237,7 +237,7 @@ public class ActivityTestMain extends Activity {
                        Log.i(TAG, "Service disconnected " + name);
                    }
                };
                if (bindService(intent, conn, Context.BIND_AUTO_CREATE, 0)) {
                if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.OWNER)) {
                    mConnections.add(conn);
                } else {
                    Toast.makeText(ActivityTestMain.this, "Failed to bind",
@@ -260,7 +260,8 @@ public class ActivityTestMain extends Activity {
                        Log.i(TAG, "Service disconnected " + name);
                    }
                };
                if (bindService(intent, conn, Context.BIND_AUTO_CREATE, mSecondUser)) {
                if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE,
                        new UserHandle(mSecondUser))) {
                    mConnections.add(conn);
                } else {
                    Toast.makeText(ActivityTestMain.this, "Failed to bind",