diff options
| author | 2021-11-30 00:01:45 +0800 | |
|---|---|---|
| committer | 2021-11-30 00:04:39 +0800 | |
| commit | dd04d561f5638e5330fdf544e7c83128a0d36b42 (patch) | |
| tree | 13b7ce57420798fe324b1a5558b3cf84687efb56 | |
| parent | c35cf07c6036446c22623063dfbd6b167d7762a6 (diff) | |
[Provider Model] should not show the toggle's vertical separation if it is a guest user
Test: atest InternetDialogTest
Bug: 204943893
Change-Id: If0963e172b318a6163bcb9092ae21c4736c65702
| -rw-r--r-- | packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialog.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialog.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialog.java index 883552a1f7c3..9cafa4f03d67 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialog.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/InternetDialog.java @@ -390,6 +390,8 @@ public class InternetDialog extends SystemUIDialog implements array.recycle(); mMobileDataToggle.setVisibility(mCanConfigMobileData ? View.VISIBLE : View.INVISIBLE); + mMobileToggleDivider.setVisibility( + mCanConfigMobileData ? View.VISIBLE : View.INVISIBLE); } } |