From 1bfcbdf43d5a1d515bb386ca278f09313cacb067 Mon Sep 17 00:00:00 2001 From: Steven Liu Date: Wed, 1 Apr 2020 09:01:07 -0700 Subject: [WifiTrackerLib] add interface for help icon of WifiEntry Bug: 152972514 Test: build Change-Id: I1c8040969b3032357c55a8a0d5cb70d78228fc7c --- .../src/com/android/wifitrackerlib/WifiEntry.java | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libs') 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 { 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. -- cgit v1.2.3