Commit Graph

52934 Commits

Author SHA1 Message Date
android-build-team Robot
1098924d72 Snap for 6006841 from 48a0ff4304 to qt-qpr2-release
Change-Id: I2901fe2d74c1012cdd74d9bd18ad82dec38e291e
2019-11-14 02:12:48 +00:00
Jason Chiu
48a0ff4304 Fix Settings creating too many threads unexpectedly
Limit the number of threads by using the shared thread pool in
ThreadUtils.

Bug: 143434413
Test: manual
Change-Id: I4afe1f641a11e218616772c1d5446efcc99cd1cc
Merged-In: I4afe1f641a11e218616772c1d5446efcc99cd1cc
(cherry picked from commit 3e4c47dbc0)
2019-11-12 08:24:10 +00:00
android-build-team Robot
f12a4c9739 Snap for 5998981 from 8134971f00 to qt-qpr2-release
Change-Id: I3b8768031da913601ca7b80d0747293b1b9001a8
2019-11-10 00:13:17 +00:00
Bill Yi
8134971f00 Import translations. DO NOT MERGE
Change-Id: I5b9dc323282c81680df423e4df855f9f25e3c028
Auto-generated-cl: translation import
2019-11-08 23:40:50 -08:00
Sunny Shao
b377713547 Fix the MMS messages toggle preference not working
- MMS messages toggle preference doesn't work while the default Mobile data is on then switches off.
- Recall the displayPreference to execute the preference.setOnPreferenceChangeListener
  in the AbstractPreferenceController.

Fixes: 143204818
Test: make RunSettingsGoogleRoboTests -j ROBOTEST_FILTER=com.android.settings.network.telephony.MmsMessagePreferenceControllerTest
Change-Id: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
Merged-In: Ida65d04b095b7d2556fa5bdd93be7a67cba77206
(cherry picked from commit 054e0eab87)
2019-11-06 06:19:35 +00:00
android-build-team Robot
306e742a74 Snap for 5989078 from 8b348f1f30 to qt-qpr2-release
Change-Id: I5992c5f7a52c191a9f17f3316e0e2f67c9018d91
2019-11-06 02:01:28 +00:00
TreeHugger Robot
8b348f1f30 Merge "Fix Battery page animation" into qt-qpr1-dev 2019-11-05 05:34:41 +00:00
Raff Tsai
6a3433b67a Fix Battery page animation
TextView summary1 has default height 2 line. If the content is longer
than 2 line, the TextView increases itself which causes the animation.
By increasing minLines to 3, it can avoid the animation. And remove
summary2 because it is only for debug purpose, the debug information
can be merged to summary1.

Fixes: 139554919
Test: visual, make RunSettingsRoboTests
Change-Id: I167ac87c9bd83035e00d4991961599e76f4f69e1
(cherry picked from commit 648ada031d)
Merged-In: I167ac87c9bd83035e00d4991961599e76f4f69e1
2019-11-05 12:11:51 +08:00
android-build-team Robot
5d3d002fb2 Snap for 5984801 from 9db5fcb2ff to qt-qpr2-release
Change-Id: Ic5bef77cf7511468b60a974bcec0413829a182ca
2019-11-04 00:20:14 +00:00
Bill Yi
9db5fcb2ff Import translations. DO NOT MERGE
Change-Id: Ie3137ceba6f623d0a7aa1176166930b522dee60e
Auto-generated-cl: translation import
2019-11-02 17:25:40 -07:00
android-build-team Robot
b6e20d0ddf Snap for 5983947 from 1876b8c6dd to qt-qpr2-release
Change-Id: I786ee6ac06d94ccb638e8000af02f8fee4ba3dbd
2019-11-02 23:11:01 +00:00
Kevin Chyn
1876b8c6dd Merge "Revert "Remove attention controller"" into qt-qpr1-dev 2019-11-01 17:01:32 +00:00
Kevin Chyn
eac6fcff2d Revert "Remove attention controller"
Bug: 142979808

This reverts commit 8e1d1ca3ab.

Change-Id: I78b7572bcb384de2984f4d81946aceb03aec6758
2019-10-31 20:50:35 +00:00
Kevin Chyn
44efb41d98 Revert "Update attention string"
Bug: 142979808

This reverts commit 821fbc83a1.

