Impl the detect & show pipeline for PowerAnomalyEventList.

Test: make SettingsLibRoboTests
Bug: 293813663
Bug: 296322845
Change-Id: I0c477dc546ec4d00e4c4133afb61bf7d574be9f8
Merged-In: I0c477dc546ec4d00e4c4133afb61bf7d574be9f8
This commit is contained in:
mxyyiyi
2023-08-10 23:10:10 +08:00
committed by Xinyi Mao
parent 83c8f47ddd
commit 2037b262ff
4 changed files with 86 additions and 6 deletions

View File

@@ -101,6 +101,7 @@ public class BatteryTipsCardPreference extends Preference implements View.OnClic
.setDestination(mDestinationComponentName)
.setSourceMetricsCategory(mSourceMetricsCategory)
.launch();
setVisible(false);
} else if (viewId == R.id.dismiss_button) {
setVisible(false);
}