Skip to content
Commit b10fac72 authored by Jeff Chang's avatar Jeff Chang
Browse files

Adjust toast window parameters to support FLAG_SHOW_WHEN_LOCKED

Toast can not show on display when screen is locked.Adjust rule to support
it with conditions.The calling activity initiate toast and is visible with
FLAG_SHOW_WHEN_LOCKED.

Bug: 129434562
Test: 1. atest DisplayPolicyTests
      2. Launch an activity with the flag. Make sure toast be shown when
         screen is locked.

Change-Id: I7092f2d1c35cb6b8afb85576b54540f59e4f1c2f
parent 715c495a
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