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
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml
index 5fde3c3..d824f30 100644
--- a/packages/SystemUI/AndroidManifest.xml
+++ b/packages/SystemUI/AndroidManifest.xml
@@ -14,15 +14,13 @@
android:allowClearUserData="false"
android:label="@string/app_label"
android:icon="@drawable/ic_launcher_settings">
-
- <service
- android:name=".statusbar.PhoneStatusBarService"
- android:exported="false"
- />
- <service
- android:name=".statusbar.tablet.TabletStatusBarService"
- android:exported="false"
+ <!-- Broadcast receiver that gets the broadcast at boot time and starts
+ up everything else.
+ TODO: Should have an android:permission attribute
+ -->
+ <service android:name="SystemUIService"
+ android:exported="true"
/>
<activity android:name=".usb.UsbStorageActivity"