Commit Graph

52367 Commits

Author SHA1 Message Date
Antony Sargent
d7bcf57ed8 Merge "Add signal strength icons to multi-SIM header" into qt-dev
am: 42c451610e

Change-Id: Ice796e09d1821dedb0ad00ff8218afd1be205374
2019-05-28 14:58:09 -07:00
TreeHugger Robot
42c451610e Merge "Add signal strength icons to multi-SIM header" into qt-dev 2019-05-28 21:54:12 +00:00
tmfang
f3327de8af Merge "Tweak title for "App content"" into qt-dev
am: e40b0f7b8a

Change-Id: Ic5b178957533091e409fbd1bf84807ab7cac3193
2019-05-28 13:48:29 -07:00
TreeHugger Robot
e40b0f7b8a Merge "Tweak title for "App content"" into qt-dev 2019-05-28 20:31:51 +00:00
Antony Sargent
223c179cd3 Add signal strength icons to multi-SIM header
When a device is in DSDS mode with multiple SIMs, we show a header on
the Network & internet page with a "connectivity overview", with an
entry for Wi-Fi (if connected) and each active SIM. The icon for Wi-Fi
shows signal strength, but the icons for the active SIMs were just
static; this CL fixes that. It introduces a class for listening to
signal strength changes on a set of subscriptions, and moves some
existing code we had for displaying signal strength (when manually
picking networks for GSM) in NetworkOperatorPreference into a utility
method that can be shared.

Bug: 128855095
Test: make RunSettingsRoboTests
Change-Id: I668cafe1e9f9c3651b1f33783c8538ad9c2732b5
2019-05-28 12:49:08 -07:00
Fan Zhang
7c96c6549a Merge "Fix transparent view issue in page "Erase all data"" into qt-dev
am: 317597ae6a

Change-Id: I916dbbaf83c153e66686db2a8a83e2fb0edd16cc
2019-05-28 12:39:11 -07:00
Fan Zhang
317597ae6a Merge "Fix transparent view issue in page "Erase all data"" into qt-dev 2019-05-28 19:23:54 +00:00
Mehdi Alizadeh
facec6bc87 Merge "Adds string resources for gesture not supported dialog" into qt-dev
am: 7009b21d74

Change-Id: If52a8ca219c7dcdfb89405910b86f7b1c8ee2e54
2019-05-28 11:33:58 -07:00
Mehdi Alizadeh
7009b21d74 Merge "Adds string resources for gesture not supported dialog" into qt-dev 2019-05-28 18:16:27 +00:00
Julia Reynolds
67471c290a Merge "Move priorization setting to dev options" into qt-dev
am: 64f229d32b

Change-Id: I17f48bbdea860e1b8e4b333f2370d446e906eaa9
2019-05-28 10:08:48 -07:00
TreeHugger Robot
64f229d32b Merge "Move priorization setting to dev options" into qt-dev 2019-05-28 16:59:35 +00:00
Fan Zhang
326f60b6bc Merge "Fix overlapping problem in AlertDialog" into qt-dev
am: 574679ace4

Change-Id: I1a39f1596c9148bd3e970c443d2d4dd0bdff0080
2019-05-28 09:49:28 -07:00
Yanting Yang
156b3f3e2d Fix transparent view issue in page "Erase all data"
This issue was impacted by edge-to-edge changed b/132182711, that
disabled android:clipToPadding and android:clipChildren from
Theme.Settings. Add a customized theme to enable them for GlifLayout to
fix transparent issue.

Fixes: 133451030
Test: visual
Change-Id: Id5a69c937a291eec10fc6255607632e877f8a8ce
2019-05-29 00:33:02 +08:00
Fan Zhang
574679ace4 Merge "Fix overlapping problem in AlertDialog" into qt-dev 2019-05-28 16:32:23 +00:00
Mill Chen
fb72f38c58 Fix overlapping problem in AlertDialog
Because clipChildren and clipToPadding by default are set to false in
the Settings, this will cause the strings overlapping with the title
of AlertDialog. These 2 attributes in the Theme.AlertDialog are set to
true to fix this problem.

Fixes: 133731437
Test: visual
Change-Id: I57ea48ac97c64dac6dfeec711daf4f40dc131ff6
2019-05-28 16:31:56 +00:00
Julia Reynolds
ada3676b2d Move priorization setting to dev options
Under the other notif channel setting

