Commit Graph

56982 Commits

Author SHA1 Message Date
Bill Yi
bf071e3f39 [automerger skipped] Import translations. DO NOT MERGE am: 476d82715a -s ours
am: e127092dfd -s ours
am skip reason: subject contains skip directive

Change-Id: I6dfac82dc352d47356ae02d636f6c3a54555a6ae
2019-10-19 05:07:15 -07:00
Bill Yi
e127092dfd [automerger skipped] Import translations. DO NOT MERGE
am: 476d82715a -s ours
am skip reason: subject contains skip directive

Change-Id: I22006097e4ff21843030e9bac2138c9d2c5b56f3
2019-10-19 04:56:30 -07:00
Arc Wang
f709d7fdc2 Merge "[Wi-Fi] Updates internal AccessPoint list upon onAccessPointsChanged" 2019-10-19 11:05:26 +00:00
Bill Yi
476d82715a Import translations. DO NOT MERGE
Change-Id: I0d35ecce542fee9f4f6367d2a11a4cca2d4b4b60
Auto-generated-cl: translation import
2019-10-19 00:50:29 -07:00
Raff Tsai
d041c32e5e Make injected entries searchable
Add a injected item in queryDynamicRawData. SettingsIntelligence will
query this method in query time.

Fixes: 132812768
Test: manual
Change-Id: I4e2f56e86537930e3102280f7e8dc7691ea1ec4e
2019-10-19 07:53:49 +08:00
Arc Wang
be55640ae3 [Wi-Fi] Updates internal AccessPoint list upon onAccessPointsChanged
Updating access point list requires WifiTracker's AccessPoints and
WifiNetworkFactory's matching scan results. When WifiNetworkFactory
sends the matching scan results to NetworkRequestDialogFragment, if
WifiTracker still does not receive scan results, UI will not be
updated.
This CL is to update internal AccessPoint list from WifiTracker
upon onAccessPointsChanged callback to reflect results properly.

Bug: 140600730
Test: manual, robotests
Change-Id: I0f9814821b3d56f3c55f1e6419c8b7a03b03589e
Signed-off-by: Daichi Ueura <daichi.ueura@sony.com>
2019-10-18 18:09:19 +08:00
Anamika Singh
d2cbfa2dee Merge "Move Emergency call button" am: 2501f6e268 am: 251411674b am: 32f4f10d4a
am: c455762580

Change-Id: I70e9fd65f94257d7ab2a254a8b2d703df5e2031b
2019-10-18 02:08:58 -07:00
Anamika Singh
c455762580 Merge "Move Emergency call button" am: 2501f6e268 am: 251411674b
am: 32f4f10d4a

Change-Id: I5457a7f278db3a87a22696d0a698a5aaf861e148
2019-10-18 02:01:54 -07:00
Goven Liu
483f58ce3c Merge "[Wi-Fi] [a11y] The "Advanced options" should be accessible by Voice Access and pronounced by talkback correctly." 2019-10-18 09:00:07 +00:00
Anamika Singh
32f4f10d4a Merge "Move Emergency call button" am: 2501f6e268
am: 251411674b

Change-Id: I97e20041d520f2795affe8c66e1d12e16ec5cfde
2019-10-18 01:55:53 -07:00
Anamika Singh
251411674b Merge "Move Emergency call button"
am: 2501f6e268

Change-Id: Ie687f4b03f7ebf572057dca6678ac4d70666f76f
2019-10-18 01:49:54 -07:00
Treehugger Robot
2501f6e268 Merge "Move Emergency call button" 2019-10-18 08:37:39 +00:00
Arc Wang
4a71bc90f4 [Wi-Fi] Support passport R1 expiration handling
1. Keep expired networks in the Saved Networks / Subscriptions area
2. Saved Networks Screen: add "Expired" subtext to the expired network list item
3. Wi-Fi detail page: also add "Expired" subtext under the network name
4. Wi-Fi detail page: hide the "Connect" button

Bug: 141474717
Test: WifiDetailPreferenceControllerTest
      manual:
      Download passpoint profile and connect to a passpoint AP.

Change-Id: Id5f5cf97bb25578ca08ebf9e77b06a2a02521e1c
2019-10-18 14:19:35 +08:00
Raff Tsai
dfba9a0f6d Change Panels creation interface to take a bundle
Fixes: 124399577
Test: robolectric
adb shell am start -a android.settings.panel.action.WIFI
adb shell am start -a android.settings.panel.action.VOLUME

Change-Id: I9e13357444e4ebeee50fb8cc68fbc974ce5fffb6
2019-10-18 13:21:18 +08:00
TreeHugger Robot
4b4b7e76c4 Merge "Hide search box if it is called in initial setup wizard" 2019-10-18 04:00:32 +00:00
Raff Tsai
c898775914 Hide search box if it is called in initial setup wizard
- Search box is hidden if user set intent extra isSetupFlow true

