|  | 
 |  | 
 | 
												
													
														| 64 |          Integer width = options.hasKey("width") ? (int)(displayMetrics.density * options.getDouble("width")) : null;
 | 64 |          Integer width = options.hasKey("width") ? (int)(displayMetrics.density * options.getDouble("width")) : null;
 | 
												
													
														| 65 |          Integer height = options.hasKey("height") ? (int)(displayMetrics.density * options.getDouble("height")) : null;
 | 65 |          Integer height = options.hasKey("height") ? (int)(displayMetrics.density * options.getDouble("height")) : null;
 | 
												
													
														| 66 |          String result = options.hasKey("result") ? options.getString("result") : "file";
 | 66 |          String result = options.hasKey("result") ? options.getString("result") : "file";
 | 
												
													
														| 67 | -        Boolean snapshotContentContainer = options.hasKey("snapshotContentContainer") ? options.getBoolean("snapshotContentContainer"):false;
 |  | 
 | 
												
													
														|  | 
 | 67 | +        Boolean snapshotContentContainer = options.hasKey("snapshotContentContainer") ? options.getBoolean("snapshotContentContainer") : false;
 | 
												
													
														| 68 |          try {
 | 68 |          try {
 | 
												
													
														| 69 |              String name = options.hasKey("filename") ? options.getString("filename") : null;
 | 69 |              String name = options.hasKey("filename") ? options.getString("filename") : null;
 | 
												
													
														| 70 |              File tmpFile = "file".equals(result) ? createTempFile(getReactApplicationContext(), format, name) : null;
 | 70 |              File tmpFile = "file".equals(result) ? createTempFile(getReactApplicationContext(), format, name) : null;
 | 
												
													
														| 71 |              UIManagerModule uiManager = this.reactContext.getNativeModule(UIManagerModule.class);
 | 71 |              UIManagerModule uiManager = this.reactContext.getNativeModule(UIManagerModule.class);
 | 
												
													
														| 72 | -            uiManager.addUIBlock(new ViewShot(tag, format, compressFormat, quality, width, height, tmpFile, result,snapshotContentContainer,promise));
 |  | 
 | 
												
													
														|  | 
 | 72 | +            uiManager.addUIBlock(new ViewShot(tag, format, compressFormat, quality, width, height, tmpFile, result, snapshotContentContainer, promise));
 | 
												
													
														| 73 |          }
 | 73 |          }
 | 
												
													
														| 74 |          catch (Exception e) {
 | 74 |          catch (Exception e) {
 | 
												
													
														| 75 |              promise.reject(ViewShot.ERROR_UNABLE_TO_SNAPSHOT, "Failed to snapshot view tag "+tag);
 | 75 |              promise.reject(ViewShot.ERROR_UNABLE_TO_SNAPSHOT, "Failed to snapshot view tag "+tag);
 |