Change-Id: Ibe426d3175b8b44fadaf78316201031f229d736e
2019-10-31 20:49:43 +00:00
Bill Yi
f54c040bde Import translations. DO NOT MERGE
Change-Id: I7256e981ee4f567d1b09dce74e476375f4f58bb3
Auto-generated-cl: translation import
2019-10-30 18:50:23 -07:00
android-build-team Robot
20311ed171 Snap for 5969848 from ff9bcdbcd3 to qt-qpr2-release
Change-Id: I36da9e8fdf6f258b13e7a43836f8e9053334a638
2019-10-27 23:18:17 +00:00
Bill Yi
ff9bcdbcd3 Import translations. DO NOT MERGE
Change-Id: I519674aef33bc822977cf0e00edf02aff7b8245f
Auto-generated-cl: translation import
2019-10-27 08:01:49 -07:00
android-build-team Robot
fa679092b9 Snap for 5956190 from 476d82715a to qt-qpr2-release
Change-Id: If43a85fb23469efb75a9fedc22a6a4c2a6032e9e
2019-10-21 22:42:46 +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
TreeHugger Robot
5956f903cb Merge "Fix non responding slice toggling problem." into qt-qpr1-dev 2019-10-17 01:32:14 +00:00
android-build-team Robot
32a7f5ea5d Snap for 5936642 from dfd9aa99e5 to qt-qpr2-release
Change-Id: I6cd6a48d020653521480872457fb1fefe46fceda
2019-10-12 23:10:36 +00:00
SongFerngWang
dfd9aa99e5 String "CDME" is wrong
Bug: 142376028
Test: build pass
Change-Id: Ifaed6ca8aba8f34ecb27abb863aeaf679132934f
2019-10-10 20:18:30 +08:00
android-build-team Robot
8b71106543 Snap for 5925757 from 6fa03d4cad to qt-qpr2-release
Change-Id: I31cd9a30c80589a185b67ca923c4922fa0c0b7c5
2019-10-08 01:15:31 +00:00
android-build-team Robot
c8fc92f74c Snap for 5923499 from 42eff7e319 to qt-qpr2-release
Change-Id: I0f08d5549be990e64dacd553fd17e37b312c7bf1
2019-10-06 23:01:29 +00:00
Bill Yi
6fa03d4cad [automerger skipped] Import translations. DO NOT MERGE
am: aa605a2ff8 -s ours
am skip reason: subject contains skip directive

Change-Id: I67820e45b4aceb3a9d3c141cc3be69e899551e2e
2019-10-06 15:03:16 -07:00
TreeHugger Robot
42eff7e319 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-10-06 19:48:23 +00:00
Bill Yi
4c257b0ef8 Import translations. DO NOT MERGE
Change-Id: Ie4fdf91f299defd2a361d76455093db5a410d0d6
Auto-generated-cl: translation import
2019-10-06 07:50:11 -07:00
Bill Yi
aa605a2ff8 Import translations. DO NOT MERGE
Change-Id: I1af1cc81e5fffb4ead2146f8871efa5115f91be2
Auto-generated-cl: translation import
2019-10-06 07:36:10 -07:00
android-build-team Robot
71996fb6bb Snap for 5919859 from ccd0c91498 to qt-qpr2-release
Change-Id: I6e35618d33e77e5f2856df2e4bf8f8f3b00ba7e4
2019-10-04 16:59:55 +00:00
Yi-Ling Chuang
f8eb30800a Fix non responding slice toggling problem.
The issue happens when users are toggling slices. Sometimes the toggle
doesn't work as expected because the pending intent of the toggle action
seems to be canceled for some reasons.

Hence, we replace FLAG_CANCEL_CURRENT with FLAG_UPDATE_CURRENT to prevent from
getting PendingIntent.CancelExcpetion from SliceActionView when toggling
slices.

Note that this change would only apply on Wifi, MobileData, Flashlight
and Bluetooth Slices.

Bug: 140719905
Test: rebuild and switch toggles
Change-Id: Iddbb16ddcbcf97b6f6e680b43645c04fbc061f39
2019-10-04 17:17:19 +08:00
SongFerngWang
dd7f9b57f6 Preferred network list add 5G item
Preferred network list add 5G item, and change "recommended" from 4G to
5G, and add summary for 5G.

Bug: 138544359
Test: 1.fake the device network type bitmask to 5G, UI show 5G list
2.atest EnabledNetworkModePreferenceControllerTest.java :pass

