--- a/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
+++ b/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/PhoneStatusBarPolicy.java
@@ -371,7 +371,7 @@ public class PhoneStatusBarPolicy
}
}
}
-
+ zenVisible = false;//modify by luoyalong 20210714 remove Location and zen in statusBar
if (zenVisible) {
mIconController.setIcon(mSlotZen, zenIconId, zenDescription);
}
@@ -620,7 +620,7 @@ public class PhoneStatusBarPolicy
// Updates the status view based on the current state of location requests.
private void updateLocation() {
if (mLocationController.isLocationActive()) {
- mIconController.setIconVisibility(mSlotLocation, true);
+ mIconController.setIconVisibility(mSlotLocation, false);//modify by luoyalong 20210714 remove Location and zen in statusBar
} else {
mIconController.setIconVisibility(mSlotLocation, false);
}
diff --git a/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java b/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java
index 49ddb36..c319167 100755
--- a/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java
+++ b/sprd/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/VolumeDialogImpl.java
@@ -1421,7 +1421,7 @@ public class VolumeDialogImpl implements VolumeDialog,
public void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser) {
if (mRow.ss == null) return;
//modify by luoyalong 20210707 for silent modem icon begin
- if(progress > 0 && mRingerStatus){
+ /*if(progress > 0 && mRingerStatus){
Intent intents = new Intent();
intents.setAction("neostra.intent.action.SELENTOFF");
mContext.sendBroadcast(intents);
@@ -1431,7 +1431,7 @@ public class VolumeDialogImpl implements VolumeDialog,
intents.setAction("neostra.intent.action.SELENTON");
mContext.sendBroadcast(intents);
mRingerStatus =true;
- }
+ }*/
//modify by luoyalong 20210707 for silent modem icon end
if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream)
+ " onProgressChanged " + progress + " fromUser=" + fromUser);
sprd安卓11 去掉状态栏勿扰模式和定位图标
最新推荐文章于 2024-02-28 16:19:17 发布