Move some slice related api out of BasePreferenceController
And share with CustomSliceable. Bug: 121150258 Test: rebuild Change-Id: Ia5aed9c156fb168c1f001da6e37f7f12f191b385
This commit is contained in:
@@ -411,9 +411,7 @@ public class SettingsSliceProvider extends SliceProvider {
|
||||
|
||||
@VisibleForTesting
|
||||
void loadSliceInBackground(Uri uri) {
|
||||
ThreadUtils.postOnBackgroundThread(() -> {
|
||||
loadSlice(uri);
|
||||
});
|
||||
ThreadUtils.postOnBackgroundThread(() -> loadSlice(uri));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user