Commit Graph

52143 Commits

Author SHA1 Message Date
Bill Yi
9bf005fdd6 Import translations. DO NOT MERGE
Change-Id: Id157de3373711c5fd83eaac91c83eefa3f417319
Auto-generated-cl: translation import
2019-04-26 21:08:36 -07:00
Kevin Chang
22133806a2 Merge "Change the string of Captions and reorder the feature in audio category" 2019-04-27 02:38:02 +00:00
TreeHugger Robot
d464f67e31 Merge "Add a gap in the ordering for phone numbers." into qt-dev 2019-04-26 23:00:39 +00:00
TreeHugger Robot
06da2980a0 Merge "Remove empty MNC filtering when retrieving available subscriptions" into qt-dev 2019-04-26 22:34:27 +00:00
Andrew Sapperstein
10cfaa0b7e Add a gap in the ordering for phone numbers.
Previously there was no gap which caused the second phone number to show below
Emergency info.

Fixes: 131378898
Test: visual inspection
Change-Id: If98d3442562d44f65a6e5ce896b71ee093d8616c
2019-04-26 14:00:53 -07:00
Antony Sargent
972bf437f6 Remove empty MNC filtering when retrieving available subscriptions
During the early phase of work on DSDS, we found that a hacky solution
to seeing duplicate subscriptions that are part of a logical group (eg
Google Fi) was to filter out the entries with empty MNC strings. It
turns out this breaks things for some legitimate eSIM subsctiptions, and
isn't needed anymore because of the fixes that landed for b/127833821.

Fixes: 130706446
Test: make RunSettingsRoboTests
Change-Id: Ic4472c1de3c3e2449139b3e2ffb20d11a0058e8a
2019-04-26 13:45:53 -07:00
Andrew Sapperstein
655e2e55e9 Merge "Remove "data usage" from search." into qt-dev 2019-04-26 20:28:06 +00:00
Andrew Sapperstein
067332ca9e Merge "Move SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity." into qt-dev 2019-04-26 20:27:01 +00:00
TreeHugger Robot
f9fd3b9e17 Merge "Fix toggle button is enabled state but can't click" into qt-dev 2019-04-26 20:00:48 +00:00
Fan Zhang
4fe327858f Merge "Fix incorrect mapping to get subscriptioninfo" into qt-dev 2019-04-26 19:57:09 +00:00
Andrew Sapperstein
c65ccd23b4 Move SIM_SUB_INFO_SETTINGS to NetworkDashboardActivity.
Remove the entry point for SimSettings and redirect any intents to the new UI.

Filed b/131324863 to track deleting the code.

Fixes: 128859223
Bug: 131324863
Test: adb shell am start -a com.android.settings.sim.SIM_SUB_INFO_SETTINGS
shows main connectivity screens

Change-Id: I4a4ed5c34d231eaab929a923c7fcbbfc1e0ed6f3
2019-04-26 12:01:42 -07:00
Andrew Sapperstein
62a68d6edb Remove "data usage" from search.
Fixes: 131324402
Test: verified manually
Change-Id: Ib72902c3eaa1f2427e9c1c835ba2939f28cf7a0d
2019-04-26 10:23:02 -07:00
Fan Zhang
f61db6e9d7 Fix incorrect mapping to get subscriptioninfo
getActiveSubscriptionInfoList() returns a list of active subscription.
It doesn't 1:1 mapping with slotId. So it is not correct to use slotId
as index to get subscriptioninfo from list.
Use framework interface getActiveSubscriptionInfoForSimSlotIndex() to
get subscriptioninfo per slotid instead.

Fixes: 129038597
Test: robotest
Change-Id: If4277c425e6145e0e3ba716551d0dce46cdb61ab
2019-04-26 10:07:07 -07:00
Lei Yu
1a66d9b22f Merge "Hide number label if info is opportunistic" into qt-dev 2019-04-26 16:54:02 +00:00
Andy Chou
8c16ef2906 Merge "Avoid IMEI overrided by getSummary() for dual SIM condition" into qt-dev 2019-04-26 15:04:25 +00:00
Chandan Nath
2f2a3c4055 Merge "Always show backup settings (even if backup is deactivated)." into qt-dev 2019-04-26 08:14:53 +00:00
Kevin Chang
23c53ad504 Change the string of Captions and reorder the feature in audio category
Bug: 128887817
Test: Visual
Change-Id: I4bcde9c52b4ed3484727e79758ef37f4b05a209d
2019-04-26 09:42:46 +08:00
andychou
7c89a929c4 Avoid IMEI overrided by getSummary() for dual SIM condition
IMEI information will be overrided by getSummary() and cause second slot IMEI is
oerrided by first slot.
Avoid IMEI is override by first slot information.

