Commit Graph

50866 Commits

Author SHA1 Message Date
Qingxi Li
d3527bf14b [automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" am: bdef91f964 -s ours
am: bd5f4328f5 -s ours
am skip reason: subject contains skip directive

Change-Id: I23f3800d8bd6432c7aa9a59ae7cee29e73c7c834
2019-03-27 17:56:15 -07:00
TreeHugger Robot
e5f8b74f38 Merge "Log RecyclerView click position" 2019-03-28 00:55:18 +00:00
Malcolm Chen
a05e6f8182 Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED.
Correct name of PRIMARY_SUBSCRIPTION_LIST_CHANGED in manifest.
Also, make sure SimSelectNotification only listens to that intent.

Bug: 128645056
Test: manual
Change-Id: I008e5346ff1e015d1aa57ca31844426e33bd99b8
2019-03-27 17:53:22 -07:00
Qingxi Li
bd5f4328f5 [automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"
am: bdef91f964 -s ours
am skip reason: subject contains skip directive

Change-Id: I362517c36ff77b36336fcc52a684dd29b50bab94
2019-03-27 17:46:52 -07:00
Salvador Martinez
c4d86b081b Update battery saver schedule to show warning
If a user tries to enable a battery saver schedule we want
to show them the battery saver warning if they haven't seen it.
This CL does that.

Test: robotests pass, manual verification
Bug: 128924009
Change-Id: I683279716ac7700043b1a01f88bdf2ae716eeece
2019-03-27 17:40:23 -07:00
Mill Chen
14847a27eb Make "Advanced" show in Apps & notifications screen
Reducing the number of initialExpandedChildrenCount to 3 will make
everything under "Default apps" be under "Advanced".

Fixes: 129284718
Test: visual, rebuild
Change-Id: I540385c514f6e8bf005e90e9ed4a9f93a2e983d5
2019-03-27 17:39:22 -07:00
TreeHugger Robot
08dba1720e Merge "Revert "Remove advanced button from location settings"" 2019-03-28 00:38:18 +00:00
Treehugger Robot
bdef91f964 Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" 2019-03-28 00:27:30 +00:00
TreeHugger Robot
15b6fbdc71 Merge "Add a string for prompting which SIM to use for SMS" 2019-03-28 00:16:17 +00:00
Qingxi Li
6f096fd706 [DO NOT MERGE] Fix the typo of the error message of eSIM reset
Bug: 129085179
Test: N/A
Change-Id: Iad8fdc7368a4d91aff9eb3035bfe91592d6bce1b
2019-03-27 23:32:28 +00:00
Fan Zhang
7771fa5a95 Revert "Remove advanced button from location settings"
This reverts commit c7cef5ee43.

Reason for revert: b/124059127

Change-Id: I34e788f6959b94f27b4e25f1ca925777acb9a1d0
2019-03-27 23:15:32 +00:00
Raff Tsai
682763974d Log RecyclerView click position
Test: rebuild, robolectric
Fixes: 127881281
Change-Id: Idddbbf9c1159e0e5b280178e98f9258cbd7864f9
2019-03-28 07:04:50 +08:00
TreeHugger Robot
10001060e7 Merge "Check wfc roaming config when read" 2019-03-27 22:55:43 +00:00
TreeHugger Robot
3009077110 Merge "Add an intent for launching mobile network list" 2019-03-27 22:49:54 +00:00
TreeHugger Robot
f4bc45077e Merge "Optimize latency of NotificationChannelSlice" 2019-03-27 22:37:40 +00:00
Quang Luong
d832dcc7c5 Disable Mac randomization setting for Passpoint networks
Mac randomization setting should be greyed out in the network
details page for Passpoint networks.

Bug: 129279500
Test: atest WifiPrivacyPreferenceControllerTest
Change-Id: I4fc89ddbca839c4859f11f8fad212b3e0e4aa7ce
2019-03-27 15:28:34 -07:00
Fan Zhang
b0a01f2172 Update "Time spent in app" to "Screen time"
Bug: 129266977
Test: manual
Change-Id: I2a26dfb8c36ba00a73c69b5e7a7333bf20a83224
2019-03-27 15:24:40 -07:00
Antony Sargent
47113af719 Add a string for prompting which SIM to use for SMS
In some multi-SIM cases the telephony stack will fire an intent that
Settings listens for, specifying that Settings should present a dialog
to the user asking them which SIM card they want to use for various
services such as Data, Calls, and SMS. The string we were using for SMS
was a general "Select SIM card". This CL adds a more specific one that
should make more sense to the user.

Bug: 129021763
Test: make Settings
Change-Id: I8c422a7e6de3ffd1255bc7b4124d9a1be6adf633
2019-03-27 15:17:07 -07:00
Quang Luong
3c2c658791 Added null pointer check for mWifiConfig.macRandomizationSetting
Without the null pointer check, a passpoint network in the saved
networks page will throw a NullPointerException since there is no
config associated with it.

Bug: 129422562
Test: manual
Change-Id: I4a085a16c4181b7bdfe46c279e579d34ba314d81
2019-03-27 14:53:09 -07:00
TreeHugger Robot
5e1f97ffb6 Merge "[Passpointv2] Fix Network detail page title" 2019-03-27 21:00:17 +00:00
Fan Zhang
0a83cd82a1 Merge "exit app info page if app is a hidden system module." 2019-03-27 19:50:41 +00:00
TreeHugger Robot
cb79edf72d Merge "Address API council comments." 2019-03-27 19:43:36 +00:00
Fan Zhang
d646ad7778 exit app info page if app is a hidden system module.
Fixes: 120546598
Test: robotest
Change-Id: I763ce9d65904e2b0c2a6144776c42881a1269c52
2019-03-27 12:39:10 -07:00
Tarandeep Singh
d94d72a16c Merge "Fix dupicate preference in personal dict" 2019-03-27 18:15:04 +00:00
Maurice Lam
db24af6325 Merge "Fix fingerprint icon on pattern screen" 2019-03-27 18:00:27 +00:00
Lei Yu
1d4362f9f0 Merge "Update CodeInspectionTest" 2019-03-27 17:55:51 +00:00
Youming Ye
f9c68dc980 Check wfc roaming config when read
Bug: 127913488
Test: Build
Change-Id: I0a3e8d3f4bc0590f12085f5963892a1d8278efdc
2019-03-27 10:23:15 -07:00
TreeHugger Robot
533d8b6b9d Merge "Change the permission bar chart to use the new design" 2019-03-27 17:07:49 +00:00
Antony Sargent
94d9790fc9 Add an intent for launching mobile network list
In various cases when a user has rebooted their device to enable DSDS
mode, the eSIM manager app needs to be able to post a notification that
on tapping will lead the user to the list of configured SIMs (mobile
networks) so that they can they manage things like which one is the
default for calls, SMS, and data.

Bug: 129281152
Test: 'adb shell am start -a android.settings.MOBILE_NETWORK_LIST'
should launch the list of mobile networks available on the device

Change-Id: Ie94d937c803fb5ade09084f2c994cfff888d8aa7
2019-03-27 09:57:57 -07:00
Fan Zhang
6f3ed8dbd7 Merge "Skip lifecycle if controller is not available" 2019-03-27 16:54:28 +00:00
Julia Reynolds
ca974ae0f4 Launch correct tone picker for audio attributes
Test: robotests
Fixes: 129353516
Change-Id: Iacbf5008f186e59377e534da747544d33a20f81f
2019-03-27 15:22:53 +00:00
Clown SHEN
dd295676c6 Merge "Fix broken test in WifiDetailPreferenceControllerTest" 2019-03-27 14:04:10 +00:00
TreeHugger Robot
ade1e095e7 Merge "List reachable access points on top of the list in WifiNetworkListFragment" 2019-03-27 12:17:23 +00:00
Pasty Chang
a71dfa5ac2 Merge "Set attribute sucUsePartnerResource" 2019-03-27 12:07:40 +00:00
TreeHugger Robot
6fae9e1a32 Merge "Add heap dump options to Developer options." 2019-03-27 12:05:16 +00:00
Pasty Chang
d606815585 Merge "Apply a11y screen to glif layout" 2019-03-27 10:03:16 +00:00
cosmohsieh
2213816720 [Passpointv2] Fix Network detail page title
Sets original detail title if the chart header feautre on detail page don't
enable.

Bug: 128569047
Test: manual
Change-Id: I43a7b1bd11294b34b39b46e0d8f63a844af1585e
2019-03-27 09:43:45 +00:00
Clown SHEN
bf5c7c362f Merge "Provide connect button in Wi-Fi detail page" 2019-03-27 08:44:51 +00:00
TreeHugger Robot
f11c4c242a Merge "Change icons for disable and enable button" 2019-03-27 08:06:33 +00:00
Arc Wang
b661549b81 List reachable access points on top of the list in WifiNetworkListFragment
Bug: 128942314
Test: manual
Change-Id: I036bf09c066da3a68d6e2fc4685313ccf16bff03
2019-03-27 15:24:51 +08:00
clownshen
c085f18cf1 Fix broken test in WifiDetailPreferenceControllerTest
Bug: 129292549
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Idd8764425816b6851efd5cb716bc968e19b06ea0
2019-03-27 15:03:07 +08:00
Mill Chen
9ec418f4db Merge "Normalize the icons in Accessibility" 2019-03-27 06:34:50 +00:00
TreeHugger Robot
dd1a99eb62 Merge "Add interface for homepapge swipe to dismiss." 2019-03-27 06:21:26 +00:00
TreeHugger Robot
e7132a219e Merge "Tweak summary for privacy entry" 2019-03-27 05:51:15 +00:00
timhypeng
9afd28fcb4 [Fix] Unable to show output device indicator after reboot
- To fix the NPE in MediaOutputIndicatorWorker
- To get Bluetooth device status in Slice, not in Worker
- To purify Worker to be an event receiver

Bug: 128945026
Test: make -j42 RunSettingsRoboTests
Change-Id: I9360202870c7a43a79641c5b84210c1bfad4b9a6
2019-03-27 05:32:52 +00:00
clownshen
936f1f215e Provide connect button in Wi-Fi detail page
User can click connect button to connect this AP at the detail page even
the Wi-Fi disabled. Would turn on Wi-Fi if disabled and then connect to
this saved network.

Bug: 126503889
Test: atest and manual test
Change-Id: I313e290474d6623a6c3e84027e81d0d1ebf16919
2019-03-27 13:08:02 +08:00
Yi-Ling Chuang
5bf939e934 Add interface for homepapge swipe to dismiss.
- Create an ItemTouchHelper.
- Attach the helper to the recycler view.
- Pass change to the adapter to handle the swipe.

Bug: 126214056
Test: rebuild
Change-Id: I312ee1357158db84f9ee328be4722fe067984604
2019-03-27 11:20:49 +08:00
tmfang
ebf7b888d6 Change icons for disable and enable button
Test: visual
Fixes: 124116610
Change-Id: Ia300eeba36d853117699d3bec724373df2e354d3
2019-03-27 10:53:24 +08:00
TreeHugger Robot
dedeb2bd18 Merge "Update icons to use tint and vectors" 2019-03-27 02:45:40 +00:00
pastychang
d69b86a0ef Copy extra of suw flow to the intent of lock screen pages
Bug: 129323340
Test: atest
Change-Id: I3886c097bd49df9e1169f8004889f9af8c567560
2019-03-27 10:24:55 +08:00