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

Commit ca7dde98 authored by Colin Cross's avatar Colin Cross Committed by Cherrypicker Worker
Browse files

Fix ThemePickerLib for use_resource_processor: true

Reference resources with the package name specified in the manifest
of the library that contains the resources.

Bug: 319160342
Test: m javac-check
Flag: EXEMPT refactor
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:3e0fb7bc5a536363f262b25d36aba2cd4eee7da2)
Merged-In: I2e22dc79c41c32198a6870fc953195a8706fb91c
Change-Id: I2e22dc79c41c32198a6870fc953195a8706fb91c
parent 2d26dd25
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -179,8 +179,8 @@ constructor(private val defaultCustomizationOptionUtil: DefaultCustomizationOpti
        layoutInflater: LayoutInflater,
    ): View =
        when (option) {
            ThemePickerLockCustomizationOption.CLOCK -> R.layout.bottom_sheet_clock
            ThemePickerLockCustomizationOption.SHORTCUTS -> R.layout.bottom_sheet_shortcut
            ThemePickerLockCustomizationOption.CLOCK -> com.android.wallpaper.R.layout.bottom_sheet_clock
            ThemePickerLockCustomizationOption.SHORTCUTS -> com.android.wallpaper.R.layout.bottom_sheet_shortcut
            else ->
                throw IllegalStateException(
                    "Customization option $option does not have a bottom sheet view"