From 870e09fcd2dfdc12ac318962efd28b0420c562bb Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Mon, 6 Jul 2009 16:35:25 -0700 Subject: Fixes #1963229. Introduces Context#isRestricted(). A restricted Context is a special type of Context that prevents specific features from being used. For instance, android:onClick, used by View, can be dangerous when used from within apps widgets. By using a restricted Context to inflate apps widgets, widgets providers are prevented from using android:onClick. --- api/current.xml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'api/current.xml') diff --git a/api/current.xml b/api/current.xml index d028faac656c..9bce1f376cdf 100644 --- a/api/current.xml +++ b/api/current.xml @@ -27810,6 +27810,17 @@ + + + +