Test: atest
Fixes: 133747537
Change-Id: I22fcf348b2070758a752babe64fe2af60fbe95a4
2019-05-28 15:33:22 +00:00
Julia Reynolds
3562c97441 Add snooze notification setting
Test: atest
Bug: 133494458
Change-Id: I3c0534860aaeb374384c4e30764313b1cb83c82a
2019-05-28 10:40:53 -04:00
Roshan Pius
260e79ef34 Developer settings: Disable wifi scan throttling
Add a new developer settings toggle to allow users to
toggle wifi scan throttling off.

Bug: 112825565
Test: atest com.android.settings.development
Test: Manual verification of the new switch.
Change-Id: I1d8c149305ca92957c7d1b9f28497291ca8b2bf7
2019-05-28 07:37:24 -07:00
Alan Stokes
121eaa7d3e Cleanup background activity starts for release.
This removes the parts of the feature that were only needed in beta
releases:
- Develper setting to force feature on or off.

Not to be submitted until after beta 5 is cut.

Bug: 131747138
Test: Still builds, developer settings still works.

Change-Id: I573761174317797aeb4df97cf1a2b1ce005c0715
2019-05-28 09:31:12 +01:00
Raff Tsai
08b3d016f4 Merge "Fix failed test case" into qt-dev
am: fb28f92f71

Change-Id: I4649655d6a97e6a7e4d4641154319628905498ae
2019-05-27 09:47:32 -07:00
Raff Tsai
73cda7c700 Fix icon color in dark mode
am: e30f61f739

Change-Id: I04179fd328a393e8bd5ff891bd86665a8f37cbbb
2019-05-27 09:47:10 -07:00
TreeHugger Robot
fb28f92f71 Merge "Fix failed test case" into qt-dev 2019-05-27 16:41:13 +00:00
Raff Tsai
e30f61f739 Fix icon color in dark mode
Fixes: 133651524
Test: visual
Change-Id: Ic6f05dc491ad1d49b5cc81e294bf91271420d8e2
2019-05-27 18:32:35 +08:00
Kyunglyul Hyun
19d3dcadb9 Merge "Set media router group id to sync cast status" into qt-dev
am: 9d33198dc2

Change-Id: Ia4802bde8e253c542d4aa3b7c59b9771935fc460
2019-05-26 19:49:23 -07:00
Kyunglyul Hyun
9d33198dc2 Merge "Set media router group id to sync cast status" into qt-dev 2019-05-27 02:35:27 +00:00
Raff Tsai
83df51ebf3 Fix failed test case
Fixes: 133629032
Test: make RunSettingsRoboTests ROBOTEST_FILTER="com.android.settings.core"
Change-Id: I4baf0582a528e3601ca132c15e5078bc0159a352
2019-05-27 09:33:02 +08:00
Kyunglyul Hyun
be3b50a8f1 Set media router group id to sync cast status
Using media router group id, Settings can sync cast status with
Settings.
If Settings begins/stops cast (mirrorring), CastTile can know that and
Settings also knows when CastTile begins cast.

Please refer ag/7669852 to how router group id can be used to
synchronize cast status.

Bug: 112826114
Bug: 131385091
Bug: 130345243

Test: Manually tested after applying ag/7704172 and this.
Change-Id: I78c3c6163e1352b3a8d0801890064369a861fb8a
2019-05-26 23:05:35 +09:00
Bill Yi
793e99ff96 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 0cf1a84f81 -s ours
am skip reason: subject contains skip directive

Change-Id: If4c1028ee512d03e28a556dc70dba02d41543c1c
2019-05-24 20:06:19 -07:00
Yi Jiang
a4b9203139 Merge "Fix unexpected grey-out in Screen attention Fix preference controller searchable issue." into qt-dev
am: 79abf23f4d

Change-Id: Iee258b27bed5dc6a7338ae64d52567e9bf759b0b
2019-05-24 20:04:23 -07:00
TreeHugger Robot
0cf1a84f81 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-25 02:39:20 +00:00
Mehdi Alizadeh
195b5903db Adds string resources for gesture not supported dialog
Bug: 129532605
Test: Manual test to verity the strings are shown correctly
Change-Id: Ibc451170e936e7b8e1bf1c0be07be33e2ddca6a4
2019-05-24 18:38:01 -07:00
Yi Jiang
79abf23f4d Merge "Fix unexpected grey-out in Screen attention Fix preference controller searchable issue." into qt-dev 2019-05-25 01:20:28 +00:00
Yi Jiang
6da0447068 Fix unexpected grey-out in Screen attention
Fix preference controller searchable issue.

