diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2021-08-02 20:19:41 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2021-08-02 20:19:41 +0000 |
commit | 01091850d9e99ffabcd8091c3dc15473adc47303 (patch) | |
tree | 4e82a4e30944063336c7b862d68b79a696352368 | |
parent | 695c6b7f0d4e7a1b4906e495e0bcfc21ef7553c6 (diff) | |
parent | 0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10 (diff) | |
download | tests-01091850d9e99ffabcd8091c3dc15473adc47303.tar.gz |
Merge "Remove usage of deprecated DirectManipulationHelper methods" into sc-v2-dev
-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 +} |