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

Commit 4992b422 authored by Sven Dawitz's avatar Sven Dawitz
Browse files

Tablet tweaks: fixing two minor issues

- Date shown again for phone devices
- The HideButtonEnabler handles app-start-app fullscreen events better

Change-Id: Idc99b4be739bb3d10b00028a87e5f7e8b346436f
parent 967f40d2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -373,7 +373,7 @@ public class CmStatusBarView extends StatusBarView {
                e=getEntryByPid(current.pid);
            if(e!=null){
                ComponentName c=getActivityForApp(current);
                if(c!=null && (c.compareTo(e.Activity)==0)){
                if(c==null || (c.compareTo(e.Activity)==0)){
                    if(DEBUG) Slog.i(TAG, "HideButtonEnabler - currentFgApp[NAME/PID/ACTIVITY]: " + current.processName +
                            "/" + current.pid + "/" + c.toShortString() + " Retrieved Entry[NAME/PID/ACTIVITY]:"
                            + e.ProcessInfo.processName + "/" + e.ProcessInfo.pid + "/" + e.Activity.toShortString());
+1 −1
Original line number Diff line number Diff line
@@ -1432,7 +1432,7 @@ public class StatusBarService extends Service implements CommandQueue.Callbacks
    }

    void setDateViewVisibility(boolean visible, int anim) {
        if(mButtonsLeft)
        if(mHasSoftButtons && mButtonsLeft)
            return;

        mDateView.setUpdates(visible);