Commit Graph

56807 Commits

Author SHA1 Message Date
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
Raff Tsai
05ecd7b425 Merge "Fix IllegalStateException in recyclerview" 2019-10-15 16:28:09 +00:00
Raff Tsai
2bb6e54317 Merge "Make sure close button has proper color"
am: 0f9ad6d7f9

Change-Id: I3f785f159c9b0e46a293acb8656eb47c9b6e4550
2019-10-15 03:32:29 -07:00
Raff Tsai
0f9ad6d7f9 Merge "Make sure close button has proper color" 2019-10-15 10:11:56 +00:00
Raff Tsai
65866290ce Add tablayout for work/personal profile
- Add Tablayout in ProfileSelectFragment
- Add AccountWorkProfileDashboardFragment inherited from
ProfileSelectFragment
- Add ProfileFragmentBridge to convert AccountDashboardFragment
to AccountProfileSelectFragment
- Use flag settings_work_profile to guard the new fragment

Bug: 141601408
Test: Settings->developer options->feature flags->
turn settings_work_profile on/off, then go to settings->account
to see if UI is changed.

Change-Id: Ifb32c22cdeab69c51517664081cacf4a401c46a1
2019-10-15 18:01:08 +08:00
Raff Tsai
40d9986fd7 Fix IllegalStateException in recyclerview
- Fixed by updating UI in mainthread

Fixes: 142241908
Fixes: 142220754
Test: manual test if it crashes again
Change-Id: Ia83b66d3e60201bc524dbfab69bdeaa5201d38c2
2019-10-15 09:52:34 +00:00
Raff Tsai
a152d2bd61 Merge "Add the checkstyle_hook into PREUPLOAD.cfg" 2019-10-15 05:38:13 +00:00
Sarah Chin
94f1ad0bad Merge "5G meteredness for telephony framework" 2019-10-14 23:31:45 +00:00
Xin Li
acfebe21ac DO NOT MERGE - Merge QD1A.190821.011 into stage-aosp-master
Bug: 141248619
Change-Id: I8d4b7b73176b7323ea231bd98c5f74f6b6e96471
2019-10-14 22:54:19 +00:00
Ryan Mitchell
dc67778100 Merge "Remove config_show_regulatory_info tests" 2019-10-14 16:14:30 +00:00
Rubin Xu
7a3ebe7c61 Merge "Introduce LockscreenCredential" 2019-10-14 13:45:15 +00:00
Sunny Shao
b7734a754b Add the checkstyle_hook into PREUPLOAD.cfg
Check the unused import and the sequence of import before submitting.

Fixes: 142160947
Test: Manual test
Change-Id: I846f4ab5f349f0017163cf9d35b4d44e85597bbc
2019-10-14 21:03:17 +08:00
hughchen
946c6f0dfe Update string
Change the headers from:
"Available media devices" → "Media devices"
"Available call devices" → "Call devices"
"Currently connected" → "Other devices"

