Bug 1255208 - Add preferences_privacy_clear_tablet to UnusedResourcesUtil. r=sebastian
MozReview-Commit-ID: 4YJVkMKC78t
--- a/mobile/android/base/java/org/mozilla/gecko/util/UnusedResourcesUtil.java
+++ b/mobile/android/base/java/org/mozilla/gecko/util/UnusedResourcesUtil.java
@@ -66,10 +66,11 @@ final class UnusedResourcesUtil {
R.raw.bookmarkdefaults_favicon_restricted_webmaker,
};
public static final int[] USED_IN_PREFS = {
R.xml.preferences_advanced,
R.xml.preferences_accessibility,
R.xml.preferences_home,
R.xml.preferences_privacy,
+ R.xml.preferences_privacy_clear_tablet,
};
}
new file mode 100644
--- /dev/null
+++ b/mobile/android/base/resources/values/xml.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<resources>
+ <!-- These items are v11+ resources but are referenced in code shipped with
+ API 9 builds. Since v11+ resources don't ship on API 9 builds, in order
+ for the resource ID to be found (and thus compilation to succeed), we
+ provide dummy values below. -->
+ <item type="xml" name="preferences_privacy_clear_tablet">@null</item>
+</resources>