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

Commit 336007ba authored by Youngsang Cho's avatar Youngsang Cho
Browse files

PIP: Rename closeInternal to closePipInternal

Change-Id: I6e1e98a1a75728d057a7dee3edbd2f2a6f32112d
parent 23df6994
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -106,7 +106,7 @@ public class PipManager {
                    stackInfo = mActivityManager.getStackInfo(PINNED_STACK_ID);
                    if (stackInfo == null) {
                        Log.w(TAG, "There is no pinned stack");
                        closeInternal(false);
                        closePipInternal(false);
                        return;
                    }
                } catch (RemoteException e) {
@@ -120,7 +120,7 @@ public class PipManager {
                    }
                }
                // PIP task doesn't exist anymore in PINNED_STACK.
                closeInternal(true);
                closePipInternal(true);
            }
        }
    };
@@ -222,10 +222,10 @@ public class PipManager {
     * Closes PIP (PIPed activity and PIP system UI).
     */
    public void closePip() {
        closeInternal(true);
        closePipInternal(true);
    }

    private void closeInternal(boolean removePipStack) {
    private void closePipInternal(boolean removePipStack) {
        mState = STATE_NO_PIP;
        mPipTaskId = TASK_ID_NO_PIP;
        if (removePipStack) {