tomhsu
a50dd92e49
Expose SatelliteWarningDialogActivity
...
Bug: 337154438
Test: Manual test
Test: Build pass
Change-Id: I530c554433d99b4732416b8f1b83677ddc0ff6d8
2024-05-09 06:16:34 +00:00
Tom Hsu
c495d92a25
Merge "Show dialog on Wifi, and APM' entries in Settings" into main
2024-05-08 04:37:28 +00:00
tomhsu
29b2f16edf
Show dialog on Wifi, and APM' entries in Settings
...
- When satellite mode is switched on Wifi, and APM entry shall show the warning dialog and avoid user uses these functions.
Bug: 337154438
Test: Manual test.
Test: atest pass
Change-Id: I45cd92a8688e7a619613361ea4a8d58a0984d99f
2024-05-08 03:53:32 +00:00
SongFerng Wang
e2eed370e9
Merge "Refacotr mobile data observer for repository" into main
2024-05-08 01:38:57 +00:00
Chaohui Wang
33df5bb68b
Fix isInCallFlow when no active subscription am: c63f06d4c8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27205448
Change-Id: I5a58046c3e7ed2a1164648516248b39ee4feb5ef
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-05-07 14:48:55 +00:00
Chaohui Wang
c63f06d4c8
Fix isInCallFlow when no active subscription
...
Direct emit false in this case to fix.
Fix: 338484668
Test: manual - on SIMs
Test: unit test
Change-Id: I5286701160d95b1c06e577db6232f7e70f040cdb
2024-05-07 10:57:24 +00:00
Chaohui Wang
179a7204a3
Merge "Clean up unused params from SubscriptionAnnotation" into main
2024-05-07 09:40:34 +00:00
Mengjun Leng
120adb2349
Refacotr mobile data observer for repository
...
In current design, the mobile data observer might be removed due to
SIM absence after registered so that mobile data network info can't
be updated to clients.
To fix it, migrate it to use API TelephonyCallback.onUserMobileDataStateChanged
Bug: 327696232
Change-Id: I26c8f946823abb7505f0227c8dd8ab0700d0c5f2
2024-05-07 09:35:28 +00:00
SongFerng Wang
ceda48c70c
Merge "Add the OtherSection for NetworkCellularGroupProvider" into main
2024-05-07 04:58:28 +00:00
songferngwang
8b2305acd4
Add the OtherSection for NetworkCellularGroupProvider
...
Bug: 338914255
Test: Verified the SIMs UI
Change-Id: I49d5e4126e43054b5d147de15d35805d1e445c38
2024-05-06 10:16:02 +00:00
Chaohui Wang
caaddc87f3
Clean up unused params from SubscriptionAnnotation
...
Bug: 338904413
Test: m Settings
Change-Id: Ic714066e45bb0050361c8096394929828a871589
2024-05-06 09:57:38 +00:00
Chaohui Wang
ffcbbd375a
Clean up MobileNetworkSummaryStatus
...
Fix: 338904413
Test: m Settings
Change-Id: Ic26bf7833c8fbdbeffc4f47dcd6dcd6191394e1b
2024-05-06 07:26:06 +00:00
Treehugger Robot
b48c66ebea
Merge "settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS" into main
2024-04-30 21:44:24 +00:00
Chaohui Wang
ad9c64fcdc
Merge "Reapply "Create CallStateRepository.isInCallFlow"" into 24D1-dev am: bbc3a352e3
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27150958
Change-Id: I8398dcad2f0c0da66cf9c579c5adb5f4c91c2e98
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-30 08:12:16 +00:00
Chaohui Wang
bbc3a352e3
Merge "Reapply "Create CallStateRepository.isInCallFlow"" into 24D1-dev
2024-04-30 07:47:30 +00:00
Tom Hsu
219fb8a3f6
Merge "Revert^2 "Add a new warning dialog for Satellite mode"" into 24D1-dev am: 0a8d830616
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27150955
Change-Id: I02b98dfea84be429e9a46dc8d0e3846dda29f203
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-30 07:24:09 +00:00
Tom Hsu
0a8d830616
Merge "Revert^2 "Add a new warning dialog for Satellite mode"" into 24D1-dev
2024-04-30 07:05:49 +00:00
Chaohui Wang
7bbd8fa4e3
Reapply "Create CallStateRepository.isInCallFlow"
...
This reverts commit 93e4c65d3d .
Fixed the test by cherry-pick change
I7a3d27cb53c930a56ab0f0896b545807bf4f9dc0.
Bug: 336209156
Test: manual - on MobileNetworkSwitchController
Test: atest SubscriptionInfoListViewModelTest
Change-Id: Id606d6ee90acd8a98de706d8533fed0aac96bff4
2024-04-30 12:33:54 +08:00
Tom Hsu
1b308f5df8
Revert^2 "Add a new warning dialog for Satellite mode"
...
This reverts commit 15c90207e2 .
Reason for revert: ag/27138142 shall fix the crash instead of reverted one.
Change-Id: Icf46fda7af9c9bb6921bc10de0f9c93926f42fac
2024-04-30 02:17:15 +00:00
Priyanka Advani
fe0eedf1e3
Merge "Revert "Create CallStateRepository.isInCallFlow"" into 24D1-dev am: 134635786f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27145129
Change-Id: Ica49442da20fcea404ad95a2591506991a8e55b4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 22:48:38 +00:00
Treehugger Robot
c81e0cb16a
Merge "When erasing an eSIM, verify the device screen PIN lock if one is set." into 24D1-dev
2024-04-29 22:24:00 +00:00
Priyanka Advani
134635786f
Merge "Revert "Create CallStateRepository.isInCallFlow"" into 24D1-dev
2024-04-29 22:13:31 +00:00
Priyanka Advani
93e4c65d3d
Revert "Create CallStateRepository.isInCallFlow"
...
This reverts commit 6142ad927e .
Reason for revert: Droid-monitor created revert due to Build breakage in b/337914519. Will be verifying through ABTD before submission.
Change-Id: I300d5397de156fd0815965cfd99f0814f1365ffc
2024-04-29 20:31:15 +00:00
Chaohui Wang
e4e6f0ecf4
Merge "Create CallStateRepository.isInCallFlow" into 24D1-dev am: ac55241fc5
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27139248
Change-Id: Ie5cde4ca5e04167a63fd41adfb5ccd1376a0d870
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 12:51:24 +00:00
Tom Hsu
b5391d1d3f
Merge "Revert "Add a new warning dialog for Satellite mode"" into 24D1-dev am: 45549d928b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27139078
Change-Id: Ib7b007734f3916b5caf652a79708f20f8df90bf6
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 12:51:08 +00:00
Chaohui Wang
ac55241fc5
Merge "Create CallStateRepository.isInCallFlow" into 24D1-dev
2024-04-29 12:37:44 +00:00
Tom Hsu
45549d928b
Merge "Revert "Add a new warning dialog for Satellite mode"" into 24D1-dev
2024-04-29 12:34:55 +00:00
SongFerng Wang
55927a6318
Merge "Fix the Java crash in Settings : java.lang.IndexOutOfBoundsException" into 24D1-dev am: 33f5aa3897
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27139247
Change-Id: I832da1d22799ba554696a66c2087c1ab6c84e201
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 12:03:05 +00:00
SongFerng Wang
33f5aa3897
Merge "Fix the Java crash in Settings : java.lang.IndexOutOfBoundsException" into 24D1-dev
2024-04-29 11:39:12 +00:00
ELIYAZ MOMIN
15c90207e2
Revert "Add a new warning dialog for Satellite mode"
...
This reverts commit 680d062c77 .
Reason for revert: <Potential culprit for b/337796129 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
>
Change-Id: I6fbb7a0587fbb474012e1a97a75c036420500f99
2024-04-29 11:37:35 +00:00
Tom Hsu
71e0980f4c
Merge "Add a new warning dialog for Satellite mode" into 24D1-dev am: cec2f402a9
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27113656
Change-Id: I4962f1906eb66b54385d459fc2a3cc987ee74b84
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-29 11:17:30 +00:00
Tom Hsu
cec2f402a9
Merge "Add a new warning dialog for Satellite mode" into 24D1-dev
2024-04-29 10:57:55 +00:00
Chaohui Wang
6142ad927e
Create CallStateRepository.isInCallFlow
...
Which will emit true if any active sub is in call.
And also create SubscriptionActivationRepository to use isInCallFlow.
Bug: 336209156
Test: manual - on MobileNetworkSwitchController
Test: unit test
Change-Id: I75460bf17961349557ac1e19e7f6b15249f3d7b0
2024-04-29 10:15:13 +00:00
SongFerng Wang
e2dcee3aec
Fix the Java crash in Settings : java.lang.IndexOutOfBoundsException
...
Bug: 329293848
Change-Id: Id775f6db2a90a59278f9b522b60680695d75c4a4
Test: build pass
2024-04-29 09:28:32 +00:00
tomhsu
680d062c77
Add a new warning dialog for Satellite mode
...
Bug: 337154438
Test: atest pass.
Test: Maunal test pass.
Change-Id: I33dbf3502c780cedd5422e2b44678ecb9a22a662
2024-04-29 08:37:28 +00:00
Meng Wang
bcf91ee6a7
When erasing an eSIM, verify the device screen PIN lock if one is set.
...
SIM PIN lock existence isn't checked anymore.
Bug: 335672518
Test: b/335672518#comment6
Merged-In: Iff40c1fb9a2463311768d24d09dfc3aeeee128f9
Change-Id: Iff40c1fb9a2463311768d24d09dfc3aeeee128f9
2024-04-26 21:28:58 +00:00
Treehugger Robot
a50513ec6d
Merge "When erasing an eSIM, verify the device screen PIN lock if one is set." into main
2024-04-26 21:27:38 +00:00
Meng Wang
1331449353
When erasing an eSIM, verify the device screen PIN lock if one is set.
...
SIM PIN lock existence isn't checked anymore.
Bug: 335672518
Test: b/335672518#comment6
Change-Id: Iff40c1fb9a2463311768d24d09dfc3aeeee128f9
2024-04-26 20:33:38 +00:00
Samuel Huang
9b8558394c
Fix the "Use this SIM" switch does not disable during phone calls am: 4f454b43c6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27105181
Change-Id: I2be1b144aa7d1d120692ccfece3c921e488fc308
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-26 09:13:17 +00:00
Samuel Huang
4f454b43c6
Fix the "Use this SIM" switch does not disable during phone calls
...
If the registration failed (e.g., device doesn't support satellite), SatelliteManager will not emit the current state by callback. We send `false` value by ourself to make sure the flow has initial value.
Bug: 315928920
Test: atest, manual
Change-Id: Ic87f71bc576cfb1f8e4053c5784fca401adaec08
2024-04-26 05:54:40 +00:00
Samuel Huang
a94bfd4a47
Merge "Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started" into 24D1-dev am: fea80bf236
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27071155
Change-Id: Idcbc71555ddbebbd28553530ca8ddd6e364635ae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-26 03:22:25 +00:00
Samuel Huang
fea80bf236
Merge "Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started" into 24D1-dev
2024-04-26 03:08:53 +00:00
Rafael Higuera Silva
1d307afd95
Merge "Extract and fix logic for showing rac dialog." into 24D1-dev am: 958b737fcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27072479
Change-Id: I9f5c4c8dea3c7aebc73b5121d6ace7aca22c1dfc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-25 19:07:24 +00:00
Samuel Huang
faa640e8fc
Ignore ACTION_PRIMARY_SUBSCRIPTION_LIST_CHANGED event if satellite session is started
...
When satellite session is started, we need to suppress the 'Choose SIM for mobile data' and 'Update preferred SIM' dialogs to prevent user turn on SIM.
Bug: 334139957
Test: atest, manual
Change-Id: Id56a98f3d1cfd38875173a643c992393d3dbeec8
2024-04-25 13:34:43 +00:00
Chaohui Wang
446e0a18d1
Refresh the preferred APN after "Reset to default"
...
Previously, ApnSettings will updated the preferred APN selection when
data connection changes, but this is not the source of truth.
Observe the preferred APN directly to fix.
Fix: 257316932
Test: manual - on ApnSettings
Test: unit test
Change-Id: Ie323316ab8f7fa63edf5cf90633bcdd4486728c4
2024-04-25 11:14:21 +08:00
Rafael Higuera Silva
36d99e8b09
Extract and fix logic for showing rac dialog.
...
Added tests to make sure the logic makes sense.
Bug: 335745726
Test: make, manual, atest SubscriptionUtilRoboTest, atest SubscriptionUtilTest, atest ResetNetworkTest
Change-Id: I7092f2747f1ca1f9ef4dc99275a916b9e24d8b28
2024-04-25 01:34:47 +00:00
David Jacobo
240b32fa91
settings: Make use of ACTION_NETWORK_PROVIDER_SETTINGS
...
This CL makes use of the newly introduced action for
NETWORK_PROVIDER_SETTINGS.
Bug: None
Test: atest -c ProviderModelSliceTest
Change-Id: Ie0ccde2f49502a634801401e1b33f1d4b9c7d728
2024-04-24 17:08:42 -07:00
Thomas Nguyen
f6f2f6135d
Disable SIM On/Off operation when device is in a Satellite session am: c6005fb22a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/27073216
Change-Id: I529d0a86739891873c205b3ff9eff065e50ed201
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2024-04-24 21:56:40 +00:00
Thomas Nguyen
c6005fb22a
Disable SIM On/Off operation when device is in a Satellite session
...
Bug: 330585109
Test: SatelliteManagerTestOnMockService SatelliteSessionControllerTest SatelliteControllerTest
Manual test with demo and real mode
Change-Id: Iade6426981f76a0b9b71828e0c86d3088c3e974e
2024-04-24 16:35:13 +00:00
Chaohui Wang
a968e2dea8
Merge "Get icon id from CellIdentity instead of CellInfo" into main
2024-04-24 03:56:49 +00:00