Adds video to swipe up gesture
Bug: 77549883 Test: Manual test Change-Id: I818a5952864cd1a7b62501bb23ed15b4c9fabd27
This commit is contained in:
BIN
res/drawable-nodpi/gesture_swipe_up.png
Normal file
BIN
res/drawable-nodpi/gesture_swipe_up.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 25 KiB |
BIN
res/raw/gesture_swipe_up.mp4
Normal file
BIN
res/raw/gesture_swipe_up.mp4
Normal file
Binary file not shown.
@@ -21,6 +21,11 @@
|
||||
android:key="gesture_swipe_up_screen"
|
||||
android:title="@string/swipe_up_to_switch_apps_title">
|
||||
|
||||
<com.android.settings.widget.VideoPreference
|
||||
android:key="gesture_swipe_up_video"
|
||||
app:animation="@raw/gesture_swipe_up"
|
||||
app:preview="@drawable/gesture_swipe_up" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="gesture_swipe_up"
|
||||
android:title="@string/swipe_up_to_switch_apps_title"
|
||||
|
@@ -33,8 +33,7 @@ public class SwipeUpPreferenceController extends GesturePreferenceController {
|
||||
private final int ON = 1;
|
||||
private final int OFF = 0;
|
||||
|
||||
// TODO(77474484): Update when swipe up illustration video is ready
|
||||
private static final String PREF_KEY_VIDEO = "";
|
||||
private static final String PREF_KEY_VIDEO = "gesture_swipe_up_video";
|
||||
private final UserManager mUserManager;
|
||||
|
||||
public SwipeUpPreferenceController(Context context, String key) {
|
||||
|
Reference in New Issue
Block a user