179d90c558f8509be546a2053c87a3827db93047cAdam Cohen/* 279d90c558f8509be546a2053c87a3827db93047cAdam Cohen * Copyright (C) 2016 The Android Open Source Project 379d90c558f8509be546a2053c87a3827db93047cAdam Cohen * 479d90c558f8509be546a2053c87a3827db93047cAdam Cohen * Licensed under the Apache License, Version 2.0 (the "License"); 579d90c558f8509be546a2053c87a3827db93047cAdam Cohen * you may not use this file except in compliance with the License. 679d90c558f8509be546a2053c87a3827db93047cAdam Cohen * You may obtain a copy of the License at 779d90c558f8509be546a2053c87a3827db93047cAdam Cohen * 879d90c558f8509be546a2053c87a3827db93047cAdam Cohen * http://www.apache.org/licenses/LICENSE-2.0 979d90c558f8509be546a2053c87a3827db93047cAdam Cohen * 1079d90c558f8509be546a2053c87a3827db93047cAdam Cohen * Unless required by applicable law or agreed to in writing, software 1179d90c558f8509be546a2053c87a3827db93047cAdam Cohen * distributed under the License is distributed on an "AS IS" BASIS, 1279d90c558f8509be546a2053c87a3827db93047cAdam Cohen * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1379d90c558f8509be546a2053c87a3827db93047cAdam Cohen * See the License for the specific language governing permissions and 1479d90c558f8509be546a2053c87a3827db93047cAdam Cohen * limitations under the License. 1579d90c558f8509be546a2053c87a3827db93047cAdam Cohen */ 1679d90c558f8509be546a2053c87a3827db93047cAdam Cohen 1779d90c558f8509be546a2053c87a3827db93047cAdam Cohenpackage com.android.launcher3; 1879d90c558f8509be546a2053c87a3827db93047cAdam Cohen 1979d90c558f8509be546a2053c87a3827db93047cAdam Cohenimport android.content.SharedPreferences; 2079d90c558f8509be546a2053c87a3827db93047cAdam Cohen 2179d90c558f8509be546a2053c87a3827db93047cAdam Cohen/** 2279d90c558f8509be546a2053c87a3827db93047cAdam Cohen * This interface defines the set of methods that the Launcher activity exposes. Methods 2379d90c558f8509be546a2053c87a3827db93047cAdam Cohen * here should be safe to call from classes outside of com.android.launcher3.* 2479d90c558f8509be546a2053c87a3827db93047cAdam Cohen */ 2579d90c558f8509be546a2053c87a3827db93047cAdam Cohenpublic interface LauncherExterns { 2679d90c558f8509be546a2053c87a3827db93047cAdam Cohen 27f4aceab6374b14de99f3707b7ac5e8430d0f5413Sunny Goyal boolean setLauncherCallbacks(LauncherCallbacks callbacks); 2879d90c558f8509be546a2053c87a3827db93047cAdam Cohen 29f4aceab6374b14de99f3707b7ac5e8430d0f5413Sunny Goyal SharedPreferences getSharedPrefs(); 3079d90c558f8509be546a2053c87a3827db93047cAdam Cohen 31f4aceab6374b14de99f3707b7ac5e8430d0f5413Sunny Goyal void setLauncherOverlay(Launcher.LauncherOverlay overlay); 3279d90c558f8509be546a2053c87a3827db93047cAdam Cohen} 33