OSDN Git Service

Added a check if a custom activity can be started
authorFyodor Kupolov <fkupolov@google.com>
Tue, 18 Nov 2014 23:08:12 +0000 (15:08 -0800)
committerFyodor Kupolov <fkupolov@google.com>
Wed, 19 Nov 2014 01:12:54 +0000 (17:12 -0800)
commit07ab95c43e49facb0fc4dd11d68645b4fe8d4c88
tree1101c987d2696fb39d991f5c8ea7205c9e7d846c
parentc88cdea2bb6f830abb8f1fe3b422368d3275f88c
Added a check if a custom activity can be started

AppRestrictionsFragment starts an activity using an intent provided by the
receiver. A check was added to prevent an app from starting an activity that
it does not own.

Bug: 14441412
Change-Id: Ia6820b1daf3783d605b92976c78cb522b17dc8f2
src/com/android/settings/users/AppRestrictionsFragment.java