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

Skip to content
Commit 3986174a authored by Chun-Ku Lin's avatar Chun-Ku Lin
Browse files

Use pref's layoutRes to bindViewHolder in tests

If the ViewHolder isn't created with the expected layout resource that
matches the Preference's layout resource, it would cause NPE when trying
to use the view.

Fix: 370776669
Test: atest SelectorWithWidgetPreferenceTest
Flag: EXEMPT test only

Change-Id: I757d2e17fb389a02189d950e058ab2d392d80fe0
parent e8ce4cad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment