Commit Graph

138895 Commits

Author SHA1 Message Date
Bill Yi
f79f3e63dd Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id6efb8bec50daf9424010f8d39553cc7d1c2a0a0
2024-06-06 19:06:28 -07:00
Lynn Yeh
6e906fc680 Merge "Restrict WifiDppConfiguratorActivity" into 24D1-dev 2024-06-06 04:18:28 +00:00
Treehugger Robot
a10b64bebd Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-04 18:12:07 +00:00
Treehugger Robot
a380ca7e3d Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-06-04 18:12:07 +00:00
Bill Yi
ce35a584c3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ic9577977162782d0b73f5e0994d16cbaf6f95777
2024-06-03 17:37:28 -07:00
Bill Yi
5cf00bfd93 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ib477c1383411c839d396e784ff3295a783b6a52a
2024-06-03 17:34:18 -07:00
Bill Yi
5fb325d35d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icaccc6fdfa98168a78ddb6336ae00354812762ee
2024-06-03 17:30:51 -07:00
Treehugger Robot
b26c34ad8b Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-29 18:38:20 +00:00
Weng Su
4a4131fcb3 Restrict WifiDppConfiguratorActivity
- Don't show WifiDppConfiguratorActivity if user has DISALLOW_ADD_WIFI_CONFIG

- Don't show AddNetworkFragment if user has DISALLOW_ADD_WIFI_CONFIG

Fix: 299931076
Flag: None
Test: manual test with TestDPC
atest -c SettingsUnitTests:AddNetworkFragmentTest \
         SettingsUnitTests:WifiDppConfiguratorActivityTest
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:2101258e8a21e7c983c6b000209f60c22bb3bfd4)
Merged-In: I34afe0f698e2dc43eba59b25f5f3f4f61e70166a
Change-Id: I34afe0f698e2dc43eba59b25f5f3f4f61e70166a
2024-05-29 11:26:17 +00:00
Bill Yi
b64dc1cbdb Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I167a2ec1fe7d85159293889ad39457f59dfca45e
2024-05-28 22:18:39 -07:00
Bill Yi
69d5f22731 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I92e35e96af8bdaf40189cb4418ab20163c081aaf
2024-05-28 22:15:18 -07:00
Bill Yi
8aa583506f Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I86bcb14aa95baa917a752c6ea7ca95b703167a1d
2024-05-27 22:07:54 -07:00
Bill Yi
6a85005ba1 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Id180fa6078d4749521ae92b368eb7389f32e6d5a
2024-05-23 21:26:03 -07:00
Treehugger Robot
a4b41397e0 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-22 17:41:30 +00:00
Treehugger Robot
9b427b0214 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-22 17:41:30 +00:00
Pajace Chen
105858cb31 Revert^2 "Fix "Free up space" not clickable issue"
4916f22ad5

Test: http://ab/I09800010279460954
Test: Build Pass
Merged-In: I36062703b7ab5c21083459616234e3a86500719b
Change-Id: Ib5d46196cf5f0326c7bb1686c609be386016f73d
2024-05-22 07:15:32 +00:00
Satish Yalla
4916f22ad5 Revert "Fix "Free up space" not clickable issue"
Revert submission 27450348-cherrypicker-L62500030004014460:N91700030063291466

Reason for revert: Droidmonitor triggered revert due to build breakage in b/342043629. Will be verifying through ABTD before submission.

Reverted changes: /q/submissionid:27450348-cherrypicker-L62500030004014460:N91700030063291466

Change-Id: Ifaf5fbee7f18719e89d5278585ae80bed3808bb5
2024-05-22 03:04:41 +00:00
pajacechen
567f04603d Fix "Free up space" not clickable issue
- Adding CardPreference.java back for "Free up space" item
- Rename CardPreference.kt to TipCardPreference.kt

Bug: 333016642
Test: http://ab/I85800010265092964
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e5d99fa93d7b7c9034bd492191d781c9f211f051)
Merged-In: I36062703b7ab5c21083459616234e3a86500719b
Change-Id: I36062703b7ab5c21083459616234e3a86500719b
2024-05-22 00:49:43 +00:00
Bill Yi
b2b57b1015 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I9cfb7a674d016e9a690442020e8ed04d50a11f3c
2024-05-21 07:05:56 -07:00
Bill Yi
2f2901316d Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Ia7a99457461a1c60021dbea998949e764d8ad94a
2024-05-21 07:02:35 -07:00
Bill Yi
e193d2ffd9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I815cfd6188bbdb7c89fc71ecc526878e91ede8c9
2024-05-21 06:59:11 -07:00
Chaohui Wang
6d5dadfb0d Fix BackupTasksAppsTest
Fix: 341832628
Test: atest BackupTasksAppsTest
Change-Id: I8731604d896d58a9b46b4d0af660a40c34bb905b
Merged-In: Ib01bd6556768a943ae7fae013c6ccb82b1b96697
2024-05-21 06:08:59 +00:00
Chaohui Wang
83aeb45f3c Fix default mode for AlarmsAndRemindersAppList
When app ops permission's app ops mode is default, should check if
permission is grant.

