From c4d341ba8faba16e32ae04f7910ff3d0f96929f3 Mon Sep 17 00:00:00 2001 From: Ivan Chiang Date: Tue, 2 Mar 2021 15:40:51 +0800 Subject: [PATCH] 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 --- packages/SoundPicker/res/layout-watch/add_new_sound_item.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/SoundPicker/res/layout-watch/add_new_sound_item.xml b/packages/SoundPicker/res/layout-watch/add_new_sound_item.xml index 6f91d770012a2..edfc0aba5be73 100644 --- a/packages/SoundPicker/res/layout-watch/add_new_sound_item.xml +++ b/packages/SoundPicker/res/layout-watch/add_new_sound_item.xml @@ -20,6 +20,7 @@ Make the visibility to "gone" to prevent failures. -->