LauncherActivityInfoCompat.java revision ed13187a745866483139e2878037e1f8427ce567
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; 20ed13187a745866483139e2878037e1f8427ce567Kenny Guyimport android.graphics.drawable.Drawable; 21ed13187a745866483139e2878037e1f8427ce567Kenny Guy 22ed13187a745866483139e2878037e1f8427ce567Kenny Guypublic abstract class LauncherActivityInfoCompat { 23ed13187a745866483139e2878037e1f8427ce567Kenny Guy 24ed13187a745866483139e2878037e1f8427ce567Kenny Guy LauncherActivityInfoCompat() { 25ed13187a745866483139e2878037e1f8427ce567Kenny Guy } 26ed13187a745866483139e2878037e1f8427ce567Kenny Guy 27ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract ComponentName getComponentName(); 28ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract UserHandleCompat getUser(); 29ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract CharSequence getLabel(); 30ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract Drawable getIcon(int density); 31ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract int getApplicationFlags(); 32ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract long getFirstInstallTime(); 33ed13187a745866483139e2878037e1f8427ce567Kenny Guy public abstract Drawable getBadgedIcon(int density); 34ed13187a745866483139e2878037e1f8427ce567Kenny Guy} 35