Migrate ambiguous getId method into getLink
The method name getId in setup library LinkSpane would be changed to the name getLink, so migrate the app that is used to getId to getLink. Bug: 256095678 Change-Id: I2f9d58d82d99775575249e9e245949a0bc1d553e Test: manual
This commit is contained in:
@@ -331,7 +331,7 @@ public class FingerprintEnrollIntroduction extends BiometricEnrollIntroduction {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onClick(LinkSpan span) {
|
public void onClick(LinkSpan span) {
|
||||||
if ("url".equals(span.getId())) {
|
if ("url".equals(span.getLink())) {
|
||||||
String url = getString(R.string.help_url_fingerprint);
|
String url = getString(R.string.help_url_fingerprint);
|
||||||
Intent intent = HelpUtils.getHelpIntent(this, url, getClass().getName());
|
Intent intent = HelpUtils.getHelpIntent(this, url, getClass().getName());
|
||||||
if (intent == null) {
|
if (intent == null) {
|
||||||
|
Reference in New Issue
Block a user