From e1b6b3b2f9c0dbf201234162101023770835df9e Mon Sep 17 00:00:00 2001 From: Tao Bai Date: Tue, 13 May 2014 13:55:52 -0700 Subject: Use general permission API. Geolocation related code is untouched. PermissionsPrompt is almost same as GeolocationPermissionPrompt, except - Remember checkbox is hidden as we don't has this feature in framework now. - The resource name is appended according the request. - Remove toast. BUG: 13699047 Change-Id: I1f3f1908bf9c7131ecf2d060fc79d3e5c8842f94 --- res/layout/permissions_prompt.xml | 84 +++++++++++++++++++++++++++++++++++++++ res/layout/tab.xml | 6 +++ res/values/strings.xml | 7 ++++ 3 files changed, 97 insertions(+) create mode 100644 res/layout/permissions_prompt.xml (limited to 'res') diff --git a/res/layout/permissions_prompt.xml b/res/layout/permissions_prompt.xml new file mode 100644 index 0000000..d18d796 --- /dev/null +++ b/res/layout/permissions_prompt.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + +