Commit Graph

50837 Commits

Author SHA1 Message Date
Yanting Yang
2585d27573 Merge "Add condition to ignore invalid packages in NotificationChannelSlice" 2019-03-28 13:01:47 +00:00
TreeHugger Robot
8f7eada87a Merge "Add implementation of homepage swipe to dismiss." 2019-03-28 10:36:24 +00:00
Yi-Ling Chuang
ab0bc669ae Add prepainting background while swiping to dismiss.
When users swipe the card, they will see a pre-painted background.
The dismissal view will appear in only after the swipe.

Bug: 126214056
Test: visual
Change-Id: I0eb308700cda2e6d72c718f3057775d3620267cd
2019-03-28 18:35:52 +08:00
Yanting Yang
b1d846cbbd Add condition to ignore invalid packages in NotificationChannelSlice
If all displayable notification channels of package are turned off,
stop showing notification channel slice of package.

Bug: 124480122
Test: robotests
Change-Id: I3ce9ebc4cca18dac3b4b6f15c28c697b72df81e3
2019-03-28 18:01:11 +08:00
TreeHugger Robot
d54c74eb65 Merge "Fix navigation back problem from Assist app" 2019-03-28 09:21:24 +00:00
Yanting Yang
7bac003389 Merge "Remove additional divider from Battery settings" 2019-03-28 08:49:43 +00:00
TreeHugger Robot
0ba7a5fd2f Merge "Add search index into WallpaperSuggestionActivity" 2019-03-28 08:38:31 +00:00
Yanting Yang
87c7f56d35 Fix navigation back problem from Assist app
Fixes: 127907113
Test: visual
Change-Id: I07196ee9f92f9d84fa75eb32cb6564b362f1293d
2019-03-28 15:18:40 +08:00
TreeHugger Robot
a5753643c3 Merge "Make "Advanced" show in Apps & notifications screen" 2019-03-28 07:10:30 +00:00
cosmohsieh
e4b3844d0b Show "Disconnect" on forget button for ephemeral network
For app or carrier initiated wifi connections (i.e all "ephemeral networks"),
the detailed page of settings should show "Disconnect" instead of "Forget".

Bug: 123892605
Test: atest WifiDetailPreferenceControllerTest
Change-Id: I1ee7f45ea12fe2ab9ca35cab77de0b1d67efc1db
2019-03-28 14:35:42 +08:00
Sunny Shao
61aaed450e Add search index into WallpaperSuggestionActivity
.Use the Indexable interface for WallpaperSuggestionActivity and implement the getRawDataToIndex
.Remove the search index in the WallpaperTypeSettings
.Add full class name of the WallpaperTypeSettings into grandfather_not_implementing_index_provider

Bug: 63117104
Test: robotest & Manual View
Change-Id: I73f43e4996efbe857d74df297ea0d08eb1b640ac
2019-03-28 14:30:12 +08:00
Yanting Yang
69b6e0af77 Remove additional divider from Battery settings
Fixes: 129351013
Test: visual
Change-Id: I586ecdfeb82104ea35842bb12a2c90c29cca70ae
2019-03-28 14:29:56 +08:00
TreeHugger Robot
7c49d1505f Merge "Use explicit intent to broadcast grayscale state changed" 2019-03-28 05:34:59 +00:00
TreeHugger Robot
db1c8a5fed Merge "Update battery saver schedule to show warning" 2019-03-28 04:04:03 +00:00
Yi-Ling Chuang
eeea6676d4 Add implementation of homepage swipe to dismiss.
- Only enable swipe for slice full/half card.
- Add isPendingDismiss in ContextualCard to determine if we should show
dismissal view.
- Take out long press feature.

Bug: 126214056
Test: robotests
Change-Id: Ib03e605347b2f50d3c62fcd4f95875a21cc9ef1c
2019-03-28 11:59:45 +08:00
Pasty Chang
dee673b0d7 Merge "Copy extra of suw flow to the intent of lock screen pages" 2019-03-28 03:03:09 +00:00
TreeHugger Robot
bab3bf6f22 Merge "Update "Time spent in app" to "Screen time"" 2019-03-28 02:16:23 +00:00
Mill Chen
2ef3dacad8 Use explicit intent to broadcast grayscale state changed
Query PackageManager for receivers that can handle the intent and send
an explicit intent to these receivers.

Change-Id: I06f500c20ae0a20d689cf0805b6a82247ea55e73
Fix: 118387886
Test: robotests
2019-03-27 18:47:19 -07:00
Hugh Chen
7b770d6a87 Merge "[Fix] Unable to show output device indicator after reboot" 2019-03-28 01:39:52 +00:00
Salvador Martinez
194abe94d0 Update dark mode in accessiblity settings
There was an entry point to dark mode that wasn't updated when the
display settings one was changed to point to a new screen. This
change makes it so that clicking dark mode in accessiblity also
opens the same screen.

Test: robotests pass
Bug: 129406772
Change-Id: I0ad830638e04e5520cdf7de6927764fa6b68a179
2019-03-27 18:29:40 -07:00
Qingxi Li
37d83e57be [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: d3527bf14b -s ours
am skip reason: subject contains skip directive

Change-Id: Id75f561075c68e4c59c3526768e016bafc265065
2019-03-27 18:10:10 -07:00
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