From b29a5fa55ce3b84dd1829688db8522d5e68ffc44 Mon Sep 17 00:00:00 2001 From: Sunny Goyal Date: Mon, 12 Feb 2018 14:25:48 -0800 Subject: Adding support for hiding widgets from the widget tray and reconfiguring widgets > Removing AppInfo target > Switching between uninstall and setup based on the drag view Bug: 63931362 Change-Id: Iccd6f965fa3d61992244a365efc242122292c0ca --- .../launcher3/testcomponent/AppWidgetHidden.java | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/src/com/android/launcher3/testcomponent/AppWidgetHidden.java (limited to 'tests/src/com') diff --git a/tests/src/com/android/launcher3/testcomponent/AppWidgetHidden.java b/tests/src/com/android/launcher3/testcomponent/AppWidgetHidden.java new file mode 100644 index 000000000..83492bfd2 --- /dev/null +++ b/tests/src/com/android/launcher3/testcomponent/AppWidgetHidden.java @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2018 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.testcomponent; + +import android.appwidget.AppWidgetProvider; + +/** + * A simple app widget without any configuration screen and is hidden in picker. + */ +public class AppWidgetHidden extends AppWidgetProvider { } -- cgit v1.2.3