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

Commit 18ce5fb2 authored by Iván Budnik's avatar Iván Budnik
Browse files

Fix `#getInstance(Context, String, Executor, Runnable)` javadoc

The javadoc stated that a non-existent clientPackageName would return null, when the method would actually throw an IllegalArgumentException, already documented on the `@throws` clause. The error likely happened when copying the javadoc from `#getInstance(Context, String)`.

Change-Id: Ie045eaa1fc2ea707e9ec9810a4b61190bf0a2da2
Test: N/A
Bug: 205124386
Flag: DOCS_ONLY
parent 8dd660e1
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -288,8 +288,7 @@ public final class MediaRouter2 {

    /**
     * Returns a proxy MediaRouter2 instance that allows you to control the routing of an app
     * specified by {@code clientPackageName}. Returns {@code null} if the specified package name
     * does not exist.
     * specified by {@code clientPackageName}.
     *
     * <p>Proxy MediaRouter2 instances operate differently than regular MediaRouter2 instances:
     *