Commit 67234c4
committed
Hide "no internet connection" when connected some other way.
We now track whether the device is connected at all, and use
this to suppress the disconnected message in the mobile
status string (we previously just looked at wifi
connectivity).
So, if a device is attached via ethernet:
- On wifi-only devices, the combined label is shown in the
notification panel, so you'll see "ETHERNET" (this comes
straight from EthernetDataTracker; at some point we need
localized strings and icons).
- On mobile-data devices (phones), the notification panel
only shows the mobile data label, which will be
suppressed, so you'll see nothing at all.
Bug: 6648292
Change-Id: I9841eaeffe50a4f046afbdc09d80c5bd4d78a8391 parent 734f021 commit 67234c4
File tree
2 files changed
+30
-5
lines changed- packages/SystemUI/src/com/android/systemui/statusbar
- phone
- policy
2 files changed
+30
-5
lines changedLines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
465 | | - | |
| 465 | + | |
| 466 | + | |
466 | 467 | | |
467 | 468 | | |
468 | 469 | | |
469 | | - | |
| 470 | + | |
470 | 471 | | |
471 | 472 | | |
472 | 473 | | |
| |||
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
126 | 130 | | |
127 | 131 | | |
128 | 132 | | |
| |||
868 | 872 | | |
869 | 873 | | |
870 | 874 | | |
| 875 | + | |
| 876 | + | |
| 877 | + | |
| 878 | + | |
| 879 | + | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
| 883 | + | |
| 884 | + | |
871 | 885 | | |
872 | 886 | | |
873 | 887 | | |
| |||
912 | 926 | | |
913 | 927 | | |
914 | 928 | | |
915 | | - | |
| 929 | + | |
| 930 | + | |
916 | 931 | | |
917 | 932 | | |
918 | 933 | | |
919 | 934 | | |
920 | | - | |
| 935 | + | |
921 | 936 | | |
922 | 937 | | |
923 | 938 | | |
| |||
997 | 1012 | | |
998 | 1013 | | |
999 | 1014 | | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
| 1018 | + | |
| 1019 | + | |
| 1020 | + | |
1000 | 1021 | | |
1001 | 1022 | | |
1002 | 1023 | | |
| |||
1023 | 1044 | | |
1024 | 1045 | | |
1025 | 1046 | | |
1026 | | - | |
| 1047 | + | |
1027 | 1048 | | |
1028 | 1049 | | |
1029 | 1050 | | |
| |||
1224 | 1245 | | |
1225 | 1246 | | |
1226 | 1247 | | |
| 1248 | + | |
| 1249 | + | |
| 1250 | + | |
1227 | 1251 | | |
1228 | 1252 | | |
1229 | 1253 | | |
| |||
0 commit comments