开机后第一次显示锁屏界面时点击紧急呼叫,下拉状态栏,不停的闪屏
时间:10-02
整理:3721RD
点击:
[Description]
1. 未插卡开机
2. 第一次显示锁屏界面,点击紧急呼叫,进入拨号盘
3. 下拉状态栏,不停的闪屏
[Solution]
请修改
alps/php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/services/java/com/android/server/StatusBARManagerServ
ice.java的disable(int what, IBinder token, String pkg)方法:
将
if (net != mDisabled) {
mDisabled = net;
mHandler.post(new Runnable() {
public void run() {
mNotificationCallbacks.onSetDisabled(net);
}
});
if (mBar != null) {
try {
mBar.disable(net);
} catch (RemoteException ex) {
}
}
}
修改为:
if (mBar != null) {
if (net != mDisabled) {
mDisabled = net;
mHandler.post(new Runnable() {
public void run() {
mNotificationCallbacks.onSetDisabled(net);
}
});
try {
mBar.disable(net);
} catch (RemoteException ex) {
}
}
}
1. 未插卡开机
2. 第一次显示锁屏界面,点击紧急呼叫,进入拨号盘
3. 下拉状态栏,不停的闪屏
[Solution]
请修改
alps/php?mod=tag&id=6090" target="_blank" class="relatedlink">Frameworks/base/services/java/com/android/server/StatusBARManagerServ
ice.java的disable(int what, IBinder token, String pkg)方法:
将
if (net != mDisabled) {
mDisabled = net;
mHandler.post(new Runnable() {
public void run() {
mNotificationCallbacks.onSetDisabled(net);
}
});
if (mBar != null) {
try {
mBar.disable(net);
} catch (RemoteException ex) {
}
}
}
修改为:
if (mBar != null) {
if (net != mDisabled) {
mDisabled = net;
mHandler.post(new Runnable() {
public void run() {
mNotificationCallbacks.onSetDisabled(net);
}
});
try {
mBar.disable(net);
} catch (RemoteException ex) {
}
}
}
学习学习!