Fix NPE of ApplicationsState

Check userId before getting the entry from mEntriesMap to avoid NPE,
since the caller from RecentAppStatsMixin may query the entry for
uncached userId.

Bug: 275123723
Test: manual
Change-Id: I369081ebf179c267fb9ecd1a359ba1ed4e308540
1 file changed