Merge "Telephony: Initialize GsmCellLocation class members properly"

This commit is contained in:
Robert Greenwalt
2015-01-05 23:28:22 +00:00
committed by Gerrit Code Review

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