Fix potential NULL pointer crash

Bug: 111407253
Test: manual

Change-Id: Ie76f0e5df4fac84f8bf949ab8b0e81122e92bf35
1 file changed