Commit Graph

51937 Commits

Author SHA1 Message Date
TreeHugger Robot
06da2980a0 Merge "Remove empty MNC filtering when retrieving available subscriptions" into qt-dev 2019-04-26 22:34:27 +00:00
Lifu Tang
d3a6d5e860 Update location app stats
- Count apps in both primary and work profiles
- Show the number of any location permitted app instead of background
  allowed apps on Location settings page
- Update the text at the top-level settings page

Bug: 129296799
Bug: 129358133
Bug: 129358508
Bug: 131432116
Test: build, flash, and test manually
Change-Id: I1a4284257a8a284140b81685efc98a2cc4a74619
2019-04-26 15:05:06 -07: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
Sunny Shao
238928dea2 Show mobile data slice in Search even no SIM card
- return slice like in airplan mode when mobile data disabled in the getSlice
  of the MobileDataSlice
- replace CONDITIONALLY_UNAVAILABLE by DISABLED_DEPENDENT_SETTING in the
  getAvailabilityStatus of the MobileDataPreferenceController
- remove the duplicated mobile data item by update data_usage_cellular.xml

Fixes: 130650621
Test: robotest
Change-Id: I42c0983c27d4edb17fcdce7ca386023911254d2d
2019-04-26 14:44:55 +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
078134cb16 Replace the placeholder animation.
Update the placeholder animation in Accessibility Settings
'Time to read' and 'Time to take action'.

Bug: 119283926
Bug: 129090045
Test: Screenshot | RunSettingsRoboTests
Change-Id: I215facd35cb3b9d0fc90a5e267368de2edddf0dc
2019-04-26 08:38:53 +08: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
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
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
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
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
f55d2a0bdc Merge "Make panel support dark mode" into qt-dev
am: 395cad3888

Change-Id: Ifc2fd430725ddcd96273123925aa78452214dd32
2019-04-25 00:19:26 -07:00
joshmccloskey
c397945810 Merge "Fixed Infinite loop method call." into qt-dev
am: 6cee809841

Change-Id: I0d5bd71d683bc62c12cde41e61c9c5295569bfec
2019-04-25 00:18:04 -07:00
Clown SHEN
2cd35901f6 Merge "Fix NPE when connect timeout" into qt-dev
am: 05e680d3c8

Change-Id: I07678d8119d7f8f3d9d53998115612113bbbcfb8
2019-04-25 00:17:19 -07:00
Julia Reynolds
6a94df453d Merge "Add bubbles animation" into qt-dev
am: 703e6aa092

Change-Id: I6421e2caf578ca0cb968fc03bf28b8b9a879b5ca
2019-04-25 00:16:32 -07:00
Andrew Sapperstein
69fde85537 Merge "Update "ask every time" asset." into qt-dev
am: 30859ac832

Change-Id: I5479181f38b75ad5b23ca8c9605baf36f681826b
2019-04-25 00:15:45 -07:00
Fan Zhang
3a5dd82969 Merge "Remove disable mobile data confirm dialog for single sim." into qt-dev
am: c78e4d1e0f

Change-Id: I10e0331a85f7bb1626639896ecca7a445855dcac
2019-04-25 00:14:59 -07:00
Lei Yu
70f7a64133 Merge "Fix issue in panel logging" into qt-dev
am: 2b60204dba

Change-Id: I6561852b672e29f5aaddd2ef242e59698e1e2b6c
2019-04-25 00:14:09 -07:00
Fan Zhang
7be1bcf26c Merge "Fix incorrect mapping to get subscriptioninfo" into qt-dev
am: 9fa82a370b

Change-Id: If9af81bfa4d99eee0b211b7216b3ca9d1baa66f2
2019-04-25 00:13:10 -07:00
Antony Sargent
d6209877b1 Merge "Implement off state for SIM details page" into qt-dev
am: 62d580d5b4

Change-Id: I37c513eb170667c6729b6a94a7788f24229dcf5a
2019-04-25 00:12:19 -07:00
Mill Chen
22a0a950f0 Merge "Update dialog background color for dark theme" into qt-dev
am: 235387c4f1

Change-Id: I3ee2f7e1c674efbc0caaa1a0ae36fe66f197f86e
2019-04-25 00:11:08 -07:00
tmfang
6aa2c1a65f Merge "Fix CTS issue on PRIVACY_SETTINGS" into qt-dev
am: ab3f4062d1

Change-Id: I6f7a0fcbc80770ce66eb82fbf9054ae818145435
2019-04-25 00:10:18 -07:00