Merge change 5810 into donut
* changes: Fix bug 1930055 of NullPointerException.
This commit is contained in:
@@ -667,7 +667,10 @@ public class TelephonyManager {
|
|||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
// the phone process is restarting.
|
// the phone process is restarting.
|
||||||
return CALL_STATE_IDLE;
|
return CALL_STATE_IDLE;
|
||||||
}
|
} catch (NullPointerException ex) {
|
||||||
|
// the phone process is restarting.
|
||||||
|
return CALL_STATE_IDLE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Data connection activity: No traffic. */
|
/** Data connection activity: No traffic. */
|
||||||
@@ -701,7 +704,10 @@ public class TelephonyManager {
|
|||||||
} catch (RemoteException ex) {
|
} catch (RemoteException ex) {
|
||||||
// the phone process is restarting.
|
// the phone process is restarting.
|
||||||
return DATA_ACTIVITY_NONE;
|
return DATA_ACTIVITY_NONE;
|
||||||
}
|
} catch (NullPointerException ex) {
|
||||||
|
// the phone process is restarting.
|
||||||
|
return DATA_ACTIVITY_NONE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Data connection state: Disconnected. IP traffic not available. */
|
/** Data connection state: Disconnected. IP traffic not available. */
|
||||||
|
|||||||
Reference in New Issue
Block a user