Commit Graph

50242 Commits

Author SHA1 Message Date
Bill Yi
1a8dfdd3c9 [automerger skipped] Import translations. DO NOT MERGE am: 02681df33f -s ours
am: 1b7db3cb3e -s ours
am skip reason: subject contains skip directive

Change-Id: Ic70c8fb15bf6782a939c35d7a55a636e6b7def60
2019-02-21 18:18:56 -08:00
Bill Yi
1b7db3cb3e [automerger skipped] Import translations. DO NOT MERGE
am: 02681df33f -s ours
am skip reason: subject contains skip directive

Change-Id: Ib86fee981b4acd47fa9dc91011fe8d88fd7230c8
2019-02-21 18:14:54 -08:00
cosmohsieh
9fcfae6367 [Passpointv2] Implement confirm dialog for passpoint forget button
Add a confirm dialog when clicking forget button and this is a passpoint
network.

Bug: 122671580
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Ib3410ab0e8fb771a82ab928022c49977bc759962
2019-02-22 09:59:15 +08:00
Wenting Xiong
82aa55bcda Fix issue that the wifi calling text cannot be customized based on sim
Some carriers have requirements that the wifi calling text should be
customizable. However, the resources for the wifi calling text are
not obtained based on sim. So it cannot be customized per sim for multi
sim device. To solve this issue, obtain the resources with specified
sim.

Test: manual - Checked that the wifi calling text could be customized
based on sim.
Bug: 117257109

Change-Id: I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2
Merged-In: I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2
2019-02-22 01:57:44 +00:00
Youming Ye
da9e92c4f7 Merge "Fix issue that the wifi calling text cannot be customized based on sim" 2019-02-22 01:55:59 +00:00
Bill Yi
02681df33f Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ibed56c778ac43fbfa0c4ca9973b894b9cf8e5f63
2019-02-21 16:40:33 -08:00
Bill Yi
826f753a86 Import translations. DO NOT MERGE
Change-Id: Ibd2044c3c61557678d3c1dad06570f8df1e5f1b6
Auto-generated-cl: translation import
2019-02-21 15:23:35 -08:00
jackqdyulei
7db8faf714 Fix alignment of wifi dialog
Use Start/End instead of Left/Right

Fixes: 124672866
Test: Manual
Change-Id: Ib75634b751f41e4999e4f8e3ffb014c191c517f0
2019-02-21 13:25:21 -08:00
Michele Berionne
7ebfdd9c06 Merge "Add checks on multisim capabilities." 2019-02-21 21:24:44 +00:00
Joel Galenson
fd71d8bcfc Update name of app permissions.
Bug: 125018087
Test: See new name.
Change-Id: I036fec254bca3c0ce15843375e632fcb359898db
2019-02-21 12:44:15 -08:00
jackqdyulei
5cb4d251ee Update advanced bt header
1. Add callback to listen to device update
2. Add charging support for bt battery icon
3. When disconnected, only show main icon

Follow CL will update battery icon to show exclamation when it is
low.

Bug: 124455912
Test: RunSettingsRoboTests
Change-Id: I03fb3bf4c4b77711e14b1f2f53733771b525fe4b
2019-02-21 12:43:29 -08:00
Hongming Jin
41fb813614 Merge "Migrate emegency default app to role manager." 2019-02-21 20:37:53 +00:00
TreeHugger Robot
7e80e3cabf Merge "Fix test cases for Privacy package" 2019-02-21 19:31:32 +00:00
Xin Li
1994397e6a DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: I6eeee632ff6ee7f2d7395344a7887c44c7acd440
2019-02-21 11:03:43 -08:00
TreeHugger Robot
c37171f1eb Merge "Dynamically return the uri of WifiSlice." 2019-02-21 18:55:40 +00:00
Doris Ling
c5a1b4f666 Remove all reference to settings_side_margin.
- since the overlay of the value for bigger screen has been removed,
the side margin is now always 0dp. Remove this dimen value and all
reference to it.

Fixes: 124526984
Test: rebuild and visual
Change-Id: I68ff42513a379111042cab9b34594822544e246e
2019-02-21 10:18:00 -08:00
TreeHugger Robot
f66882f1e1 Merge "developer-options: avoid oem-unlock preference controller crash" 2019-02-21 18:00:23 +00:00
TreeHugger Robot
fcd91ccbe6 Merge "Enlarge the touch area of the avatar" 2019-02-21 17:38:15 +00:00
TreeHugger Robot
85fc06d03f Merge "Fix Talkback issue" 2019-02-21 17:23:35 +00:00
Beverly
77f05fe793 Add onPreferenceClickListener to dnd schedule
- Talkback says the preference is clickable

