Commit Graph

56996 Commits

Author SHA1 Message Date
joshmccloskey
cab111d8a5 Update FaceSlice to use correct pref & FaceManager
am: 365beaebdb

Change-Id: If26b32c83bfbda5f6268985c4d8812ff25d76e05
2019-07-11 14:05:56 -07:00
Joshua Imbriani
3a117e6771 Merge "Correcting sort order of languages for non en-us locales" 2019-07-11 20:28:21 +00:00
Antony Sargent
5f612a4b44 Fix erasing of eSIMs for some devices
Doing a factory data reset used to always erase eSIMs. Then a few months
ago we added a default-on checkbox to let users opt out of erasing the
eSIM during this process, but only had it show for some devices (ones
which support the "fastboot oem esim_erase" command) by adding a system
property named masterclear.allow_retain_esim_profiles_after_fdr.

When recently updating the strings shown in the factory data reset
screen and the confirmation dialog, we changed the code so that if that
the checkbox is hidden we'll pass false for the ERASE_ESIMS_EXTRA
parameter sent to the factory data reset confirmation dialog. This had
the unintended side effect of making devices that don't specify true for
masterclear.allow_retain_esim_profiles_after_fdr skip erasing the eSIM.

This CL fixes that by removing the "is the checkbox hidden" check, going
back to the previous behavior of just using the checkbox value, which is
on by default even if hidden.

Fixes: 135284765
Test: make RunSettingsRoboTests
Change-Id: Ia9f335920e4e3c4a90f0a6a49d1722a0c19ea83d
2019-07-11 20:23:58 +00:00
android-build-team Robot
58949a7d72 Merge cherrypicks of [8549820, 8549668, 8549613, 8549614, 8549935, 8549808, 8549876, 8549809, 8549552] into qt-release
Change-Id: I9d4e0032c124831e73c042f5b7e263a6ab7fb740
2019-07-11 19:50:24 +00:00
tmfang
58dcca9844 Improve Settings launch performance
From traces analysis, we found getFreeBytes
was taking a long time to return.

getFreeBytes was used when storage controller
tried to get storage information.

In order to prevent this case, we put the action
which takes too much time in background thread.

Test: I can't reproduce it locally. From code view,
this is a reasonable root cause.
Fixes: 136268875

Change-Id: I78e42cde88553c003f198cffb5747b352055f59a
(cherry picked from commit 0c37f019f6)
2019-07-11 19:50:02 +00:00
Amin Shaikh
48d43cce57 Remove unneeded test resource.
TODO add OverlayTests to presubmit config.

Bug: 134566901
Test: presubmit
Change-Id: Iad54cf858b30870f298ec93e57c77d16d6cc3d95
2019-07-11 13:58:11 -04:00
joshmccloskey
365beaebdb Update FaceSlice to use correct pref & FaceManager
Fixes: 137137134
Test: Manual.
Change-Id: Idc707a7d2009975f81902867e4c37a8ee5775700
2019-07-11 16:28:21 +00:00
Josh Imbriani
7d6263a38d Correcting sort order of languages for non en-us locales
Test: Manually tested
Fixes: b/78125395
Change-Id: I1b370d4ae4995cc7d9f05409be97d4ecf9104241
2019-07-11 15:17:28 +00:00
Yanting Yang
974d986bb7 Merge "Fix the clicking issue of restricted info icon" 2019-07-11 14:56:42 +00:00
Bill Yi
2e10f78225 Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours am: 3e9da03d0c -s ours
am: f6311a88da -s ours
am skip reason: subject contains skip directive

Change-Id: I503026bcf5eb543ad7733da3cc0dabe1f6a2a399
2019-07-11 03:23:14 -07:00
Bill Yi
fda21b8db2 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours am: 1da3bf10bf -s ours
am: 025db3d33e -s ours
am skip reason: subject contains skip directive

Change-Id: Ib025fe85d46cc77ce24e94e758b9b3bfa8e5bac8
2019-07-11 03:22:29 -07:00
Android Build Merger (Role)
f6311a88da Merge "[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours am: 3e9da03d0c -s ours am skip reason: subject contains skip directive" into qt-r1-dev-plus-aosp 2019-07-11 10:16:49 +00:00
Bill Yi
4df6694c6e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours
am: 3e9da03d0c -s ours
am skip reason: subject contains skip directive

Change-Id: I59f8af945535b6aae8ab1a286816fdff2b0addbf
2019-07-11 03:16:28 -07:00
Bill Yi
a037c5b89e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours
am: 3e9da03d0c -s ours
am skip reason: subject contains skip directive

