1 /* 2 * Copyright (C) 2023 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 */ 17 18 package com.android.wallpaper.util 19 20 /** Constants for launch source */ 21 object LaunchSourceUtils { 22 const val WALLPAPER_LAUNCH_SOURCE = "com.android.wallpaper.LAUNCH_SOURCE" 23 const val LAUNCH_SOURCE_LAUNCHER = "app_launched_launcher" 24 const val LAUNCH_SOURCE_SETTINGS = "app_launched_settings" 25 const val LAUNCH_SOURCE_SUW = "app_launched_suw" 26 const val LAUNCH_SOURCE_TIPS = "app_launched_tips" 27 const val LAUNCH_SOURCE_DEEP_LINK = "app_launched_deeplink" 28 const val LAUNCH_SETTINGS_SEARCH = ":settings:fragment_args_key" 29 const val LAUNCH_SOURCE_SETTINGS_HOMEPAGE = "is_from_settings_homepage" 30 const val LAUNCH_SOURCE_KEYGUARD = "app_launched_keyguard" 31 } 32