13f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate/* 23f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Copyright (C) 2010 The Android Open Source Project 33f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * 43f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Licensed under the Apache License, Version 2.0 (the "License"); 53f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * you may not use this file except in compliance with the License. 63f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * You may obtain a copy of the License at 73f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * 83f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * http://www.apache.org/licenses/LICENSE-2.0 93f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * 103f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Unless required by applicable law or agreed to in writing, software 113f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * distributed under the License is distributed on an "AS IS" BASIS, 123f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * See the License for the specific language governing permissions and 143f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * limitations under the License. 153f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate */ 163f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 173f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tatepackage android.app.backup; 183f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 193f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport android.app.WallpaperManager; 203f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport android.content.Context; 213f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport android.graphics.BitmapFactory; 2244bc17c6b517aef35a390c81b5aa79c4f284f744Dianne Hackbornimport android.graphics.Point; 2361f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasaniimport android.os.Environment; 243f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport android.os.ParcelFileDescriptor; 2561f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasaniimport android.os.UserHandle; 263f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport android.util.Slog; 277f765cf588e37a70fa2a1d251aaa8e7b847801b6Christopher Tateimport android.view.Display; 287f765cf588e37a70fa2a1d251aaa8e7b847801b6Christopher Tateimport android.view.WindowManager; 293f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 303f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tateimport java.io.File; 313f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 323f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate/** 333f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Helper for backing up / restoring wallpapers. Basically an AbsoluteFileBackupHelper, 343f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * but with logic for deciding what to do with restored wallpaper images. 353f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * 363f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * @hide 373f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate */ 383f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tatepublic class WallpaperBackupHelper extends FileBackupHelperBase implements BackupHelper { 393f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate private static final String TAG = "WallpaperBackupHelper"; 40bf6ee4f509cbe7a44f4cc72f28e6150ca47c066dChristopher Tate private static final boolean DEBUG = false; 413f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 42406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // If 'true', then apply an acceptable-size heuristic at restore time, dropping back 43406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // to the factory default wallpaper if the restored one differs "too much" from the 44406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // device's preferred wallpaper image dimensions. 45ebadfb17e77c5e297635376dbdbcf1615192620fChristopher Tate private static final boolean REJECT_OUTSIZED_RESTORE = false; 46406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate 471133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // When outsized restore rejection is enabled, this is the maximum ratio between the 481133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // source and target image heights that will be permitted. The ratio is checked both 491133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // ways (i.e. >= MAX, or <= 1/MAX) to validate restores from both largeer-than-target 501133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // and smaller-than-target sources. 511133e29f22252cc36102f41204c3de35779e49d2Christopher Tate private static final double MAX_HEIGHT_RATIO = 1.35; 521133e29f22252cc36102f41204c3de35779e49d2Christopher Tate 531133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // The height ratio check when applying larger images on smaller screens is separate; 541133e29f22252cc36102f41204c3de35779e49d2Christopher Tate // in current policy we accept any such restore regardless of the relative dimensions. 551133e29f22252cc36102f41204c3de35779e49d2Christopher Tate private static final double MIN_HEIGHT_RATIO = 0; 561133e29f22252cc36102f41204c3de35779e49d2Christopher Tate 573f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // This path must match what the WallpaperManagerService uses 5837ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani // TODO: Will need to change if backing up non-primary user's wallpaper 59bd0e03bb763ae7956ecba35fe5759d4b443158caXiaohui Chen // http://b/22388012 6061f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani public static final String WALLPAPER_IMAGE = 61bd0e03bb763ae7956ecba35fe5759d4b443158caXiaohui Chen new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM), 6261f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani "wallpaper").getAbsolutePath(); 63ebadfb17e77c5e297635376dbdbcf1615192620fChristopher Tate public static final String WALLPAPER_ORIG_IMAGE = 64ebadfb17e77c5e297635376dbdbcf1615192620fChristopher Tate new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM), 65ebadfb17e77c5e297635376dbdbcf1615192620fChristopher Tate "wallpaper_orig").getAbsolutePath(); 6661f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani public static final String WALLPAPER_INFO = 67bd0e03bb763ae7956ecba35fe5759d4b443158caXiaohui Chen new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM), 6861f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani "wallpaper_info.xml").getAbsolutePath(); 6937ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani // Use old keys to keep legacy data compatibility and avoid writing two wallpapers 7037ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani public static final String WALLPAPER_IMAGE_KEY = 7137ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani "/data/data/com.android.settings/files/wallpaper"; 7237ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani public static final String WALLPAPER_INFO_KEY = "/data/system/wallpaper_info.xml"; 733f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 743f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // Stage file - should be adjacent to the WALLPAPER_IMAGE location. The wallpapers 753f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // will be saved to this file from the restore stream, then renamed to the proper 763f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // location if it's deemed suitable. 7737ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani // TODO: Will need to change if backing up non-primary user's wallpaper 78bd0e03bb763ae7956ecba35fe5759d4b443158caXiaohui Chen // http://b/22388012 7961f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani private static final String STAGE_FILE = 80bd0e03bb763ae7956ecba35fe5759d4b443158caXiaohui Chen new File(Environment.getUserSystemDirectory(UserHandle.USER_SYSTEM), 8161f57379ca2c5b6290c8da7548fa17128f7ab24fAmith Yamasani "wallpaper-tmp").getAbsolutePath(); 823f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 833f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate Context mContext; 843f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate String[] mFiles; 8537ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani String[] mKeys; 863f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate double mDesiredMinWidth; 873f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate double mDesiredMinHeight; 883f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 893f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate /** 903f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Construct a helper for backing up / restoring the files at the given absolute locations 913f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * within the file system. 923f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * 933f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * @param context 943f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * @param files 953f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate */ 9637ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani public WallpaperBackupHelper(Context context, String[] files, String[] keys) { 973f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate super(context); 983f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 993f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate mContext = context; 1003f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate mFiles = files; 10137ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani mKeys = keys; 1023f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 103004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate final WindowManager wm = 104004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate (WindowManager) context.getSystemService(Context.WINDOW_SERVICE); 105004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate final WallpaperManager wpm = 106004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate (WallpaperManager) context.getSystemService(Context.WALLPAPER_SERVICE); 107004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate final Display d = wm.getDefaultDisplay(); 108004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate final Point size = new Point(); 109004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate d.getSize(size); 11031f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate mDesiredMinWidth = Math.min(size.x, size.y); 1113f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate mDesiredMinHeight = (double) wpm.getDesiredMinimumHeight(); 112004c16654f2f86ff3055f3c88b5498eb3254f2e1Christopher Tate if (mDesiredMinHeight <= 0) { 11344bc17c6b517aef35a390c81b5aa79c4f284f744Dianne Hackborn mDesiredMinHeight = size.y; 1147f765cf588e37a70fa2a1d251aaa8e7b847801b6Christopher Tate } 1157f765cf588e37a70fa2a1d251aaa8e7b847801b6Christopher Tate 11600724cacc8292900c3be8657ea9b3b6284cf4877Christopher Tate if (DEBUG) { 11700724cacc8292900c3be8657ea9b3b6284cf4877Christopher Tate Slog.d(TAG, "dmW=" + mDesiredMinWidth + " dmH=" + mDesiredMinHeight); 11800724cacc8292900c3be8657ea9b3b6284cf4877Christopher Tate } 1193f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 1203f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 1213f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate /** 1223f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Based on oldState, determine which of the files from the application's data directory 1233f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * need to be backed up, write them to the data stream, and fill in newState with the 1243f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * state as it exists now. 1253f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate */ 12641297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate @Override 1273f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate public void performBackup(ParcelFileDescriptor oldState, BackupDataOutput data, 1283f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate ParcelFileDescriptor newState) { 12937ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani performBackup_checked(oldState, data, newState, mFiles, mKeys); 1303f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 1313f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 1323f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate /** 1333f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * Restore one absolute file entity from the restore stream. If we're restoring the 1343f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * magic wallpaper file, take specific action to determine whether it is suitable for 1353f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate * the current device. 1363f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate */ 13741297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate @Override 1383f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate public void restoreEntity(BackupDataInputStream data) { 1393f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate final String key = data.getKey(); 14037ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani if (isKeyInList(key, mKeys)) { 14137ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani if (key.equals(WALLPAPER_IMAGE_KEY)) { 1423f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // restore the file to the stage for inspection 1433f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate File f = new File(STAGE_FILE); 1443f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate if (writeFile(f, data)) { 1453f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 1463f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate // Preflight the restored image's dimensions without loading it 1473f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate BitmapFactory.Options options = new BitmapFactory.Options(); 1483f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate options.inJustDecodeBounds = true; 1493f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate BitmapFactory.decodeFile(STAGE_FILE, options); 1503f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 15100724cacc8292900c3be8657ea9b3b6284cf4877Christopher Tate if (DEBUG) Slog.d(TAG, "Restoring wallpaper image w=" + options.outWidth 1523f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate + " h=" + options.outHeight); 1533f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate 154406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate if (REJECT_OUTSIZED_RESTORE) { 155406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // We accept any wallpaper that is at least as wide as our preference 156406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // (i.e. wide enough to fill the screen), and is within a comfortable 157406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // factor of the target height, to avoid significant clipping/scaling/ 15831f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate // letterboxing. At this point we know that mDesiredMinWidth is the 15931f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate // smallest dimension, regardless of current orientation, so we can 16031f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate // safely require that the candidate's width and height both exceed 16131f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate // that hard minimum. 162406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate final double heightRatio = mDesiredMinHeight / options.outHeight; 163406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate if (options.outWidth < mDesiredMinWidth 16431f25696d950dd54e8b339074b98ad6335738f2fChristopher Tate || options.outHeight < mDesiredMinWidth 1651133e29f22252cc36102f41204c3de35779e49d2Christopher Tate || heightRatio >= MAX_HEIGHT_RATIO 1661133e29f22252cc36102f41204c3de35779e49d2Christopher Tate || heightRatio <= MIN_HEIGHT_RATIO) { 167406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // Not wide enough for the screen, or too short/tall to be a good fit 168406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // for the height of the screen, broken image file, or the system's 169406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // desires for wallpaper size are in a bad state. Probably one of the 170406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // first two. 171406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate Slog.i(TAG, "Restored image dimensions (w=" 172406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate + options.outWidth + ", h=" + options.outHeight 173406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate + ") too far off target (tw=" 174406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate + mDesiredMinWidth + ", th=" + mDesiredMinHeight 175406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate + "); falling back to default wallpaper."); 176406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate f.delete(); 177406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate return; 178406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate } 1793f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 180406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate 181406abd45471c523aea151f5aca84b008fee02bbeChristopher Tate // We passed the acceptable-dimensions test (if any), so we're going to 18241297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate // use the restored image. That comes last, when we are done restoring 18341297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate // both the pixels and the metadata. 1843f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 18537ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani } else if (key.equals(WALLPAPER_INFO_KEY)) { 18637ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani // XML file containing wallpaper info 18737ce3a8af6faab675319d0803b288ab1dddc76beAmith Yamasani File f = new File(WALLPAPER_INFO); 1883f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate writeFile(f, data); 1893f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 1903f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 1913f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate } 19241297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate 19341297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate /** 19441297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate * Hook for the agent to call this helper upon completion of the restore. We do this 19541297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate * upon completion so that we know both the imagery and the wallpaper info have 19641297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate * been emplaced without requiring either or relying on ordering. 19741297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate */ 19841297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate public void onRestoreFinished() { 19941297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate final File f = new File(STAGE_FILE); 20041297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate if (f.exists()) { 20141297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate // TODO: spin a service to copy the restored image to sd/usb storage, 20241297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate // since it does not exist anywhere other than the private wallpaper 20341297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate // file. 20441297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate Slog.d(TAG, "Applying restored wallpaper image."); 205ebadfb17e77c5e297635376dbdbcf1615192620fChristopher Tate f.renameTo(new File(WALLPAPER_ORIG_IMAGE)); 20641297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate } 20741297ff82c94d28fe19a6dd8f6214aee7c0af8e2Christopher Tate } 2083f64f8d8fc05189777e83b4efd3882cbc661fdebChristopher Tate} 209