Use new api to create InteractionJankMonitor.Configuration.Builder
The api to create InteractionJankMonitor.Configuration.Builder has changed, adopt the new api. Bug: 170708749 Test: build pass Change-Id: I627370fed43630750eab2ec9752338fb03753463
This commit is contained in:
@@ -158,8 +158,7 @@ public abstract class InstrumentedPreferenceFragment extends ObservablePreferenc
|
||||
switch (newState) {
|
||||
case RecyclerView.SCROLL_STATE_DRAGGING:
|
||||
final Configuration.Builder builder =
|
||||
new Configuration.Builder(CUJ_SETTINGS_PAGE_SCROLL)
|
||||
.setView(recyclerView)
|
||||
Configuration.Builder.withView(CUJ_SETTINGS_PAGE_SCROLL, recyclerView)
|
||||
.setTag(mClassName);
|
||||
mMonitor.begin(builder);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user