Skip to content
Commit abdf4850 authored by TYM Tsai's avatar TYM Tsai
Browse files

Protected the null pointer causes cts failed

The current view id is set upon entering and reset to null upon exiting.
The mAssistReceiver may callback after the view exit which caused NPE. To
prevent the symptom, the callback should do nothing when the current view
id is null.

Fixes: 139314597
Fixes: 139349645
Fixes: 139355625
Fixes: 139360077
Test: atest CtsAutoFillServiceTestCases
Test: atest CtsAccessibilityServiceTestCases
Test: atest CtsInputMethodTestCases
Test: atest CtsWidgetTestCases:ToolbarTest

Change-Id: Idbf3c4a24de5547169f905529970e5af795807c2
parent 16397602
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