diff options
author | Dianne Hackborn <hackbod@google.com> | 2012-09-28 16:31:34 -0700 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2012-09-28 17:42:39 -0700 |
commit | be87e2f5885b28145a788fd31d1fb5ae88a71100 (patch) | |
tree | e589ae24e57db702157f7fcd390335049eabf0ea /packages | |
parent | 106a69271dd303baae1c428e269e1ec62994ff57 (diff) | |
download | frameworks_base-be87e2f5885b28145a788fd31d1fb5ae88a71100.zip frameworks_base-be87e2f5885b28145a788fd31d1fb5ae88a71100.tar.gz frameworks_base-be87e2f5885b28145a788fd31d1fb5ae88a71100.tar.bz2 |
Fix issue #7255954: API Review: rename Dream to DreamService
Change-Id: I89ecf2c3ec4fef09c0495aa68de11576f9cfd872
Diffstat (limited to 'packages')
4 files changed, 7 insertions, 8 deletions
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index eb8a5ff..3b40fba 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -198,9 +198,8 @@ android:enabled="false" > <intent-filter> - <action android:name="android.intent.action.MAIN" /> + <action android:name="android.service.dreams.DreamService" /> <category android:name="android.intent.category.DEFAULT" /> - <category android:name="android.intent.category.DREAM" /> </intent-filter> </service> diff --git a/packages/SystemUI/src/com/android/systemui/BeanBagDream.java b/packages/SystemUI/src/com/android/systemui/BeanBagDream.java index 6b5c9c0..3bb808f 100644 --- a/packages/SystemUI/src/com/android/systemui/BeanBagDream.java +++ b/packages/SystemUI/src/com/android/systemui/BeanBagDream.java @@ -1,10 +1,10 @@ package com.android.systemui; -import android.service.dreams.Dream; +import android.service.dreams.DreamService; import com.android.systemui.BeanBag.Board; -public class BeanBagDream extends Dream { +public class BeanBagDream extends DreamService { private Board mBoard; diff --git a/packages/SystemUI/src/com/android/systemui/Somnambulator.java b/packages/SystemUI/src/com/android/systemui/Somnambulator.java index 8e3ce3b..011bf9c 100644 --- a/packages/SystemUI/src/com/android/systemui/Somnambulator.java +++ b/packages/SystemUI/src/com/android/systemui/Somnambulator.java @@ -22,7 +22,7 @@ import android.os.RemoteException; import android.os.ServiceManager; import android.os.UserHandle; import android.provider.Settings; -import android.service.dreams.Dream; +import android.service.dreams.DreamService; import android.service.dreams.IDreamManager; import android.util.Slog; @@ -69,7 +69,7 @@ public class Somnambulator extends Activity { Slog.i(TAG, "Dreams currently disabled for docks."); } else { IDreamManager somnambulist = IDreamManager.Stub.asInterface( - ServiceManager.checkService(Dream.DREAM_SERVICE)); + ServiceManager.checkService(DreamService.DREAM_SERVICE)); if (somnambulist != null) { try { Slog.v(TAG, "Dreaming on " + (docked ? "dock insertion" : "user request")); diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java index e084368..3fea0a0 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBar.java @@ -46,7 +46,7 @@ import android.os.ServiceManager; import android.os.SystemClock; import android.os.UserHandle; import android.provider.Settings; -import android.service.dreams.Dream; +import android.service.dreams.DreamService; import android.service.dreams.IDreamManager; import android.util.DisplayMetrics; import android.util.Log; @@ -265,7 +265,7 @@ public class PhoneStatusBar extends BaseStatusBar { .getDefaultDisplay(); mDreamManager = IDreamManager.Stub.asInterface( - ServiceManager.checkService(Dream.DREAM_SERVICE)); + ServiceManager.checkService(DreamService.DREAM_SERVICE)); super.start(); // calls createAndAddWindows() |