API for get modem activity info
Change-Id: I4785e1dfce14468de8ba5a376c7c3aa57178ce7b
This commit is contained in:
@@ -4595,7 +4595,22 @@ public class TelephonyManager {
|
||||
}
|
||||
} catch (RemoteException ex) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the modem activity info.
|
||||
* @hide
|
||||
*/
|
||||
public ModemActivityInfo getModemActivityInfo() {
|
||||
try {
|
||||
ITelephony service = getITelephony();
|
||||
if (service != null) {
|
||||
return service.getModemActivityInfo();
|
||||
}
|
||||
} catch (RemoteException e) {
|
||||
Log.e(TAG, "Error calling ITelephony#getModemActivityInfo", e);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user