Commit Graph

56807 Commits

Author SHA1 Message Date
Jason Chiu
92cd7b40f3 Merge "Refactor Settings for injection v2 inline toggle" 2019-10-07 03:46:05 +00:00
TreeHugger Robot
2f6fe971d0 Merge "Tethering shouldn't indicates on when SIM without tethering option" 2019-10-07 02:50:01 +00:00
Bill Yi
89ffd5a247 Merge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 6fa03d4cad -s ours
am: eec9cc07ca -s ours
am skip reason: subject contains skip directive

Change-Id: Id87b7c4a4ed14c3a1810bf409f55442e1e05f4ad
2019-10-06 15:17:28 -07:00
Bill Yi
cd5c8c274e [automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 165a3e6152 -s ours
am: 8491c7fc2b -s ours
am skip reason: subject contains skip directive

Change-Id: Ied4ddf5cfdea7c3c6b402d7f57ea3e393ded01a3
2019-10-06 15:16:56 -07:00
Android Build Merger (Role)
eec9cc07ca Merge "[automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours am: 6fa03d4cad -s ours am skip reason: subject contains skip directive" into qt-qpr1-dev-plus-aosp 2019-10-06 22:10:28 +00:00
Bill Yi
09a0ca8303 [automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
am: 6fa03d4cad -s ours
am skip reason: subject contains skip directive

Change-Id: I907eb3de51fb2427bc525282a87ceea97581815c
2019-10-06 15:10:17 -07:00
Bill Yi
8491c7fc2b [automerger skipped] Import translations. DO NOT MERGE am: aa605a2ff8 -s ours
am: 165a3e6152 -s ours
am skip reason: subject contains skip directive

Change-Id: I22a3b3c49c309e7ccd9424f16841722fd1a228b0
2019-10-06 15:10:15 -07:00
Bill Yi
165a3e6152 [automerger skipped] Import translations. DO NOT MERGE
am: aa605a2ff8 -s ours
am skip reason: subject contains skip directive

Change-Id: I8582fd40ccfab6c247144759b8eac47e021b3ee4
2019-10-06 15:03:16 -07:00
Bill Yi
6fa03d4cad [automerger skipped] Import translations. DO NOT MERGE
am: aa605a2ff8 -s ours
am skip reason: subject contains skip directive

Change-Id: I67820e45b4aceb3a9d3c141cc3be69e899551e2e
2019-10-06 15:03:16 -07:00
Bill Yi
9a111e77cb [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 42eff7e319 -s ours
am: e59984afb1 -s ours
am skip reason: subject contains skip directive

Change-Id: Id9145af1c1308c1ca5c63e6df66927b2778afbd6
2019-10-06 13:28:06 -07:00
Bill Yi
e59984afb1 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: 42eff7e319 -s ours
am skip reason: subject contains skip directive

Change-Id: I35cc62652e4cb9c2a7448b1db141cbba125c6f04
2019-10-06 13:21:35 -07:00
TreeHugger Robot
42eff7e319 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-10-06 19:48:23 +00:00
SongFerngWang
d9ebbb93d0 Preferred network list add 5G item am: dd7f9b57f6
am: a72e1c4612

Change-Id: I734eb57e32fe51bdc1570da86fd66c3b16b99f7f
2019-10-06 09:26:02 -07:00
SongFerngWang
d060c6a648 RadioInfo network mode list and network mode string add 5G am: ec384c2f6f
am: ffc927f77d

Change-Id: Ida4180873e042097fb5fe17292b29d66f77de9ee
2019-10-06 09:25:58 -07:00
SongFerngWang
a72e1c4612 Preferred network list add 5G item
am: dd7f9b57f6

Change-Id: I70f89c6c5e5c43107788c58f1fc3ca44383b4ce5
2019-10-06 09:20:09 -07:00
SongFerngWang
ffc927f77d RadioInfo network mode list and network mode string add 5G
am: ec384c2f6f

Change-Id: I280fb1f3e0acddcb3a85eee876112e491bd4f8f4
2019-10-06 09:20:06 -07:00
Bill Yi
4c257b0ef8 Import translations. DO NOT MERGE
Change-Id: Ie4fdf91f299defd2a361d76455093db5a410d0d6
Auto-generated-cl: translation import
2019-10-06 07:50:11 -07:00
Bill Yi
aa605a2ff8 Import translations. DO NOT MERGE
Change-Id: I1af1cc81e5fffb4ead2146f8871efa5115f91be2
Auto-generated-cl: translation import
2019-10-06 07:36:10 -07:00
Bonian Chen
ae14e82c96 Merge "[Settings UX] Enlarge data usage clickable area" 2019-10-05 06:58:46 +00:00
TreeHugger Robot
4fd6f5c7a1 Merge "Fix a11y issue for the Preferences in the "Android version" Talkback should not speak "double-tap to activate"." 2019-10-05 03:40:34 +00:00
Kevin Chyn
da1438d0c4 Merge "Removed old settings device credential logic." 2019-10-05 02:37:26 +00:00
Alex Johnston
9ac78b32d5 Merge "Remove all biometrics data of a user when password is cleared." 2019-10-04 12:58:17 +00:00
Jason Chiu
1a1f9314b6 Refactor Settings for injection v2 inline toggle
Bug: 132808482
Test: robotest
Change-Id: I0b74e05bc26b97259a15859c669060ce3da7972a
2019-10-04 18:32:11 +08:00
Mill Chen
9915b14914 Merge "Fix overlapping in TrustedCredentialsSettings" 2019-10-04 10:26:56 +00:00
Fang Li
03bdf907ae Change Wi-Fi Calling text for SFR France
Change Wi-Fi Calling text according to SFR requirement.

Test: Checked that changing name correctly.
Bug: 141255919
Change-Id: I598f9d4a3cbca166fe3449ec425702360a104213
2019-10-04 18:30:27 +09:00
Stanley Wang
9d3f8c435f Fix a11y issue for the Preferences in the "Android version"
Talkback should not speak "double-tap to activate".

Set the preference selectable attribute to false.

Test: manual
Fixes: 139709914
Change-Id: If4d6dd480740f4225b1e2932e7838c14a01cf8e5
2019-10-04 17:18:29 +08:00
Yi-Ling Chuang
f8eb30800a Fix non responding slice toggling problem.
The issue happens when users are toggling slices. Sometimes the toggle
doesn't work as expected because the pending intent of the toggle action
seems to be canceled for some reasons.

Hence, we replace FLAG_CANCEL_CURRENT with FLAG_UPDATE_CURRENT to prevent from
getting PendingIntent.CancelExcpetion from SliceActionView when toggling
slices.

Note that this change would only apply on Wifi, MobileData, Flashlight
and Bluetooth Slices.

Bug: 140719905
Test: rebuild and switch toggles
Change-Id: Iddbb16ddcbcf97b6f6e680b43645c04fbc061f39
2019-10-04 17:17:19 +08:00
Bonian Chen
779abebc63 [Settings UX] Enlarge data usage clickable area
Orignal clickable area within data usage editor is too small.
Enlarge it through changing the configuration of layout.

Bug: 131268240
Test: manual testing following the steps provided in issue.
Change-Id: I2cb8dba635ec0bd74c837c2425895ff39ceed13c
2019-10-04 17:11:23 +08:00
TreeHugger Robot
ab1277f6a5 Merge "Fix the display abnormal of Tap & pay screen in landscape mode" 2019-10-04 08:33:20 +00:00
Raff Tsai
c303894040 Merge "Fix talkback issue" 2019-10-04 08:05:51 +00:00
hughchen
d6ec2ac7be Tethering shouldn't indicates on when SIM without tethering option
Before this CL, If SIM doesn't have tethering option then UI will not
back to previous option when press "USB tethering" in
[Default USB configuration].

This CL added receiver to observe USB state that get correct state
from UsbManager.

Bug: 138630479
Test: make -j42 RunSettingsRoboTests
Change-Id: I6cc8da508f6ab142142ca8c28460125bad93925b
2019-10-04 15:41:45 +08:00
SongFerngWang
dd7f9b57f6 Preferred network list add 5G item
Preferred network list add 5G item, and change "recommended" from 4G to
5G, and add summary for 5G.

Bug: 138544359
Test: 1.fake the device network type bitmask to 5G, UI show 5G list
2.atest EnabledNetworkModePreferenceControllerTest.java :pass

Change-Id: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90
2019-10-04 04:53:31 +00:00
SongFerngWang
ec384c2f6f RadioInfo network mode list and network mode string add 5G
Bug: 131888757
Test: 1.build pass 2.RadioInfo set network mode work.
Change-Id: I945d3c2fd175f45151bbeee475e388ccc2d67642
2019-10-04 12:39:59 +08:00
Raff Tsai
6ff13962a3 Fix talkback issue
Fixes: 141226569
Test: manual
Change-Id: I631554ab33d6cc77f3d3f2e4625d359a802dd5b5
2019-10-04 11:59:56 +08:00
Raff Tsai
5b689a5193 Merge "Make battery icon as red when battery level < 20%" 2019-10-04 01:47:28 +00:00
Goven Liu
834c301139 Merge "[Wi-Fi] Wrong MAC address shown in Settings." 2019-10-04 01:13:03 +00:00
Sarah Chin
0c518d5aab 5G meteredness for telephony framework
Bug: 139070884
Test: atest FrameworksTelephonyTests
Change-Id: I0c8e84f74fd1f69ffc7e1046819966fcb04732a6
2019-10-03 16:07:21 -07:00
Jay Aliomer
08d0041259 Merge "Talkback speaking for the notification option should be consistent" 2019-10-03 20:54:21 +00:00
Jay Aliomer
aed74bf543 Talkback speaking for the notification option should be consistent
Because the "Silent" button uses RelativeLayout with getAccessibilityClassName not returning "Button", we use the NotificationButtonRelativeLayout which does that instead
Fix: 141348514
Test: manual testing. see bug report
Change-Id: Ic1c329ae1ad97aed45dc488ee7260d0081211784
2019-10-03 14:42:29 -04:00
Bill Yi
4bfe64cc76 [automerger skipped] Import translations. DO NOT MERGE am: ccd0c91498 -s ours
am: 7923617e30 -s ours
am skip reason: subject contains skip directive

Change-Id: I97efb482ba4cb243e124835b501c4a109df66f6b
2019-10-03 10:22:43 -07:00
Bill Yi
7923617e30 [automerger skipped] Import translations. DO NOT MERGE
am: ccd0c91498 -s ours
am skip reason: subject contains skip directive

Change-Id: I2f2bcc99472507969722b03882633814370e3e10
2019-10-03 10:13:25 -07:00
Julia Reynolds
7e7271fff8 Handle multi-user in notif log
Test: manual
Fixes: 141575553
Change-Id: I03ff85358e8ae6ed5e6699358c4f9c785c416ecf
2019-10-03 11:50:12 -04:00
Raff Tsai
a80a7c16f2 Merge "Remove summary provider" 2019-10-03 15:23:21 +00:00
Raff Tsai
83a62a5586 Merge "Hide sliceView if Slice is null" 2019-10-03 15:19:45 +00:00
Alex Johnston
a0351e2e19 Remove all biometrics data of a user when password is cleared.
Previously, the biometrics were only cleared if the password was cleared from the Settings.
Moved the logic from the Settings app to the system server side.
Now, the biometrics will be removed no matter how the password is cleared (Settings, adb, TestDPC).

Bug: 130653263
Test: Atest LockSettingsServiceTests
      manual testing from Settings, adb and TestDPC

Change-Id: I864b93404ec5cadb0685ac5d41376bf64ebde6f7
2019-10-03 16:05:07 +01:00
govenliu
228cf200ae [Wi-Fi] Wrong MAC address shown in Settings.
The MAC addresses in "About phone" and "Saved networks" may be different
because of new Randomized MAC mechanism.

1.Add new UIs to guide users to saved network and use different titles to
show different conditions.
2.Remove MAC address and IP fields in WifiPreference by new design.

Bug: 133466540
Test: add test case to check if the title changed according to the
privacy level.

Change-Id: Idb5972dc2565f6fe58a83f6aa7124abbc035888f
2019-10-03 19:36:58 +08:00
Sunny Shao
3526f666a8 Fix the display abnormal of Tap & pay screen in landscape mode
- Add a new layout for the landscape mode.
- Update the logic to show image when has no any visible preference.

Bug: 141559275
Test: manual view
make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.nfc
Change-Id: Ib59ad3347e0635c07d61d557d75f8feaf78ff23c
2019-10-03 18:56:36 +08:00
Stanley Wang
73a36b1704 Merge "Fix a11y issue for the Preferences in the "Model & hardware" Talkback should not speak "double-tap to activate"." 2019-10-03 10:00:11 +00:00
Raff Tsai
590042b3ba Hide sliceView if Slice is null
Fixes: 142035673
Test: robolectric, visual
Change-Id: I2b5b34d068ba4590f65a284d4f62a1cc77f9666f
2019-10-03 17:23:35 +08:00
hughchen
cf15f47ac7 Make battery icon as red when battery level < 20%
Bug: 139457284
Test: manually
Change-Id: I235dd86975b3c867183ff845893c3ed95c847356
2019-10-03 15:40:58 +08:00