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)
committerJon Larimer <jlarimer@google.com>
Wed, 28 Jan 2015 10:31:36 +0000 (10:31 +0000)
commitf11f9f47d3cfb5d1b9e7da1705252e75913410f1
tree6e2c3046628189e74a998f4ad46f364e26ea7f1e
parent61ced6d4270b86c336520856cb1545865cb01107
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
(cherry picked from commit 07ab95c43e49facb0fc4dd11d68645b4fe8d4c88)
src/com/android/settings/users/AppRestrictionsFragment.java