修改源码 挂断电话情景模式变静音
来源:互联网 发布:js日期插件 编辑:程序博客网 时间:2024/05/10 03:36
前一次打电话进来是什么模式,切成其他模式之后,打电话出去挂断会跳回上次打电话进来时候的情景模式。打进来没搜到哪里有存储情景模式的地方。打出去的log里显示ringermode changed by other app.但是我在audioManager和audioServices里追不到这个值是怎么被改变的,求大神指导一下。下面是部分打电话出去的部分log。
D/AudioMTKPolicyManager( 162): setStreamVolumeIndex stream = 7 index = 0 device = 0x2
D/BroadcastQueue( 749): BDC-Delivered broadcast: Intent { act=android.intent.action.PHONE_STATE flg=0x10 cmp=com.google.android.talk/com.google.android.apps.babel.phone.PhoneStateReceiver (has extras) }, ordered=true, app=ProcessRecord{423ea318 5807:com.google.android.talk/u0a65}, receiver=android.os.BinderProxy@423cf278
V/ActivityManager( 749): Broadcast sticky: Intent { act=android.media.RINGER_MODE_CHANGED flg=0x24000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{429dc3d0 749:system/1000}
D/AudioService( 749): notifyRingerModeChanged: New ringermode = 0, clients = 3
D/AudioProfileService( 749): onRingerModeChanged: ringermode changed by other app, change profile! ringerMode = 0
V/AudioProfileService( 749): RingerMode change to SILENT, change profile to silent
D/AudioProfileService( 749): getActiveProfile: profileKey = mtk_audioprofile_general
D/AudioProfileService( 749): setActiveProfile>>>: oldProfileKey = mtk_audioprofile_general, newProfileKey = mtk_audioprofile_silent, shouldSetRingerMode = false
D/Provider/Settings( 749): put string name = mtk_audioprofile_active , value = mtk_audioprofile_silent userHandle = 0
V/SettingsProvider( 749): call_put(system:mtk_audioprofile_active=mtk_audioprofile_silent) for 0
V/SettingsProvider( 749): insert(content://settings/system) for user 0 by 0
D/ActivityThread( 5807): BDC-Calling onReceive: intent=Intent { act=android.intent.action.PHONE_STATE flg=0x10 cmp=com.google.android.talk/com.google.android.apps.babel.phone.PhoneStateReceiver (has extras) }, ordered=true, receiver=com.google.android.apps.babel.phone.PhoneStateReceiver@42205e08
D/SettingsProvider( 749): redundant, old Value: mtk_audioprofile_general new value: mtk_audioprofile_silent
D/AudioMTKPolicyManager( 162): setStreamVolumeIndex stream = 7 index = 0 device = 0x2
D/BroadcastQueue( 749): BDC-Delivered broadcast: Intent { act=android.intent.action.PHONE_STATE flg=0x10 cmp=com.google.android.talk/com.google.android.apps.babel.phone.PhoneStateReceiver (has extras) }, ordered=true, app=ProcessRecord{423ea318 5807:com.google.android.talk/u0a65}, receiver=android.os.BinderProxy@423cf278
V/ActivityManager( 749): Broadcast sticky: Intent { act=android.media.RINGER_MODE_CHANGED flg=0x24000010 (has extras) } ordered=false userid=-1 callerApp=ProcessRecord{429dc3d0 749:system/1000}
D/AudioService( 749): notifyRingerModeChanged: New ringermode = 0, clients = 3
D/AudioProfileService( 749): onRingerModeChanged: ringermode changed by other app, change profile! ringerMode = 0
V/AudioProfileService( 749): RingerMode change to SILENT, change profile to silent
D/AudioProfileService( 749): getActiveProfile: profileKey = mtk_audioprofile_general
D/AudioProfileService( 749): setActiveProfile>>>: oldProfileKey = mtk_audioprofile_general, newProfileKey = mtk_audioprofile_silent, shouldSetRingerMode = false
D/Provider/Settings( 749): put string name = mtk_audioprofile_active , value = mtk_audioprofile_silent userHandle = 0
V/SettingsProvider( 749): call_put(system:mtk_audioprofile_active=mtk_audioprofile_silent) for 0
V/SettingsProvider( 749): insert(content://settings/system) for user 0 by 0
D/ActivityThread( 5807): BDC-Calling onReceive: intent=Intent { act=android.intent.action.PHONE_STATE flg=0x10 cmp=com.google.android.talk/com.google.android.apps.babel.phone.PhoneStateReceiver (has extras) }, ordered=true, receiver=com.google.android.apps.babel.phone.PhoneStateReceiver@42205e08
D/SettingsProvider( 749): redundant, old Value: mtk_audioprofile_general new value: mtk_audioprofile_silent
0 0
- 修改源码 挂断电话情景模式变静音
- 挂断电话
- 挂断电话
- 挂断电话
- 挂断电话
- 来电时挂断电话
- Android 挂断电话流程
- android_ITelephony_endCall_挂断电话
- android_ITelephony_endCall_挂断电话
- Android 挂断电话流程
- Android 挂断电话流程
- 使用AIDL挂断电话
- 采用aidl挂断电话
- android_ITelephony_endCall_挂断电话 .
- 转:自动挂断电话
- Android自动挂断电话
- Android挂断电话代码
- 手机自动挂断电话
- 《深度探索C++对象模型》读书笔记第六章:执行期语意学
- Android的fragment无法获取来自Activity的bundle数据
- 求大神帮忙解决listview数据过多软键盘弹出卡顿问题
- ScrollView 嵌套ListView再嵌套GridView在5.0系统上有错误。
- MPChart的饼图使用相关问题
- 修改源码 挂断电话情景模式变静音
- 开发一款安卓APP,客户端既要实现xmpp聊天,又要实现Http上网 服务端应该怎么设计
- 开发一款安卓APP,客户端既要实现xmpp聊天,又要实现Http上网 服务端应该怎么设计
- 怎么获得第三方应用发到通知栏的消息
- phonegap+jquery mobile
- Android訪問PHP 關於API參數是文件數組的類型
- HTML <div> 和<span>
- HTML 布局
- HTML 表单和输入