Lint fixes.

This commit is contained in:
Onuray Sahin 2021-07-30 15:25:02 +03:00
parent cfe64eed2a
commit 1aa706dee5
5 changed files with 3 additions and 4 deletions

View File

@ -162,7 +162,7 @@ Formatter\.formatShortFileSize===1
# android\.text\.TextUtils # android\.text\.TextUtils
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt ### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
enum class===102 enum class===103
### Do not import temporary legacy classes ### Do not import temporary legacy classes
import org.matrix.android.sdk.internal.legacy.riot===3 import org.matrix.android.sdk.internal.legacy.riot===3

View File

@ -1,7 +1,6 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="16dp" android:width="16dp"
android:height="16dp" android:height="16dp"
android:autoMirrored="true"
android:viewportWidth="16" android:viewportWidth="16"
android:viewportHeight="16"> android:viewportHeight="16">
<path <path

View File

@ -27,6 +27,7 @@
android:layout_height="32dp" android:layout_height="32dp"
android:background="@drawable/bg_voice_play_pause_button" android:background="@drawable/bg_voice_play_pause_button"
android:backgroundTint="?android:colorBackground" android:backgroundTint="?android:colorBackground"
android:contentDescription="@string/a11y_play_voice_message"
android:src="@drawable/ic_play_pause_play" android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

View File

@ -191,7 +191,6 @@
android:contentDescription="@string/a11y_play_voice_message" android:contentDescription="@string/a11y_play_voice_message"
android:src="@drawable/ic_play_pause_play" android:src="@drawable/ic_play_pause_play"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:tint="?vctr_content_secondary" /> app:tint="?vctr_content_secondary" />

View File

@ -3439,7 +3439,7 @@
<string name="room_upgrade_to_recommended_version">Upgrade to the recommended room version</string> <string name="room_upgrade_to_recommended_version">Upgrade to the recommended room version</string>
<string name="error_failed_to_join_room">Sorry, an error occurred while trying to join: %s</string> <string name="error_failed_to_join_room">Sorry, an error occurred while trying to join: %s</string>
<string name="a11y_start_voice_message">Start Voice Message</string> <string name="a11y_start_voice_message">Start Voice Message</string>
<string name="voice_message_slide_to_cancel">Slide to cancel</string> <string name="voice_message_slide_to_cancel">Slide to cancel</string>
<string name="a11y_lock_voice_message">Voice Message Lock</string> <string name="a11y_lock_voice_message">Voice Message Lock</string>