Test: manual
Bug: 124827588
Change-Id: I1cf5ae564eb0a7ddfa60e1c307f00194f9338a13
2019-02-21 11:15:08 -05:00
bohu
9bc365febd developer-options: avoid oem-unlock preference controller crash
If there is no FEATURE_TELEPHONY_CARRIERLOCK.

BUG: 123583878

Test: lunch sdk_phone_x86-eng
make -j
emulator
the Settings->System->Developer options should not crash

Test:
make RunSettingsRoboTests ROBOTEST_FILTER=OemUnlockPreferenceControllerTest
should all pass (12 tests: 11 existing and 1 new)

Change-Id: I18c08c1ff1a7860616b0081ede4eb19dcfa8814b
2019-02-21 08:08:12 -08:00
Yanting Yang
e7f2ec1360 Update subTitle of NotificationChannelSlice
If there are <=3 channels, should not have the "Tap to manage all".

Fixes: 124461104
Test: visual, robotests
Change-Id: Iebb957c65b8ca53f4c5d482041837338b7b3bbf2
2019-02-21 23:57:55 +08:00
Pavel Grafov
19cf0b4580 Don't hide "Add user" when disallowed by admin
Bug: 125226170
Test: atest tests/robotests/src/com/android/settings/users/UserSettingsTest.java
Test: manual, with TestDPC
Change-Id: I347fae04030e04325a5ee5c634f782e554ece263
2019-02-21 13:38:53 +00:00
TreeHugger Robot
7e1bd433e6 Merge changes from topic "homepage_latency"
* changes:
  Make slices precheck executes in parallel.
  Use a better way to bind slice for slice precheck.
2019-02-21 10:10:39 +00:00
Raff Tsai
2d91873dcb Fix Talkback issue
It is a button without text. Talkback will focus on this item.
We hide this item from layout so that Talkback will not find it.

Fixes: 125065965
Test: Test it with Talkback
Change-Id: I143c02b13b9f888fa5837dd2c472cf69bd00edcf
2019-02-21 09:46:39 +00:00
Sunny Shao
c8786408e5 Enlarge the touch area of the avatar
Use the padding to enlarge touch area.

Fixes: 124797089
Test: manual
Change-Id: Ief2296f015f021ca4d7e4cba0ca14ac0eada972b
2019-02-21 16:45:39 +08:00
tmfang
7de5314676 Add app entities widget for recently opened apps
If there is no recently opened app should be shown,
just show up an "All apps" preference.

If there are some recently opened apps, we show up
result with app entites controller.

- Clean up some useless ui. (category)
- User BasePreferenceController
- Modify test cases.

Test: robotest, visual
Change-Id: I411f61ed32eaaed97921941fd5026f1d65308d00
Fixes: 123538183
2019-02-21 16:23:18 +08:00
Yi-Ling Chuang
45ee7c2aac Dynamically return the uri of WifiSlice.
WifiSlice is used by both ContextualWifiSlice and WifiSlice itself.
In contextual homepage, we provide contextual_wifi slice for the
homepage. So in our slice pre-check, contextual_wifi slice will gets
pinned and bound. But when it comes to the state where wifi is on but
not connected, it actually returns wifi slice instead of contextual_wifi
slice, which will hit slice not pinned exception as wifi slice never
gets pinned.

Thus, we have to dynamically return the corresponding uri to  avoid this.

Fixes: 124627340
Test: robotests
Change-Id: I54ba255871628bb8eb814442f990a5d1149461e0
2019-02-21 16:14:29 +08:00
Yanting Yang
6934475d69 Merge "Fix preferences ordering issue in AccountSyncSettings" 2019-02-21 07:36:53 +00:00
Yi-Ling Chuang
dde76e6d5c Make slices precheck executes in parallel.
Slice binding takes up sometime which may cause latency.
Thus, making it run in parallel instead of sequentially to improve the
performance and avoid hitting the timeout problem.

Bug: 124366297
Fixes: 123668403
Test: robotests, unit tests
Change-Id: I5d9fa4605f59e2acef65aadf6fce85df36d8fff1
2019-02-21 15:24:28 +08:00
tmfang
f9cdc3e963 Fix test cases for Privacy package
Test: robotest
Fixes: 124970652
Change-Id: I165a1658a4a40499e0b9ec6dd03ada86b9631b06
2019-02-21 15:19:59 +08:00
Yi-Ling Chuang
daa8ff36cc Use a better way to bind slice for slice precheck.
Calling Slice.bindSlice() directly will cause the exception stating that
slices are not pinned, which sometimes leads to crash. Hence, change the
way we bind slices which handles pinSlice() for us before onBindSlice().

