Fix NPE in SplitController#startActivityToSide
SplitController#startActivityToSide is called from SplitController#launchPlaceholderIfNecessary with a null value for the failure callback. If the activity launch to side fails, then startActivityToSide tries to pass the failure to the failure callback, which is null. This CL fixes this bug by checking if the failure callback is null. Bug: b/209296363 Test: existing tests pass Test: launch settings app from overview and observe no crash Change-Id: I6577d992f48acbaae6b0e9776e65933e779defe3
Loading
Please register or sign in to comment