[MT6763_9.0][Multi-user]Add a new user and delete it, it will always be stuck in the interface, without any application, the drop-down status bar will return to normal.
diff --git a/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java b/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
old mode 100644
new mode 100755
index 92b9266392..9177ae95ae
--- a/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
+++ b/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/phone/PanelView.java
@@ -854,10 +854,10 @@ public abstract class PanelView extends FrameLayout {
if (isFullyCollapsed()) {
return;
}
-
- if (currentMaxPanelHeight == mExpandedHeight) {
- return;
- }
+ //modify dengli
+ //if (currentMaxPanelHeight == mExpandedHeight) {
+ // return;
+ //}
if (mPeekAnimator != null || mPeekTouching) {
return;
diff --git a/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java b/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
old mode 100644
new mode 100755
index 28e3ef5db2..174c4e366d
--- a/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
+++ b/vendor/mediatek/proprietary/packages/apps/SystemUI/src/com/android/systemui/statusbar/stack/NotificationStackScrollLayout.java
@@ -4512,11 +4512,12 @@ public class NotificationStackScrollLayout extends ViewGroup
}
public void setMaxDisplayedNotifications(int maxDisplayedNotifications) {
- if (mMaxDisplayedNotifications != maxDisplayedNotifications) {
+ //modify dengli
+ //if (mMaxDisplayedNotifications != maxDisplayedNotifications) {
mMaxDisplayedNotifications = maxDisplayedNotifications;
updateContentHeight();
notifyHeightChangeListener(mShelf);
- }
+ //}
}
public void setShouldShowShelfOnly(boolean shouldShowShelfOnly) {
Android P MTK 添加新用户再删除,会一直卡在界面,无任何应用,下拉状态栏才会恢复正常
最新推荐文章于 2023-03-21 00:15:00 发布