am 39846e69: Merge change 7819 into donut
Merge commit '39846e691976fa7335bf5e648de46268d24b9927' * commit '39846e691976fa7335bf5e648de46268d24b9927': Fix NullPointer in VpnServiceBinder.checkStatus().
This commit is contained in:
committed by
Android Git Automerger
commit
a1663400f9
@@ -71,9 +71,8 @@ public class VpnServiceBinder extends Service {
|
||||
}
|
||||
|
||||
private synchronized void checkStatus(VpnProfile p) {
|
||||
if (mService == null) broadcastConnectivity(p.getName(), VpnState.IDLE);
|
||||
|
||||
if (!p.getName().equals(mService.mProfile.getName())) {
|
||||
if ((mService == null)
|
||||
|| (!p.getName().equals(mService.mProfile.getName()))) {
|
||||
broadcastConnectivity(p.getName(), VpnState.IDLE);
|
||||
} else {
|
||||
broadcastConnectivity(p.getName(), mService.getState());
|
||||
|
||||
Reference in New Issue
Block a user