Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2314aab5 authored by Joe Onorato's avatar Joe Onorato
Browse files

First pass at splitting the status bar for the different devices.

Change-Id: I2f568df92f88dfe8de18d24dd004239f52761aa6
parent c87d5849
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -87,6 +87,7 @@ LOCAL_SRC_FILES += \
	core/java/android/app/ISearchManagerCallback.aidl \
	core/java/android/app/IServiceConnection.aidl \
	core/java/android/app/IStatusBar.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 \
+23 −0
Original line number Diff line number Diff line
/**
 * Copyright (c) 2007, The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 *
 *     http://www.apache.org/licenses/LICENSE-2.0 
 *
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */
 
package android.app;

/** @hide */
interface IPoo
{
}
+5 −0
Original line number Diff line number Diff line
@@ -16,6 +16,8 @@
 
package android.app;

import android.app.IPoo;

/** @hide */
interface IStatusBar
{
@@ -26,4 +28,7 @@ interface IStatusBar
    IBinder addIcon(String slot, String iconPackage, int iconId, int iconLevel);
    void updateIcon(IBinder key, String slot, String iconPackage, int iconId, int iconLevel);
    void removeIcon(IBinder key);

    // ---- Methods below are for use by the status bar policy services ----
    void registerStatusBar(IPoo callbacks);
}
+13 −0
Original line number Diff line number Diff line
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_MODULE_TAGS := optional

LOCAL_SRC_FILES := $(call all-subdir-java-files)

LOCAL_JAVA_LIBRARIES := services

LOCAL_PACKAGE_NAME := StatusBarPhone
LOCAL_CERTIFICATE := platform

include $(BUILD_PACKAGE)
+22 −0
Original line number Diff line number Diff line
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="com.android.policy.statusbar.phone"
        android:sharedUserId="android.uid.system">

    <application
        android:allowClearUserData="false"
        android:label="@string/app_label"
        android:icon="@drawable/ic_launcher_settings">
                 
        <receiver
            android:name="StatusBarStarter"
            >
            <intent-filter>
                <action android:name="com.android.internal.policy.statusbar.START" />
            </intent-filter>
        </receiver>
        <service
            android:name="StatusBarService"
            android:exported="false"
            />
    </application>
</manifest>
Loading