fix mvno_match_data OutOfBounds Exception in substring check routine.

When the length of mvno_match_data is greater than GID from IccRecord,
It will generate StringIndexOutOfBoundsException.
Therefore, codes are changed to use startsWith() insteads of subString().

Change-Id: I04c5c5039edb2cfa757bf2f5a4b9f124afb69b06
Bugs: 10171336
Merge "fix mvno_match_data OutOfBounds Exception in substring check routine."
am 9505a35e: Merge "fix mvno_match_data OutOfBounds Exception in substring check routine."

* commit '9505a35ea6068417771f8f0987e6348473544222':
  fix mvno_match_data OutOfBounds Exception in substring check routine.
am cb36ce5c: am af532402: (-s ours) Reconcile with jb-mr2-zeroday-deb-release - do not merge

* commit 'cb36ce5cb0f940b2da055631f32de8fccaf7957e':
  Add mEnableFailFastRefCounter.
  Restart, cleanup or retry inactve connections.
  DataConnection should not retry permanent errors.
am 82be30d9: Merge "Make EnableFailFastRefCounter a singleton." into klp-dev

* commit '82be30d9983834ed010fceaff7ef5b05796de786':
  Make EnableFailFastRefCounter a singleton.
Reconcile with klp-release - do not merge

Change-Id: I410145696f085efa28a753a8eb54c749fe9baf5f
Fix mvnoMatches function but keep case-insensitive

Redo previous fix in a way that's still case insensitive.

bug:10171336
Change-Id: I65e29b72ace2a41ed7a19e3bfb5d23bf3773d41c
Properly notify of precise call state change after connection hangup.

When disconnecting connections via Connection.hangup(), previously no
precise call state notification was sent out.

Change-Id: I4439d7d8ed47e72da9d061b885ec9a0e6e1b784d
am 7ab10e47: Change set position of mAttached

* commit '7ab10e4710bdb54c6d9a5ee01cd443a42a2689f5':
  Change set position of mAttached
Merge "Properly notify of precise call state change after connection hangup."
am 325161b4: Merge "Properly notify of precise call state change after connection hangup."

* commit '325161b487fa627fe9c150500dec0e03ad4c6379':
  Properly notify of precise call state change after connection hangup.
am b4121161: Merge "Properly notify of precise call state change after connection hangup." into klp-dev

* commit 'b4121161911b014ff2a3c75cdd94280683d0d8dc':
  Properly notify of precise call state change after connection hangup.
Merge "Fix mvnoMatches function but keep case-insensitive"
am 13578cfe: Merge "Fix mvnoMatches function but keep case-insensitive"

* commit '13578cfe145396ff14fb76456dc860acfb532fad':
  Fix mvnoMatches function but keep case-insensitive
Merge commit 'b256cf8d' into manualmerge
am 62c6fc83: am a6855ef9: am 876763e9: Make EnableFailFastRefCounter a singleton.

* commit '62c6fc83e7abcc102b68c29f310887711f64a4a6':
  Make EnableFailFastRefCounter a singleton.
am 9894b3fb: fix trysetupdata when mAutoAttachOnCreation true

* commit '9894b3fb2f35e21d9cfd45f233ed093589e14c26':
  fix trysetupdata when mAutoAttachOnCreation true
am b48c51eb: Merge "UICC : add support empty alpha id for BIP" into klp-dev

* commit 'b48c51eb1e895ec899b53f1847ad0a5b9a45a085':
  UICC : add support empty alpha id for BIP
am a08decf9: Merge "Add support for a provisioning apn." into klp-dev

* commit 'a08decf911ab55f06a0972a2ecb1995c46d9ac1e':
  Add support for a provisioning apn.
am 1c40f771: am 25cebe4f: (-s ours) Merge commit \'43c93591\' into manualmerge

* commit '1c40f771b37bc33b8b210864871166faa4466cac':
  Add support for a provisioning apn.