NPE protection

ComponentName#unflattenFromString is a @Nullable API, so take the NPE protection to avoid the crashes

Bug: 304184859
Test: Run CTS
      atest LocaleManagerTests
      atest CtsLocaleManagerHostTestCases

      Run unit test
      atest LocaleManagerServiceTest

Change-Id: Idf981304b9eaf31bc7ed39dde86ed6801fcbb7e0
1 file changed