Android lint showing many UnusedResources warnings |
|||
Issue descriptionThere's about 100 of them. They appear when building: //chrome/android:chrome_java E.g.: ../../../../../../tmp/tmpd3ZOHh/r3/values/android_chrome_strings.xml:262 The resource `R.string.sync_is_enabled` appears to be unused: UnusedResources [warning] <string name="sync_is_enabled">"Sync is on"</string>
,
Aug 5 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9e4be9ba438612c55668fc95a55000e4a4cc0869 commit 9e4be9ba438612c55668fc95a55000e4a4cc0869 Author: estevenson <estevenson@chromium.org> Date: Fri Aug 05 22:16:10 2016 Removing unused resources from chrome/java/res This will reduce the number of lint warnings generated during builds. BUG= 621773 Review-Url: https://codereview.chromium.org/2207103003 Cr-Commit-Position: refs/heads/master@{#410186} [modify] https://crrev.com/9e4be9ba438612c55668fc95a55000e4a4cc0869/build/android/lint/suppressions.xml [delete] https://crrev.com/ff3e7c584eaff665b8560dc1b6150c95a2062fb0/chrome/android/java/res/drawable/notification_icon_bg.xml [modify] https://crrev.com/9e4be9ba438612c55668fc95a55000e4a4cc0869/chrome/android/java/res/values/colors.xml [modify] https://crrev.com/9e4be9ba438612c55668fc95a55000e4a4cc0869/chrome/android/java/res/values/dimens.xml
,
Aug 8 2016
,
Aug 12 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/25650bfc12d08581cb2d702bf6d638ce9fc42aa5 commit 25650bfc12d08581cb2d702bf6d638ce9fc42aa5 Author: estevenson <estevenson@chromium.org> Date: Thu Aug 11 23:53:16 2016 Removed unused strings from android_chrome_strings.grd. Include java/res_template/xml/searchable.xml in lint checking by moving chrome_public_apk_template_resources to chrome_java deps to fix incorrect UnusedResource warning. Remove IDS_SAD_TAB_OOM_MESSAGE when building android since it isn't used. BUG= 621773 Review-Url: https://codereview.chromium.org/2205143002 Cr-Commit-Position: refs/heads/master@{#411455} [modify] https://crrev.com/25650bfc12d08581cb2d702bf6d638ce9fc42aa5/chrome/android/BUILD.gn [modify] https://crrev.com/25650bfc12d08581cb2d702bf6d638ce9fc42aa5/chrome/android/java/strings/android_chrome_strings.grd
,
Aug 31 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d98ce7f7c02119c0882f1bb65cba20852f1cb410 commit d98ce7f7c02119c0882f1bb65cba20852f1cb410 Author: estevenson <estevenson@chromium.org> Date: Wed Aug 31 17:36:12 2016 Remove unused resources from chrome/android. BUG= 621773 Review-Url: https://codereview.chromium.org/2293203002 Cr-Commit-Position: refs/heads/master@{#415674} [modify] https://crrev.com/d98ce7f7c02119c0882f1bb65cba20852f1cb410/build/android/lint/suppressions.xml [modify] https://crrev.com/d98ce7f7c02119c0882f1bb65cba20852f1cb410/chrome/android/java/res/values/dimens.xml [modify] https://crrev.com/d98ce7f7c02119c0882f1bb65cba20852f1cb410/chrome/android/java/strings/android_chrome_strings.grd [delete] https://crrev.com/27e86c877f293dec2693281e7848e4d61a95ba4c/chrome/android/webapk/shell_apk/res/layout/main.xml
,
Aug 31 2016
|
|||
►
Sign in to add a comment |
|||
Comment 1 by agrieve@chromium.org
, Jul 27 2016