Merge "profcollect: Fix possible NPE in ProfcollectBGJobService"
This commit is contained in:
@@ -218,6 +218,9 @@ public final class ProfcollectForwardingService extends SystemService {
|
||||
BackgroundThread.get().getThreadHandler().post(
|
||||
() -> {
|
||||
try {
|
||||
if (sSelfService.mIProfcollect == null) {
|
||||
return;
|
||||
}
|
||||
sSelfService.mIProfcollect.process();
|
||||
} catch (RemoteException e) {
|
||||
Log.e(LOG_TAG, "Failed to process profiles in background: "
|
||||
|
||||
Reference in New Issue
Block a user