Skip to content
Commit 50a85887 authored by Jason Chang's avatar Jason Chang
Browse files

[DO NOT MERGE] Fix unexpectedly NPE on CF when calling

mDevice.getProductName()

Move the mDevice.getProductName() into mDevice NPE check condition.

Bug: 224685744
Bug: 224627240

Test: manually install NeutronPlayer to test usb audio device
permission warning dialog sentence.
Test: atest SystemUITests
Test: atest com.android.systemui.usb
.UsbPermissionActivityTest#testHideNonSystemOverlay

Change-Id: Ic5fecc1e98072eda6dcc48a3adc669ef731a4c9c
parent 5cbb4d7d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment