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

Commit c4204b51 authored by Mohammed Irfan's avatar Mohammed Irfan
Browse files

SystemUI: Crash fix from bad camera values.

* Assertion errors are also caught for camera.
* Should fix this issue: http://pastebin.com/PdyHVKyp

Change-Id: I9b393ba86b362157b4e99a1251ce8db6d25facd7
parent 3b54f464
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -276,7 +276,7 @@ public class QSUtils {
                    return true;
                }
            }
        } catch (CameraAccessException e) {
        } catch (CameraAccessException | AssertionError e) {
            // Ignore
        }
        return false;