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

Commit f72c912a authored by Ajinkya Chalke's avatar Ajinkya Chalke Committed by Automerger Merge Worker
Browse files

Merge "Fix NPE in ScreenCapture.release method." into udc-dev am: eab2ec10 am: 474e5902

parents 5dd616c1 474e5902
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -309,7 +309,7 @@ public class ScreenCapture {

        /** Release any layers if set using {@link Builder#setExcludeLayers(SurfaceControl[])}. */
        public void release() {
            if (mExcludeLayers.length == 0) {
            if (mExcludeLayers == null || mExcludeLayers.length == 0) {
                return;
            }