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

Commit c4d341ba authored by Ivan Chiang's avatar Ivan Chiang
Browse files

Fix NPE for RingtonePickerActivity in Wear

There is no id "add_new_sound_text in add_new_sound_item layout.
It can't find the TextView and cause NPE.

Bug: 178990696
Test: manual. Verified by the partner.
Change-Id: I222bf8fce2cbc79b4c185907d261c95f5654fa91
parent 399d1407
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
     Make the visibility to "gone" to prevent failures.
 -->
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/add_new_sound_text"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:minHeight="?android:attr/listPreferredItemHeightSmall"