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
tree: 3234002445ee696535af075dd14a665aeea239fd
  1. res/
  2. src/
  3. tests/
  4. Android.mk
  5. AndroidManifest.xml
  6. proguard.flags