diff options
| author | Joanne Chung <joannechung@google.com> | 2022-01-25 12:07:12 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2022-01-25 12:07:12 +0000 |
| commit | 4559c7a8b6fa344811bca2ce47c41c2b8f5a5785 (patch) | |
| tree | a8a2ebf07013bb214bc20271d6bcd927f698899e /core/java/android | |
| parent | f6e00a2f16cbbc6ce1725317cd4ed054744da5dc (diff) | |
| parent | 895098daeba27fca060b55924f302265438b0fe5 (diff) | |
Merge "Change path for DefaultSelectionToolbarRenderService"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/service/selectiontoolbar/DefaultSelectionToolbarRenderService.java | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/core/java/android/service/selectiontoolbar/DefaultSelectionToolbarRenderService.java b/core/java/android/service/selectiontoolbar/DefaultSelectionToolbarRenderService.java new file mode 100644 index 000000000000..c452e0615685 --- /dev/null +++ b/core/java/android/service/selectiontoolbar/DefaultSelectionToolbarRenderService.java @@ -0,0 +1,50 @@ +/* + * Copyright (C) 2021 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 android.service.selectiontoolbar; + +import android.util.Log; +import android.view.selectiontoolbar.ShowInfo; + +/** + * The default implementation of {@link SelectionToolbarRenderService}. + * + * @hide + */ +// TODO(b/214122495): fix class not found then move to system service folder +public final class DefaultSelectionToolbarRenderService extends SelectionToolbarRenderService { + + private static final String TAG = "DefaultSelectionToolbarRenderService"; + + @Override + public void onShow(ShowInfo showInfo, + SelectionToolbarRenderService.RemoteCallbackWrapper callbackWrapper) { + // TODO: Add implementation + Log.w(TAG, "onShow()"); + } + + @Override + public void onHide(long widgetToken) { + // TODO: Add implementation + Log.w(TAG, "onHide()"); + } + + @Override + public void onDismiss(long widgetToken) { + // TODO: Add implementation + Log.w(TAG, "onDismiss()"); + } +} |