Bug: 120552892
Test: robotests, unit tests
Change-Id: I3e65c6b79876dbee5db6f19387bc6b675f734161
2019-02-21 14:18:01 +08:00
TreeHugger Robot
cd1718c9e4 Merge "String change for Permissions Dashboard" 2019-02-21 05:35:44 +00:00
TreeHugger Robot
5f321d7921 Merge "Replace deprecated KeyguardManager API with new BiometricPrompt one" 2019-02-21 03:05:02 +00:00
tmfang
0b51ad3139 String change for Permissions Dashboard
Test: visual
Bug: 125018087
Change-Id: I02bd34347eb78531e754295262a1a08b47c6402e
2019-02-21 10:23:05 +08:00
Kiyoung Kim
e011c2a308 [automerger skipped] Merge "Schematize Crypto system properties" am: b837a44716 am: a078a02c42
am: 9602f7eb0b -s ours
am skip reason: change_id I65a6ce1a682687702f4c8b5c2e054eaaf91c389b with SHA1 3737da3ae6 is in history

Change-Id: I1bfc2de7781bb2036c68daae22d45b3738c4b30e
2019-02-20 17:29:45 -08:00
Kiyoung Kim
9602f7eb0b Merge "Schematize Crypto system properties" am: b837a44716
am: a078a02c42

Change-Id: Ie498a453d85651904d98b0501d895e15cabfb317
2019-02-20 17:07:08 -08:00
Kiyoung Kim
a078a02c42 Merge "Schematize Crypto system properties"
am: b837a44716

Change-Id: I55c43d3d1273e2c79ab29c60a714a97d2ca0f264
2019-02-20 16:34:01 -08:00
Kiyoung Kim
b837a44716 Merge "Schematize Crypto system properties" 2019-02-21 00:16:45 +00:00
Fan Zhang
1479bc2b12 Merge "Update char limit" 2019-02-20 23:10:17 +00:00
Fan Zhang
b8c3127c49 Update char limit
Fixes: 124535061
Test: manual
Change-Id: I17a3c7b93b09f6f6d02ab36df3dd9a16bebd7294
2019-02-20 15:07:28 -08:00
TreeHugger Robot
40617d20ac Merge "Add event logging for changing SmsDefaultDialog window attr" 2019-02-20 22:56:29 +00:00
TreeHugger Robot
1de49122d3 Merge "Use MATCH_ALL to query available browsers." 2019-02-20 21:31:21 +00:00
Fan Zhang
f6dc3af6df Add event logging for changing SmsDefaultDialog window attr
Bug: 120484087
Test: manual
Change-Id: Ia5b00f79f2e54cb40377abb18c1ac07891020ae2
2019-02-20 13:13:41 -08:00
Xin Li
569aa2594e [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: d4716c1a62 -s ours am: 92fc138524 -s ours
am: b637de1cb8 -s ours
am skip reason: subject contains skip directive

Change-Id: I23b85158470a5d10ddb6a559c8f2d2fcd0154de6
2019-02-20 12:16:32 -08:00
Xin Li
b637de1cb8 [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master" am: d4716c1a62 -s ours
am: 92fc138524 -s ours
am skip reason: subject contains skip directive

Change-Id: I1e1a98a476c0fcda84f8d5c1d245e296b0354708
2019-02-20 11:47:29 -08:00
Hongming Jin
6c728dc924 Migrate emegency default app to role manager.
Bug: 123293861
Test: atest DefaultEmergencyPickerTest
Change-Id: I7bd9e2655b22a35fc3268091d38c6770911d4046
2019-02-20 11:46:02 -08:00
Hai Zhang
7bd98d2519 Use MATCH_ALL to query available browsers.
Browser intent resolution has been special for a long time, and we
need to pass MATCH_ALL to get all the candidates, then do manual
filtering later.

Bug: 116216651
Test: manual
Change-Id: I5e9b7b907005f73b7c54c3253c872d85ef7c4863
2019-02-20 11:28:01 -08:00
TreeHugger Robot
8febd82f34 Merge "Add pref for notification swipe direction" 2019-02-20 19:06:42 +00:00
Xin Li
92fc138524 [automerger skipped] Merge "DO NOT MERGE - Merge PPRL.190205.001 into master"
am: d4716c1a62 -s ours
am skip reason: subject contains skip directive

Change-Id: If29e30a1516d869c647bb9634eb8c1d3b4b9b3f9
2019-02-20 11:06:41 -08:00