mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
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:
parent
2d22604efe
commit
3b58a74d0c
@ -66,7 +66,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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user