Change-Id: Iad91c18121a564cc1ef7a6f0b704c16a7fa37c06
2019-07-11 03:16:27 -07:00
Bill Yi
025db3d33e [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 433e625341 -s ours
am: 1da3bf10bf -s ours
am skip reason: subject contains skip directive

Change-Id: I1550a0d712b5b8853292e5f05ffda2b4d4a90bff
2019-07-11 03:16:27 -07:00
Bill Yi
3e9da03d0c [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 433e625341 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic5c4e1030a1f9907e3274be1a14c49d30783d839
2019-07-11 03:10:27 -07:00
Bill Yi
1da3bf10bf [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 433e625341 -s ours
am skip reason: subject contains skip directive

Change-Id: I22d56ba044543ee2389402ca28ae5ecf49b4a9cc
2019-07-11 03:10:27 -07:00
Yanting Yang
dfeb1f07bb Fix the clicking issue of restricted info icon
When the switch controller was disabled by admin, we will show the
restricted info icon on it and when user click this icon, it should pop
a dialog to notify user current action not allowed.

This issue was caused by the solution of fixing the a11y view focus
issue b/124334500, it has been disabled the focusable and clickable
attributes of icon then to block the dialog showing.

Recover the focusable and clickable of restricted info icon to fix it.

Fixes: 136439565
Test: visual, robotests
Change-Id: I227add696870e07feca288073e90afa8e76954ee
2019-07-11 10:05:41 +00:00
TreeHugger Robot
433e625341 Merge "Import translations. DO NOT MERGE" into qt-dev 2019-07-11 09:54:20 +00:00
TreeHugger Robot
52a9f551e7 Merge "Import translations. DO NOT MERGE" 2019-07-11 09:06:14 +00:00
tmfang
0d13bd79f1 Merge "Improve Settings launch performance am: 496d3f6f9c am: edd86364f5" into qt-r1-dev-plus-aosp
am: c2b7196945

Change-Id: I5f716f90db5fe97d7ea204a988ee90c1bb9771b1
2019-07-11 01:22:07 -07:00
tmfang
d6cb33e1d2 Improve Settings launch performance am: 496d3f6f9c am: 49d575b91c
am: 6ed2484766

Change-Id: I4468b59d34bfce1b150a575a361d09d167760712
2019-07-11 01:21:19 -07:00
Android Build Merger (Role)
c2b7196945 Merge "Improve Settings launch performance am: 496d3f6f9c am: edd86364f5" into qt-r1-dev-plus-aosp 2019-07-11 08:12:38 +00:00
tmfang
6ed2484766 Improve Settings launch performance am: 496d3f6f9c
am: 49d575b91c

Change-Id: I544556c17a56dd1e36efded7ae565fa7d97fa8ba
2019-07-11 01:12:18 -07:00
tmfang
9b961232be Improve Settings launch performance am: 496d3f6f9c
am: 49d575b91c

Change-Id: I36d43b032a7ac815c680b1b875e0d7b5cf5e7e96
2019-07-11 01:12:16 -07:00
tmfang
c5e2ca58f8 Improve Settings launch performance am: 496d3f6f9c
am: edd86364f5

Change-Id: I1a90c8c49d6f226997e59b9af4518b93b7194e93
2019-07-11 01:12:16 -07:00
tmfang
49d575b91c Improve Settings launch performance
am: 496d3f6f9c

Change-Id: I16eb11d8850cbd75dd3571d16fce5758e5280bfd
2019-07-11 00:54:14 -07:00
tmfang
edd86364f5 Improve Settings launch performance
am: 496d3f6f9c

Change-Id: I5256fa0c04af07108b76cf21e9558b03d499e883
2019-07-11 00:54:14 -07:00
TreeHugger Robot
9df6623b73 Merge "Import translations. DO NOT MERGE" into qt-r1-bubbles-dev 2019-07-11 07:40:47 +00:00
Bill Yi
050a0ab14d [automerger skipped] Import translations. DO NOT MERGE am: fa674d85ae -s ours
am: c8334b2099 -s ours
am skip reason: subject contains skip directive

Change-Id: I26c6e0489f086b016f0867c9627c4dde2257ea18
2019-07-11 00:16:12 -07:00
Bill Yi
0336f3b4a8 [automerger skipped] Import translations. DO NOT MERGE
am: fa674d85ae -s ours
am skip reason: subject contains skip directive

Change-Id: I4b932251009efe11f3fc0dbaf547aa25d15a45d8
2019-07-11 00:06:07 -07:00
Bill Yi
c8334b2099 [automerger skipped] Import translations. DO NOT MERGE
am: fa674d85ae -s ours
am skip reason: subject contains skip directive

Change-Id: I60b58f9eb359488be6f3881f8e927131da2caf0e
2019-07-11 00:04:07 -07:00
TreeHugger Robot
c43a7b99fe Merge "Fix Settings crash" 2019-07-11 05:56:07 +00:00
TreeHugger Robot
5a871b8c33 Merge "Remove deprecated code" 2019-07-11 05:17:31 +00:00
tmfang
496d3f6f9c Improve Settings launch performance
From traces analysis, we found getFreeBytes
was taking a long time to return.

getFreeBytes was used when storage controller
tried to get storage information.

In order to prevent this case, we put the action
which takes too much time in background thread.

Test: I can't reproduce it locally. From code view,
this is a reasonable root cause.
Fixes: 136268875

Change-Id: I78e42cde88553c003f198cffb5747b352055f59a
(cherry picked from commit 0c37f019f6)
2019-07-11 04:19:42 +00:00
Bill Yi
1889efe2d0 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ia7da4c89d6e06b3d4dce7175a996decf1ea4af22
2019-07-10 20:45:25 -07:00
Raff Tsai
a99a85fdf3 Fix Settings crash
Fixes: 136788181
Test: adb shell am start -a android.settings.FACE_SETTINGS will not
      crash

Change-Id: I10168ce83ceb8646dce5d5e086b14ca2e3ed8284
2019-07-11 11:29:37 +08:00
Goven Liu
a47265d028 Merge "[Wi-Fi] EAP method AKA' did not pronounced as AKA prime." 2019-07-11 03:22:35 +00:00
Raff Tsai
5fe166075f Remove deprecated code
Fixes: 137106225
Test: rebuild
Change-Id: If978f765fd1f6ec0fded1eb0f7e93e386c5d3163
2019-07-11 11:15:39 +08:00
Bill Yi
fa674d85ae Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I67ba6e489c14dc511d485a4895c9e12fce1c3ee1
2019-07-10 20:08:17 -07:00
android-build-team Robot
88876f4f4d Snap for 5719479 from 0839185647 to qt-c2f2-release
Change-Id: I4a3c58cc05aecd644f80a6ef46e3506d476b0613
2019-07-11 03:05:54 +00:00
Bill Yi
f74a94db37 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I09ed37fffcf0bbcf61cdfa0b1f8cf22f5828d23b
2019-07-10 19:31:11 -07:00
Xin Li
cde0fa3f85 [automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190705.004) in master" am: 0c7e805902 -s ours am: ba73db3e92 -s ours am: 3bf8c80dd5
am: 547532d23d -s ours
am skip reason: subject contains skip directive

Change-Id: Ifbeba09ed5b65b88431c6ddf040aa0e90dcf00ea
2019-07-10 19:25:56 -07:00
Xin Li
547532d23d [automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190705.004) in master" am: 0c7e805902 -s ours am: ba73db3e92 -s ours
am: 3bf8c80dd5

Change-Id: Icedb419472e0e1edcb4079f184d96df977fbd955
2019-07-10 19:14:53 -07:00
Xin Li
3bf8c80dd5 [automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190705.004) in master" am: 0c7e805902 -s ours
am: ba73db3e92 -s ours
am skip reason: subject contains skip directive

Change-Id: I8c1e220708b6ac50415a0c4f7b68784ab6fdf167
2019-07-10 19:02:51 -07:00
Bill Yi
4441edcf1c Import translations. DO NOT MERGE
Change-Id: Ife2cc712d0fc7d4c688e31990b79e81608fd82b7
Auto-generated-cl: translation import
2019-07-10 18:54:09 -07:00
Xin Li
ba73db3e92 [automerger skipped] Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190705.004) in master"
am: 0c7e805902 -s ours
am skip reason: subject contains skip directive

Change-Id: I724db7670844b89aaae1e9bc856c16c95209b14e
2019-07-10 18:44:45 -07:00
govenliu
41cdecca3d [Wi-Fi] EAP method AKA' did not pronounced as AKA prime.
Spinner did not use ttsspan to store the display string so AKA' just
pronounced as AKA.

To fix it, use charsequence array, which each specific array item have
the ttsSpan to store the string for TTS engine.

Bug: 119929832
Test: Set a 3-texts array and check if the specific array item
replacement mechanism work correctly or not.

Change-Id: I8e7d10da99a3f3503e1019687c45cf40070d0045
2019-07-11 09:31:15 +08:00
Treehugger Robot
0c7e805902 Merge "DO NOT MERGE - Skip pie-platform-release (PPRL.190705.004) in master" 2019-07-11 00:56:33 +00:00
Tarandeep Singh
13d4aec8ff Merge "Remove usage of PER_PROFILE_IME_ENABLED property in settings" 2019-07-10 18:06:39 +00:00