From 3b58a74d0c81ff56b74acd0e5c83fbc7f2f6ac72 Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Tue, 7 Mar 2023 10:02:36 +0000 Subject: [PATCH] GL: Reduce visibility of GlProgram.loadAsset. This is only used within the same class, so can be private. PiperOrigin-RevId: 514665000 --- .../main/java/com/google/android/exoplayer2/util/GlProgram.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/common/src/main/java/com/google/android/exoplayer2/util/GlProgram.java b/library/common/src/main/java/com/google/android/exoplayer2/util/GlProgram.java index 2019e894d9..783dbd1a69 100644 --- a/library/common/src/main/java/com/google/android/exoplayer2/util/GlProgram.java +++ b/library/common/src/main/java/com/google/android/exoplayer2/util/GlProgram.java @@ -66,7 +66,7 @@ public final class GlProgram { * @return The content of the file to load. * @throws IOException If the file couldn't be read. */ - public static String loadAsset(Context context, String assetPath) throws IOException { + private static String loadAsset(Context context, String assetPath) throws IOException { @Nullable InputStream inputStream = null; try { inputStream = context.getAssets().open(assetPath);