Raff Tsai
966fa01423
Use SettingsLib Indexable
...
- Use SettingsLib Indexable
- Directly use resource id in getPreferenceScreenResId
Bug: 135053028
Test: roboletric
Change-Id: I05f493b55e8b6e2091301e9231ba5615215618e6
2019-09-25 18:24:56 +08:00
TreeHugger Robot
0102d98dc9
Merge "Error handler for start dialog from adb command"
2019-09-25 08:27:51 +00:00
Bonian Chen
b18061c305
Merge "[Settings Telephony] Carrier name API replacement"
2019-09-25 06:45:50 +00:00
hughchen
283ae5d1bb
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
2019-09-25 14:19:55 +08:00
TreeHugger Robot
1f8eee5798
Merge "Fix highlight animation"
2019-09-25 05:33:44 +00:00
Tsung-Mao Fang
f4e3f78fa0
Fix highlight animation
...
Set correct from-to color for highlight animation
Fixes: 141535322
Test: visual
Change-Id: I1cec8d57fca1435922ad196a4b314d8cee2be9f0
2019-09-25 11:35:28 +08:00
Bill Yi
500e7b2b71
Import translations. DO NOT MERGE
...
Change-Id: I0f9786915ebc5c168487e7a5386d4f2060d27a12
Auto-generated-cl: translation import
2019-09-24 18:54:26 -07: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
Felipe Leon
e42ab42c5c
Settings: fix apn_editor carrier_enabled summaryOff string
...
Change-Id: I44ccec73601806dc8facad122f1ab16ff3aca484
Signed-off-by: Felipe Leon <fglfgl27@gmail.com >
2019-09-25 00:43:17 +03:00
Bonian Chen
ed332c0829
Merge "[ManualNetworkSelect] Improve error handling"
2019-09-24 10:05:23 +00:00
TreeHugger Robot
818ad60218
Merge "Do not block UI when this page didn't have slice"
2019-09-24 09:57:50 +00:00
Daniel Huang
202b84b8df
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
2019-09-24 02:51:19 -07:00
Daniel Huang
f7b4dc1dc7
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
2019-09-24 02:45:00 -07:00
Daniel Huang
1fec213233
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
2019-09-24 02:39:02 -07:00
Daniel Huang
f28625bcf1
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"
...
am: 51cb777530
Change-Id: I7d6675734eed90cbfb0ccda46c047883e460962f
2019-09-24 02:32:29 -07:00
Daniel Huang
51cb777530
Merge "In sim1 APN settings interface and hot plug out/in sim2, APN information change to sim2's"
2019-09-24 09:21:51 +00:00
Raff Tsai
b722db9d41
Merge "Directly use BaseIndexableProvider"
2019-09-24 09:10:56 +00:00
Bonian Chen
7a4c679790
[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
2019-09-24 07:59:56 +00:00
Bonian Chen
1b64578f3c
[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
2019-09-24 07:58:42 +00:00
hughchen
d49de61f96
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
2019-09-24 10:30:49 +08:00
TreeHugger Robot
2ced8d8f00
Merge "Use FooterPreference in xml to replace the header"
2019-09-24 01:51:46 +00:00
TreeHugger Robot
1e36a02406
Merge "Remove enum logic from callers of requestbugreport()"
2019-09-23 17:10:51 +00:00
Raff Tsai
ac3e0d0988
Directly use BaseIndexableProvider
...
- Add function getXmlResourceId, Fragments don't need to write
xml resource id twice.
- Remove getPreferenceControllers from Indexable.java. Because it will
move to SettingsLib later for other apps which don't need this function
Bug: 135053028
Test: robolectric
Change-Id: I1e74519aecdea3dde64a5aea79f08d766dbc0003
2019-09-24 00:35:52 +08:00
TreeHugger Robot
5ff9517f23
Merge "Developer option off must not affect laser sensor"
2019-09-23 15:07:13 +00:00
Abhijeet Kaur
d7e44c7b3a
Remove enum logic from callers of requestbugreport()
...
Make callers use wrapper functions in ActivityManagerService.java.
The code to send broadcast to trigger API workflow (after checking the API
flag) is added in requestBugreport() in ActivityManagerService.java.
Remove that logic from this file.
Bug: 137825297
Bug: 141355059
Test: builds and full/interactive bugreports work as expected
Change-Id: Ibc305e4aca7d38fd4878b60f3f7f8c3274719c13
2019-09-23 13:47:20 +00:00
Sunny Shao
2c4827be08
Use FooterPreference in xml to replace the header
...
Fixes: 141450664
Test: manual test
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.enterprise
Change-Id: Ia6ec0e363b9a472ff104ffbc529856a21840af27
2019-09-23 17:29:06 +08:00
TreeHugger Robot
93343d0ccd
Merge "Add search key word for Profile HWUI rendering"
2019-09-23 07:08:42 +00:00
TreeHugger Robot
506097f981
Merge "Show "Display over other apps" in search"
2019-09-23 07:00:49 +00:00
Tsung-Mao Fang
a257ca8a07
Add search key word for Profile HWUI rendering
...
Test: Rebuild, and see the search result
Fixes: 141096384
Change-Id: Ic25eb9f4b7bbffd33323eabbb80092d620d8da17
2019-09-23 14:06:37 +08:00
Tsung-Mao Fang
fcefb143f3
Show "Display over other apps" in search
...
Since there're same two keys in settings app,
search indexes this preference fail.
Test: Rebuild, and see search result again.
Bug: 141096384
Change-Id: I8b1edfe1728b44d98d59ba2e790b29e33901308a
2019-09-23 13:44:51 +08:00
Yi-Ling Chuang
fe790ec76d
Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc
am: 8d8c3e19b5
am: b26711944b
...
am: 3b8a14e86f
Change-Id: I97bcdc54f908db6f5895d99f284ee24fb4015433
2019-09-22 20:23:28 -07:00
Yi-Ling Chuang
3b8a14e86f
Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc
am: 8d8c3e19b5
...
am: b26711944b
Change-Id: I0edf1eff42cf54e644e60a11ba97219c38891e93
2019-09-22 20:16:25 -07:00
Yi-Ling Chuang
b26711944b
Merge "Enable dismissal feature on legacy suggestions." am: ee39335edc
...
am: 8d8c3e19b5
Change-Id: I8fae05f98c2ad04e0d7fba7a2aa409c08f781c0b
2019-09-22 20:09:51 -07:00
Yi-Ling Chuang
8d8c3e19b5
Merge "Enable dismissal feature on legacy suggestions."
...
am: ee39335edc
Change-Id: Ibce2403de032bd3d7fce750f6cd80191a8b14441
2019-09-22 20:03:21 -07:00
Treehugger Robot
ee39335edc
Merge "Enable dismissal feature on legacy suggestions."
2019-09-23 02:45:25 +00:00
Arc Wang
44fa9d579d
[Wi-Fi] Improve UX when there is no user certificate to choose for WPA-Enterprise 192-bit
...
Show error message when a user does not specify a user certificate
for WPA3-Enterprise 192-bit.
Bug: 138417816
Test: visual
Change-Id: Ifc519d484dbf78dad37ad7047e8b9bb40685d54c
2019-09-23 09:39:20 +08:00
Bill Yi
c6ef1edddc
Merge "[automerger skipped] Import translations. DO NOT MERGE am: 73915b77ed
-s ours am: cbfc75bb00
-s ours
...
am: df8a9839fc
-s ours
am skip reason: subject contains skip directive
Change-Id: I7e3017dd68cf06822a7e971a48f3fd271a6ebae2
2019-09-22 13:14:15 -07:00
Bill Yi
ddb955319f
[automerger skipped] Import translations. DO NOT MERGE am: 73915b77ed
-s ours am: 99f04da5dc
-s ours
...
am: 66d00b68c6
-s ours
am skip reason: subject contains skip directive
Change-Id: I0eded95e9433b1779cecc3016fe880e9b567465b
2019-09-22 13:08:45 -07:00
Bill Yi
b6cd94472d
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev am: 59e1c0a768
-s ours
...
am: f5e74d30d6
-s ours
am skip reason: subject contains skip directive
Change-Id: Iedf4b71e4cc4b2f81145cb2219c2413fb70412d7
2019-09-22 13:08:04 -07:00
Android Build Merger (Role)
df8a9839fc
Merge "[automerger skipped] Import translations. DO NOT MERGE am: 73915b77ed
-s ours am: cbfc75bb00
-s ours am skip reason: subject contains skip directive" into qt-qpr1-dev-plus-aosp
2019-09-22 19:59:59 +00:00
Bill Yi
66d00b68c6
[automerger skipped] Import translations. DO NOT MERGE am: 73915b77ed
-s ours
...
am: 99f04da5dc
-s ours
am skip reason: subject contains skip directive
Change-Id: I6f6945b78fd9a192c61d03a0741f62e7ea93fdcb
2019-09-22 12:59:44 -07:00
Bill Yi
85533dc3e2
[automerger skipped] Import translations. DO NOT MERGE am: 73915b77ed
-s ours
...
am: cbfc75bb00
-s ours
am skip reason: subject contains skip directive
Change-Id: I93d10d5ed7938c69b3b26c3b22d9d56ebc03f6ed
2019-09-22 12:59:44 -07:00
Bill Yi
f5e74d30d6
[automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-qpr1-dev
...
am: 59e1c0a768
-s ours
am skip reason: subject contains skip directive
Change-Id: Iaf1cc92e717e2a7cdada89267ee6b5f3cc55a5b0
2019-09-22 12:54:00 -07: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
Bill Yi
cbfc75bb00
[automerger skipped] Import translations. DO NOT MERGE
...
am: 73915b77ed
-s ours
am skip reason: subject contains skip directive
Change-Id: I31f45d935e2c9a13feb71186730b99fffc102c9b
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
Bill Yi
73915b77ed
Import translations. DO NOT MERGE
...
Change-Id: Ib6e2dcd3084a0399fec672c4fff3a51e8dd0d195
Auto-generated-cl: translation import
2019-09-22 07:38:24 -07:00
Edgar Wang
b355d935f3
Merge "Handle Aware sensor status for Always On" into qt-qpr1-dev am: 07ea1dc815
...
am: 18839c1fbc
Change-Id: Ief79ab0c23790d60650f1f6375c794a20872a8b1
2019-09-21 02:14:54 -07:00
Edgar Wang
18839c1fbc
Merge "Handle Aware sensor status for Always On" into qt-qpr1-dev
...
am: 07ea1dc815
Change-Id: Ia7f62e46c3c9d7c9b7a55686be911891764ff75d
2019-09-21 02:07:52 -07:00