diff options
| author | Ashutosh Joshi <ashutoshj@google.com> | 2016-12-27 09:32:49 -0800 |
|---|---|---|
| committer | Ashutosh Joshi <ashutoshj@google.com> | 2016-12-28 13:57:27 -0800 |
| commit | 835da289fad97002fbc419082b8ac927394d9c30 (patch) | |
| tree | 225bd3e48bf932d336cbc40788a915b79ed53e18 /core/java | |
| parent | 4ce798f45fa0d3cd35a420cd5c94f1f28f646283 (diff) | |
Change the name of the contexthub service.
Change the name used by the contexthub service. Specifically, this
change switches from using the "ContexthubService.CONTEXTHUB_SERVICE"
constant to using the "Context.CONTEXTHUB_SERVICE" constant- which is in
line with the other Android services.
Merged-In: I18ae73ed0fda2f938e3233670dc52b5692d321ae
Test: GTS tests pass.
Change-Id: I18ae73ed0fda2f938e3233670dc52b5692d321ae
Diffstat (limited to 'core/java')
| -rw-r--r-- | core/java/android/hardware/location/ContextHubManager.java | 2 |
1 files changed, 1 insertions, 1 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); |
