blob: 31820d7424522ac07af1d02d7f2e6d7d77a651ae [file] [log] [blame]
Michael Jurka0280c3b2010-09-17 15:00:07 -07001/*
2 * Copyright (C) 2010 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Daniel Sandler325dc232013-06-05 22:57:57 -040017package com.android.launcher3;
Michael Jurka0280c3b2010-09-17 15:00:07 -070018
19import android.content.ComponentName;
20
21/**
Hyunyoung Song3f471442015-04-08 19:01:34 -070022 * Meta data that is used for deferred binding.
23 * e.g., this object is used to pass information on dragable targets when they are dropped onto
24 * the workspace from another container.
Michael Jurka0280c3b2010-09-17 15:00:07 -070025 */
Hyunyoung Song3f471442015-04-08 19:01:34 -070026public class PendingAddItemInfo extends ItemInfo {
27
Michael Jurka0280c3b2010-09-17 15:00:07 -070028 /**
29 * The component that will be created.
30 */
Hyunyoung Song3f471442015-04-08 19:01:34 -070031 public ComponentName componentName;
Sunny Goyal1edab712016-09-01 10:55:20 -070032
33 @Override
34 protected String dumpProperties() {
35 return super.dumpProperties() + " componentName=" + componentName;
36 }
Adam Cohen1b36dc32012-02-13 19:27:37 -080037}