# Android Expired Strings This linter checks that Android string resources marked for removal (`moz:removedIn`) are not referenced anywhere in the codebase. When a developer marks a string with `moz:removedIn`, it means the string is no longer used and its definition is only kept so it can safely ride the release trains. Any remaining references (`R.string.` or `@string/`) indicate an incomplete removal. ## Run Locally This mozlint linter can be run using mach: ```{eval-rst} .. parsed-literal:: $ mach lint --linter android-expired-strings ``` ## Configuration This linter is enabled by default, and will run if you make changes to `.kt`, `.java`, or `.xml` files under `mobile/android`. ## Sources - {searchfox}`Configuration (YAML) ` - {searchfox}`Source `