File tree Expand file tree Collapse file tree
binder/src/main/java/io/grpc/binder/internal Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,14 +49,14 @@ interface Observer {
4949 }
5050
5151 /**
52- * Fetches details about the remote service from PackageManager without binding to it.
52+ * Fetches details about the remote Service from PackageManager without binding to it.
5353 *
54- * <p>Resolving an untrusted address before binding to it lets you " screen" out problematic
55- * servers before giving them a chance to run. However, note that the identity/existence of the
56- * resolved Service can change between the time this method returns and the time you actually
57- * bind/connect to it. For example, suppose the target package gets uninstalled right after this
58- * method returns. In {@link Observer#onBound}, you should verify that the server you resolved is
59- * the same one you connected to.
54+ * <p>Resolving an untrusted address before binding to it lets you screen out problematic servers
55+ * before giving them a chance to run. However, note that the identity/existence of the resolved
56+ * Service can change between the time this method returns and the time you actually bind/connect
57+ * to it. For example, suppose the target package gets uninstalled right after this method
58+ * returns. In {@link Observer#onBound}, you should verify that the server you resolved is the
59+ * same one you connected to.
6060 */
6161 @ AnyThread
6262 ServiceInfo resolve () throws StatusException ;
You can’t perform that action at this time.
0 commit comments