Replace deprecated attr and flag for running over lockscreen.
The deprecated window flag FLAG_SHOW_WHEN_LOCKED is replaced with
R.attr.showWhenLocked.
Also remove the deprecated attr showOnLockScreen, which had two
purposes: 1. specify activity should be shown over the lock screen,
and 2. shown across multiple user's window.
Each user should has their own emergency information, so the
suggested replacement for showOnLockScreen: showForAllUsers won't be
added here.
Fixes: 110818163
Fixes: 113004414
Test: manually
Change-Id: I481ffdeec293fc08cca0f99063efc73540d6a14d
2 files changed