Skip to content
Commit a1c680f8 authored by David Liu's avatar David Liu
Browse files

Add safety check for potential NPE.

Check null before access views since findViewById returns a nullable object.

Bug: 261017156
Fix: 261017156
Test: refactoring CL. Existing unit tests still pass.

Change-Id: I5866a987b7a94122eb94f6aac7bb99fd6fa3cb1b
parent defcfa83
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