1ed13187a745866483139e2878037e1f8427ce567Kenny Guy/* 2ed13187a745866483139e2878037e1f8427ce567Kenny Guy * Copyright (C) 2014 The Android Open Source Project 3ed13187a745866483139e2878037e1f8427ce567Kenny Guy * 4ed13187a745866483139e2878037e1f8427ce567Kenny Guy * Licensed under the Apache License, Version 2.0 (the "License"); 5ed13187a745866483139e2878037e1f8427ce567Kenny Guy * you may not use this file except in compliance with the License. 6ed13187a745866483139e2878037e1f8427ce567Kenny Guy * You may obtain a copy of the License at 7ed13187a745866483139e2878037e1f8427ce567Kenny Guy * 8ed13187a745866483139e2878037e1f8427ce567Kenny Guy * http://www.apache.org/licenses/LICENSE-2.0 9ed13187a745866483139e2878037e1f8427ce567Kenny Guy * 10ed13187a745866483139e2878037e1f8427ce567Kenny Guy * Unless required by applicable law or agreed to in writing, software 11ed13187a745866483139e2878037e1f8427ce567Kenny Guy * distributed under the License is distributed on an "AS IS" BASIS, 12ed13187a745866483139e2878037e1f8427ce567Kenny Guy * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13ed13187a745866483139e2878037e1f8427ce567Kenny Guy * See the License for the specific language governing permissions and 14ed13187a745866483139e2878037e1f8427ce567Kenny Guy * limitations under the License. 15ed13187a745866483139e2878037e1f8427ce567Kenny Guy */ 16ed13187a745866483139e2878037e1f8427ce567Kenny Guy 17ed13187a745866483139e2878037e1f8427ce567Kenny Guypackage com.android.launcher3.compat; 18ed13187a745866483139e2878037e1f8427ce567Kenny Guy 19ed13187a745866483139e2878037e1f8427ce567Kenny Guyimport android.content.ComponentName; 20c2bd8101b8e26b9ebb2c079ae6867229dad3f196Kenny Guyimport android.content.pm.ApplicationInfo; 21ed13187a745866483139e2878037e1f8427ce567Kenny Guyimport android.graphics.drawable.Drawable; 22ed13187a745866483139e2878037e1f8427ce567Kenny Guy 23ed13187a745866483139e2878037e1f8427ce567Kenny Guypublic abstract class LauncherActivityInfoCompat { 24ed13187a745866483139e2878037e1f8427ce567Kenny Guy 25ed13187a745866483139e2878037e1f8427ce567Kenny Guy LauncherActivityInfoCompat() { 26ed13187a745866483139e2878037e1f8427ce567Kenny Guy } 27ed13187a745866483139e2878037e1f8427ce567Kenny Guy 28ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract ComponentName getComponentName(); 29ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract UserHandleCompat getUser(); 30ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract CharSequence getLabel(); 31ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract Drawable getIcon(int density); 32c2bd8101b8e26b9ebb2c079ae6867229dad3f196Kenny Guy public abstract ApplicationInfo getApplicationInfo(); 33ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract long getFirstInstallTime(); 34ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract Drawable getBadgedIcon(int density); 35ed13187a745866483139e2878037e1f8427ce567Kenny Guy} 36