diff options
author | Karthikeyan Periasamy <kperiasa@codeaurora.org> | 2016-04-17 00:41:58 +0200 |
---|---|---|
committer | jrizzoli <joey@cyanogenmoditalia.it> | 2016-04-17 00:41:58 +0200 |
commit | 18fa00a82628ef35e3d69c4bcde968f23c75e3b4 (patch) | |
tree | 57bd8217b553a28f3c493328096ffd2182f0643b /template/com/android | |
parent | 879f4f91f390db5a5cf58f6a94ee360cc182d113 (diff) | |
download | android_packages_apps_Gello-18fa00a82628ef35e3d69c4bcde968f23c75e3b4.tar.gz android_packages_apps_Gello-18fa00a82628ef35e3d69c4bcde968f23c75e3b4.tar.bz2 android_packages_apps_Gello-18fa00a82628ef35e3d69c4bcde968f23c75e3b4.zip |
Adding package name as an authority
External content URI's to the browser use system browser's package name
(com.android.browser) as the authority.
Added package name as one of the authorities for acceptable URI's in
BrowserProvider
Change-Id: I2d6db2faf43f94cb64f89f6a1189a08f4b184cef
CR-Fixed: 967778
Diffstat (limited to 'template/com/android')
-rw-r--r-- | template/com/android/browser/BrowserConfig.java.template | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/template/com/android/browser/BrowserConfig.java.template b/template/com/android/browser/BrowserConfig.java.template index 7aec006b..7dbc54e9 100644 --- a/template/com/android/browser/BrowserConfig.java.template +++ b/template/com/android/browser/BrowserConfig.java.template @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, The Linux Foundation. All rights reserved. + * Copyright (c) 2014-2016 The Linux Foundation. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -37,6 +37,7 @@ public class BrowserConfig extends BrowserConfigBase { //Authority string used by different providers public final static String AUTHORITY = "@APP_AUTHORITIES@"; + public final static String APP_PACKAGE_NAME = "@PACKAGE_NAME@"; private static BrowserConfig sBrowserConfig; |