aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCole Faust <colefaust@google.com>2021-07-30 15:14:58 -0700
committerCole Faust <colefaust@google.com>2021-07-30 15:14:58 -0700
commit0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10 (patch)
tree101e06ba876cdbbd3151ecff7099ee65a6799fed
parentb5867e944fe0796c976b4d81a97c09188804498a (diff)
downloadtests-0cf3edd6582bdc86b3c31ffdfef6a8fa975e4a10.tar.gz
Remove usage of deprecated DirectManipulationHelper methods
Bug: 190783163 Test: Compiling Change-Id: Ia32a3756335baa01ca73b5d867bd85001e3b2dc0
-rw-r--r--RotaryPlayground/src/com/android/car/rotaryplayground/RotarySysUiDirectManipulationWidgets.java6
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
+}