Fix: 339846642
Test: manual - on AlarmsAndRemindersAppList
Test: unit test
Change-Id: Ia0f05211f5774637304502ead79dd98a1cf89886
2024-05-21 03:37:47 +00:00
Chaohui Wang
7a8d8fd091 Reapply "Migrate AppOps"
This reverts commit 19b01bd68b.

Bug: 341016088
Test: manual - on Special app access
Change-Id: I000274ae9c725f848e1c8910120ba886fcc5be95
Merged-In: I000274ae9c725f848e1c8910120ba886fcc5be95
2024-05-21 03:20:04 +00:00
Faye Yan
a7065f4d36 Revert "Add Voice activation apps into Settings->Apps->Special a..."
Revert submission 25108596-va-special-access

Reason for revert: voice activation is not going in V

Reverted changes: /q/submissionid:25108596-va-special-access

Bug: 306447565
Bug: 393727896

Test: presubmit

Change-Id: I4977e7d543cb800fc9fb6962bba3afebb9480dcc
Merged-In: I4977e7d543cb800fc9fb6962bba3afebb9480dcc
2024-05-20 11:56:48 +08:00
Faye Yan
f6b5904511 Revert "Add Voice activation apps into Settings->Apps->Specific app->AppInfo->Voice activation apps"
This reverts commit 7f2fbc2e4c.

Reason for revert: voice activation is not going in V

Test: manual - on Special app access
Change-Id: Idfabfd48f45d2ace7de9f8498181f281ad0358a1
Merged-In: Idfabfd48f45d2ace7de9f8498181f281ad0358a1
2024-05-20 11:56:47 +08:00
Chris Antol
c4c5ad5642 Merge "Fix NPE in AudioSwitchPreferenceController" into 24D1-dev 2024-05-17 16:19:32 +00:00
ELIYAZ MOMIN
19b01bd68b Revert "Migrate AppOps"
Revert submission 27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Reason for revert: <Potential culprit for b/341210811- verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Reverted changes: /q/submissionid:27392016-cherrypick-AppOpsController-AppOps-w48m53c1or

Change-Id: Ib9813a48170f4ef38de9eee811c677ad75f5401e
2024-05-17 10:48:57 +00:00
Chaohui Wang
4573df2aaf Migrate AppOps
Bug: 339846642
Test: manual - on Special app access
Change-Id: I988bdf85036478d8e6d87a3b5a1a46a35df38422
2024-05-17 02:57:31 +00:00
Bill Lin
6a2de37817 Merge "Remove redundant marginStart for FaceSettings button" into 24D1-dev 2024-05-16 01:20:29 +00:00
Treehugger Robot
47ce042cf3 Merge "Update battery settings page loading text" into 24D1-dev 2024-05-15 15:09:26 +00:00
Wesley Wang
3ceffc39f9 Update battery settings page loading text
- Update the loading text into empty space text to prevent layout flaky before info loaded

Bug: N/A
Test: atest SettingsRoboTests
Change-Id: I272405f5045a682533a4e9405a9fd91f6c507f7e
2024-05-15 10:53:52 +00:00
songferngwang
7489c93347 Fix the BasePreferenceController.createInstance's IllegalStateException
When the settings search do BasePreferenceController.createInstance,
it get the the IllegalStateException, and then the search ignore this
controller. It causes the indexing can not filter this controller via
the PreferenceController's getAvailabilityStatus.

Bug: 335509130
Test: Build pass. Do search and no crash
Change-Id: Icaff8ca690ca3e3a46c2f21a5fbde0bbd99fd92e
2024-05-15 09:26:44 +00:00
Chaohui Wang
381638f284 Merge changes If41d957f,I5c49d195 into 24D1-dev
* changes:
  Fix empty network scan result
  Create NetworkScanRepository
2024-05-15 07:50:58 +00:00
Jason Chang
fd6a3aa516 Remove redundant marginStart for FaceSettings button
To set button's marginStart to zero to align layout.

