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
diff --git a/template/com/android/browser/BrowserConfig.java.template b/template/com/android/browser/BrowserConfig.java.template
index 7aec006..7dbc54e 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 @@
//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;