Fix security vulnerability allowing apps to start from background

Bug: 317048338
Test: Using the steps in b/317048338#comment12
Change-Id: Ia76c16e8da7e48624e5c2d6c6e0b2dcfb646345b
1 file changed