diff options
| author | 2016-12-29 01:45:34 +0000 | |
|---|---|---|
| committer | 2016-12-29 01:45:34 +0000 | |
| commit | cf33fd791073fa89826f1bed4a6045083d89bbcc (patch) | |
| tree | a7ec96ce71089e45a35226e272616f0b7119ffad | |
| parent | b12ed1e10f672e21657cfea3d41a47d61564e25a (diff) | |
| parent | 8a3f7c0738ba14c6076891ae1cc82bbdc90ffdf0 (diff) | |
Merge "Change the name of the contexthub service." am: fba752e64c
am: 8a3f7c0738
Change-Id: I02265e27f7245a13cdfc705dba4cd4de33ed0253
| -rw-r--r-- | core/java/android/hardware/location/ContextHubManager.java | 2 | ||||
| -rw-r--r-- | services/core/java/com/android/server/ContextHubSystemService.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/java/android/hardware/location/ContextHubManager.java b/core/java/android/hardware/location/ContextHubManager.java index d4dcacceb761..0c4573b3d7a2 100644 --- a/core/java/android/hardware/location/ContextHubManager.java +++ b/core/java/android/hardware/location/ContextHubManager.java @@ -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); diff --git a/services/core/java/com/android/server/ContextHubSystemService.java b/services/core/java/com/android/server/ContextHubSystemService.java index 1b85632b806c..06abca9c0746 100644 --- a/services/core/java/com/android/server/ContextHubSystemService.java +++ b/services/core/java/com/android/server/ContextHubSystemService.java @@ -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); } } } |