diff options
author | Cole Faust <colefaust@google.com> | 2021-07-30 15:14:58 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2021-07-30 15:14:58 -0700 |
commit | 0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10 (patch) | |
tree | 101e06ba876cdbbd3151ecff7099ee65a6799fed /RotaryPlayground/src/com/android/car/rotaryplayground | |
parent | b5867e944fe0796c976b4d81a97c09188804498a (diff) | |
download | tests-0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10.tar.gz |
Remove usage of deprecated DirectManipulationHelper methods
Bug: 190783163
Test: Compiling
Change-Id: Ia32a3756335baa01ca73b5d867bd85001e3b2dc0
Diffstat (limited to 'RotaryPlayground/src/com/android/car/rotaryplayground')
-rw-r--r-- | RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java | 6 |
1 files 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 +} |