Merge "Add new API to get current package name" into rvc-dev am: 2d39120f36
Change-Id: Iaa77e92e7e3f1b8700080bac4337b013b5c63e4f
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