add more stubs to make exoplayer not crash

This commit is contained in:
Julian Winkler
2023-09-21 22:49:36 +02:00
parent c830abc5f3
commit b88707592a
37 changed files with 482 additions and 47 deletions

View File

@@ -179,15 +179,6 @@ public final class Bundle extends BaseBundle implements Cloneable {
return false;
}
/**
* Returns the number of mappings contained in this Bundle.
*
* @return the number of mappings as an int.
*/
public int size() {
return mMap.size();
}
/**
* Removes all elements from the mapping of this Bundle.
*/
@@ -334,28 +325,6 @@ public final class Bundle extends BaseBundle implements Cloneable {
mMap.put(key, value);
}
/**
* Inserts an int value into the mapping of this Bundle, replacing
* any existing value for the given key.
*
* @param key a String, or null
* @param value an int, or null
*/
public void putInt(String key, int value) {
mMap.put(key, value);
}
/**
* Inserts a long value into the mapping of this Bundle, replacing
* any existing value for the given key.
*
* @param key a String, or null
* @param value a long
*/
public void putLong(String key, long value) {
mMap.put(key, value);
}
/**
* Inserts a float value into the mapping of this Bundle, replacing
* any existing value for the given key.
@@ -378,17 +347,6 @@ public final class Bundle extends BaseBundle implements Cloneable {
mMap.put(key, value);
}
/**
* Inserts a String value into the mapping of this Bundle, replacing
* any existing value for the given key. Either key or value may be null.
*
* @param key a String, or null
* @param value a String, or null
*/
public void putString(String key, String value) {
mMap.put(key, value);
}
/**
* Inserts a CharSequence value into the mapping of this Bundle, replacing
* any existing value for the given key. Either key or value may be null.