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

Commit 3be6795f authored by Steve Kondik's avatar Steve Kondik Committed by Gerrit Code Review
Browse files

Merge "Only modify the view of the bar, if we want to." into froyo

parents a2dc2724 14c5e43f
Loading
Loading
Loading
Loading
+11 −11
Original line number Diff line number Diff line
@@ -2361,8 +2361,7 @@ public class StatusBarService extends IStatusBar.Stub
                }
            } else if (uri.equals(Settings.System.getUriFor(Settings.System.WIDGET_BUTTONS))) {
                setupPowerWidget();
            }

            } else if (uri.equals(Settings.System.getUriFor(Settings.System.EXPANDED_VIEW_WIDGET))) {
                boolean powerWidget = Settings.System.getInt(mContext.getContentResolver(),
                            Settings.System.EXPANDED_VIEW_WIDGET, 1) == 1;
                if(!powerWidget) {
@@ -2372,6 +2371,7 @@ public class StatusBarService extends IStatusBar.Stub
                    mExpandedView.findViewById(R.id.exp_power_stat).
                        setVisibility(View.VISIBLE);
                }
            }
            updateWidget();
        }
    }