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

Skip to content
Commit 2fe88b50 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Start client only if requested when ensuring activity visibility

If the caller specifies notifyClients=false, it should only update
server side states without affect the client.

A corner case:
realStartActivityLocked for an attaching non-top visible activity
 beginDeferResume
  ensureVisibilityAndConfig
   > ensureActivitiesVisible(notifyClients=false)
    > realStartActivity the real top (attached but not finishAttached)
     > Unable to be resumed becase readyToResume() is false
       by the beginDeferResume
 endDeferResume

Bug: 352423986
Flag: EXEMPT bugfix
Test: atest TaskTests#testEnsureActivitiesVisible
Change-Id: I16b0e7facd8cfe6d6ed2f6eeb9da78835afbf471
parent ce8e50cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment