Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2013 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 | package com.android.launcher3; |
| 18 | |
kholoud mohamed | d5a4d60 | 2022-04-28 15:55:40 +0100 | [diff] [blame] | 19 | import static android.app.admin.DevicePolicyManager.ACTION_DEVICE_POLICY_RESOURCE_UPDATED; |
| 20 | |
Stefan Andonian | d1b33b3 | 2022-12-16 21:22:27 +0000 | [diff] [blame] | 21 | import static com.android.launcher3.LauncherPrefs.ICON_STATE; |
| 22 | import static com.android.launcher3.LauncherPrefs.THEMED_ICONS; |
Sunny Goyal | 045b4fa | 2019-09-20 12:51:37 -0700 | [diff] [blame] | 23 | import static com.android.launcher3.util.Executors.MODEL_EXECUTOR; |
Jon Miranda | ec1277e | 2021-03-25 10:41:54 -0400 | [diff] [blame] | 24 | import static com.android.launcher3.util.SettingsCache.NOTIFICATION_BADGING_URI; |
Sunny Goyal | d0e360a | 2018-06-29 14:40:18 -0700 | [diff] [blame] | 25 | |
Tony | d48710c | 2017-07-27 23:23:58 -0700 | [diff] [blame] | 26 | import android.content.ComponentName; |
Sunny Goyal | e755d46 | 2014-07-22 13:48:29 -0700 | [diff] [blame] | 27 | import android.content.Context; |
| 28 | import android.content.Intent; |
Sunny Goyal | 01c32a6 | 2021-05-17 13:23:08 -0700 | [diff] [blame] | 29 | import android.content.SharedPreferences; |
| 30 | import android.content.SharedPreferences.OnSharedPreferenceChangeListener; |
Sunny Goyal | e7b0012 | 2019-10-02 16:13:34 -0700 | [diff] [blame] | 31 | import android.content.pm.LauncherApps; |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 32 | import android.os.UserHandle; |
Daniel Sandler | b9eb286 | 2013-06-14 20:17:30 -0400 | [diff] [blame] | 33 | import android.util.Log; |
Sunny Goyal | 71b5c0b | 2015-01-08 16:59:04 -0800 | [diff] [blame] | 34 | |
Tracy Zhou | be13d10 | 2020-01-12 01:07:59 -0800 | [diff] [blame] | 35 | import androidx.annotation.Nullable; |
| 36 | |
Sunny Goyal | 29947f0 | 2017-12-18 13:49:44 -0800 | [diff] [blame] | 37 | import com.android.launcher3.config.FeatureFlags; |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 38 | import com.android.launcher3.graphics.IconShape; |
Sunny Goyal | f840f10 | 2018-09-21 14:41:05 -0700 | [diff] [blame] | 39 | import com.android.launcher3.icons.IconCache; |
Sunny Goyal | 1416843 | 2019-10-24 15:59:49 -0700 | [diff] [blame] | 40 | import com.android.launcher3.icons.IconProvider; |
Sunny Goyal | 68af549 | 2021-12-24 01:08:31 +0530 | [diff] [blame] | 41 | import com.android.launcher3.icons.LauncherIconProvider; |
Sunny Goyal | 87dc48b | 2018-10-12 11:42:33 -0700 | [diff] [blame] | 42 | import com.android.launcher3.icons.LauncherIcons; |
Tony | d48710c | 2017-07-27 23:23:58 -0700 | [diff] [blame] | 43 | import com.android.launcher3.notification.NotificationListener; |
Sunny Goyal | 73b5a27 | 2019-12-09 14:55:56 -0800 | [diff] [blame] | 44 | import com.android.launcher3.pm.InstallSessionHelper; |
Sunny Goyal | 045b4fa | 2019-09-20 12:51:37 -0700 | [diff] [blame] | 45 | import com.android.launcher3.pm.InstallSessionTracker; |
Sunny Goyal | 337c81f | 2019-12-10 12:19:13 -0800 | [diff] [blame] | 46 | import com.android.launcher3.pm.UserCache; |
Stefan Andonian | 5bd9a22 | 2023-02-23 00:58:33 +0000 | [diff] [blame] | 47 | import com.android.launcher3.util.LockedUserState; |
Sunny Goyal | d0e360a | 2018-06-29 14:40:18 -0700 | [diff] [blame] | 48 | import com.android.launcher3.util.MainThreadInitializedObject; |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 49 | import com.android.launcher3.util.Preconditions; |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 50 | import com.android.launcher3.util.RunnableList; |
Sunny Goyal | 1416843 | 2019-10-24 15:59:49 -0700 | [diff] [blame] | 51 | import com.android.launcher3.util.SafeCloseable; |
Jon Miranda | ec1277e | 2021-03-25 10:41:54 -0400 | [diff] [blame] | 52 | import com.android.launcher3.util.SettingsCache; |
Sunny Goyal | e7b0012 | 2019-10-02 16:13:34 -0700 | [diff] [blame] | 53 | import com.android.launcher3.util.SimpleBroadcastReceiver; |
Sunny Goyal | 01c32a6 | 2021-05-17 13:23:08 -0700 | [diff] [blame] | 54 | import com.android.launcher3.util.Themes; |
Pinyao Ting | c7a6c29 | 2019-08-26 14:36:02 -0700 | [diff] [blame] | 55 | import com.android.launcher3.widget.custom.CustomWidgetManager; |
Sunny Goyal | 71b5c0b | 2015-01-08 16:59:04 -0800 | [diff] [blame] | 56 | |
Sunny Goyal | 777d490 | 2021-08-27 21:22:17 +0000 | [diff] [blame] | 57 | public class LauncherAppState implements SafeCloseable { |
Chris Wren | aeff7ea | 2014-02-14 16:59:24 -0500 | [diff] [blame] | 58 | |
Sunny Goyal | 29947f0 | 2017-12-18 13:49:44 -0800 | [diff] [blame] | 59 | public static final String ACTION_FORCE_ROLOAD = "force-reload-launcher"; |
Stefan Andonian | d1b33b3 | 2022-12-16 21:22:27 +0000 | [diff] [blame] | 60 | public static final String KEY_ICON_STATE = "pref_icon_shape_path"; |
Sunny Goyal | 29947f0 | 2017-12-18 13:49:44 -0800 | [diff] [blame] | 61 | |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 62 | // We do not need any synchronization for this variable as its only written on UI thread. |
Sunny Goyal | cf845f0 | 2019-09-25 09:08:16 -0700 | [diff] [blame] | 63 | public static final MainThreadInitializedObject<LauncherAppState> INSTANCE = |
Sunny Goyal | e529a86 | 2019-08-06 09:48:36 -0700 | [diff] [blame] | 64 | new MainThreadInitializedObject<>(LauncherAppState::new); |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 65 | |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 66 | private final Context mContext; |
| 67 | private final LauncherModel mModel; |
Sunny Goyal | 68af549 | 2021-12-24 01:08:31 +0530 | [diff] [blame] | 68 | private final LauncherIconProvider mIconProvider; |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 69 | private final IconCache mIconCache; |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 70 | private final InvariantDeviceProfile mInvariantDeviceProfile; |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 71 | private final RunnableList mOnTerminateCallback = new RunnableList(); |
Sunny Goyal | 045b4fa | 2019-09-20 12:51:37 -0700 | [diff] [blame] | 72 | |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 73 | public static LauncherAppState getInstance(final Context context) { |
Sunny Goyal | d0e360a | 2018-06-29 14:40:18 -0700 | [diff] [blame] | 74 | return INSTANCE.get(context); |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 75 | } |
| 76 | |
Chris Wren | d8fe6de | 2013-10-04 10:42:14 -0400 | [diff] [blame] | 77 | public static LauncherAppState getInstanceNoCreate() { |
Sunny Goyal | d0e360a | 2018-06-29 14:40:18 -0700 | [diff] [blame] | 78 | return INSTANCE.getNoCreate(); |
Chris Wren | d8fe6de | 2013-10-04 10:42:14 -0400 | [diff] [blame] | 79 | } |
| 80 | |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 81 | public Context getContext() { |
Sunny Goyal | fdbef27 | 2017-02-01 12:52:54 -0800 | [diff] [blame] | 82 | return mContext; |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 83 | } |
| 84 | |
Tracy Zhou | be13d10 | 2020-01-12 01:07:59 -0800 | [diff] [blame] | 85 | public LauncherAppState(Context context) { |
| 86 | this(context, LauncherFiles.APP_ICONS_DB); |
Sunny Goyal | df4241c | 2021-05-19 19:42:14 -0700 | [diff] [blame] | 87 | Log.v(Launcher.TAG, "LauncherAppState initiated"); |
| 88 | Preconditions.assertUIThread(); |
Sunny Goyal | 2759579 | 2015-03-19 13:18:44 -0700 | [diff] [blame] | 89 | |
Sunny Goyal | 6e6f799 | 2021-08-24 16:23:29 -0700 | [diff] [blame] | 90 | mInvariantDeviceProfile.addOnChangeListener(modelPropertiesChanged -> { |
| 91 | if (modelPropertiesChanged) { |
| 92 | refreshAndReloadLauncher(); |
| 93 | } |
| 94 | }); |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 95 | |
Sunny Goyal | e7b0012 | 2019-10-02 16:13:34 -0700 | [diff] [blame] | 96 | mContext.getSystemService(LauncherApps.class).registerCallback(mModel); |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 97 | |
| 98 | SimpleBroadcastReceiver modelChangeReceiver = |
| 99 | new SimpleBroadcastReceiver(mModel::onBroadcastIntent); |
| 100 | modelChangeReceiver.register(mContext, Intent.ACTION_LOCALE_CHANGED, |
Sunny Goyal | e7b0012 | 2019-10-02 16:13:34 -0700 | [diff] [blame] | 101 | Intent.ACTION_MANAGED_PROFILE_AVAILABLE, |
| 102 | Intent.ACTION_MANAGED_PROFILE_UNAVAILABLE, |
kholoud mohamed | d5a4d60 | 2022-04-28 15:55:40 +0100 | [diff] [blame] | 103 | Intent.ACTION_MANAGED_PROFILE_UNLOCKED, |
| 104 | ACTION_DEVICE_POLICY_RESOURCE_UPDATED); |
Zak Cohen | 3eeb41d | 2020-02-14 14:15:13 -0800 | [diff] [blame] | 105 | if (FeatureFlags.IS_STUDIO_BUILD) { |
Sunny Goyal | a992ac9 | 2023-01-10 17:50:32 -0800 | [diff] [blame] | 106 | modelChangeReceiver.register(mContext, ACTION_FORCE_ROLOAD); |
Sunny Goyal | 29947f0 | 2017-12-18 13:49:44 -0800 | [diff] [blame] | 107 | } |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 108 | mOnTerminateCallback.add(() -> mContext.unregisterReceiver(modelChangeReceiver)); |
Sunny Goyal | 1416843 | 2019-10-24 15:59:49 -0700 | [diff] [blame] | 109 | |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 110 | SafeCloseable userChangeListener = UserCache.INSTANCE.get(mContext) |
Sunny Goyal | 337c81f | 2019-12-10 12:19:13 -0800 | [diff] [blame] | 111 | .addUserChangeListener(mModel::forceReload); |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 112 | mOnTerminateCallback.add(userChangeListener::close); |
Sunny Goyal | 337c81f | 2019-12-10 12:19:13 -0800 | [diff] [blame] | 113 | |
Stefan Andonian | 5bd9a22 | 2023-02-23 00:58:33 +0000 | [diff] [blame] | 114 | LockedUserState.get(context).runOnUserUnlocked(() -> { |
| 115 | CustomWidgetManager.INSTANCE.get(mContext) |
| 116 | .setWidgetRefreshCallback(mModel::refreshAndBindWidgetsAndShortcuts); |
Tony Wickham | 827cef2 | 2016-03-17 15:39:39 -0700 | [diff] [blame] | 117 | |
Stefan Andonian | 5bd9a22 | 2023-02-23 00:58:33 +0000 | [diff] [blame] | 118 | IconObserver observer = new IconObserver(); |
| 119 | SafeCloseable iconChangeTracker = mIconProvider.registerIconChangeListener( |
| 120 | observer, MODEL_EXECUTOR.getHandler()); |
| 121 | mOnTerminateCallback.add(iconChangeTracker::close); |
| 122 | MODEL_EXECUTOR.execute(observer::verifyIconChanged); |
| 123 | LauncherPrefs.get(context).addListener(observer, THEMED_ICONS); |
| 124 | mOnTerminateCallback.add( |
| 125 | () -> LauncherPrefs.get(mContext).removeListener(observer, THEMED_ICONS)); |
| 126 | |
| 127 | InstallSessionTracker installSessionTracker = |
| 128 | InstallSessionHelper.INSTANCE.get(context).registerInstallTracker(mModel); |
| 129 | mOnTerminateCallback.add(installSessionTracker::unregister); |
| 130 | }); |
Sunny Goyal | 045b4fa | 2019-09-20 12:51:37 -0700 | [diff] [blame] | 131 | |
Sunny Goyal | eaf7a95 | 2020-07-29 16:54:20 -0700 | [diff] [blame] | 132 | // Register an observer to rebind the notification listener when dots are re-enabled. |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 133 | SettingsCache settingsCache = SettingsCache.INSTANCE.get(mContext); |
| 134 | SettingsCache.OnChangeListener notificationLister = this::onNotificationSettingsChanged; |
| 135 | settingsCache.register(NOTIFICATION_BADGING_URI, notificationLister); |
| 136 | onNotificationSettingsChanged(settingsCache.getValue(NOTIFICATION_BADGING_URI)); |
| 137 | mOnTerminateCallback.add(() -> |
| 138 | settingsCache.unregister(NOTIFICATION_BADGING_URI, notificationLister)); |
Sunny Goyal | 420d545 | 2018-10-17 10:25:14 -0700 | [diff] [blame] | 139 | } |
| 140 | |
Tracy Zhou | be13d10 | 2020-01-12 01:07:59 -0800 | [diff] [blame] | 141 | public LauncherAppState(Context context, @Nullable String iconCacheFileName) { |
Tracy Zhou | be13d10 | 2020-01-12 01:07:59 -0800 | [diff] [blame] | 142 | mContext = context; |
| 143 | |
| 144 | mInvariantDeviceProfile = InvariantDeviceProfile.INSTANCE.get(context); |
Sunny Goyal | 68af549 | 2021-12-24 01:08:31 +0530 | [diff] [blame] | 145 | mIconProvider = new LauncherIconProvider(context); |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 146 | mIconCache = new IconCache(mContext, mInvariantDeviceProfile, |
| 147 | iconCacheFileName, mIconProvider); |
Thiru Ramasamy | d495e8c | 2021-08-26 10:37:17 -0700 | [diff] [blame] | 148 | mModel = new LauncherModel(context, this, mIconCache, new AppFilter(mContext), |
| 149 | iconCacheFileName != null); |
Sunny Goyal | df4241c | 2021-05-19 19:42:14 -0700 | [diff] [blame] | 150 | mOnTerminateCallback.add(mIconCache::close); |
Tracy Zhou | be13d10 | 2020-01-12 01:07:59 -0800 | [diff] [blame] | 151 | } |
| 152 | |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 153 | private void onNotificationSettingsChanged(boolean areNotificationDotsEnabled) { |
Tony Wickham | f34bee8 | 2018-12-03 18:11:39 -0800 | [diff] [blame] | 154 | if (areNotificationDotsEnabled) { |
Sunny Goyal | 420d545 | 2018-10-17 10:25:14 -0700 | [diff] [blame] | 155 | NotificationListener.requestRebind(new ComponentName( |
| 156 | mContext, NotificationListener.class)); |
Tony | d48710c | 2017-07-27 23:23:58 -0700 | [diff] [blame] | 157 | } |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 158 | } |
Kenny Guy | 1317e2d | 2014-05-08 18:52:50 +0100 | [diff] [blame] | 159 | |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 160 | private void refreshAndReloadLauncher() { |
| 161 | LauncherIcons.clearPool(); |
| 162 | mIconCache.updateIconParams( |
| 163 | mInvariantDeviceProfile.fillResIconDpi, mInvariantDeviceProfile.iconBitmapSize); |
Sunny Goyal | 87dc48b | 2018-10-12 11:42:33 -0700 | [diff] [blame] | 164 | mModel.forceReload(); |
| 165 | } |
| 166 | |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 167 | /** |
| 168 | * Call from Application.onTerminate(), which is not guaranteed to ever be called. |
| 169 | */ |
Sunny Goyal | 777d490 | 2021-08-27 21:22:17 +0000 | [diff] [blame] | 170 | @Override |
| 171 | public void close() { |
Sunny Goyal | 8b74cc7 | 2020-07-27 17:50:33 -0700 | [diff] [blame] | 172 | mModel.destroy(); |
Sunny Goyal | e7b0012 | 2019-10-02 16:13:34 -0700 | [diff] [blame] | 173 | mContext.getSystemService(LauncherApps.class).unregisterCallback(mModel); |
Sunny Goyal | 01615a6 | 2019-09-20 12:00:07 -0700 | [diff] [blame] | 174 | CustomWidgetManager.INSTANCE.get(mContext).setWidgetRefreshCallback(null); |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 175 | mOnTerminateCallback.executeAllAndDestroy(); |
| 176 | } |
Sunny Goyal | 01615a6 | 2019-09-20 12:00:07 -0700 | [diff] [blame] | 177 | |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 178 | public IconProvider getIconProvider() { |
| 179 | return mIconProvider; |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 180 | } |
| 181 | |
Sunny Goyal | 3494262 | 2014-08-29 17:20:55 -0700 | [diff] [blame] | 182 | public IconCache getIconCache() { |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 183 | return mIconCache; |
| 184 | } |
| 185 | |
Sunny Goyal | 18bf8e2 | 2015-04-08 18:13:46 -0700 | [diff] [blame] | 186 | public LauncherModel getModel() { |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 187 | return mModel; |
| 188 | } |
| 189 | |
Adam Cohen | 2e6da15 | 2015-05-06 11:42:25 -0700 | [diff] [blame] | 190 | public InvariantDeviceProfile getInvariantDeviceProfile() { |
| 191 | return mInvariantDeviceProfile; |
| 192 | } |
Sunny Goyal | 87f784c | 2017-01-11 10:48:34 -0800 | [diff] [blame] | 193 | |
| 194 | /** |
| 195 | * Shorthand for {@link #getInvariantDeviceProfile()} |
| 196 | */ |
| 197 | public static InvariantDeviceProfile getIDP(Context context) { |
Sunny Goyal | d0e360a | 2018-06-29 14:40:18 -0700 | [diff] [blame] | 198 | return InvariantDeviceProfile.INSTANCE.get(context); |
Sunny Goyal | 87f784c | 2017-01-11 10:48:34 -0800 | [diff] [blame] | 199 | } |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 200 | |
Sunny Goyal | 01c32a6 | 2021-05-17 13:23:08 -0700 | [diff] [blame] | 201 | private class IconObserver |
| 202 | implements IconProvider.IconChangeListener, OnSharedPreferenceChangeListener { |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 203 | |
| 204 | @Override |
| 205 | public void onAppIconChanged(String packageName, UserHandle user) { |
| 206 | mModel.onAppIconChanged(packageName, user); |
| 207 | } |
| 208 | |
| 209 | @Override |
| 210 | public void onSystemIconStateChanged(String iconState) { |
| 211 | IconShape.init(mContext); |
| 212 | refreshAndReloadLauncher(); |
Stefan Andonian | d1b33b3 | 2022-12-16 21:22:27 +0000 | [diff] [blame] | 213 | LauncherPrefs.get(mContext).put(ICON_STATE, iconState); |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 214 | } |
| 215 | |
| 216 | void verifyIconChanged() { |
| 217 | String iconState = mIconProvider.getSystemIconState(); |
Stefan Andonian | d1b33b3 | 2022-12-16 21:22:27 +0000 | [diff] [blame] | 218 | if (!iconState.equals(LauncherPrefs.get(mContext).get(ICON_STATE))) { |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 219 | onSystemIconStateChanged(iconState); |
| 220 | } |
| 221 | } |
Sunny Goyal | 01c32a6 | 2021-05-17 13:23:08 -0700 | [diff] [blame] | 222 | |
| 223 | @Override |
| 224 | public void onSharedPreferenceChanged(SharedPreferences prefs, String key) { |
| 225 | if (Themes.KEY_THEMED_ICONS.equals(key)) { |
| 226 | mIconProvider.setIconThemeSupported(Themes.isThemedIconEnabled(mContext)); |
| 227 | verifyIconChanged(); |
| 228 | } |
| 229 | } |
Sunny Goyal | b47172b | 2021-05-03 19:59:51 -0700 | [diff] [blame] | 230 | } |
Daniel Sandler | cc8befa | 2013-06-11 14:45:48 -0400 | [diff] [blame] | 231 | } |