Bug: 131124169
Test: Test with dual SIM device and atest
ImeiInfoPreferenceControllerTest, ImeiInfoDialogControllerTest pass

Change-Id: Ia0a028aa0103867f42fff610129cf7ce2d3910b7
2019-04-26 09:31:43 +08:00
TreeHugger Robot
668edcfb95 Merge "Fix media output slice is empty even BT device is paired" into qt-dev 2019-04-26 00:46:48 +00:00
Leon Liao
4824f3a7c5 Merge "Replace the placeholder animation." 2019-04-25 23:05:07 +00:00
TreeHugger Robot
80be930357 Merge "Add timestamp to recent used apps" into qt-dev 2019-04-25 22:54:20 +00:00
Kevin Chyn
8888d346d1 Merge changes I74d677dc,I17f4db85 into qt-dev
* changes:
  Only gray out remove button after positive button is pressed
  Check PackageManager before getting system service
2019-04-25 22:48:02 +00:00
Lei Yu
7e9ef34112 Hide number label if info is opportunistic
Fixes: 125855323
Test: RunSettingsRoboTests
Change-Id: I6f77d65691319097c9bf56232710ba12fa7360f3
2019-04-25 14:56:59 -07:00
Lei Yu
30991963e4 Merge "Update color filter for battery saver mode" into qt-dev 2019-04-25 21:42:56 +00:00
TreeHugger Robot
d414c64dc3 Merge "Include always ask button in SIM picker dialog" into qt-dev 2019-04-25 21:02:13 +00:00
TreeHugger Robot
3825e09706 Merge "Add keywords for battery saver schedule" into qt-dev 2019-04-25 21:00:28 +00:00
TreeHugger Robot
7e4cd25d9d Merge "ANR observed under settings when trying to reset network settings" 2019-04-25 20:03:34 +00:00
Lifu Tang
c359536d0b Add timestamp to recent used apps
Bug: 129354132
Test: build, flash, and test manually
Change-Id: If8e657460da45db019633e95e77dffb1493997c0
2019-04-25 12:47:42 -07:00
TreeHugger Robot
1eb92917c9 Merge "Fix broken dark ui test" into qt-dev 2019-04-25 19:25:30 +00:00
Kevin Chyn
f19fb6fa46 Only gray out remove button after positive button is pressed
Fixes: 131252811

Test: manual
Change-Id: I74d677dc5608b21045b148020a13d5ea5c1bde20
2019-04-25 12:21:29 -07:00
Kevin Chyn
acc340d615 Check PackageManager before getting system service
Fixes: 131285189

Test: manual
Change-Id: I17f4db85afc5969c58a0a08667ef05786302712b
2019-04-25 12:17:26 -07:00
Salvador Martinez
5829b56657 Add keywords for battery saver schedule
We forgot to add keywords to battery saver schedule so that it
would show up in search. This simply adds the string and the
appropriate keywords for it.

Test: manual (keywords result in search results)
Bug: 129984960
Change-Id: I94983fed6a6236f4d8cee3fb19c841822fd507e2
2019-04-25 11:13:46 -07:00
TreeHugger Robot
c7564be562 Merge "Improve the latency of NotificationChannelSlice" into qt-dev 2019-04-25 17:31:16 +00:00
Salvador Martinez
b0737ee174 Fix broken dark ui test
It was checking something in shared preferences which seems
to have stopped working (a bunch of the stuff used in the
test is deprecated). This CL just has it verify that
updateDarkTheme() is called when appropriate since that
is all we really care about.

