Add IStatusBar
Change-Id: Ie73d665085d5ce7358c285bf332ef1dc96005d0f
This commit is contained in:
@@ -86,8 +86,8 @@ LOCAL_SRC_FILES += \
|
||||
core/java/android/app/ISearchManager.aidl \
|
||||
core/java/android/app/ISearchManagerCallback.aidl \
|
||||
core/java/android/app/IServiceConnection.aidl \
|
||||
core/java/android/app/IStatusBar.aidl \
|
||||
core/java/android/app/IStatusBarService.aidl \
|
||||
core/java/android/app/IPoo.aidl \
|
||||
core/java/android/app/IThumbnailReceiver.aidl \
|
||||
core/java/android/app/ITransientNotification.aidl \
|
||||
core/java/android/app/IUiModeManager.aidl \
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
package android.app;
|
||||
|
||||
/** @hide */
|
||||
interface IPoo
|
||||
interface IStatusBar
|
||||
{
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
package android.app;
|
||||
|
||||
import android.app.IPoo;
|
||||
import android.app.IStatusBar;
|
||||
|
||||
/** @hide */
|
||||
interface IStatusBarService
|
||||
@@ -30,5 +30,5 @@ interface IStatusBarService
|
||||
void removeIcon(IBinder key);
|
||||
|
||||
// ---- Methods below are for use by the status bar policy services ----
|
||||
void registerStatusBar(IPoo callbacks);
|
||||
void registerStatusBar(IStatusBar callbacks);
|
||||
}
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
package com.android.policy.statusbar.phone;
|
||||
|
||||
import android.app.Service;
|
||||
import android.app.IStatusBar;
|
||||
import android.app.IStatusBarService;
|
||||
import android.app.IPoo;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.graphics.PixelFormat;
|
||||
@@ -68,7 +68,7 @@ public class StatusBarService extends Service {
|
||||
return null;
|
||||
}
|
||||
|
||||
class Bar extends IPoo.Stub {
|
||||
class Bar extends IStatusBar.Stub {
|
||||
}
|
||||
|
||||
// ================================================================================
|
||||
|
||||
@@ -21,8 +21,8 @@ import com.android.internal.util.CharSequences;
|
||||
|
||||
import android.app.ActivityManagerNative;
|
||||
import android.app.Dialog;
|
||||
import android.app.IStatusBar;
|
||||
import android.app.IStatusBarService;
|
||||
import android.app.IPoo;
|
||||
import android.app.PendingIntent;
|
||||
import android.app.StatusBarManager;
|
||||
import android.content.BroadcastReceiver;
|
||||
@@ -422,7 +422,7 @@ public class StatusBarService extends IStatusBarService.Stub
|
||||
"StatusBarService");
|
||||
}
|
||||
|
||||
public void registerStatusBar(IPoo bar) {
|
||||
public void registerStatusBar(IStatusBar bar) {
|
||||
Slog.d(TAG, "registerStatusBar bar=" + bar);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user