summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Liu <steveliu@google.com>2020-04-01 09:01:07 -0700
committerQuang Luong <qal@google.com>2020-04-01 18:08:52 +0000
commit1bfcbdf43d5a1d515bb386ca278f09313cacb067 (patch)
tree00798fb0ccbb49fa1eac28d47896f479c30edc55
parent431f16604ae8c4d8265426926891efeb304d0c3c (diff)
[WifiTrackerLib] add interface for help icon of WifiEntry
Bug: 152972514 Test: build Change-Id: I1c8040969b3032357c55a8a0d5cb70d78228fc7c
-rw-r--r--libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java
index 221829312..afe8b5fba 100644
--- a/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java
+++ b/libs/WifiTrackerLib/src/com/android/wifitrackerlib/WifiEntry.java
@@ -400,6 +400,16 @@ public abstract class WifiEntry implements Comparable<WifiEntry> {
return false;
};
+ /**
+ * Return the URI string value of help, if it is not null, WifiPicker may show
+ * help icon and route the user to help page specified by the URI string.
+ * see {@link Intent#parseUri}
+ */
+ @Nullable
+ public String getHelpUriString() {
+ return null;
+ }
+
/** Allows the user to manage their subscription via an external flow */
public void manageSubscription() {
// Subclasses should implement this method.