Commit Graph

51498 Commits

Author SHA1 Message Date
Lei Yu
de3e40089d Override height of SliceView in Settings
Fixes: 129012281
Test: Manual
Change-Id: I99ad80ea03a52f4a9edc0a7532ad4a0f2d33779e
2019-04-09 13:38:45 -07:00
sj.cha
44191cc4b0 Merge "Fix code for NPE when click add and cancel repeatly VPN profile" am: 70cae1ce8d am: 2c0ba8b48e
am: 26412bb907

Change-Id: I88f6a19992c80342cd86d1ab031662a6e8824339
2019-04-09 13:29:09 -07:00
Lei Yu
72a162a17c Merge "Move bitmap recycle to onDestroy()" into qt-dev 2019-04-09 20:23:48 +00:00
TreeHugger Robot
125fe8ae9f Merge "Treat mcx apn type as not wild-cardable." into qt-dev 2019-04-09 20:18:03 +00:00
Raff Tsai
40976d461e Record all contextual card log to MetricsFeatureProvider
Use ContextualCardLogUtils to serialize contextual card event to
string, and records the string using regular MetricFeatureProvider
logging APIs.

Bug: 124701288
Test: Robolectric, integrating test with SettingsIntelligence
Change-Id: Ie139b4f4b8a2b0f0dcc4bb8df9bdec8f5fd824a6
2019-04-09 13:12:02 -07:00
Salvador Martinez
de28bc08f6 Update BS warning to follow through on action
The BS warning only had support for following through when a user
wanted to toggle battery saver. This also makes it so that if
the warning is shown for routines it will finish whatever action
it interrupted once confirmed.

Test: robotests pass, manual verification
Bug: 129696128
Change-Id: I2c34ed678b19d95f3c7d1094ab8f79cc0c23252e
2019-04-09 12:50:11 -07:00
Antony Sargent
bab7e3a3ee Merge "Use active instead of available subscriptions in 2 places" into qt-dev am: e4669acc91
am: f1129f72ef

Change-Id: Ie3a1be80a34e934669398e987ee83fdfb4385dab
2019-04-09 12:47:43 -07:00
sj.cha
26412bb907 Merge "Fix code for NPE when click add and cancel repeatly VPN profile" am: 70cae1ce8d
am: 2c0ba8b48e

Change-Id: I853372683440048c16141b0fb2b46bbc6f27e972
2019-04-09 11:44:05 -07:00
Antony Sargent
f1129f72ef Merge "Use active instead of available subscriptions in 2 places" into qt-dev
am: e4669acc91

Change-Id: Id0c2d5b231bdbcda06cd99172783f8c23df61401
2019-04-09 11:41:26 -07:00
Yi-Ling Chuang
ba4aed4897 Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev am: 8b3cde0fb1
am: 4b6479bcf7

Change-Id: I4f69ba0dca1521987f87cc918d5746157eb1b644
2019-04-09 11:33:24 -07:00
Antony Sargent
f5bc241627 Use helper method for determining whether eSIM is supported
It turns out to be more complicated than I had thought to determine if a
device should be considered to support eSIM. But the good news is that
we already had a helper method for this - this CL switches to using it
in some code for DSDS UI.

Fixes: 129061243
Test: make RunSettingsRoboTests
Change-Id: I41e500eb70b6c6b725c0ddf09fe1ca1a69df4563
2019-04-09 11:31:08 -07:00
Yi-Ling Chuang
3b53d2f98f Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev am: a31acac404
am: 2bb41176cf

Change-Id: I180a8b423fa9d9823418d8e462931a97a5f14f75
2019-04-09 11:24:18 -07:00
sj.cha
2c0ba8b48e Merge "Fix code for NPE when click add and cancel repeatly VPN profile"
am: 70cae1ce8d

Change-Id: Ie18c7977bb0c48ba5f9524130cbe6649f8840153
2019-04-09 11:20:55 -07:00
TreeHugger Robot
e4669acc91 Merge "Use active instead of available subscriptions in 2 places" into qt-dev 2019-04-09 18:01:30 +00:00
Yi-Ling Chuang
3cffcbacab Merge "Only enable feedback dialog in debuggable build." into qt-dev am: 3a9707b81a
am: e2aea6ffcd

Change-Id: I1303bd76cd6764781242993ab9a9e04ab6de943f
2019-04-09 10:48:54 -07:00
Treehugger Robot
70cae1ce8d Merge "Fix code for NPE when click add and cancel repeatly VPN profile" 2019-04-09 17:46:23 +00:00
Yi-Ling Chuang
4b6479bcf7 Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev
am: 8b3cde0fb1