Fixes: 135717823
Test: search box is hidden in the following command
adb shell am start -a android.settings.SETTINGS --ez isSetupFlow true

Change-Id: Ia3d955c9390d6b0eef9391b9b35b6a483eb63d26
2019-10-18 02:08:38 +00:00
Philip P. Moltmann
0b0a500833 Switch to new internal API
Test: atest RunSettingsRoboTests
Change-Id: I2ecfa651031bcb431f28d55512cf93c442686d71
2019-10-17 09:01:24 -07:00
govenliu
116060e011 [Wi-Fi] [a11y] The "Advanced options" should be accessible by Voice Access and pronounced by talkback correctly.
The checkbox is unclickable via Accessibility.

Solution: Refine the solution of b/30079196 to let checkbox be focusable and clickable by Accessibility, and remove unnecessary Accessibility pronunciation strings.

Bug: 141588638
Bug: 141588161
Test: Add unit test to check the content description of the checkbox.
Change-Id: I2e7932f64ae29a13b793276eab6705009af20104
2019-10-17 17:10:17 +08:00
Jackal Guo
e7f5837319 Merge "Update the logic of querying crashed a11y services" 2019-10-17 06:21:11 +00:00
Yi-Ling Chuang
0495ec3b96 Merge "Fix non responding slice toggling problem." into qt-qpr1-dev am: 5956f903cb
am: e87289bbc4

Change-Id: I7cea63639e03070d6aee1eeaf82214bc5f4328b6
2019-10-16 21:32:12 -07:00
Yi-Ling Chuang
e87289bbc4 Merge "Fix non responding slice toggling problem." into qt-qpr1-dev
am: 5956f903cb

Change-Id: I2235eeb55d9ebcaaac399956d854471779c23b31
2019-10-16 21:09:58 -07:00
Raff Tsai
f28a690ad9 Merge "Fix crash on indexing AccountWorkProfileDashboardFragment" 2019-10-17 01:38:11 +00:00
TreeHugger Robot
5956f903cb Merge "Fix non responding slice toggling problem." into qt-qpr1-dev 2019-10-17 01:32:14 +00:00
Joshua Mccloskey
0546a9faf1 Merge "Enforce policy management." 2019-10-16 23:23:27 +00:00
Pavel Grafov
7bdfda7775 Merge "Password constraints cleanup." 2019-10-16 17:49:12 +00:00
Pavel Grafov
69cac2c986 Password constraints cleanup.
Unified password validation code between DPMS and Settings.

Bug: 138375712
Test: atest tests/robotests/src/com/android/settings/password/ChooseLockPasswordTest.java
Change-Id: I55e4dae47526659594af3fcdbfc1292edceb5807
2019-10-16 15:36:21 +01:00
Fabian Kozynski
42d9a70916 Merge "Add BooleanState metadata to DevelopmentTiles" 2019-10-16 13:07:50 +00:00
TreeHugger Robot
e496d7e411 Merge "Fix talkback will not speak correct status" 2019-10-16 12:25:02 +00:00
Tsung-Mao Fang
c60c674b0e Fix crash on indexing AccountWorkProfileDashboardFragment
This feature is not ready, We should not index this fragment now.

Change-Id: I127d00069846f39e8faaae0c8d099463af0718ed
Fix: 142780476
Test: rebuilt
2019-10-16 19:57:04 +08:00
TreeHugger Robot
f956e4bd96 Merge "Fix NPE when user goes from none to swipe for lockscreen" 2019-10-16 11:17:57 +00:00
TreeHugger Robot
4b55d88c1e Merge "Adds cross-profile intents for Bluetooth detail Settings" 2019-10-16 09:58:21 +00:00
Raff Tsai
afd494d335 Add personal/work tab for ManageApplications
- Add ProfileSelectManageApplications containing tabLayout
- Modify StorageItemPreferenceController to display only personal
or work profile data
- Add getTargetFragment in Utils to handle fragment selection

Bug: 141601408
Test: manual
Change-Id: Ie4db1ce2e77f60a82018e5a3e1f2fccb812502dc
2019-10-16 17:08:31 +08:00
TreeHugger Robot
fd747e663c Merge "[Wi-Fi] Refine code for saved AccessPoints" 2019-10-16 08:55:30 +00:00
TreeHugger Robot
5302874d6b Merge "[Wi-Fi] Fix Wi-Fi hotspot two line summary UI problem" 2019-10-16 08:44:32 +00:00
TreeHugger Robot
56aa5f831d Merge "Update string" 2019-10-16 08:43:50 +00:00
Kevin Chang
b9cf6af2f0 Merge "Add metrics and code change for magnification dialog" 2019-10-16 08:12:47 +00:00
Kevin Chang
5f39bd261f Merge "Change string of switchbar and installed service category title" 2019-10-16 08:12:38 +00:00
Arc Wang
7a21676938 [Wi-Fi] Fix Wi-Fi hotspot two line summary UI problem
Use summary_placeholder instead of summary_two_lines_placeholder.

