Update dock defender helper URL

Bug: 261206713
Test: Unit test passed
Change-Id: I6a8489b7e1a54d2c1d88cf6b04c8d1a4c9c6c235
This commit is contained in:
Zhenwei Chen
2022-12-15 10:29:51 +08:00
committed by Wesley Wang
parent 1eea27ae82
commit 35caf2ffb7
2 changed files with 3 additions and 2 deletions

View File

@@ -139,12 +139,11 @@ public class DockDefenderTip extends BatteryTip {
}
cardPreference.setSecondaryButtonText(context.getString(R.string.learn_more));
//TODO: update helper string
cardPreference.setSecondaryButtonClickListener(
button -> button.startActivityForResult(
HelpUtils.getHelpIntent(
context,
context.getString(R.string.help_url_battery_defender),
context.getString(R.string.help_url_dock_defender),
/* backupContext */ ""), /* requestCode */ 0));
cardPreference.setSecondaryButtonVisible(true);
cardPreference.setSecondaryButtonContentDescription(context.getString(