Loading src/com/android/server/telecom/CallScreeningServiceHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,8 @@ public class CallScreeningServiceHelper { if (context.bindServiceAsUser( intent, serviceConnection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SCHEDULE_LIKE_TOP_APP, UserHandle.CURRENT)) { Log.d(TAG, "bindService, found service, waiting for it to connect"); return true; Loading tests/src/com/android/server/telecom/tests/CallScreeningServiceFilterTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,8 @@ public class CallScreeningServiceFilterTest extends TelecomTestCase { .forClass(ServiceConnection.class); verify(mContext, timeout(CallScreeningServiceFilter.CALL_SCREENING_FILTER_TIMEOUT)) .bindServiceAsUser(intentCaptor.capture(), serviceCaptor.capture(), eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SCHEDULE_LIKE_TOP_APP), eq(UserHandle.CURRENT)); Intent capturedIntent = intentCaptor.getValue(); Loading Loading
src/com/android/server/telecom/CallScreeningServiceHelper.java +2 −1 Original line number Diff line number Diff line Loading @@ -210,7 +210,8 @@ public class CallScreeningServiceHelper { if (context.bindServiceAsUser( intent, serviceConnection, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE, Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SCHEDULE_LIKE_TOP_APP, UserHandle.CURRENT)) { Log.d(TAG, "bindService, found service, waiting for it to connect"); return true; Loading
tests/src/com/android/server/telecom/tests/CallScreeningServiceFilterTest.java +2 −1 Original line number Diff line number Diff line Loading @@ -395,7 +395,8 @@ public class CallScreeningServiceFilterTest extends TelecomTestCase { .forClass(ServiceConnection.class); verify(mContext, timeout(CallScreeningServiceFilter.CALL_SCREENING_FILTER_TIMEOUT)) .bindServiceAsUser(intentCaptor.capture(), serviceCaptor.capture(), eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE), eq(Context.BIND_AUTO_CREATE | Context.BIND_FOREGROUND_SERVICE | Context.BIND_SCHEDULE_LIKE_TOP_APP), eq(UserHandle.CURRENT)); Intent capturedIntent = intentCaptor.getValue(); Loading