[Toast] Use a BaseSearchConfig for launcher3 to read allapps device config.

Bug: 251387263
Test: local
Change-Id: I92c52caff377e627305bc7999ae0205fe6269968
This commit is contained in:
Becky Qiu
2022-10-19 16:58:22 -07:00
parent 821ef94974
commit 4ed3dfc28a
3 changed files with 36 additions and 7 deletions

View File

@@ -0,0 +1,28 @@
/*
* Copyright (C) 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.android.launcher3.allapps;
/** Base config values for search. */
public class BaseSearchConfig {
public BaseSearchConfig() {}
/**
* Returns whether to enable the synchronized keyboard transition between Home and All Apps.
*/
public boolean isKeyboardSyncEnabled() {
return false;
}
}