* commit 'd38218d880f02951015733a3d3e00deb546465bf': Telephony: Initialize GsmCellLocation class members properly
This commit is contained in:
@@ -40,9 +40,9 @@ public class GsmCellLocation extends CellLocation {
|
|||||||
* Initialize the object from a bundle.
|
* Initialize the object from a bundle.
|
||||||
*/
|
*/
|
||||||
public GsmCellLocation(Bundle bundle) {
|
public GsmCellLocation(Bundle bundle) {
|
||||||
mLac = bundle.getInt("lac", mLac);
|
mLac = bundle.getInt("lac", -1);
|
||||||
mCid = bundle.getInt("cid", mCid);
|
mCid = bundle.getInt("cid", -1);
|
||||||
mPsc = bundle.getInt("psc", mPsc);
|
mPsc = bundle.getInt("psc", -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user