OSDN Git Service

Add null check in BackupManagerService$PerformBackupTask.handleCancel()
authorAnton Philippov <philippov@google.com>
Mon, 27 Mar 2017 13:49:04 +0000 (14:49 +0100)
committerAnton Philippov <philippov@google.com>
Mon, 27 Mar 2017 21:13:40 +0000 (22:13 +0100)
commit519a87db8fabb49f299aa384aeb5cfe4dfedf907
treec0b239be86bf86c69c3b92ccf897056bbd4cdcdd
parent503b5cccd72e81a317bf7bad647534f115f5d962
Add null check in BackupManagerService$PerformBackupTask.handleCancel()

handleCancel() can be called before we start backing up any particular
package, therefore we need to properly handle log messages in that case.

Bug: 36638539
Test: manual
Change-Id: Ic96e2fbad5c0a79640a3419d187e8b5e4d265de3
services/backup/java/com/android/server/backup/BackupManagerService.java