OSDN Git Service

Fix the comments of onError() callback
authoryinxu <yinxu@google.com>
Thu, 9 Nov 2017 00:10:16 +0000 (16:10 -0800)
committeryinxu <yinxu@google.com>
Thu, 9 Nov 2017 17:56:45 +0000 (09:56 -0800)
Bug: 63718613
Test: Basic telephony sanity
Change-Id: Ibb4bf5fd907666d72c40bb0caf505e187937467b

telephony/java/android/telephony/TelephonyScanManager.java

index 92a21b6..7bcdcdc 100644 (file)
@@ -73,8 +73,8 @@ public final class TelephonyScanManager {
         /**
          * Informs the user that there is some error about the scan.
          *
-         * This callback will be called whenever there is any error about the scan, but the scan
-         * won't stop unless the onComplete() callback is called.
+         * This callback will be called whenever there is any error about the scan, and the scan
+         * will be terminated. onComplete() will NOT be called.
          */
         public void onError(int error) {}
     }