Flag: NONE

Bug: 331945001

Test: manual build and check UI visually in Fold/Unfold and rotate
state

Change-Id: I967d9ac1af963c6dcdac631a4fba9631a8d5662c
(cherry picked from commit a547a145dc)
2024-05-15 07:32:27 +00:00
Chaohui Wang
99b09df4a8 Fix empty network scan result
Settings use TelephonyScanManager.NetworkScanCallback to scan, and its
onComplete() could happens before onResults().

We will change Settings to fix.

Fix: 338986191
Test: manual - on NetworkSelectSettings
Test: unit test
Change-Id: If41d957f916a99eacc1becb6b460e58722a4dca7
Merged-In: If41d957f916a99eacc1becb6b460e58722a4dca7
2024-05-15 15:29:55 +08:00
SongFerng Wang
365cc18c40 Merge "Fix search indexed the item from the invisible sim" into 24D1-dev 2024-05-15 07:02:53 +00:00
Chaohui Wang
12158eb1fe Create NetworkScanRepository
And migrate network scan to flow for better maintenance and prevent ANR.

Fix: 323105271
Test: manual - Choose network
Test: unit test
Change-Id: I5c49d195fc202143c0131ffd78bc3adc168b119c
Merged-In: I5c49d195fc202143c0131ffd78bc3adc168b119c
2024-05-15 14:09:03 +08:00
Chris Antol
f5cc663a8a Fix NPE in AudioSwitchPreferenceController
Test: Unit Test to verify nullness
Bug: 338892614
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7ac80f0a0a69e99ec3603e9157cd5a2b20509e85)
Merged-In: Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e
Change-Id: Ic97d1a6269a6d98ffd15a9b512f6ae24ff1c5b5e
2024-05-14 16:19:59 +00:00
songferngwang
6f8cc6f0b6 Fix search indexed the item from the invisible sim
When search start to index and run to MobileNetworkSettings.java, the
TelephonyBasePreferenceController will find which subId can be the
"AVAILABLE" from the active subscriptionInfo list. This active subscriptionInfo
list does not be filtered, so the search uses the invisibile sim's item for user.

Bug: 335509130
Test: atest MobileNetworkUtilsTest (pass)
Change-Id: I2840e7de344347643197592e125f5524d27a068e
2024-05-14 15:04:02 +00:00
Nick Chameyev
b9a0722d20 Update fold setting text
Clarify default behavior and correct
the 'never' option to make sure
that it takes into account power
button instantly locks setting.

Bug: 300238754
Change-Id: I3d513bd06880b7be7e5610659dd72174d468c3dd
Flag: none
Test: presubmit
2024-05-14 10:10:28 +00:00
Treehugger Robot
75779c3fc2 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-13 18:16:20 +00:00
Treehugger Robot
fd5d889807 Merge "Import translations. DO NOT MERGE ANYWHERE" into 24D1-dev 2024-05-13 18:16:20 +00:00
Bill Yi
9f186e2b09 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I88ddb0e7dc30d084c5156759a363b0793c1e405d
2024-05-12 17:33:41 -07:00
Bill Yi
abc9a7413b Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I5f2d28351f89a4428ee3dd37d515d0b32bc79387
2024-05-12 17:30:31 -07:00
Bill Yi
bc401c3cb3 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Iabf9cc384edabd73c43f64406904f033203d0606
2024-05-12 17:26:55 -07:00
Tom Hsu
580ef265ce Merge "Expose SatelliteWarningDialogActivity" into 24D1-dev 2024-05-10 06:46:57 +00:00
Treehugger Robot
6f6629e6cd Merge "Fix the flicker in the Lock screen page" into 24D1-dev 2024-05-10 02:44:25 +00:00
tomhsu
180b2d9561 Expose SatelliteWarningDialogActivity
Bug: 337154438
Test: Manual test
Test: Build pass
Change-Id: I530c554433d99b4732416b8f1b83677ddc0ff6d8
Merged-In: I530c554433d99b4732416b8f1b83677ddc0ff6d8
2024-05-09 09:56:30 +00:00
tomhsu
1f440aacec Show dialog on BT entries in Settings
- When satellite mode is switched on BT entries shall show the warning dialog and avoid user uses these functions.

Bug: 337154438
Test: Manual test.
Test: atest pass
Change-Id: Ic9b6d44731684d1cfba87570d72dcacb905a66d2
(cherry picked from commit c8f52f816c)
Merged-In: Ic9b6d44731684d1cfba87570d72dcacb905a66d2
2024-05-09 06:55:02 +00:00