commit | abe2a94853108dc522072a20ae1995c58587c775 | [log] [tgz] |
---|---|---|
author | Dianne Hackborn <hackbod@google.com> | Tue May 30 13:17:25 2017 -0700 |
committer | Dianne Hackborn <hackbod@google.com> | Tue May 30 13:18:20 2017 -0700 |
tree | 9009665e3f9a0aeb35fc73130b0c5532aa55ffcd | |
parent | d2638591d963ef45f8f90886252279c497d5d1af [diff] |
Fix issue #62196301: Pre-O background restrictions allow starts... ...from background apps The check for whether a calling app was in the foreground was way too lose, treating anything better than a receive as foreground. Now we use the same foreground state check as elsewhere. Test: manual Change-Id: I6bb621f207204d14abfadc0d425297e7d5efe0f6