New issue
Advanced search Search tips

Issue 621773 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug

Blocking:
issue 607761



Sign in to add a comment

Android lint showing many UnusedResources warnings

Project Member Reported by agrieve@chromium.org, Jun 21 2016

Issue description

There'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>
 
Cc: estevenson@chromium.org
Cc: -estevenson@chromium.org agrieve@chromium.org
Owner: estevenson@chromium.org
Status: Started (was: Available)
Project Member

Comment 4 by bugdroid1@chromium.org, 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

Status: Fixed (was: Started)

Sign in to add a comment