mirror of
https://github.com/FossifyOrg/Flashlight.git
synced 2025-12-23 15:50:19 -05:00
* chore: ignore extra translations in lint Extra translations are removed automatically by Weblate * chore: update detekt rules More compose-friendly * chore: update lint baselines
712 lines
52 KiB
XML
712 lines
52 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<issues format="6" by="lint 8.10.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.10.1)" variant="all" version="8.10.1">
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 31 (current min is 26): `openRequestExactAlarmSettings`"
|
|
errorLine1=" openRequestExactAlarmSettings(baseConfig.appId)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt"
|
|
line="257"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NewApi"
|
|
message="Call requires API level 33 (current min is 26): `launchChangeAppLanguageIntent`"
|
|
errorLine1=" onSetupLanguagePress = ::launchChangeAppLanguageIntent,"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/activities/SettingsActivity.kt"
|
|
line="68"
|
|
column="52"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="NotificationPermission"
|
|
message="When targeting Android 13 or higher, posting a permission requires holding the `POST_NOTIFICATIONS` permission (usage from com.simplemobiletools.commons.asynctasks.CopyMoveTask)">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="OldTargetApi"
|
|
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the `android.os.Build.VERSION_CODES` javadoc for details."
|
|
errorLine1="app-build-targetSDK = "35""
|
|
errorLine2=" ~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="21"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StartActivityAndCollapseDeprecated"
|
|
message="TileService#startActivityAndCollapse(Intent) is deprecated. Use TileService#startActivityAndCollapse(PendingIntent) instead."
|
|
errorLine1=" startActivityAndCollapse(intent)"
|
|
errorLine2=" ~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/BrightDisplayTileService.kt"
|
|
line="15"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedAttribute"
|
|
message="Attribute `localeConfig` is only used in API level 33 and higher (current min is 26)"
|
|
errorLine1=" android:localeConfig="@xml/locale_config""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="22"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="CustomSplashScreen"
|
|
message="The application should not provide its own launch screen"
|
|
errorLine1="class SplashActivity : BaseSplashActivity() {"
|
|
errorLine2=" ~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/activities/SplashActivity.kt"
|
|
line="6"
|
|
column="7"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="AndroidGradlePluginVersion"
|
|
message="A newer version of Gradle than 8.11.1 is available: 8.14.2"
|
|
errorLine1="distributionUrl=https\://services.gradle.org/distributions/gradle-8.11.1-bin.zip"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/wrapper/gradle-wrapper.properties"
|
|
line="3"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="AndroidGradlePluginVersion"
|
|
message="A newer version of com.android.application than 8.10.1 is available: 8.11.0"
|
|
errorLine1="gradlePlugins-agp = "8.10.1""
|
|
errorLine2=" ~~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="18"
|
|
column="21"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.lifecycle:lifecycle-runtime-compose than 2.9.0 is available: 2.9.1"
|
|
errorLine1="androidx-lifecycle = "2.9.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.lifecycle:lifecycle-runtime-ktx than 2.9.0 is available: 2.9.1"
|
|
errorLine1="androidx-lifecycle = "2.9.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.lifecycle:lifecycle-viewmodel-compose than 2.9.0 is available: 2.9.1"
|
|
errorLine1="androidx-lifecycle = "2.9.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.lifecycle:lifecycle-viewmodel-ktx than 2.9.0 is available: 2.9.1"
|
|
errorLine1="androidx-lifecycle = "2.9.0""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="10"
|
|
column="22"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.animation:animation than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.material:material than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.runtime:runtime than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.ui:ui than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.ui:ui-tooling than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.ui:ui-tooling-preview than 1.7.8 is available: 1.8.3"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="Upgrade `androidx.compose.foundation` for keyboard and mouse support"
|
|
errorLine1="compose = "1.7.8""
|
|
errorLine2=" ~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="15"
|
|
column="11"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="GradleDependency"
|
|
message="A newer version of androidx.compose.material3:material3 than 1.4.0-alpha15 is available: 1.4.0-alpha17"
|
|
errorLine1="composeMaterial3 = "1.4.0-alpha15""
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="$HOME/Projects/Fossify/FossifyOrg/Flashlight/gradle/libs.versions.toml"
|
|
line="16"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LockedOrientationActivity"
|
|
message="Expecting `android:screenOrientation="unspecified"` or `"fullSensor"` for this activity so the user can use the application in any orientation and provide a great experience on Chrome OS devices"
|
|
errorLine1=" android:screenOrientation="portrait""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="43"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="LockedOrientationActivity"
|
|
message="Expecting `android:screenOrientation="unspecified"` or `"fullSensor"` for this activity so the user can use the application in any orientation and provide a great experience on Chrome OS devices"
|
|
errorLine1=" android:screenOrientation="portrait""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="53"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="DiscouragedApi"
|
|
message="Should not restrict activity to fixed orientation. This may not be suitable for different form factors, causing the app to be letterboxed."
|
|
errorLine1=" android:screenOrientation="portrait""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="43"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="DiscouragedApi"
|
|
message="Should not restrict activity to fixed orientation. This may not be suitable for different form factors, causing the app to be letterboxed."
|
|
errorLine1=" android:screenOrientation="portrait""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="53"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseRequiresApi"
|
|
message="Use `@RequiresApi(Build.VERSION_CODES.N) instead of `@TargetApi` to propagate the requirement to users of `BrightDisplayTileService`"
|
|
errorLine1="@TargetApi(Build.VERSION_CODES.N)"
|
|
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/BrightDisplayTileService.kt"
|
|
line="9"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseRequiresApi"
|
|
message="Use `@RequiresApi(Build.VERSION_CODES.N) instead of `@TargetApi` to propagate the requirement to users of `FlashlightTileService`"
|
|
errorLine1="@TargetApi(Build.VERSION_CODES.N)"
|
|
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/FlashlightTileService.kt"
|
|
line="8"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseCompatLoadingForDrawables"
|
|
message="Use `ResourcesCompat.getDrawable()`"
|
|
errorLine1=" val drawable = resources.getDrawable(R.drawable.shortcut_bright_display)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt"
|
|
line="372"
|
|
column="24"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""app_launcher_name" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="app_launcher_name">Flashlight_debug</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/debug/res/values/strings.xml"
|
|
line="3"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""app_name" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ml" (Malayalam), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "be" (Belarusian), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "gl" (Galician), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "cy" (Welsh), "ckb""
|
|
errorLine1=" <string name="app_name">Simple Flashlight</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="3"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""app_launcher_name" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="app_launcher_name">Flashlight</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="4"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""camera_error" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "nb" (Norwegian Bokmål), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="camera_error">Obtaining the camera failed</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="5"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""camera_permission" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="camera_permission">Camera permission is necessary for proper stroboscope effect</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="6"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""bright_display" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "az" (Azerbaijani), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "ko" (Korean), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "cy" (Welsh), "ckb""
|
|
errorLine1=" <string name="bright_display">Bright display</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="7"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""show_bright_display" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="show_bright_display">Show a bright display button</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="9"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""show_stroboscope" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="show_stroboscope">Show a stroboscope button</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="10"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""stroboscope" is not translated in "fil" (Filipino; Pilipino), "lt" (Lithuanian), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ml" (Malayalam), "ms" (Malay), "en" (English), "is" (Icelandic), "my" (Burmese), "eu" (Basque), "nb" (Norwegian Bokmål), "ne" (Nepali), "az" (Azerbaijani), "fa" (Persian), "nn" (Norwegian Nynorsk), "be" (Belarusian), "bg" (Bulgarian), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "sk" (Slovak), "ltg", "kn" (Kannada), "or" (Odia), "ko" (Korean), "gl" (Galician), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "pa" (Punjabi), "te" (Telugu), "th" (Thai), "cy" (Welsh), "ckb", "da" (Danish)"
|
|
errorLine1=" <string name="stroboscope">Stroboscope</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="11"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""show_sos" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "az" (Azerbaijani), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "ko" (Korean), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "cy" (Welsh), "ckb""
|
|
errorLine1=" <string name="show_sos">Show an SOS button</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="12"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="MissingTranslation"
|
|
message=""turn_flashlight_on" is not translated in "fil" (Filipino; Pilipino), "lv" (Latvian), "ia" (Interlingua), "mk" (Macedonian), "ms" (Malay), "en" (English), "is" (Icelandic), "eu" (Basque), "ne" (Nepali), "fa" (Persian), "nn" (Norwegian Nynorsk), "bn" (Bangla), "br" (Breton), "si" (Sinhala), "ltg", "kn" (Kannada), "or" (Odia), "ko" (Korean), "kr" (Kanuri), "sat" (Santali), "ta" (Tamil), "cr" (Cree), "te" (Telugu), "th" (Thai), "ckb""
|
|
errorLine1=" <string name="turn_flashlight_on">Turn flashlight on at startup</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="13"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; `SDK_INT` is always >= 24"
|
|
errorLine1="@TargetApi(Build.VERSION_CODES.N)"
|
|
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/BrightDisplayTileService.kt"
|
|
line="9"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="Unnecessary; `SDK_INT` is always >= 24"
|
|
errorLine1="@TargetApi(Build.VERSION_CODES.N)"
|
|
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/FlashlightTileService.kt"
|
|
line="8"
|
|
column="1"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ObsoleteSdkInt"
|
|
message="This folder configuration (`v26`) is unnecessary; `minSdkVersion` is 26. Merge all the resources in this folder into `mipmap-anydpi`.">
|
|
<location
|
|
file="src/main/res/mipmap-anydpi-v26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="StaticFieldLeak"
|
|
message="Do not place Android context classes in static fields (static reference to `CameraFlash` which has field `context` pointing to `Context`); this is a memory leak"
|
|
errorLine1=" private var cameraFlash: CameraFlash? = null"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/MyCameraImpl.kt"
|
|
line="32"
|
|
column="9"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (1667 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" <path android:fillColor="#FFFFFFFF" android:fillType="evenOdd" android:pathData="M47.83 20.85c1.15-2.49 3.16-4.5 5.65-5.65 2.49-1.15 7.08-1.06 9.85-1.06h66.08c2.76 0 7.36-0.09 9.85 1.06 2.49 1.15 4.5 3.16 5.65 5.65 1.15 2.49 1.06 7.08 1.06 9.85l-0.01 130.61c0 2.76 0.09 7.36-1.06 9.85-1.15 2.49-3.16 4.5-5.65 5.65-2.49 1.15-7.08 1.06-9.85 1.06l-66.08-0.01c-2.76 0-7.36 0.09-9.85-1.06-2.49-1.15-4.5-3.16-5.65-5.65-1.15-2.49-1.06-7.08-1.06-9.85V30.69c0-2.76-0.09-7.36 1.06-9.85zm10.13 7.89c0.42-0.56 0.92-1.06 1.48-1.48 2.16-1.64 6.89-1.57 9.66-1.57h54.53c2.76 0 7.5-0.08 9.66 1.57 0.56 0.42 1.06 0.92 1.48 1.48 1.64 2.16 1.57 6.89 1.57 9.66l-0.01 113.27c0 2.76 0.08 7.5-1.57 9.66-0.42 0.56-0.92 1.06-1.48 1.48-2.16 1.64-6.89 1.57-9.66 1.57H69.1c-2.76 0-7.5 0.08-9.66-1.57-0.56-0.42-1.06-0.92-1.48-1.48-1.64-2.16-1.57-6.89-1.57-9.66L56.4 38.4c0-2.76-0.08-7.5 1.57-9.66zm13.07 7.55h50.67a5 5 45 0 1 5 5v107.5a5 5 135 0 1-5 5H71.03a5 5 45 0 1-5-5V41.29a5 5 135 0 1 5-5zM16.99 47.27l14.37 5.18a5 5 64.83 0 1 3.01 6.4 4.56 4.56 160.65 0 1-6.09 2.14l-14.37-5.18a5 5 64.83 0 1-3.01-6.4 4.56 4.56 160.65 0 1 6.09-2.14zm158.66 0l-14.37 5.18a5 5 115.17 0 0-3.01 6.4 4.56 4.56 19.35 0 0 6.09 2.14l14.37-5.18a5 5 115.17 0 0 3.01-6.4 4.56 4.56 19.35 0 0-6.09-2.14zm-144.29 84l-14.37 5.18a5 5 25.17 0 1-6.4-3.01 4.56 4.56 121 0 1 3.32-5.53l14.37-5.18a5 5 25.17 0 1 6.4 3.01 4.56 4.56 121 0 1-3.32 5.53zm144.27 5.18l-14.37-5.18a5 5 64.83 0 1-3.01-6.4 4.56 4.56 160.65 0 1 6.09-2.14l14.37 5.18a5 5 64.82 0 1 3.01 6.4 4.56 4.56 160.65 0 1-6.09 2.14zm-7.33-40.04h15.27a5 5 135 0 0 5-5 4.56 4.56 39.18 0 0-5-4.07H168.3a5 5 135 0 0-5 5 4.56 4.56 39.18 0 0 5 4.07zm-144.6 0H8.43a5 5 45 0 1-5-5 4.56 4.56 140.82 0 1 5-4.07H23.7a5 5 45 0 1 5 5 4.56 4.56 140.82 0 1-5 4.07z"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_bright_display_vector.xml"
|
|
line="2"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (1081 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" <path android:fillColor="#FFFFFFFF" android:fillType="evenOdd" android:pathData="M100.17 30.03c0 2.05-1.66 3.72-3.72 3.72-2.05 0-3.72-1.66-3.72-3.72V13.31c0-2.05 1.66-3.72 3.72-3.72 2.05 0 3.72 1.66 3.72 3.72zM71.24 20c1.69-0.99 3.87-0.42 4.86 1.27l6.58 11.24c0.99 1.69 0.42 3.87-1.27 4.86-1.69 0.99-3.87 0.42-4.86-1.27l-6.58-11.25c-0.99-1.69-0.42-3.87 1.27-4.86zm49.59 0c-1.69-0.99-3.87-0.42-4.86 1.27l-6.58 11.24c-0.99 1.69-0.42 3.87 1.27 4.86 1.69 0.99 3.87 0.42 4.86-1.27l6.58-11.24c0.99-1.69 0.42-3.87-1.27-4.86zm-41.5 66.61c-0.6 1.78-0.93 3.69-0.93 5.68v72.47c0 9.75 7.9 17.65 17.65 17.65 9.75 0 17.65-7.9 17.65-17.65l0.01-72.48c0-2.01-0.34-3.94-0.96-5.74 7.69-4.02 12.93-10.71 15.82-17.95l0.52-1.53 0.01-0.02c0.57-1.65 0.9-2.6 1.33-4.95 1.1-6.04 0.93-7.9 0.46-8.83-2.52-5.05-15.6-9.29-34.84-9.29-19.24 0-35.31 5.04-35.31 10.69v0.42c0 1.69-0.01 3.26 0.47 6.09 0.46 2.79 0.93 4.18 2.32 7.43 3.24 7.55 8.33 14.11 15.8 18.02zm16.72 14.04c-3.59 0-6.5 2.91-6.5 6.5v9.29c0 3.59 2.91 6.5 6.5 6.5s6.5-2.91 6.5-6.5v-9.29c0-3.59-2.91-6.5-6.5-6.5zm27.88-46c-4.65 2.79-12.69 5.11-28.34 5.11s-23.23-2.32-28.34-5.11c3.25-2.32 12.69-5.11 28.34-5.11s25.09 3.25 28.34 5.11z"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_flashlight_vector.xml"
|
|
line="2"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="VectorPath"
|
|
message="Very long vector path (4538 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" <path android:fillColor="#FFFFFFFF" android:pathData="M54.27 28.37c-0.18 0-0.34 0.05-0.48 0.13-0.22 0.1-0.36 0.26-0.44 0.54 0 0.01-0.01 0.02-0.01 0.04-0.01 0.06-0.03 0.12-0.04 0.18 0 0.02-0.01 0.03-0.01 0.05v0.09c-0.02 0.12-0.03 0.23-0.04 0.38-0.08 1.01-0.05 4.28 0.04 5.02 0.01 0.14 0.07 0.27 0.14 0.38 0.05 0.11 0.12 0.21 0.23 0.3 0.17 0.15 0.41 0.19 0.66 0.19 0.25 0.01 0.48-0.04 0.66-0.19 0.1-0.09 0.17-0.19 0.23-0.3 0.07-0.11 0.13-0.24 0.14-0.38 0.01-0.1 0.02-0.34 0.03-0.52 0.06-1.16 0.07-3.62 0.01-4.49-0.01-0.15-0.03-0.26-0.04-0.38v-0.09c0-0.01-0.01-0.03-0.01-0.05-0.01-0.07-0.03-0.13-0.04-0.19 0-0.01 0-0.02-0.01-0.03-0.08-0.29-0.22-0.45-0.44-0.55-0.15-0.08-0.31-0.13-0.51-0.12h-0.03zm-6.88 3.2c-0.69 0.11-1.09 0.64-0.93 1.26 0.15 0.6 1.68 3.26 2.17 3.76 0.23 0.24 0.34 0.31 0.57 0.33 0.51 0.06 0.95-0.37 1.03-0.53 0.24-0.46 0.19-0.71 0.01-1.11-0.55-1.16-1.56-2.82-1.91-3.25-0.3-0.37-0.61-0.52-0.94-0.47zm13.82 0c-0.33-0.05-0.64 0.11-0.94 0.47-0.35 0.43-1.37 2.1-1.91 3.25-0.19 0.39-0.23 0.64 0 1.11 0.08 0.16 0.52 0.59 1.03 0.53 0.23-0.03 0.35-0.1 0.58-0.33 0.48-0.51 2.01-3.17 2.16-3.76 0.16-0.62-0.23-1.15-0.92-1.26zm-7.03 7.2c-0.26 0-0.52 0.01-0.78 0.02s-0.51 0.01-0.77 0.02c-0.33 0.02-0.66 0.05-0.99 0.07-0.21 0.02-0.43 0.03-0.64 0.05-0.47 0.05-0.93 0.11-1.38 0.18-0.04 0.01-0.09 0.01-0.14 0.02-0.59 0.09-1.17 0.2-1.71 0.33-0.47 0.11-0.91 0.25-1.34 0.41-0.3 0.1-0.56 0.21-0.81 0.32-0.01 0-0.01 0.01-0.02 0.01-0.96 0.43-1.58 0.92-1.8 1.45-0.03 0.06-0.04 0.15-0.05 0.23 0 0.01-0.01 0.02-0.01 0.03v0.04c-0.01 0.08-0.02 0.18-0.02 0.29 0 0.08-0.01 0.14 0 0.23 0 0.11 0.02 0.24 0.03 0.37 0.05 0.6 0.17 1.34 0.34 2 0.28 1.1 0.71 2.07 1.31 3.05 0.36 0.61 0.73 1.13 1.16 1.61 0 0 0 0.01 0.01 0.01l0.33 0.36c0.46 0.49 0.97 0.92 1.62 1.38 0.06 0.04 0.1 0.08 0.16 0.13l0.64 0.47c0 0.02-0.04 0.18-0.09 0.38-0.05 0.19-0.08 0.46-0.11 0.88v0.04c-0.03 0.55-0.06 1.38-0.08 2.83-0.11 6.82-0.05 18.83 0.09 20.06 0.01 0.07 0.03 0.15 0.05 0.22 0.01 0.03 0.01 0.05 0.02 0.08 0.02 0.1 0.05 0.2 0.08 0.31 0.04 0.12 0.08 0.24 0.14 0.36 0.05 0.12 0.11 0.24 0.17 0.36 0.15 0.29 0.32 0.57 0.51 0.81 0.06 0.07 0.13 0.14 0.19 0.21 0.01 0.01 0.02 0.03 0.04 0.04 0.54 0.59 1.31 1.16 1.98 1.43 0.64 0.26 1.31 0.38 1.98 0.38 0.67 0 1.35-0.12 1.98-0.38 0.68-0.27 1.46-0.86 2.01-1.46 0.07-0.07 0.14-0.15 0.2-0.22 0.19-0.25 0.36-0.53 0.51-0.82 0.06-0.12 0.12-0.24 0.17-0.36 0.05-0.12 0.1-0.24 0.14-0.36 0.04-0.11 0.06-0.21 0.08-0.31 0.01-0.03 0.01-0.05 0.02-0.08 0.02-0.07 0.04-0.15 0.05-0.22 0.15-1.23 0.2-13.23 0.09-20.06-0.02-1.43-0.04-2.25-0.08-2.81v-0.04c0-0.02-0.01-0.05-0.01-0.07-0.03-0.38-0.06-0.65-0.1-0.83-0.05-0.2-0.09-0.35-0.09-0.38l0.64-0.47c0.06-0.04 0.1-0.08 0.15-0.12 0.66-0.46 1.16-0.89 1.62-1.38 0.11-0.12 0.23-0.24 0.33-0.36 0 0 0-0.01 0.01-0.01 0.43-0.49 0.8-1.01 1.17-1.63 0.6-0.97 1.02-1.94 1.3-3.03 0.17-0.66 0.29-1.42 0.35-2.02 0.01-0.12 0.02-0.24 0.03-0.34v-0.23c0-0.1-0.01-0.2-0.02-0.29v-0.04c0-0.01-0.01-0.02-0.01-0.03-0.02-0.08-0.03-0.17-0.05-0.23-0.22-0.53-0.85-1.03-1.81-1.46-0.25-0.11-0.52-0.22-0.82-0.32-0.42-0.15-0.87-0.3-1.34-0.41-0.54-0.13-1.12-0.24-1.71-0.33-0.04-0.01-0.09-0.01-0.14-0.02-0.45-0.07-0.91-0.13-1.38-0.18-0.21-0.02-0.43-0.03-0.64-0.05-0.33-0.03-0.65-0.06-0.99-0.07-0.25-0.01-0.51-0.02-0.77-0.02-0.3-0.01-0.59-0.02-0.89-0.02h-0.12zm-0.37 1.75h0.98c0.44 0.01 0.89 0.03 1.34 0.05 0.8 0.05 1.49 0.11 2.14 0.2 0.16 0.02 0.31 0.04 0.47 0.07 0.13 0.02 0.25 0.04 0.37 0.06 0.32 0.06 0.64 0.12 0.95 0.19 0.01 0 0.02 0.01 0.04 0.01 0.7 0.16 1.35 0.36 1.94 0.58 0.38 0.15 0.63 0.28 0.68 0.37l-0.06 0.05c-0.15 0.12-0.35 0.23-0.6 0.35-0.33 0.12-0.77 0.26-1.35 0.41-0.37 0.1-0.69 0.18-1 0.25-0.39 0.08-0.8 0.15-1.25 0.22-0.44 0.07-0.87 0.11-1.29 0.16-0.22 0.02-0.43 0.04-0.68 0.05-0.58 0.03-1.12 0.06-1.64 0.07h-1.06c-0.52-0.01-1.06-0.03-1.64-0.07-0.25-0.02-0.46-0.03-0.68-0.05-0.43-0.04-0.85-0.09-1.29-0.16-0.45-0.07-0.86-0.14-1.25-0.22-0.31-0.07-0.63-0.15-1-0.25-0.58-0.16-1.01-0.29-1.35-0.41-0.25-0.11-0.45-0.23-0.6-0.35l-0.06-0.05c0.05-0.09 0.3-0.22 0.68-0.37 0.59-0.22 1.24-0.42 1.94-0.58 0.01 0 0.02-0.01 0.04-0.01 0.31-0.07 0.63-0.13 0.95-0.19 0.12-0.02 0.24-0.04 0.37-0.06 0.15-0.02 0.31-0.05 0.47-0.07 0.64-0.08 1.33-0.15 2.14-0.2 0.45-0.03 0.9-0.04 1.34-0.05zm0.49 15.49c0.04 0 0.07 0 0.11 0.01 0.08 0 0.16 0.01 0.23 0.02 0.32 0.05 0.61 0.17 0.83 0.35 0.25 0.2 0.52 0.59 0.65 0.89 0.13 0.46 0.2 2.28 0.12 3.33-0.08 0.96-0.56 1.62-1.37 1.86-0.17 0.05-0.37 0.08-0.57 0.09-0.2-0.01-0.4-0.03-0.57-0.09-0.8-0.24-1.29-0.9-1.37-1.86-0.08-1.05-0.02-2.87 0.11-3.33 0.12-0.3 0.4-0.69 0.65-0.89 0.22-0.18 0.52-0.3 0.83-0.35 0.08-0.01 0.16-0.02 0.23-0.02 0.04 0 0.07-0.01 0.11-0.01z"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~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Path"
|
|
message="Very long vector path (900 characters), which is bad for performance. Considering reducing precision, removing minor details or rasterizing vector."
|
|
errorLine1=" <path android:fillColor="#FFFFFFFF" android:fillType="evenOdd" android:pathData="M96 42.99c9.59 0 17.37-7.78 17.37-17.37S105.59 8.25 96 8.25s-17.37 7.77-17.37 17.37c0 9.59 7.78 17.37 17.37 17.37zm0 140.76c9.59 0 17.37-7.78 17.37-17.37s-7.78-17.37-17.37-17.37-17.37 7.78-17.37 17.37 7.78 17.37 17.37 17.37zm67.64-137.11c0 9.59-7.78 17.37-17.37 17.37s-17.37-7.78-17.37-17.37 7.78-17.37 17.37-17.37 17.37 7.78 17.37 17.37zM45.73 64.01c9.59 0 17.37-7.78 17.37-17.37s-7.78-17.37-17.37-17.37-17.37 7.78-17.37 17.37 7.78 17.37 17.37 17.37zm117.91 81.35c0 9.59-7.78 17.37-17.37 17.37s-17.37-7.78-17.37-17.37 7.78-17.37 17.37-17.37 17.37 7.78 17.37 17.37zM45.73 162.72c9.59 0 17.37-7.78 17.37-17.37s-7.78-17.37-17.37-17.37-17.37 7.78-17.37 17.37 7.78 17.37 17.37 17.37zM183.75 96c0 9.59-7.78 17.37-17.37 17.37s-17.37-7.78-17.37-17.37 7.78-17.37 17.37-17.37 17.37 7.78 17.37 17.37zM25.62 113.37c9.59 0 17.37-7.78 17.37-17.37s-7.78-17.37-17.37-17.37S8.25 86.41 8.25 96s7.78 17.37 17.37 17.37z"/>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/drawable/ic_stroboscope_vector.xml"
|
|
line="2"
|
|
column="86"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.package_name` appears to be unused"
|
|
errorLine1=" <string name="package_name">com.simplemobiletools.flashlight</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/donottranslate.xml"
|
|
line="3"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnusedResources"
|
|
message="The resource `R.string.camera_permission` appears to be unused"
|
|
errorLine1=" <string name="camera_permission">Camera permission is necessary for proper stroboscope effect</string>"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/values/strings.xml"
|
|
line="6"
|
|
column="13"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ReportShortcutUsage"
|
|
message="Calling this method indicates use of dynamic shortcuts, but there are no calls to methods that track shortcut usage, such as `pushDynamicShortcut` or `reportShortcutUsed`. Calling these methods is recommended, as they track shortcut usage and allow launchers to adjust which shortcuts appear based on activation history. Please see https://developer.android.com/develop/ui/views/launch/shortcuts/managing-shortcuts#track-usage"
|
|
errorLine1=" shortcutManager.dynamicShortcuts = listOf(createNewContact)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/activities/MainActivity.kt"
|
|
line="362"
|
|
column="17"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UnnecessaryRequiredFeature"
|
|
message="Consider whether this feature (`android.hardware.camera.flash`) really is required for the app to function; you can set `android:required="false"` to indicate that the feature is used but not required"
|
|
errorLine1=" android:name="android.hardware.camera.flash""
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/AndroidManifest.xml"
|
|
line="14"
|
|
column="23"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(brightDisplay) = prefs.edit().putBoolean(BRIGHT_DISPLAY, brightDisplay).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="14"
|
|
column="30"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(stroboscope) = prefs.edit().putBoolean(STROBOSCOPE, stroboscope).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="20"
|
|
column="28"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(sos) = prefs.edit().putBoolean(SOS, sos).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="26"
|
|
column="20"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(turnFlashlightOn) = prefs.edit().putBoolean(TURN_FLASHLIGHT_ON, turnFlashlightOn).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="32"
|
|
column="33"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(stroboscopeProgress) = prefs.edit().putInt(STROBOSCOPE_PROGRESS, stroboscopeProgress).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="38"
|
|
column="36"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(stroboscopeFrequency) = prefs.edit().putLong(STROBOSCOPE_FREQUENCY, stroboscopeFrequency).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="42"
|
|
column="37"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(brightDisplayColor) = prefs.edit().putInt(BRIGHT_DISPLAY_COLOR, brightDisplayColor).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="46"
|
|
column="35"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(forcePortraitMode) = prefs.edit().putBoolean(FORCE_PORTRAIT_MODE, forcePortraitMode).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="52"
|
|
column="34"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(brightnessLevel) = prefs.edit().putInt(BRIGHTNESS_LEVEL, brightnessLevel).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="58"
|
|
column="32"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(lastSleepTimerSeconds) = prefs.edit().putInt(LAST_SLEEP_TIMER_SECONDS, lastSleepTimerSeconds).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="62"
|
|
column="38"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX extension function `SharedPreferences.edit` instead?"
|
|
errorLine1=" set(sleepInTS) = prefs.edit().putLong(SLEEP_IN_TS, sleepInTS).apply()"
|
|
errorLine2=" ~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/helpers/Config.kt"
|
|
line="68"
|
|
column="26"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="UseKtx"
|
|
message="Use the KTX function `createBitmap` instead?"
|
|
errorLine1=" val mutableBitmap = Bitmap.createBitmap(size, size, Bitmap.Config.ARGB_8888)"
|
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
|
<location
|
|
file="src/main/kotlin/com/simplemobiletools/flashlight/extensions/Context.kt"
|
|
line="40"
|
|
column="25"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1="<ImageView xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/widget_bright_display.xml"
|
|
line="2"
|
|
column="2"/>
|
|
</issue>
|
|
|
|
<issue
|
|
id="ContentDescription"
|
|
message="Missing `contentDescription` attribute on image"
|
|
errorLine1="<ImageView xmlns:android="http://schemas.android.com/apk/res/android""
|
|
errorLine2=" ~~~~~~~~~">
|
|
<location
|
|
file="src/main/res/layout/widget_torch.xml"
|
|
line="2"
|
|
column="2"/>
|
|
</issue>
|
|
|
|
</issues>
|