GL: Reduce visibility of GlProgram.loadAsset.

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

PiperOrigin-RevId: 514665000
This commit is contained in:
huangdarwin 2023-03-07 10:02:36 +00:00 committed by Rohit Singh
parent 2d22604efe
commit 3b58a74d0c

View File

@ -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);