Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(493)

Unified Diff: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java

Issue 2772343003: Android: Remove GetApplicationContext part 1 (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
diff --git a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
index f773859b842dd295f56901844e80477a0e20d362..6b760bc2850ec392105a594e083675bf89f5609a 100644
--- a/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
+++ b/base/android/java/src/org/chromium/base/ApiCompatibilityUtils.java
@@ -621,7 +621,7 @@ public class ApiCompatibilityUtils {
*/
public static Uri getUriForImageCaptureFile(Context context, File file) {
estevenson 2017/03/27 21:00:54 nit: remove the context param as well while you're
Peter Wen 2017/03/27 22:31:06 Done.
return Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2
- ? ContentUriUtils.getContentUriFromFile(context, file)
+ ? ContentUriUtils.getContentUriFromFile(file)
: Uri.fromFile(file);
}

Powered by Google App Engine
This is Rietveld 408576698