OLD | NEW |
1 package org.mozilla.gecko.util; | 1 package org.mozilla.gecko.util; |
2 | 2 |
3 import org.mozilla.gecko.R; | 3 import org.mozilla.gecko.R; |
4 | 4 |
5 /** | 5 /** |
6 * (linter: UnusedResources) We use resources in places Android Lint can't check
(e.g. JS) - this is | 6 * (linter: UnusedResources) We use resources in places Android Lint can't check
(e.g. JS) - this is |
7 * a set of those references so Android Lint stops complaining. | 7 * a set of those references so Android Lint stops complaining. |
8 */ | 8 */ |
9 @SuppressWarnings("unused") | 9 @SuppressWarnings("unused") |
10 final class UnusedResourcesUtil { | 10 final class UnusedResourcesUtil { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 R.drawable.suggestedsites_amazon, | 65 R.drawable.suggestedsites_amazon, |
66 R.drawable.suggestedsites_facebook, | 66 R.drawable.suggestedsites_facebook, |
67 R.drawable.suggestedsites_restricted_fxsupport, | 67 R.drawable.suggestedsites_restricted_fxsupport, |
68 R.drawable.suggestedsites_restricted_mozilla, | 68 R.drawable.suggestedsites_restricted_mozilla, |
69 R.drawable.suggestedsites_twitter, | 69 R.drawable.suggestedsites_twitter, |
70 R.drawable.suggestedsites_webmaker, | 70 R.drawable.suggestedsites_webmaker, |
71 R.drawable.suggestedsites_wikipedia, | 71 R.drawable.suggestedsites_wikipedia, |
72 R.drawable.suggestedsites_youtube, | 72 R.drawable.suggestedsites_youtube, |
73 }; | 73 }; |
74 | 74 |
| 75 // Removed bookmarkdefaults strings |
| 76 // See https://issues.adblockplus.org/ticket/6724 |
75 public static final int[] USED_IN_BOOKMARKDEFAULTS = { | 77 public static final int[] USED_IN_BOOKMARKDEFAULTS = { |
76 R.raw.bookmarkdefaults_favicon_addons, | 78 R.raw.bookmarkdefaults_favicon_addons, |
77 R.raw.bookmarkdefaults_favicon_support, | 79 R.raw.bookmarkdefaults_favicon_support, |
78 R.raw.bookmarkdefaults_favicon_restricted_support, | 80 R.raw.bookmarkdefaults_favicon_restricted_support, |
79 R.raw.bookmarkdefaults_favicon_restricted_webmaker, | 81 R.raw.bookmarkdefaults_favicon_restricted_webmaker, |
80 R.string.bookmarkdefaults_title_restricted_support, | |
81 R.string.bookmarkdefaults_url_restricted_support, | |
82 R.string.bookmarkdefaults_title_restricted_webmaker, | |
83 R.string.bookmarkdefaults_url_restricted_webmaker, | |
84 }; | 82 }; |
85 | 83 |
86 public static final int[] USED_IN_PREFS = { | 84 public static final int[] USED_IN_PREFS = { |
87 R.xml.preferences_advanced, | 85 R.xml.preferences_advanced, |
88 R.xml.preferences_accessibility, | 86 R.xml.preferences_accessibility, |
89 R.xml.preferences_home, | 87 R.xml.preferences_home, |
90 R.xml.preferences_privacy, | 88 R.xml.preferences_privacy, |
91 R.xml.preferences_privacy_clear_tablet, | 89 R.xml.preferences_privacy_clear_tablet, |
92 R.xml.preferences_default_browser_tablet | 90 R.xml.preferences_default_browser_tablet |
93 }; | 91 }; |
94 | 92 |
95 // String resources that are used in the full-pane Activity Stream that are
temporarily | 93 // String resources that are used in the full-pane Activity Stream that are
temporarily |
96 // not needed while Activity Stream is part of the HomePager | 94 // not needed while Activity Stream is part of the HomePager |
97 public static final int[] TEMPORARY_UNUSED_ACTIVITY_STREAM = { | 95 public static final int[] TEMPORARY_UNUSED_ACTIVITY_STREAM = { |
98 R.string.activity_stream_topsites | 96 R.string.activity_stream_topsites |
99 }; | 97 }; |
100 | 98 |
101 public static final int[] USED_IN_PAGE_ACTION = { | 99 public static final int[] USED_IN_PAGE_ACTION = { |
102 R.drawable.add_to_homescreen | 100 R.drawable.add_to_homescreen |
103 }; | 101 }; |
104 } | 102 } |
OLD | NEW |