OSDN Git Service

android-x86/packages-apps-Settings.git
4 years agoFix overlapping in TrustedCredentialsSettings
Mill Chen [Wed, 2 Oct 2019 16:00:45 +0000 (00:00 +0800)]
Fix overlapping in TrustedCredentialsSettings

It's a side effect caused by making scrollView extend below navbar.
Set both of clipToPadding and clipChildren true to fix overlapping.

Fixes: 138962899
Test: visual
Change-Id: Icf696a151055d4be76cafe44d5cb95b67bc2ea9f

4 years agoMerge "Fix talkback issue of Caption preference"
TreeHugger Robot [Wed, 2 Oct 2019 08:03:41 +0000 (08:03 +0000)]
Merge "Fix talkback issue of Caption preference"

4 years agoAdd fragment in xml instead of using injected way
Raff Tsai [Tue, 1 Oct 2019 09:06:26 +0000 (17:06 +0800)]
Add fragment in xml instead of using injected way

- It can improve performance because we use less injected item
- Also remove summary provider from those fragments

Bug: 141653158
Test: robolectric
Change-Id: I6255f71b3b8300aea064a4fefd6711c1ff59e08a

4 years agoFix talkback issue of Caption preference
Mill Chen [Wed, 2 Oct 2019 03:29:07 +0000 (11:29 +0800)]
Fix talkback issue of Caption preference

Talkback speaks "double-tap to activate" on the LayoutPreference in the
Caption preference page, but it doesn't have any action after double
tap. So it should be set to unclickable. Set android:selectable to
false to fix it.

Fixes: 141900530
Fixes: 141901515
Test: launch TB and test it by manually
Change-Id: I82720dc46085b84d188730545061269d110f9a7c

4 years agoMerge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev am: 556b34d03d
Bonian Chen [Wed, 2 Oct 2019 03:00:17 +0000 (20:00 -0700)]
Merge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev am: 556b34d03d
am: f726a31457

Change-Id: I4690776bb8c8ed174883014063d224dda6c72971

4 years agoMerge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev
Bonian Chen [Wed, 2 Oct 2019 02:53:31 +0000 (19:53 -0700)]
Merge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev
am: 556b34d03d

Change-Id: Ibffb60c57aa4152b4681f3fe95dae7175f2e878e

