@Override
protected void onDestroy() {
super.onDestroy();
Log.d(TAG, "onDestory");
stopRecording();
if (receiver != null) {
unregisterReceiver(receiver);
receiver = null;
}
RecordingService.stopService(this);
if (pscl != null) {
TelephonyManager tm = (TelephonyManager) this.getSystemService(Context.TELEPHONY_SERVICE);
tm.listen(pscl, PhoneStateListener.LISTEN_NONE);
pscl = null;
}
}
RecordingActivity.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:Android-Audio-Recorder
作者:
评论列表
文章目录