Implement the battery tips cards.(1/2)
- Implement a tips card UI in Battery Usage. [Screenshot]: - Tips Card with thumbs-up/down feedback in dark mode https://screenshot.googleplex.com/3nRCFYvLTWfiYYT - Tips Card without feedback https://screenshot.googleplex.com/B7QGRJZAHzgWpCP - Tips Card in Force RTL layout https://screenshot.googleplex.com/8crQdj8ao26pKpH - Tips Card in light mode https://screenshot.googleplex.com/885aVvZm8xmhK2S [TODO]: - Add accessibility - Localization Bug: 291689623 Test: Manual Change-Id: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f Merged-In: I4443cdb21b3ba30900fc2f6fcc21c4c56dc1293f
This commit is contained in:
@@ -37,6 +37,16 @@ public interface PowerUsageFeatureProvider {
|
||||
*/
|
||||
boolean isBatteryUsageEnabled();
|
||||
|
||||
/**
|
||||
* Check whether the battery tips card is enabled in the battery usage page
|
||||
*/
|
||||
boolean isBatteryTipsEnabled();
|
||||
|
||||
/**
|
||||
* Check whether the feedback card is enabled in the battery tips card
|
||||
*/
|
||||
boolean isBatteryTipsFeedbackEnabled();
|
||||
|
||||
/**
|
||||
* Returns a threshold (in milliseconds) for the minimal screen on time in battery usage list
|
||||
*/
|
||||
|
Reference in New Issue
Block a user