Change-Id: Ia9747b66b6e5f4ed332d979fcf6ecbe692bc5180
2019-04-09 10:45:10 -07:00
Yi-Ling Chuang
2bb41176cf Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev
am: a31acac404

Change-Id: Ibf89f70e45518ff4b6a99a745949661715d2149e
2019-04-09 10:44:08 -07:00
Linda Tseng
3682bf3950 Merge "Fix panel slices title not updated when locale changed" into qt-dev am: 3ec5e76c86
am: 7b50cf0192

Change-Id: Iccf7e20ed68074c3590962f2d2e4649b2c834488
2019-04-09 10:41:37 -07:00
Jordan Liu
9bc2a584f6 Do not reuse phonestatelistener
Due to b/117555407, the same PhoneStateListener object can not be used
to register on different subIds, so we workaround this by recreating
the PhoneStateListener when reregistering.

Fixes: 129989656
Test: manual
Change-Id: I9d6631da628351511e285afeb5b6d4331aaab7e5
2019-04-09 10:31:41 -07:00
Amin Shaikh
2a9911e3a0 Show Styles & Wallpaper in Settings
Show "Styles & Wallpaper" in Settings based on whether the ThemePicker
component is availalable. Also update dashboard summary for display.

Bug: 129874298
Test: m RunSettingsRoboTests
Change-Id: Id7e0bb9cbc689bb9e637919a10a7d1006397afab
2019-04-09 13:25:57 -04:00
Yi-Ling Chuang
e2aea6ffcd Merge "Only enable feedback dialog in debuggable build." into qt-dev
am: 3a9707b81a

Change-Id: Idb97798f0b10c5be584c15934486bec32492c7b7
2019-04-09 10:20:07 -07:00
Linda Tseng
7b50cf0192 Merge "Fix panel slices title not updated when locale changed" into qt-dev
am: 3ec5e76c86

Change-Id: Ia65ba2136400b6657275704d5e3d7f2b46751db4
2019-04-09 10:18:20 -07:00
TreeHugger Robot
8b3cde0fb1 Merge "Remove viewFlipper used in contextual card dismissal." into qt-dev 2019-04-09 17:11:40 +00:00
TreeHugger Robot
a31acac404 Merge "Inflate dismissal background instead of drawing while swiping" into qt-dev 2019-04-09 17:11:11 +00:00
TreeHugger Robot
3a9707b81a Merge "Only enable feedback dialog in debuggable build." into qt-dev 2019-04-09 17:00:13 +00:00
Linda Tseng
3ec5e76c86 Merge "Fix panel slices title not updated when locale changed" into qt-dev 2019-04-09 16:57:26 +00:00
Julia Reynolds
ff125d11bc Merge "Move NAS selection to 'special app access'" into qt-dev am: 8bf3ab9d5c
am: b8fa1028ac

Change-Id: I12da431dd30328c274199c99552326057864dce7
2019-04-09 08:21:39 -07:00
Pasty Chang
00665b615f Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev am: 6ffdbb6096
am: 614d0cce2b

Change-Id: I8bc28dc7d3c943e62f0fc35918f69c88a91cfb26
2019-04-09 08:05:39 -07:00
Pasty Chang
608a634d2e Enable heavy theme for setupwizard pages
Stencil heavy theme is ready. Enable by setting the attribute to true.
light & heavy theme screenshot: https://screenshot.googleplex.com/15SXBK66NZX

Bug: 130208067
Test: atest
Change-Id: Ic3843b5f6724ed2f4fcdadf1ad634d918596c2ae
2019-04-09 13:38:12 +00:00
Jack Yu
7b95c5d217 Correct SecureNfc behavior in setting page
1. String under SecureNfc should update immediately when NFC toggle
2. SecureNfc state should remain the same after NFC toggle

Bug: 129037278
Test: Toggle NFC/SecureNfc option and check behavior
Change-Id: I9cbac4951f0c70accd92c43fc62658cb5dbb5c9b
2019-04-09 21:29:11 +08:00
Julia Reynolds
b8fa1028ac Merge "Move NAS selection to 'special app access'" into qt-dev
am: 8bf3ab9d5c

Change-Id: Ie408690b2352eda4cbb9549bb62df856a01d1fbe
2019-04-09 06:12:51 -07:00
Julia Reynolds
8bf3ab9d5c Merge "Move NAS selection to 'special app access'" into qt-dev 2019-04-09 12:56:40 +00:00
Pasty Chang
614d0cce2b Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev
am: 6ffdbb6096

