Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c013bb9b authored by George Lin's avatar George Lin Committed by Android Build Coastguard Worker
Browse files

Fix crash of resource not found

Do not use -1 as res Id

Test: Manually tested no crash
Fixes: 290183862
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:64d53e549ca6795a058a61c088ce735f1cb4d23c)
Merged-In: Iadbdec303acd4fcb5e244ffa2292cc4c9112253d
Change-Id: Iadbdec303acd4fcb5e244ffa2292cc4c9112253d
parent ee4f659f
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -16,10 +16,11 @@
package com.android.customization.picker.clock.utils

import androidx.annotation.StringRes
import com.android.wallpaper.R

class ThemePickerClockDescriptionUtils : ClockDescriptionUtils {
    @StringRes
    override fun getDescriptionResId(clockId: String): Int {
        return -1
        return R.string.clock_title
    }
}