Test: is a test
Bug: 130897882
Change-Id: If3286dd91b5a95cb0f41cac619a11a9089e0aecf
2019-04-25 10:25:15 -07:00
Salvador Martinez
b96e56b16e Merge "Update BatteryUtils to update system battery estimate cache" into qt-dev 2019-04-25 17:23:28 +00:00
Bill Yi
7887a17e8f [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 59ed4712ed -s ours
am: f84aea737c -s ours
am skip reason: subject contains skip directive

Change-Id: I461e1d16e62102a7ec0eb6216203b97c0789a0dc
2019-04-25 08:59:29 -07:00
Bill Yi
f84aea737c [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 59ed4712ed -s ours
am skip reason: subject contains skip directive

Change-Id: I41eb835be22037c6764ac50533bd178f8b95f26f
2019-04-25 08:49:00 -07:00
TreeHugger Robot
59ed4712ed Merge "Import translations. DO NOT MERGE" into qt-dev 2019-04-25 14:57:13 +00:00
Edgar Wang
108e21f78c Merge "Add Wifi-calling summary for search result" into qt-dev am: 0bb1590594
am: 37c2d32f22

Change-Id: I7fadcbe83b4deda09448d5e40b1b26edf368c9cf
2019-04-25 04:56:16 -07:00
Edgar Wang
37c2d32f22 Merge "Add Wifi-calling summary for search result" into qt-dev
am: 0bb1590594

Change-Id: I2b965a83ba504b8e331b99721a605cda696e85ec
2019-04-25 04:51:49 -07:00
TreeHugger Robot
0bb1590594 Merge "Add Wifi-calling summary for search result" into qt-dev 2019-04-25 10:53:22 +00:00
Pasty Chang
7dfb0f3df9 Merge "Update the fingerprint skip dialog" into qt-dev am: d6f9ec122d
am: 6c43c5a924

Change-Id: Id63a4942c83ac2d82c0b07256d1ffa9dfac6f68a
2019-04-25 02:27:21 -07:00
Pasty Chang
ec26d4e55c Merge "Change to show generic lock screen before setup fingerprint or face" into qt-dev am: 393492438b
am: bd758f8126

Change-Id: I8d4404796e4e5e0565546678c894da2319853717
2019-04-25 02:26:36 -07:00
Pasty Chang
6c43c5a924 Merge "Update the fingerprint skip dialog" into qt-dev
am: d6f9ec122d

Change-Id: I0484722780e03a3e84a00bdc8a988cfb4e61467f
2019-04-25 02:17:09 -07:00
Pasty Chang
bd758f8126 Merge "Change to show generic lock screen before setup fingerprint or face" into qt-dev
am: 393492438b

Change-Id: I1fa9ef561d0b90588b5d6817360cadf004cb6010
2019-04-25 02:16:00 -07:00
clownshen
0d5928f6f1 Show "Disconnected" instead of "Saved" in detail page summary
To improve UX, show summary as "Disconnected" is more make sense to end
user instead of "Saved" in detail page, it's decision-maker to click
connect button.

Bug: 131119614
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest

Change-Id: I26ea0c566daab6214a596509f972005fd37fab4d
2019-04-25 08:15:13 +00:00
Linda Tseng
63d5209bce Merge "Make panel support dark mode" into qt-dev am: 395cad3888
am: f55d2a0bdc

Change-Id: I0d93233751b66f54dddf3ff03df53b6e7ddd89e7
2019-04-25 00:37:04 -07:00
joshmccloskey
7fd731f8a1 Merge "Fixed Infinite loop method call." into qt-dev am: 6cee809841
am: c397945810

Change-Id: I3f3183284cfd6ae6f147e6c1495196c485a52976
2019-04-25 00:36:10 -07:00
Clown SHEN
5ea8dd1386 Merge "Fix NPE when connect timeout" into qt-dev am: 05e680d3c8
am: 2cd35901f6

Change-Id: If076ec0c2a30e146118bf89fa67092a8280d9143
2019-04-25 00:35:24 -07:00
Julia Reynolds
316e05d7ae Merge "Add bubbles animation" into qt-dev am: 703e6aa092
am: 6a94df453d

Change-Id: I87ee74f39362ddd1464709ed37cebf6fa431918d
2019-04-25 00:34:38 -07:00