Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1f2b8a9a authored by Mohammed Irfan's avatar Mohammed Irfan Committed by Sam Mortimer
Browse files

Guard in short-circuit evaluations for stringSplit methods.

* splitRange function should also check if string is empty instead of
  just checking for null, as a faulty camera can return
  an empty RangeLength string.
* See (stripped) logcat: http://pastebin.com/kVV3ZJhz

Change-Id: Icbb8f12d1c2511366856889edc9b2060b764f2d0

Camera: Use TextUtils.isEmpty to check null + empty

Change-Id: I2e2233b834a391cc10dfca8c114e699828758c16
parent 99e24beb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment