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 3264cb8271
commit fe7f3d51df

View file

@ -67,7 +67,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);