Change-Id: Ic60b4336b3e651681691b540db7a6239602ec5e6
2019-04-09 05:32:03 -07:00
Pasty Chang
6ffdbb6096 Merge "Add strings used for setupwizard lockscreen skip dialog" into qt-dev 2019-04-09 11:53:00 +00:00
Arc Wang
a7d67bc2a6 Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev am: d50bb09876
am: ce9e61ee8e

Change-Id: Id0da8742a507462e16f549afeae2b36dd47f0fc3
2019-04-09 04:07:33 -07:00
Clown SHEN
9671f4f3fc Merge "Redraw WiFi detail page's header icon" into qt-dev am: 740dd43700
am: 31d150d16b

Change-Id: I16d6185e6321a3d39120e09aa0b7575a157dec89
2019-04-09 03:32:43 -07:00
Hai Zhang
b56125843e Merge changes from topic "role-replace" into qt-dev am: 0aa0d665c0
am: b3299e654e

Change-Id: Iea7316880d6edb7b29d976f7caf54746add9b096
2019-04-09 03:28:48 -07:00
Fan Zhang
d532430fc6 Merge "Add null check in UserPreference" into qt-dev am: c11f792795
am: 9e9fccd707

Change-Id: Ib08b3d7dfb140a22ae7661f89291999c51e5553d
2019-04-09 03:27:55 -07:00
Arc Wang
787e37b962 Merge "Supports to share Wi-Fi networks of WPA3 security SAE & OWE via QR code generator" into qt-dev am: 48ed84ebf4
am: 01a26124d7

Change-Id: I7dc26c8ebd15fc07c994e97b0eff4d4108f59b75
2019-04-09 03:26:56 -07:00
Yi-Ling Chuang
734d826117 Remove viewFlipper used in contextual card dismissal.
- Use view's visibility to control which view we should show.
- Slice view can be built with normal height after removing viewFlipper.

Bug: 129438972
Bug: 128689305
Test: robotests
Change-Id: If7e9bd30d5cb5bcd3b9ff9f09cc2eae36543b9e9
2019-04-09 10:24:10 +00:00
Arc Wang
fa977e12db Merge "Remove the PreferenceGroup without title in WifiNetworkDetailsFragment" into qt-dev am: 73f539d296
am: ee55582d8b

Change-Id: I653420aafabd30107b0f6f05b2cfc44978b2506b
2019-04-09 03:22:37 -07:00
Yi-Ling Chuang
dc2b2c7929 Inflate dismissal background instead of drawing while swiping
- Only swipe the foreground out to have the background revealed.
- Inflate dismissal_swipe_background.xml while swiping.
- Fix the fly-in transition.
- Fix the overlapping problem.

Bug: 129742618
Test: robotests
Change-Id: I5311e50332d0ea0437d1693d075d5c3a2176a443
2019-04-09 10:21:14 +00:00
Yi-Ling Chuang
21ffc13e5a Only enable feedback dialog in debuggable build.
Bug: 129881534
Test: robotests
Change-Id: I0dbd8c06f650cc7b3c32697f0c3af055912fab59
2019-04-09 18:07:50 +08:00
Arc Wang
ce9e61ee8e Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev
am: d50bb09876

Change-Id: I172943a14dffbde595440f9586598b5564e526c2
2019-04-09 01:54:36 -07:00
TreeHugger Robot
d50bb09876 Merge "Should not decode Wi-Fi QR code after onPause" into qt-dev 2019-04-09 08:30:33 +00:00
Clown SHEN
31d150d16b Merge "Redraw WiFi detail page's header icon" into qt-dev
am: 740dd43700

Change-Id: Ie615a11fbbe0a033d789ec265a1ef2a3f3c0880f
2019-04-09 00:35:10 -07:00
Cn Chen
65c3be84f4 Merge "Fix fingerprint screens from "Anything else" screen not applying Stencil theme" into qt-dev am: 6b5d0230b4
am: cbd00c32c9

Change-Id: I5e54ab39143ea95859083a85f53da9a56556ee15
2019-04-09 00:31:59 -07:00
Hai Zhang
b3299e654e Merge changes from topic "role-replace" into qt-dev
am: 0aa0d665c0

Change-Id: Ia95fc53c0e322b07f85ac2166a6c532f22b7b6f7
2019-04-09 00:26:01 -07:00
clownshen
9762652115 Add icon for sign in
Bug: 130188624
Test: manual test
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: I58a6c411a31e5cb0fe05eba486ba38774c078070
2019-04-09 06:56:16 +00:00