Fix potential NPE in BackgroundAppState

Bug: 134559760
Change-Id: I08be7563ec8306ede6c0c7e62b0b5fc0a7c5f998
1 file changed