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

Commit ef5d594a authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

Merge "Merge "Change the name of the contexthub service." am: fba752e6 am:...

Merge "Merge "Change the name of the contexthub service." am: fba752e6 am: 8a3f7c07 am: cf33fd79" into nyc-mr2-dev-plus-aosp
parents b0ff5e51 3659363d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -391,7 +391,7 @@ public final class ContextHubManager {
    public ContextHubManager(Context context, Looper mainLooper) {
        mMainLooper = mainLooper;

        IBinder b = ServiceManager.getService(ContextHubService.CONTEXTHUB_SERVICE);
        IBinder b = ServiceManager.getService(Context.CONTEXTHUB_SERVICE);
        if (b != null) {
            mContextHubService = IContextHubService.Stub.asInterface(b);

+1 −1
Original line number Diff line number Diff line
@@ -37,7 +37,7 @@ class ContextHubSystemService extends SystemService {
    public void onBootPhase(int phase) {
        if (phase == SystemService.PHASE_SYSTEM_SERVICES_READY) {
            Log.d(TAG, "onBootPhase: PHASE_SYSTEM_SERVICES_READY");
            publishBinderService(ContextHubService.CONTEXTHUB_SERVICE, mContextHubService);
            publishBinderService(Context.CONTEXTHUB_SERVICE, mContextHubService);
        }
    }
}