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

Commit 1c95ecb4 authored by Joe Onorato's avatar Joe Onorato
Browse files

recombine StatusBarService and PhoneStatusBarService

Change-Id: I64178209985bfac283740d6a667211d2f962f71a
parent b54ef614
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
    <!-- Component to be used as the status bar service.  Must implement the IStatusBar
         interface.  This name is in the ComponentName flattened format (package/class)  -->
    <string name="config_statusBarComponent">com.android.systemui/com.android.systemui.statusbar.PhoneStatusBarService</string>
    <string name="config_statusBarComponent">com.android.systemui/com.android.systemui.statusbar.StatusBarService</string>

    <!-- Do not translate. Defines the slots for the right-hand side icons.  That is to say, the
         icons in the status bar that are not notifications. -->
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@
        android:icon="@drawable/ic_launcher_settings">
                 
        <service
            android:name=".statusbar.PhoneStatusBarService"
            android:name=".statusbar.StatusBarService"
            android:exported="false"
            />

+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ import android.widget.LinearLayout;


public class CloseDragHandle extends LinearLayout {
    PhoneStatusBarService mService;
    StatusBarService mService;

    public CloseDragHandle(Context context, AttributeSet attrs) {
        super(context, attrs);
+3 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ import android.util.Slog;


public class ExpandedView extends LinearLayout {
    PhoneStatusBarService mService;
    StatusBarService mService;
    int mPrevHeight = -1;

    public ExpandedView(Context context, AttributeSet attrs) {
@@ -50,10 +50,10 @@ public class ExpandedView extends LinearLayout {
         super.onLayout(changed, left, top, right, bottom);
         int height = bottom - top;
         if (height != mPrevHeight) {
             //Slog.d(PhoneStatusBarService.TAG, "height changed old=" + mPrevHeight
             //Slog.d(StatusBarService.TAG, "height changed old=" + mPrevHeight
             //     + " new=" + height);
             mPrevHeight = height;
             mService.updateExpandedViewPos(PhoneStatusBarService.EXPANDED_LEAVE_ALONE);
             mService.updateExpandedViewPos(StatusBarService.EXPANDED_LEAVE_ALONE);
         }
     }
}
+0 −1545

File deleted.

Preview size limit exceeded, changes collapsed.

Loading