Commit fe7f3d51 by huangdarwin Committed by Rohit Singh

GL: Reduce visibility of GlProgram.loadAsset.

This is only used within the same class, so can be private.

PiperOrigin-RevId: 514665000
parent 3264cb82
...@@ -67,7 +67,7 @@ public final class GlProgram { ...@@ -67,7 +67,7 @@ public final class GlProgram {
* @return The content of the file to load. * @return The content of the file to load.
* @throws IOException If the file couldn't be read. * @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; @Nullable InputStream inputStream = null;
try { try {
inputStream = context.getAssets().open(assetPath); inputStream = context.getAssets().open(assetPath);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment