Add new API to get current package name
Bug: 156224161 Test: make -j50 RunSettingsLibRoboTests Change-Id: I6d255fe1e11e2bcddf29a45b55f64a6c2284e50c
This commit is contained in:
@@ -381,6 +381,15 @@ public class LocalMediaManager implements BluetoothCallback {
|
||||
return mInfoMediaManager.getActiveMediaSession();
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the current package name.
|
||||
*
|
||||
* @return current package name
|
||||
*/
|
||||
public String getPackageName() {
|
||||
return mPackageName;
|
||||
}
|
||||
|
||||
private MediaDevice updateCurrentConnectedDevice() {
|
||||
synchronized (mMediaDevicesLock) {
|
||||
for (MediaDevice device : mMediaDevices) {
|
||||
|
||||
Reference in New Issue
Block a user