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.
*/
public GsmCellLocation(Bundle bundle) {
mLac = bundle.getInt("lac", mLac);
mCid = bundle.getInt("cid", mCid);
mPsc = bundle.getInt("psc", mPsc);
mLac = bundle.getInt("lac", -1);
mCid = bundle.getInt("cid", -1);
mPsc = bundle.getInt("psc", -1);
}
/**