4 years agoMerge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev
Bonian Chen [Wed, 2 Oct 2019 02:44:34 +0000 (02:44 +0000)]
Merge "[Settings Telephony] Carrier name API replacement" into qt-qpr1-dev

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: d57831b7d2 -s ours
Bill Yi [Wed, 2 Oct 2019 00:14:05 +0000 (17:14 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: d57831b7d2 -s ours
am: b489e62ba7 -s ours
am skip reason: subject contains skip directive

Change-Id: I89ed84bee8e0d7db3cb367629d9212bfdacf2216

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Wed, 2 Oct 2019 00:07:00 +0000 (17:07 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: d57831b7d2 -s ours
am skip reason: subject contains skip directive

Change-Id: Idf60f77bdffa5efdd33d01c20f4e12076f9b9b87

4 years agoMerge "Add onErrorListner for SliceLiveData"
TreeHugger Robot [Tue, 1 Oct 2019 23:46:51 +0000 (23:46 +0000)]
Merge "Add onErrorListner for SliceLiveData"

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Oct 2019 23:05:46 +0000 (16:05 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 141777841
Change-Id: I5ef0e8ee2f723c81d4cc1c0be5daf311c7c38e84

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am...
Bill Yi [Tue, 1 Oct 2019 22:25:45 +0000 (15:25 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 833512a1d2 -s ours
am: cc1306957a -s ours
am skip reason: subject contains skip directive

Change-Id: Id67d986469cd096b9d5a96b006eb618de3b5c048

4 years agoMerge "Added new string." into qt-qpr1-dev am: 262f5fe91f
Joshua Mccloskey [Tue, 1 Oct 2019 22:24:42 +0000 (15:24 -0700)]
Merge "Added new string." into qt-qpr1-dev am: 262f5fe91f
am: b288f07bb2

Change-Id: Ia15b1cfceaf405d15ad6dc9e10acdd18b11e870e

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Tue, 1 Oct 2019 22:18:03 +0000 (15:18 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: 833512a1d2 -s ours
am skip reason: subject contains skip directive

Change-Id: I20fe79ea6a6f6b3fd54da7ab03eaa233913287c1

4 years agoMerge "Added new string." into qt-qpr1-dev
Joshua Mccloskey [Tue, 1 Oct 2019 22:17:26 +0000 (15:17 -0700)]
Merge "Added new string." into qt-qpr1-dev
am: 262f5fe91f

Change-Id: If8467461e0963648886c02159353c177e9b88d41

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Tue, 1 Oct 2019 22:08:03 +0000 (22:08 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoMerge "Added new string." into qt-qpr1-dev
Joshua Mccloskey [Tue, 1 Oct 2019 22:05:41 +0000 (22:05 +0000)]
Merge "Added new string." into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 1 Oct 2019 19:53:15 +0000 (12:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: I594742575ea6729d9c71e0ef04658f6513875aaf
Auto-generated-cl: translation import

4 years ago[Settings Telephony] Carrier name API replacement
Bonian Chen [Mon, 9 Sep 2019 07:10:13 +0000 (15:10 +0800)]
[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

4 years agoMerge "[AutoTest] Settings Telephony part"
Bonian Chen [Tue, 1 Oct 2019 11:13:25 +0000 (11:13 +0000)]
Merge "[AutoTest] Settings Telephony part"

4 years agoMerge "Fix BatteryInfo test case failures"
Mill Chen [Tue, 1 Oct 2019 11:01:29 +0000 (11:01 +0000)]
Merge "Fix BatteryInfo test case failures"

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7...
Paul Hu [Tue, 1 Oct 2019 10:21:27 +0000 (03:21 -0700)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7 am: 3a728ae13b am: a6dadc465b
am: 67fe04814d

Change-Id: I27e85d6780025122b5b56c0f8f827a0a8060e955

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7...
Paul Hu [Tue, 1 Oct 2019 10:15:14 +0000 (03:15 -0700)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7 am: 3a728ae13b
am: a6dadc465b

Change-Id: I08a04f4e627ce876a3cabd194a9838a0b5ce8459

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7
Paul Hu [Tue, 1 Oct 2019 10:09:15 +0000 (03:09 -0700)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED" am: a67ca4cfd7
am: 3a728ae13b

Change-Id: Id211709644b505fa866b0661f9657991c36dbaf6

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
Paul Hu [Tue, 1 Oct 2019 10:03:36 +0000 (03:03 -0700)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
am: a67ca4cfd7

Change-Id: I7a2a4d76d1e0092188121d390c75c12eac20cdab

4 years agoMerge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"
Paul Hu [Tue, 1 Oct 2019 09:50:28 +0000 (09:50 +0000)]
Merge "[Settings] Replace CONNECTIVITY_INTERNAL to TETHER_PRIVILEGED"

4 years agoFix BatteryInfo test case failures
Mill Chen [Tue, 1 Oct 2019 07:12:01 +0000 (15:12 +0800)]
Fix BatteryInfo test case failures

Fixes: 141901539
Test: robotests
Change-Id: I63140c36996e463862bb2dc77d26acdaa96530b2

4 years agoMerge "[Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterpr...
Arc Wang [Tue, 1 Oct 2019 08:34:05 +0000 (08:34 +0000)]
Merge "[Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit"

4 years ago[AutoTest] Settings Telephony part
Bonian Chen [Tue, 1 Oct 2019 08:10:28 +0000 (16:10 +0800)]
[AutoTest] Settings Telephony part

Change design to avoid using Robolectric.setupActivity()

Bug: 140707056
Test: make RunSettingsRoboTests ROBOTEST_FILTER=EuiccPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=DataServiceSetupPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=ApnPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkActivityTest
make RunSettingsRoboTests ROBOTEST_FILTER=DataUsagePreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=ApnEditorTest
make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkSummaryControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=SubscriptionsPreferenceControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkListControllerTest
make RunSettingsRoboTests ROBOTEST_FILTER=MobileNetworkPreferenceControllerTest

Change-Id: Ifacd2e6c8733d8e814a277cf34d6f7eb1a9ddba4

4 years agoMerge "Fix FaceSetupSlice test cases failure."
TreeHugger Robot [Tue, 1 Oct 2019 08:13:21 +0000 (08:13 +0000)]
Merge "Fix FaceSetupSlice test cases failure."

4 years agoAdd onErrorListner for SliceLiveData
Yi-Ling Chuang [Tue, 1 Oct 2019 07:14:18 +0000 (15:14 +0800)]
Add onErrorListner for SliceLiveData

SliceLiveData is changed in the framework, where the way it handles null
slices is different. Thus, we handle the case of null slices by adding
onSliceError() to make slice refreshing back to normal and to prevent
from non responding action on slices.

Fixes: 141293788
Test: visual
Change-Id: I4751d57ae478eec66a1a951841d36521556cacd7

4 years agoFix FaceSetupSlice test cases failure.
Yi-Ling Chuang [Tue, 1 Oct 2019 06:45:32 +0000 (14:45 +0800)]
Fix FaceSetupSlice test cases failure.

Fixes: 141900531
Test: robotests
Change-Id: I0c68928e99b9fe12ae8d41b37a173ec1b1ecf44c

4 years agoMerge "Remove summary loader in some fragments"
TreeHugger Robot [Tue, 1 Oct 2019 04:00:18 +0000 (04:00 +0000)]
Merge "Remove summary loader in some fragments"

4 years agoRemove summary loader in some fragments
Raff Tsai [Mon, 30 Sep 2019 10:28:16 +0000 (18:28 +0800)]
Remove summary loader in some fragments

- Summary Loader only works in injected items, but those fragments
are not injected to Settings UI. The SummaryLoader class them are
useless.

Bug: 141653158
Test: robolectric
Change-Id: I1ca0bf5a1f417b7fe86b28e96aff7d4aee2cf2d3

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 0631ad6efb -s ours
Bill Yi [Mon, 30 Sep 2019 19:47:28 +0000 (12:47 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 0631ad6efb -s ours
am: beb37b072f -s ours
am skip reason: subject contains skip directive

Change-Id: I13bb676b52e10295a805a8a2f381f5493fdb80be

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Mon, 30 Sep 2019 19:42:10 +0000 (12:42 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 0631ad6efb -s ours
am skip reason: subject contains skip directive

Change-Id: I1338a125768855043cf83c6c5c759b470e12e7d4

4 years agoMerge "Update enabled state of ZenRulePreference"
TreeHugger Robot [Mon, 30 Sep 2019 13:29:33 +0000 (13:29 +0000)]
Merge "Update enabled state of ZenRulePreference"

4 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 30 Sep 2019 10:35:57 +0000 (03:35 -0700)]
Import translations. DO NOT MERGE

Change-Id: I10e5b04a3a580ba34f945305d011ac192a3c4dd3
Auto-generated-cl: translation import

4 years agoMerge "Fix UI display abnormal of DatePickerDialog in landscape mode"
TreeHugger Robot [Mon, 30 Sep 2019 09:36:56 +0000 (09:36 +0000)]
Merge "Fix UI display abnormal of DatePickerDialog in landscape mode"

4 years agoFix UI display abnormal of DatePickerDialog in landscape mode
Sunny Shao [Fri, 27 Sep 2019 13:32:11 +0000 (21:32 +0800)]
Fix UI display abnormal of DatePickerDialog in landscape mode

Update the themes.xml and styles.xml.

Fixes: 141577901
Test: manual view
Change-Id: I24cadcc972bdc0ee1f6601e3b496d0f69bb5089c

4 years agoFine tune language UI to match preference style
Raff Tsai [Mon, 30 Sep 2019 03:14:31 +0000 (11:14 +0800)]
Fine tune language UI to match preference style

Fixes: 141830486
Test: visual
Screenshot: https://screenshot.googleplex.com/LVv2W9D963s
Screenshot: https://screenshot.googleplex.com/VbJQ0cSPBKK
Change-Id: I44b0ac8ac2bd32b3beeabee195aab928ec4bacc2

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am...
Bill Yi [Sat, 28 Sep 2019 21:23:40 +0000 (14:23 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: b01e0ab05c -s ours
am: 37703c090a -s ours
am skip reason: subject contains skip directive

Change-Id: I08cf95cb7336d3a3208aa3e3f618d47093402ea8

4 years ago[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
Bill Yi [Sat, 28 Sep 2019 21:16:37 +0000 (14:16 -0700)]
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
am: b01e0ab05c -s ours
am skip reason: subject contains skip directive

Change-Id: Ie644497f111a2029d99a700b6333d3dec43fa948

4 years agoMerge "Import translations. DO NOT MERGE" into qt-qpr1-dev
TreeHugger Robot [Sat, 28 Sep 2019 21:05:31 +0000 (21:05 +0000)]
Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev

4 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 28 Sep 2019 11:11:34 +0000 (04:11 -0700)]
Import translations. DO NOT MERGE

Change-Id: Idfb9ca3c6ddf6aa0a9bc04a262b8e0fd76032867
Auto-generated-cl: translation import

4 years agoChanged string for translations. am: 186dbc65af
joshmccloskey [Sat, 28 Sep 2019 08:22:30 +0000 (01:22 -0700)]
Changed string for translations. am: 186dbc65af
am: 515772802f

Change-Id: I7554b0e974393e7df7cde9ff4355b3713d0997d5

4 years agoFix FaceSetupSliceTest am: acde97cf90
Kevin Chyn [Sat, 28 Sep 2019 08:20:03 +0000 (01:20 -0700)]
Fix FaceSetupSliceTest am: acde97cf90
am: a9c14ab4b1

Change-Id: Ic96ff261766e750e0fff6b3ff73e21d0588b0222

4 years agoAdded different flow for re-enrollment am: bba7632f28
joshmccloskey [Sat, 28 Sep 2019 01:38:20 +0000 (18:38 -0700)]
Added different flow for re-enrollment am: bba7632f28
am: 3511ad89ca

Change-Id: I2b06407f4df37f8d16f95c6068de0ac3523df293

4 years agoMerge "Update the color of the preference category"
TreeHugger Robot [Fri, 27 Sep 2019 23:54:07 +0000 (23:54 +0000)]
Merge "Update the color of the preference category"

4 years agoChanged string for translations.
joshmccloskey [Fri, 27 Sep 2019 23:41:36 +0000 (16:41 -0700)]
Changed string for translations.
am: 186dbc65af

Change-Id: Id48a469817c96a13ac1311792ad4b8bcd61fe88f

4 years agoAdded new string.
joshmccloskey [Fri, 27 Sep 2019 22:09:05 +0000 (15:09 -0700)]
Added new string.

Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: I48e34de15460c93c8f50d26821c4d64984f20c6d

4 years agoChanged string for translations.
joshmccloskey [Fri, 27 Sep 2019 21:54:38 +0000 (14:54 -0700)]
Changed string for translations.

Fixes: 141762646
Test: Verified that string translates to spanish after changing
the language.

Change-Id: Ieebb2ec15cf5cff2afcfefcb130193bdce6086fe

4 years agoUpdate enabled state of ZenRulePreference
Beverly [Fri, 27 Sep 2019 17:50:15 +0000 (13:50 -0400)]
Update enabled state of ZenRulePreference

Test: manual
  1. Settings > Sound > Do Not Disturb > Schedules > Sleeping
  2. Toggle enable state of DND rule to ON
  3. Navigate back
  4. Observe: Sleeping rule is enabled visually (check box is checked)
Fixes: 140090071
Change-Id: I44078cdba9642eea93f9b6d2eb3eef486d3c38bc

4 years agoMerge "Fix print page starts multiple activities"
TreeHugger Robot [Fri, 27 Sep 2019 13:19:42 +0000 (13:19 +0000)]
Merge "Fix print page starts multiple activities"

4 years agoMerge "Fix upper back button behavior of MobileDataUsageListActivity"
TreeHugger Robot [Fri, 27 Sep 2019 12:03:02 +0000 (12:03 +0000)]
Merge "Fix upper back button behavior of MobileDataUsageListActivity"

4 years agoMerge "Execute getting battery info on the parallel executor"
TreeHugger Robot [Fri, 27 Sep 2019 11:18:39 +0000 (11:18 +0000)]
Merge "Execute getting battery info on the parallel executor"

4 years agoFix upper back button behavior of MobileDataUsageListActivity
Yanting Yang [Fri, 27 Sep 2019 10:34:04 +0000 (18:34 +0800)]
Fix upper back button behavior of MobileDataUsageListActivity

Fixes: 141622125
Test: visual
Change-Id: I5a8fac02428fe811e2d0f340b1469ff948637623

4 years agoFix print page starts multiple activities
Raff Tsai [Fri, 27 Sep 2019 10:15:03 +0000 (18:15 +0800)]
Fix print page starts multiple activities

- Finish old activity when user select new user profile to start a
new activity

Fixes: 140154015
Test: manual
Change-Id: I4f05af4dd8a489c4a563cb51428d8a1277f95cd3

4 years agoExecute getting battery info on the parallel executor
Jason Chiu [Fri, 27 Sep 2019 09:33:08 +0000 (17:33 +0800)]
Execute getting battery info on the parallel executor

Getting battery info is time consuming and may block other tasks in the
same background thread.

Executing it on the parallel executor can improve app launch performance.

Bug: 141694556
Test: robotest
Change-Id: I55517e03961929c2b288e230ed474d45915d63fd

4 years agoFix FaceSetupSliceTest
Kevin Chyn [Fri, 27 Sep 2019 08:07:02 +0000 (01:07 -0700)]
Fix FaceSetupSliceTest
am: acde97cf90

Change-Id: Ied72d5ae4b891ef1c5600b8d416b016d0aede23e

4 years agoUpdate the color of the preference category
Sunny Shao [Fri, 27 Sep 2019 05:16:44 +0000 (13:16 +0800)]
Update the color of the preference category

Use the new attribute preferenceCategoryTitleTextColor to change the color of
the preference category.

Bug: 117402186
Test: manual view
Change-Id: If2df5529a63ff9cd96f242a9ea5f3dac053b0fd2

4 years agoFix FaceSetupSliceTest
Kevin Chyn [Fri, 27 Sep 2019 05:01:56 +0000 (22:01 -0700)]
Fix FaceSetupSliceTest

Bug: 141380252

Test: make -j56 RunSettingsRoboTests

Change-Id: Ifb9a29d8f3115759a9e8e93e3721135c6ba229bf

4 years agoAdded different flow for re-enrollment
joshmccloskey [Fri, 27 Sep 2019 03:06:48 +0000 (20:06 -0700)]
Added different flow for re-enrollment
am: bba7632f28

Change-Id: Ie5174848a3a35df197177b0aa2cf6c324813b8dd

4 years agoAdded different flow for re-enrollment
joshmccloskey [Thu, 19 Sep 2019 18:23:29 +0000 (11:23 -0700)]
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

4 years agoMerge "[Manual Network Selection] UX improvement"
Bonian Chen [Thu, 26 Sep 2019 07:16:42 +0000 (07:16 +0000)]
Merge "[Manual Network Selection] UX improvement"

4 years agoMerge "Use SettingsLib Indexable"
TreeHugger Robot [Thu, 26 Sep 2019 06:51:17 +0000 (06:51 +0000)]
Merge "Use SettingsLib Indexable"

4 years agoMerge "Fix to show eUICC preference in eng build" am: e825c30137 am: 9e81a2f4a8 am...
Taesu Lee [Thu, 26 Sep 2019 06:35:06 +0000 (23:35 -0700)]
Merge "Fix to show eUICC preference in eng build" am: e825c30137 am: 9e81a2f4a8 am: c4c8f51bb0
am: 1c20ea5644

Change-Id: I531faa4430a0fa914b239383d97ef5af58c8bb0b

4 years agoMerge "Fix to show eUICC preference in eng build" am: e825c30137 am: 9e81a2f4a8
Taesu Lee [Thu, 26 Sep 2019 06:28:11 +0000 (23:28 -0700)]
Merge "Fix to show eUICC preference in eng build" am: e825c30137 am: 9e81a2f4a8
am: c4c8f51bb0

Change-Id: I58dae46adec67c855a5e26542d75d15f116c37dc

4 years agoMerge "Fix to show eUICC preference in eng build" am: e825c30137
Taesu Lee [Thu, 26 Sep 2019 06:21:12 +0000 (23:21 -0700)]
Merge "Fix to show eUICC preference in eng build" am: e825c30137
am: 9e81a2f4a8

Change-Id: I777273344c8eb4f791756be7fcb9755a5bf9e8b8

4 years agoMerge "Fix to show eUICC preference in eng build"
Taesu Lee [Thu, 26 Sep 2019 06:14:10 +0000 (23:14 -0700)]
Merge "Fix to show eUICC preference in eng build"
am: e825c30137

Change-Id: Ie6ca5a575e5c5caa4c841286421d037649765397

4 years agoMerge "Fix to show eUICC preference in eng build"
Treehugger Robot [Thu, 26 Sep 2019 05:53:10 +0000 (05:53 +0000)]
Merge "Fix to show eUICC preference in eng build"

4 years agoMerge "[Owner] Add allenwtsu into Settings Telephony part"
Bonian Chen [Thu, 26 Sep 2019 03:33:14 +0000 (03:33 +0000)]
Merge "[Owner] Add allenwtsu into Settings Telephony part"

4 years agoAdded mandatory scrolling for FaceIntroduction am: af1e831ab7
joshmccloskey [Wed, 25 Sep 2019 19:43:03 +0000 (12:43 -0700)]
Added mandatory scrolling for FaceIntroduction am: af1e831ab7
am: ab5bf98c03

Change-Id: Ifc33c6e4f34f1f66bd48cc0f2e5f4e7c7e164e55

4 years agoAdded mandatory scrolling for FaceIntroduction
joshmccloskey [Wed, 25 Sep 2019 17:58:00 +0000 (10:58 -0700)]
Added mandatory scrolling for FaceIntroduction
am: af1e831ab7

Change-Id: I1877ce4650fd393d08e2ff1c15944df8fbd4d6d7

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 500e7b2b71 -s ours am...
Bill Yi [Wed, 25 Sep 2019 14:59:25 +0000 (07:59 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 500e7b2b71 -s ours am: 444eac4f4a -s ours
am: 5f968e68c7 -s ours
am skip reason: subject contains skip directive

Change-Id: I5e644b647bb95697d556727ca64dcaab5098b06c

4 years ago[automerger skipped] Import translations. DO NOT MERGE am: 500e7b2b71 -s ours
Bill Yi [Wed, 25 Sep 2019 14:46:21 +0000 (07:46 -0700)]
[automerger skipped] Import translations. DO NOT MERGE am: 500e7b2b71 -s ours
am: 444eac4f4a -s ours
am skip reason: subject contains skip directive

Change-Id: Ic8198769cb6d796e2add9491f538723fa3381d4c

4 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Wed, 25 Sep 2019 14:30:56 +0000 (07:30 -0700)]
[automerger skipped] Import translations. DO NOT MERGE
am: 500e7b2b71 -s ours
am skip reason: subject contains skip directive

Change-Id: I4a84a614577ee9558b05de1e30fe543ff2ece1d3

4 years ago[Owner] Add allenwtsu into Settings Telephony part
Bonian Chen [Wed, 25 Sep 2019 13:25:17 +0000 (21:25 +0800)]
[Owner] Add allenwtsu into Settings Telephony part

Add allenwtsu into owner list of Telephony part within Settings apk

Bug: 0
Test: none
Change-Id: Ic2820bc113bc26fc0d162c42c7925477177127ae

4 years ago[Manual Network Selection] UX improvement
Bonian Chen [Wed, 25 Sep 2019 10:37:12 +0000 (18:37 +0800)]
[Manual Network Selection] UX improvement

Original design abort a network scan when screen off and restart scan
when screen on.

Under the situation of network scan time longer than screen off time,
user may not get any result but keeping in scanning screen.

This CL improve this situation by avoiding stop and rescan for the case
user didn't leave this UI and previous scan is in progressing.

Bug: 140448617
Test: Manual testing leave and back to UI, and screen off-on.
Change-Id: I74ffa574dac932ca7fcd76411cad4ec0cc88f25f

4 years agoUse SettingsLib Indexable
Raff Tsai [Wed, 25 Sep 2019 03:19:06 +0000 (11:19 +0800)]
Use SettingsLib Indexable

- Use SettingsLib Indexable
- Directly use resource id in getPreferenceScreenResId

Bug: 135053028
Test: roboletric
Change-Id: I05f493b55e8b6e2091301e9231ba5615215618e6

4 years agoMerge "Error handler for start dialog from adb command"
TreeHugger Robot [Wed, 25 Sep 2019 08:27:51 +0000 (08:27 +0000)]
Merge "Error handler for start dialog from adb command"

4 years agoMerge "[Settings Telephony] Carrier name API replacement"
Bonian Chen [Wed, 25 Sep 2019 06:45:50 +0000 (06:45 +0000)]
Merge "[Settings Telephony] Carrier name API replacement"

4 years agoError handler for start dialog from adb command
hughchen [Wed, 25 Sep 2019 02:55:15 +0000 (10:55 +0800)]
Error handler for start dialog from adb command

This CL added null check for the case that dialog
is started from adb command.

Bug: 129783237
Test: manually
Change-Id: I47d47cb5ddfe3487e2d616d1cf2ed08bd11d215d

4 years agoMerge "Fix highlight animation"
TreeHugger Robot [Wed, 25 Sep 2019 05:33:44 +0000 (05:33 +0000)]
Merge "Fix highlight animation"

4 years agoFix highlight animation
Tsung-Mao Fang [Wed, 25 Sep 2019 03:35:28 +0000 (11:35 +0800)]
Fix highlight animation

Set correct from-to color for highlight animation

Fixes: 141535322
Test: visual
Change-Id: I1cec8d57fca1435922ad196a4b314d8cee2be9f0

4 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 25 Sep 2019 01:54:26 +0000 (18:54 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0f9786915ebc5c168487e7a5386d4f2060d27a12
Auto-generated-cl: translation import

4 years agoAdded mandatory scrolling for FaceIntroduction
joshmccloskey [Tue, 24 Sep 2019 22:07:08 +0000 (15:07 -0700)]
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

4 years agoMerge "[ManualNetworkSelect] Improve error handling"
Bonian Chen [Tue, 24 Sep 2019 10:05:23 +0000 (10:05 +0000)]
Merge "[ManualNetworkSelect] Improve error handling"

4 years agoMerge "Do not block UI when this page didn't have slice"
TreeHugger Robot [Tue, 24 Sep 2019 09:57:50 +0000 (09:57 +0000)]
Merge "Do not block UI when this page didn't have slice"

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:51:19 +0000 (02:51 -0700)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's" am: 51cb777530 am: f28625bcf1 am: 1fec213233
am: f7b4dc1dc7

Change-Id: Iacb97f589587a06212591ce9a83f5eadba7b59f7

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:45:00 +0000 (02:45 -0700)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's" am: 51cb777530 am: f28625bcf1
am: 1fec213233

Change-Id: Ifed2aeb3759051ce1ddc490fb695b50642b76402

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:39:02 +0000 (02:39 -0700)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's" am: 51cb777530
am: f28625bcf1

Change-Id: Ie151d421eae8321dc684f7d4a684f582fb60c3ac

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:32:29 +0000 (02:32 -0700)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"
am: 51cb777530

Change-Id: I7d6675734eed90cbfb0ccda46c047883e460962f

4 years agoMerge "In sim1 APN settings interface and hot plug out/in sim2, APN information chang...
Daniel Huang [Tue, 24 Sep 2019 09:21:51 +0000 (09:21 +0000)]
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"

4 years agoMerge "Directly use BaseIndexableProvider"
Raff Tsai [Tue, 24 Sep 2019 09:10:56 +0000 (09:10 +0000)]
Merge "Directly use BaseIndexableProvider"

4 years ago[Settings Telephony] Carrier name API replacement
Bonian Chen [Mon, 9 Sep 2019 07:10:13 +0000 (15:10 +0800)]
[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: 140443508
Test: Manual testing
  atest MobileNetworkUtilsTest
  atest OpenNetworkSelectPagePreferenceControllerTest

Change-Id: I7a86395c86d31fe2ba54c04ac16b1a0ebfc843f3

4 years ago[ManualNetworkSelect] Improve error handling
Bonian Chen [Mon, 23 Sep 2019 03:29:54 +0000 (11:29 +0800)]
[ManualNetworkSelect] Improve error handling

1. [batch mode] Support graceful app stop behavior
   Avoid thread crash when UI abort the request.
2. [incremental mode] Stop search UI earlier when error during API access
   Generate error instead of keeping UI in progressing
   when fail to access Telephony API

Bug: 139398483
Bug: 140448617
Test: atest NetworkScanHelperTest
Change-Id: I429f3aa2ef692c27100514faa413b16dbd2459d7

4 years agoDo not block UI when this page didn't have slice
hughchen [Tue, 24 Sep 2019 02:30:49 +0000 (10:30 +0800)]
Do not block UI when this page didn't have slice

This CL before, if controller have UIBlocker interface
will going to blocker condition to make whole page
invisible for a certain time until slice is fully loaded.

This CL add the check condition that if the controller
have UIBlocker inferface but didn't have slice uri will
not go to blocker condition.

Bug: 141292712
Test: make -j42 RunSettingsRoboTests ROBOTEST_FILTER=DashboardFragmentTest
Change-Id: I79daae131654f8fd823a9c8f1be46ad6c7921908

4 years agoMerge "Use FooterPreference in xml to replace the header"
TreeHugger Robot [Tue, 24 Sep 2019 01:51:46 +0000 (01:51 +0000)]
Merge "Use FooterPreference in xml to replace the header"

4 years agoMerge "Remove enum logic from callers of requestbugreport()"
TreeHugger Robot [Mon, 23 Sep 2019 17:10:51 +0000 (17:10 +0000)]
Merge "Remove enum logic from callers of requestbugreport()"