Bug: 131985486
Test: visual
Change-Id: I7ebac1fcbcbe23dec0c624a75a7cb4fecf537a57
2019-10-16 07:53:27 +00:00
Arc Wang
21683140e9 [Wi-Fi] Refine code for saved AccessPoints
SubscribedAccessPointsPreferenceController extends from
SavedAccessPointsPreferenceController to remove duplicate
code.

Bug: 127206629
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.wifi.savedaccesspoints
      Manual: Add and forget Wi-Fi accesspoints and observe UI display.

Change-Id: Ia494117ae98f043ce65b2f9f6e4b4daccc8df543
2019-10-16 07:52:45 +00:00
hughchen
b78ecc4d8b Adds cross-profile intents for Bluetooth detail Settings
Bug: 142349493
Test: manually
Change-Id: If8c0f9d52c81226c6aa567520c3848189b489a31
2019-10-16 15:27:17 +08:00
hughchen
1605b0364c Fix Connected devices page UI not update after paired
This CL before, onChanged(null) will cause PreferenceGroup
didn't update UI in ConnectedDeviceDashboardFragment.

This CL remove onChanged(null) and set unvisible of SliceView
in the constructor.

Bug: 142220754
Test: make -j42 RunSettingsRoboTests
Change-Id: Ib20db373430589c5c5efbe8a4c866b7fae4f3399
2019-10-16 14:12:33 +08:00
joshmccloskey
9be0899b3c Enforce policy management.
Test: Verified disabling fingerprint will not allow
the user to unlock work apps with fingerprint. (But can use fingeprint
within apps.)
Test: Verified disabling face and/or iris on a fingerprint device will
continue to
allow the user to unlock work apps with fingerprint.
Test: Verified disabling face on a face authentication device
will not allow the user to unlock work apps with face authentication.
(But can use face
authentication within apps.)
Test: Verified disabling fingerprint and/or iris on a face
authentication device will continue to allow the user to unlock work
apps with face authentication.
Bug: 141382589

Change-Id: I74135dd9f6afb1b789302ad0af3daf8a73a4181b
2019-10-16 00:05:10 +00:00
Rubin Xu
3bf2e70745 Fix NPE when user goes from none to swipe for lockscreen
If the user currently doesn't have a password and transitions
into another empty lockscreen (none -> swipe or swipe -> none),
there is no need to call setLockCredential.

Bug: 142701762
Test: Not yet :(
Change-Id: I553c8b30c7414775185d632660d962a73607baca
2019-10-15 23:51:10 +01:00
Raff Tsai
ca3639a668 Merge "Make sure close button has proper color" am: 0f9ad6d7f9 am: 2bb6e54317 am: f35dddaef5
am: 3e8a86910c

Change-Id: I7244a108d1c358859b80adfecb551d16d4c18f1c
2019-10-15 12:03:41 -07:00
Raff Tsai
3e8a86910c Merge "Make sure close button has proper color" am: 0f9ad6d7f9 am: 2bb6e54317
am: f35dddaef5

Change-Id: Ie3330395e2c214b56b92cc44ae464ad7d2f48425
2019-10-15 11:36:40 -07:00
Raff Tsai
f35dddaef5 Merge "Make sure close button has proper color" am: 0f9ad6d7f9
am: 2bb6e54317

Change-Id: Iec6c4ec81a1be8f1635683a613fbde10c5dc1210
2019-10-15 11:02:23 -07:00
Xin Li
4638046d4f [automerger skipped] DO NOT MERGE - Merge QD1A.190821.011 into stage-aosp-master am: acfebe21ac am: c789e737f8
am: 9a65c35a9f -s ours
am skip reason: subject contains skip directive

Change-Id: I501cb1b278861d0c3e6ebddf15972d158afaed5f
2019-10-15 10:49:05 -07:00
Xin Li
9a65c35a9f DO NOT MERGE - Merge QD1A.190821.011 into stage-aosp-master am: acfebe21ac
am: c789e737f8

Change-Id: I0dc7cbba09c4e1405c61e68442a43fe4d703bf0a
2019-10-15 10:30:34 -07:00
Xin Li
c789e737f8 DO NOT MERGE - Merge QD1A.190821.011 into stage-aosp-master
am: acfebe21ac

Change-Id: Ic67eed1985854f82ea33c59d88589cad46deda29
2019-10-15 10:11:14 -07:00
Raff Tsai
c96aabf42f Merge "Add tablayout for work/personal profile" 2019-10-15 16:28:58 +00:00