Skip to content
Commit bfe82d19 authored by Charles He's avatar Charles He
Browse files

AM: remove toasts for LockTask mode.

Previously, toasts like "Screen pinned", "Screen unpinned", "This app
can't be pinned" are shown during the LockTask mode. These messages are
unncecessary for this use case, so we remove them. They will now only be
shown for the user-initiated screen pinning mode.

Bug: 67934620
Test: bit FrameworksServicesTests:com.android.server.am.LockTaskControllerTest
Test: cts-tradefed run cts-dev --module DevicePolicyManager -t com.android.cts.devicepolicy.DeviceOwnerTest#testLockTask_deviceOwnerUser
Change-Id: I2dd1a95afac207040263eadafd459a90de6aa9eb
parent 4b11fce4
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