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

Commit 1eb3b126 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

Merge "*ServiceStartNotAllowedException shouldn't have a "cause""

parents 7f494cc9 fc3ec92a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -40,4 +40,11 @@ public abstract class ServiceStartNotAllowedException extends IllegalStateExcept
            return new BackgroundServiceStartNotAllowedException(message);
        }
    }

    @Override
    public synchronized Throwable getCause() {
        // "Cause" is often used for clustering exceptions, and developers don't want to have it
        // for this exception. b/210890426
        return null;
    }
}