From 0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10 Mon Sep 17 00:00:00 2001 From: Cole Faust Date: Fri, 30 Jul 2021 15:14:58 -0700 Subject: Remove usage of deprecated DirectManipulationHelper methods Bug: 190783163 Test: Compiling Change-Id: Ia32a3756335baa01ca73b5d867bd85001e3b2dc0 --- .../car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java b/RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java index 85fce89..f137343 100644 --- a/RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java +++ b/RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java @@ -38,7 +38,7 @@ public class RotarySysUiDirectManipulationWidgets extends Fragment { View directManipulationSupportedSeekBar = view.findViewById( R.id.direct_manipulation_supported_seek_bar); - DirectManipulationHelper.setSupportsDirectManipulation( + DirectManipulationHelper.setSupportsRotateDirectly( directManipulationSupportedSeekBar, true); View directManipulationUnsupportedSeekBar = view.findViewById( @@ -48,7 +48,7 @@ public class RotarySysUiDirectManipulationWidgets extends Fragment { View directManipulationSupportedRadialTimePickerView = view.findViewById( R.id.direct_manipulation_supported_radial_time_picker); - DirectManipulationHelper.setSupportsDirectManipulation( + DirectManipulationHelper.setSupportsRotateDirectly( directManipulationSupportedRadialTimePickerView, true); View directManipulationUnsupportedRadialTimePickerView = view.findViewById( @@ -92,4 +92,4 @@ public class RotarySysUiDirectManipulationWidgets extends Fragment { mFlipFlop = !mFlipFlop; } } -} \ No newline at end of file +} -- cgit v1.2.3