Bug: 110920548
Test: manually
Change-Id: Idf283576353c9f65caa15ba8beca39f24721caa5
2019-10-14 16:16:24 +08:00
SongFerng Wang
d52223fcf7 [automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32 am: 951e9b7742 am: 9507e5f2f9 -s ours
am: dfc67693f5 -s ours
am skip reason: change_id Ifaed6ca8aba8f34ecb27abb863aeaf679132934f with SHA1 dfd9aa99e5 is in history

Change-Id: Id16116de1bc78c1986e6c1a5054900f3ea7cb0b7
2019-10-14 00:51:42 -07:00
SongFerngWang
5a08a7a7c1 [automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7 am: 24b3051e9b -s ours
am: 1c976be2a7 -s ours
am skip reason: change_id I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90 with SHA1 dd7f9b57f6 is in history

Change-Id: I84787a37c9a2567071388c9c8378a4b98e5373f2
2019-10-14 00:51:34 -07:00
SongFerngWang
d79258ec93 [automerger skipped] RadioInfo network mode list and network mode string add 5G am: dc5149efef am: 8cd10f774d am: fae02cf405 -s ours
am: 35abbc425c -s ours
am skip reason: change_id I945d3c2fd175f45151bbeee475e388ccc2d67642 with SHA1 ec384c2f6f is in history

Change-Id: Ibfb93ab880b728d21c6bd103fdcd38536e29c081
2019-10-14 00:51:26 -07:00
Bonian Chen
d730a67869 [automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am: b36ff74ac3 -s ours am: ef55302465 -s ours
am: 54d7a7e5f8 -s ours
am skip reason: change_id Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968 with SHA1 128de7bdb6 is in history

Change-Id: I02edfa986dbde7d2ee5297a0a5145bde9a8112e0
2019-10-14 00:51:18 -07:00
Antony Sargent
7cb7bd640f [automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes am: aa88b8cee6 -s ours am: 0f1b14e467 -s ours am: 5a4c8856bc -s ours
am: 81851fdcc7 -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: I6fad0560c7a6751c05a7d9a8dfcda8cf76639b07
2019-10-14 00:51:09 -07:00
SongFerng Wang
dfc67693f5 [automerger skipped] Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32 am: 951e9b7742
am: 9507e5f2f9 -s ours
am skip reason: change_id Ifaed6ca8aba8f34ecb27abb863aeaf679132934f with SHA1 dfd9aa99e5 is in history

Change-Id: I8f79a9268e0ccef959e3802406b22cffb86a8f0e
2019-10-14 00:45:38 -07:00
SongFerngWang
1c976be2a7 [automerger skipped] Preferred network list add 5G item am: 76422cab68 am: 10d41f52b7
am: 24b3051e9b -s ours
am skip reason: change_id I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90 with SHA1 dd7f9b57f6 is in history

Change-Id: I2c6e54c59018227081f896beef1fca68dc7fa322
2019-10-14 00:45:30 -07:00
SongFerngWang
35abbc425c [automerger skipped] RadioInfo network mode list and network mode string add 5G am: dc5149efef am: 8cd10f774d
am: fae02cf405 -s ours
am skip reason: change_id I945d3c2fd175f45151bbeee475e388ccc2d67642 with SHA1 ec384c2f6f is in history

Change-Id: Id95745ca4710f72232d472ae89c64741002e811a
2019-10-14 00:45:23 -07:00
Bonian Chen
54d7a7e5f8 [automerger skipped] [Settings] hide preferred network mode UI am: 92eb42c69e am: b36ff74ac3 -s ours
am: ef55302465 -s ours
am skip reason: change_id Ia0d1333c6cbae3a3717c8db6b77fbb9ea8cec968 with SHA1 128de7bdb6 is in history

Change-Id: I1c4d75ea62efd825f4cd4ac3fecf2c9e4b5288fc
2019-10-14 00:45:14 -07:00
Antony Sargent
81851fdcc7 [automerger skipped] Make EnabledNetworkModePreferenceController listen to setting changes am: aa88b8cee6 -s ours am: 0f1b14e467 -s ours
am: 5a4c8856bc -s ours
am skip reason: change_id I5dfe4843a681c613f49caf4584e9dbebc54e708a with SHA1 6d910e8608 is in history

Change-Id: I5a90bf84d360c22f21e0fc830f480e9c7fb11d01
2019-10-14 00:45:06 -07:00
SongFerng Wang
9507e5f2f9 Merge changes Ifaed6ca8,I4a78e2e7,I945d3c2f,Ia0d1333c,I5dfe4843 am: bc6a65ca32
am: 951e9b7742

Change-Id: Ifa44c34f2653e6e1146a9a6337f411761cc1ce17
2019-10-14 00:39:16 -07:00
SongFerngWang
24b3051e9b Preferred network list add 5G item am: 76422cab68
am: 10d41f52b7

Change-Id: I3356ff24d7d8669aae438bdccab9bccce5d3e295
2019-10-14 00:39:09 -07:00