Add Battery skeleton page and corresponding TS flag
Test: atest Bug: 372774754 Flag: com.android.settings.flags.catalyst_power_usage_summary_screen Change-Id: I2ce7581d0f7fdce3516fef415efdf562c63e38d4
This commit is contained in:
@@ -27,6 +27,8 @@ import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.provider.Settings.Global;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.annotation.VisibleForTesting;
|
||||
import androidx.loader.app.LoaderManager;
|
||||
import androidx.loader.content.Loader;
|
||||
@@ -270,4 +272,9 @@ public class PowerUsageSummary extends PowerUsageBase
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.power_usage_summary);
|
||||
|
||||
@Override
|
||||
public @Nullable String getPreferenceScreenBindingKey(@NonNull Context context) {
|
||||
return PowerUsageSummaryScreen.KEY;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user