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

Commit 474e5902 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

parents 0c021904 eab2ec10
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;
            }