Bug: 132821023
Bug: 133255690
Test: atest AdaptiveSleepPreferenceControllerTest
Change-Id: I686ed827fbe572c9d8bcde2d8a8e00f2dcb5a6a8
2019-05-24 16:50:18 -07:00
Bill Yi
5100cabd86 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I85ca3c33f3b5db38609634d9a711db9612584567
2019-05-24 14:40:18 -07:00
Julia Reynolds
c70cdc69b5 Merge "Allow the default SMS app to be blocked" into qt-dev
am: aaecede217

Change-Id: I0169d6fece78c05431a691d6b94033ed1da97978
2019-05-24 10:13:57 -07:00
Evan Laird
1e3eb21b0d Merge "Simplify channel importance settings screen" into qt-dev
am: 4321e038ff

Change-Id: I016269c4608af821497f262223cd7f0f62f8c5f5
2019-05-24 10:11:04 -07:00
Julia Reynolds
aaecede217 Merge "Allow the default SMS app to be blocked" into qt-dev 2019-05-24 17:00:12 +00:00
TreeHugger Robot
4321e038ff Merge "Simplify channel importance settings screen" into qt-dev 2019-05-24 16:36:49 +00:00
tmfang
a00e725b0a Tweak title for "App content"
Test: visual
Bug: 133370964
Change-Id: I6351df67164b35dc1299aa5a57ab10325af575de
2019-05-25 00:24:02 +08:00
Arc Wang
f7db4e4cc6 Merge "Fix Wi-Fi QR scanner crash problem" into qt-dev
am: 7d7353c3b5

Change-Id: Ib254eb2406ed0e90fc5a278755f9c087bfdde493
2019-05-24 07:52:08 -07:00
Arc Wang
7d7353c3b5 Merge "Fix Wi-Fi QR scanner crash problem" into qt-dev 2019-05-24 14:36:44 +00:00
Evan Laird
472e19eae4 Simplify channel importance settings screen
Back to bell icons, and removed the flavor text

Test: visual
Bug: 132971502
Change-Id: I55ce6dd07404aed2ceb5423796b733a70c3bfa13
2019-05-24 09:08:14 -04:00
tmfang
848ead645b Merge "Fix no apps shown on app info screen" into qt-dev
am: 11e4847d61

Change-Id: Ia02de4e31fb573ed77b960ed357d8de39c27e8fd
2019-05-24 01:10:58 -07:00
TreeHugger Robot
11e4847d61 Merge "Fix no apps shown on app info screen" into qt-dev 2019-05-24 08:03:26 +00:00
Arc Wang
352d866af7 Fix Wi-Fi QR scanner crash problem
1. Should only set picture size from the list of supported picture sizes.
   To choose the best picture size, we should keep ratio as preview size to
   avoid image distortion and QR code scan failure.

2. When Camera#setOneShotPreviewCallback callbacks, the image data is of
   preview size, not picture size.

Bug: 132866467
Test: QrCameraTest
      manual
Change-Id: I087e5fcdf064f111e915e0872b50ca5a45ff1d26
2019-05-24 14:43:06 +08:00
tmfang
71dea4743e Fix no apps shown on app info screen
If Settings app hasn't loaded apps list completely yet,
we can't filter result from list. Since there is nothing
can be filtered, we just need to show all apps.

Test: visual
Fixes: 131697606
Change-Id: I971c942b0fe5889206c40d855f8508acd42461a7
2019-05-24 14:30:42 +08:00
Bill Yi
3c1ce4f32d [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 505a46f7ff -s ours
am skip reason: subject contains skip directive

Change-Id: Id81e0e7186388c93c08bf48cce05eb292fdd4732
2019-05-23 23:27:11 -07:00
Pasty Chang
a9d7d4fa9a Merge "Fix fingerprint enrolling in settings show heavy theme" into qt-dev
am: 57ac23b2e5

Change-Id: I8fa351eb810616c189ee412dab1832c8afe0e6d2
2019-05-23 23:13:24 -07:00
TreeHugger Robot
505a46f7ff Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-24 06:13:20 +00:00
Pasty Chang
57ac23b2e5 Merge "Fix fingerprint enrolling in settings show heavy theme" into qt-dev 2019-05-24 05:48:05 +00:00