OSDN Git Service

Fix SafeActivityOptions construction in startActivityFromRecents
authorJorim Jaggi <jjaggi@google.com>
Fri, 9 Mar 2018 17:14:48 +0000 (18:14 +0100)
committerJorim Jaggi <jjaggi@google.com>
Tue, 13 Mar 2018 13:24:58 +0000 (13:24 +0000)
commit1282bc2f8d0eb389a6b6311c5b80c34f206498de
tree1453a08d00b3effe2170329ef3eeb5910671f145
parent7844159deb6cd67ddf1d99349e46be9632eba555
Fix SafeActivityOptions construction in startActivityFromRecents

Otherwise we'll check the wrong permissions and try to boost
the wrong process.

Test: Open app from recents, make sure Launcher gets scheduled
as needed.
Bug: 73555925

Change-Id: I2d1a7d0c881c0182127a5b25dce0ab1a308d5e63
services/core/java/com/android/server/am/ActivityManagerService.java