Change-Id: I4a78e2e7fbb067ce841df4aaf1d5161607fdcf90
2019-10-04 04:53:31 +00:00
SongFerngWang
ec384c2f6f RadioInfo network mode list and network mode string add 5G
Bug: 131888757
Test: 1.build pass 2.RadioInfo set network mode work.
Change-Id: I945d3c2fd175f45151bbeee475e388ccc2d67642
2019-10-04 12:39:59 +08:00
Bill Yi
ccd0c91498 Import translations. DO NOT MERGE
Change-Id: I33d1ef5a92b84fc166b35f7b5b341e7a92b35820
Auto-generated-cl: translation import
2019-10-02 16:55:04 -07:00
Bonian Chen
556b34d03d Merge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev 2019-10-02 02:44:34 +00:00
Bill Yi
d57831b7d2 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 141777841
Change-Id: I5ef0e8ee2f723c81d4cc1c0be5daf311c7c38e84
2019-10-01 16:05:46 -07:00
TreeHugger Robot
833512a1d2 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-10-01 22:08:03 +00:00
Joshua Mccloskey
262f5fe91f Merge "Added new string." into qt-qpr1-dev 2019-10-01 22:05:41 +00:00
Bill Yi
881736b7ef Import translations. DO NOT MERGE
Change-Id: I594742575ea6729d9c71e0ef04658f6513875aaf
Auto-generated-cl: translation import
2019-10-01 12:53:15 -07:00
Bonian Chen
c7c84d2c87 [Settings Telephony] Carrier name API replacement
Replacing TelephonyManager.getNetworkOperatorName() by
Obtaining carrier name from SubscriptionInfo.getCarrierName().

TelephonyManager.getNetworkOperatorName() only be used when there's no
SubscriptionInfo can be found.

Bug: b/140443508
Test: Manual testing
  atest MobileNetworkUtilsTest
  atest OpenNetworkSelectPagePreferenceControllerTest

Change-Id: I7a86395c86d31fe2ba54c04ac16b1a0ebfc843f3
2019-10-01 17:59:43 +00:00
Bill Yi
0631ad6efb Import translations. DO NOT MERGE
Change-Id: I10e5b04a3a580ba34f945305d011ac192a3c4dd3
Auto-generated-cl: translation import
2019-09-30 03:35:57 -07:00
TreeHugger Robot
b01e0ab05c Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-28 21:05:31 +00:00
Bill Yi
f7de50f5be Import translations. DO NOT MERGE
Change-Id: Idfb9ca3c6ddf6aa0a9bc04a262b8e0fd76032867
Auto-generated-cl: translation import
2019-09-28 04:11:34 -07:00
joshmccloskey
4259495574 Added new string.
Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: I48e34de15460c93c8f50d26821c4d64984f20c6d
2019-09-27 23:15:32 +00:00
joshmccloskey
186dbc65af Changed string for translations.
Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: Ieebb2ec15cf5cff2afcfefcb130193bdce6086fe
2019-09-27 21:56:46 +00:00
Kevin Chyn
acde97cf90 Fix FaceSetupSliceTest
Bug: 141380252

Test: make -j56 RunSettingsRoboTests

Change-Id: Ifb9a29d8f3115759a9e8e93e3721135c6ba229bf
2019-09-26 22:32:52 -07:00
joshmccloskey
bba7632f28 Added different flow for re-enrollment
In order to enable this new flow, a user must currently have an enrolled
face and the security setting face_unlock_re_enroll must be non-zero.

Ex.
1. Enroll Face.
2. adb shell settings put
(secure face_unlock_re_enroll|secure_face_unlock_must_re_enroll) 1
3. If settings is opened, close it.
4. Open settings
5. Verify the new flow appears.

Bug: 141380252
Bug: 141254937
Test: Verified that the user's face is deleted after clicking delete.
Test: Verified that the user can re-enroll after removing their face.
Change-Id: I2b36a0bda5cb10fb33dfb2a5627d8fa40f14fb7e
2019-09-26 23:54:59 +00:00
joshmccloskey
af1e831ab7 Added mandatory scrolling for FaceIntroduction
Test: Verified in SUW/Settings user must scroll through contents in
order to go to the next screen.
Bug: 141380294

Change-Id: I483ab6ae6a282c81ba2f2c4d1d9d1f21c6cb9453
2019-09-25 00:23:59 +00:00
Bill Yi
99f04da5dc [automerger skipped] Import translations. DO NOT MERGE
am: 73915b77ed -s ours
am skip reason: subject contains skip directive

Change-Id: Ief64a890db8759f6361b58d304ff4f7e333739c6
2019-09-22 12:53:43 -07:00
TreeHugger Robot
59e1c0a768 Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev 2019-09-22 19:42:36 +00:00
Bill Yi
0b39e54783 Import translations. DO NOT MERGE
Change-Id: I92110fede16a12a445efbd96896e17f46f89a203
Auto-generated-cl: translation import
2019-09-22 07:52:20 -07:00