am b385e0b4: Merge "Telephony: Initialize GsmCellLocation class members properly"

* commit 'b385e0b4923e9bd4663e6b3c976fbff105b343c3':
  Telephony: Initialize GsmCellLocation class members properly
This commit is contained in:
Robert Greenwalt
2015-01-05 23:33:37 +00:00
committed by Android Git Automerger

View File

@@ -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);
} }
/** /**