Refactor SystemUI so the status bar isn't a Service of its own.

There is now one SystemUIService, which starts the status bar service.
Pretty soon there will be other things running in here too.  This way
we don't need to have each of them started by something individually.

This also moves the choice between tablet and phone status bar into
SystemUI.apk, which seems like a much better place for it.

Change-Id: Ib69ef2f43d648764f8dbb52008f5d036a1ee07d9
This commit is contained in:
Joe Onorato
2010-10-21 11:09:02 -04:00
parent 10e370c689
commit f3c3c4fd14
14 changed files with 280 additions and 143 deletions

View File

@@ -110,22 +110,6 @@ public class StatusBarManagerService extends IStatusBarService.Stub
mNotificationCallbacks = listener;
}
// ================================================================================
// Constructing the view
// ================================================================================
public void systemReady() {
}
public void systemReady2() {
ComponentName cn = ComponentName.unflattenFromString(
mContext.getString(com.android.internal.R.string.config_statusBarComponent));
Intent intent = new Intent();
intent.setComponent(cn);
Slog.i(TAG, "Starting service: " + cn);
mContext.startService(intent);
}
// ================================================================================
// From IStatusBarService
// ================================================================================