diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2018-02-12 14:25:48 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2018-03-02 13:20:09 -0800 |
commit | b29a5fa55ce3b84dd1829688db8522d5e68ffc44 (patch) | |
tree | fe21e0db577a62912dbda25a338646b14e5eadb6 /tests/src/com | |
parent | f454ded32c5273ca71538b3ae61467eabaf8bfd4 (diff) | |
download | android_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.tar.gz android_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.tar.bz2 android_packages_apps_Trebuchet-b29a5fa55ce3b84dd1829688db8522d5e68ffc44.zip |
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
Diffstat (limited to 'tests/src/com')
-rw-r--r-- | tests/src/com/android/launcher3/testcomponent/AppWidgetHidden.java | 23 |
1 files changed, 23 insertions, 0 deletions
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 { } |