Commit Graph

53270 Commits

Author SHA1 Message Date
Raff Tsai
f33c047cbd Merge "Log ACTION_CONTEXTUAL_CARD_SHOW in different place" into qt-dev am: 42aac32823
am: b202df4422

Change-Id: I83a4fcefd33d9b9126a75deab92af74ae9f68d4b
2019-05-11 03:41:24 -07:00
joshmccloskey
b4627760d1 Merge "Fixed spacing on Intro & Edu screens" into qt-dev am: 806c65ca17
am: 87dbedb514

Change-Id: I5889c86ecdc1424b2c5def6dc531bbc372021db6
2019-05-11 03:38:57 -07:00
Fan Zhang
8ee52ff9c5 Clean up before making all setting page render edge-to-edge am: 9db66a562c
am: 0a29fb054e

Change-Id: I0783eb3b832d079ecc0b5742a606809f2448415f
2019-05-11 03:34:53 -07:00
Mill Chen
f78ccde6bd Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev am: dcf21d4bd6
am: 7aa0ab732b

Change-Id: I0ea76a0ef06204af88e04722e9f7f5317b861971
2019-05-11 03:25:57 -07:00
Fan Zhang
8a2ae8cdf0 Merge "Updating animation asset" into qt-dev am: 5dd9850bf3
am: b104df9efc

Change-Id: I44f679bff8e09199490c7170c7f9571514b128f2
2019-05-11 02:52:21 -07:00
Brad Ebinger
c1cb825acb Merge "Resolve the SIM call manager per subId" into qt-dev am: 1350309ecc
am: 96af57b47f

Change-Id: I482abff107e8719bf88b5dd3ac92a9b735e0c003
2019-05-10 22:41:59 -07:00
Brad Ebinger
397fe0806e Merge "Allow SimDialogActivity to be started for result" into qt-dev am: d204d6c33f
am: 9761dd4634

Change-Id: I5dc3f6b791e258be13d073640be77f89de460570
2019-05-10 22:20:42 -07:00
Kevin Chyn
f4099a8f84 Merge "Propagate intent extras and finish activity properly" into qt-dev
am: 7ac16f152e

Change-Id: I5bc447218d41fc098ea489c5fb8defdf5381f88d
2019-05-10 21:49:42 -07:00
Kevin Chyn
7ac16f152e Merge "Propagate intent extras and finish activity properly" into qt-dev 2019-05-11 04:31:14 +00:00
Jason Chiu
2c3e6c6434 Fix automatically directing the user to the captive portal in Wi-Fi Slice
The feature failed after the CL "Force the adapter to rebind cards with
a toggle".

Because toggle slices have been forced to rebind after starting another
activity and when any slice is updating. This unpins Wi-Fi slice and
stops WifiScanWorker and then clears the saved clicked network.

Solution:
1. Change ConnectToWifiHandler from activity to receiver and send
   broadcasts to it with FLAG_RECEIVER_FOREGROUND, so Wi-Fi slice won't
   be forced to rebind.
2. Seperate Wi-Fi scan worker and contextual Wi-Fi scan worker. Keep the
   original logic for the generic one, and then add the logic below to
   the contextual one.
3. Do not clear the saved clicked network when slice is unppined because
   it happens frequently in contextual homepage.
4. Introduce a static long in ContextualWifiScanWorker that updates once
   in every visible UI session. A session is when the screen is visible
   to user.
5. Use session token to determine whether auto-starting captive portal
   is needed.

Fixes: 128056349
Test: robotest, visual in homepage and network panel
Change-Id: I9e03c379806e124fa7253b2a635574b2433f6afc
2019-05-11 03:26:57 +00:00
hughchen
1042c287ac Merge "Clear media switcher items when in phone call" into qt-dev am: 12dcbe7c71
am: 26aa660541

Change-Id: Id7ade81d98528bb6c16fee243d148d359101712d
2019-05-10 20:22:01 -07:00
Raff Tsai
b202df4422 Merge "Log ACTION_CONTEXTUAL_CARD_SHOW in different place" into qt-dev
am: 42aac32823

Change-Id: I82dc550b23c6fc11fff350c7c72f0154985a62f6
2019-05-10 19:50:15 -07:00
joshmccloskey
87dbedb514 Merge "Fixed spacing on Intro & Edu screens" into qt-dev
am: 806c65ca17

Change-Id: Iaa76703169d28f8ab6cfa1e8eee2b9c6efeadfb7
2019-05-10 19:46:59 -07:00
TreeHugger Robot
42aac32823 Merge "Log ACTION_CONTEXTUAL_CARD_SHOW in different place" into qt-dev 2019-05-11 02:27:24 +00:00
Kevin Chyn
acb113b06a Propagate intent extras and finish activity properly
Bug: 131861430

Test: Builds
Change-Id: I7e831f74f1e55026b9343a4c4f47c9f5adc316e6
2019-05-10 18:58:13 -07:00
TreeHugger Robot
806c65ca17 Merge "Fixed spacing on Intro & Edu screens" into qt-dev 2019-05-11 01:40:56 +00:00
joshmccloskey
2e70232caf Re-enable continue button for accessibility flow
Test: Removed userdata, went to education flow, enabled accessibility
and confirmed the next button was re-enabled
Fixes: 132463368

Change-Id: I7cd78d606fa4c191b44199a0d143b56b33be4fa4
2019-05-10 17:59:25 -07:00
Fan Zhang
0a29fb054e Clean up before making all setting page render edge-to-edge
am: 9db66a562c

Change-Id: I70c7fa7dc398e1d95d44453e9b3a3a7812b0205d
2019-05-10 17:28:08 -07:00
Raff Tsai
3d2655c100 Log ACTION_CONTEXTUAL_CARD_SHOW in different place
Fixes: 132396134
Test: robolectric
Change-Id: I7d46df15fbc42838da0fa53f4db7e1aa026c3174
2019-05-11 08:28:08 +08:00
joshmccloskey
fe6784b57d Fixed spacing on Intro & Edu screens
Test: It builds.
Fixes: 132370812
Change-Id: I7bfa8a7eae91ad9b0fc9b19c9a6bc019f884e729
2019-05-11 00:11:02 +00:00
Mady Mellor
32fa736dd6 Move feature-level Bubble setting into developer options; default to off
Functionality:
* Moves feature-level setting into developer settings (apps section)
* Adds bubbles in developer options under "apps" section
* Configures the app-specific bubble toggle in notifications settings
  to be hidden / shown based on the developer setting
* Configures the channel-specific bubble toggle in notification channel
  settings to be hidden / shown based on the developer setting

Tests:
* Anything that might be assuming that it's globally enabled now has
  a bit to enable it globally in that test
* There is a logic change now where the app-level setting would be available
  even if off globally, now that is not true -- if it's off globally the
  app-level is no longer available
* Adds tests for the developer setting

Test: make -j40 RunSettingsRoboTests ROBOTEST_FILTER="Bubble"
Bug: 131845765
Change-Id: I5f6bf74e5ada3fc023571825cca10d7bddc60e6e
2019-05-10 15:41:06 -07:00
Mill Chen
7aa0ab732b Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev
am: dcf21d4bd6

Change-Id: Id8c580a230520479170816acb39db669ece39f25
2019-05-10 14:47:19 -07:00
Fan Zhang
9db66a562c Clean up before making all setting page render edge-to-edge
These classes are casting view to LinearLayout unnecessarily. Later we
might change the root view away from LinearLayout. The cast will cause
crash.

Bug: 132182711
Test: go through SUW.
Change-Id: Iea31882f8edea0c87ef8e95b4da9b6bffa8ea7d0
2019-05-10 21:27:05 +00:00
Fan Zhang
b104df9efc Merge "Updating animation asset" into qt-dev
am: 5dd9850bf3

Change-Id: I2d4ee02ba3aa983e36e96bef614c51dd725a824d
2019-05-10 13:49:47 -07:00
Brad Ebinger
96af57b47f Merge "Resolve the SIM call manager per subId" into qt-dev
am: 1350309ecc

Change-Id: I3d5c730efde6c0a8a1ecdba4e70793696ad7a598
2019-05-10 13:39:57 -07:00
TreeHugger Robot
dcf21d4bd6 Merge "Update listDivider for PreferenceFragmentCompat" into qt-dev 2019-05-10 20:38:20 +00:00
Fan Zhang
5dd9850bf3 Merge "Updating animation asset" into qt-dev 2019-05-10 20:24:59 +00:00
Brad Ebinger
1350309ecc Merge "Resolve the SIM call manager per subId" into qt-dev 2019-05-10 20:17:38 +00:00
Brad Ebinger
9761dd4634 Merge "Allow SimDialogActivity to be started for result" into qt-dev
am: d204d6c33f

Change-Id: Ib448a6901581294050fc988ed9c16f7e93066860
2019-05-10 13:12:21 -07:00
Hai Shalom
3fc9dc3ada [WPA3] Fix connectivity issues with PSK-SAE Transtion mode
Fix two reported issues regarding PSK-SAE transition mode:
1. When phone supports SAE, creating a manual saved network with PSK
and manually connecting would cause the phone to connect but Settings
does not display any connected AP. Phone would not autoconnect.
2. When phone doesn't support SAE, phone cannot connect to an AP in
PSK-SAE Transition mode because the framework always targets the highest
security.

Bug: 132278271
Test: Connect to WPA2 network
Test: Connect to WPA3 network (w/capable phone)
Test: Connect to WPA2/3 Transition w/SAE capable phone
Test: Connect to WPA2/3 Transition w/SAE not-capable phone
Change-Id: I371bcb4b2cccfc8684ecb5db3a768524f7354598
2019-05-10 12:59:23 -07:00
Brad Ebinger
d204d6c33f Merge "Allow SimDialogActivity to be started for result" into qt-dev 2019-05-10 19:42:55 +00:00
hughchen
26aa660541 Merge "Clear media switcher items when in phone call" into qt-dev
am: 12dcbe7c71

Change-Id: Ieb3326b10dd25c22c9e16286585a6dbdedf2fa35
2019-05-10 11:49:43 -07:00
Brad Ebinger
d206835fe3 Allow SimDialogActivity to be started for result
In Telephony, we sometimes need to be able to launch
the SIM pick dialog activity for SMS without setting
a new default (i.e. user chose "ask every time") for
default SMS subscription.

Adds the ability for the SimDialogActivity to be
called using startActivityForResult and not set the
user's choice as the default.

Bug: 130853716
Bug: 130567323
Test: run Telephony SmsManagerTestApp
Change-Id: If9f9ebbfe9b7b6718ed759937abbcfa6d22c6295
2019-05-10 18:29:54 +00:00
Beth Thibodeau
94d4f6ba34 Updating animation asset
Fixes: 132095489
Test: mp settingsg
Change-Id: Icda6eb54496356e2567e1d39ab0c718746e2442d
2019-05-10 14:28:43 -04:00
Andrew Sapperstein
32e3664abf Ignore failing test.
Bug: 132441284
Test: robotests
Change-Id: Ib3c7f9854e3ffba4e7e04bfb1fb1763fc77e160b
2019-05-10 11:25:23 -07:00
TreeHugger Robot
12dcbe7c71 Merge "Clear media switcher items when in phone call" into qt-dev 2019-05-10 18:14:02 +00:00
Arc Wang
a8bd70f7a9 Merge "Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"" into qt-dev am: 41656de5d4
am: 3ce4382031

Change-Id: Idd3be7b3e359a0e71bab0afd6ea016dae38f6f17
2019-05-10 07:13:08 -07:00
lindatseng
11cd648dea Merge "Set panel launch mode to singleInstance and fix animation" into qt-dev am: 04623e81b8
am: d40facddb0

Change-Id: I6ae75cbea7463353a62df9431b81660b9c16d2a7
2019-05-10 07:09:10 -07:00
Bill Yi
8aaed6866f [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev am: 60252574a2 -s ours
am: 9e7e046813 -s ours
am skip reason: subject contains skip directive

Change-Id: I6fdc64da342e926d860bccb9642eb46ad39fe538
2019-05-10 07:05:01 -07:00
Kevin Chang
529753c9eb Merge "Override performClick method to eliminate redundant click" into qt-dev am: 1915fe3b67
am: 9714ce162a

Change-Id: If9b40d1fe2e44c6f614a6fcff97b34f073f2b254
2019-05-10 07:00:47 -07:00
Pengquan Meng
f44a812872 Merge "Fixed network name for about/sim_status" into qt-dev am: b73d3c70c8
am: f7c9da43cf

Change-Id: Id480ee149ec51d52e3d5a705a6201e44b8e953d8
2019-05-10 06:55:47 -07:00
Kevin Chang
d19928b9af Merge "Improve the Accessibility warning dialog with new design" into qt-dev am: 35890fabae
am: 34e42d31b0

Change-Id: Ifdd68f5cd961c1a67a006bbd82b9e794ff55ec49
2019-05-10 06:33:02 -07:00
Fan Zhang
cea1c52872 Merge "Clean up homepage toolbar after setting transparent navbar." into qt-dev am: 30a9392b21
am: f57d1108df

Change-Id: I3784a56c72ccb8b4a6a0732e0102fc8641df32ce
2019-05-10 06:12:51 -07:00
lindatseng
69b35fe896 Merge "Fix NPE when launching MediaOutput Panel" into qt-dev am: b0f641869b
am: f23d16f577

Change-Id: Icb002de55edacad63a1f7f2802d92e72cf2fc0fd
2019-05-10 05:41:44 -07:00
Arc Wang
3ce4382031 Merge "Fix "Turn on Wi-Fi scanning?" does not pop up when clicking "Turn on Wi-Fi automatically"" into qt-dev
am: 41656de5d4

Change-Id: I9c051a5ecce1e9f0b2d8b58c1df8fbc7721cb8d7
2019-05-10 05:30:41 -07:00
lindatseng
d40facddb0 Merge "Set panel launch mode to singleInstance and fix animation" into qt-dev
am: 04623e81b8

Change-Id: I15fe1fb15753bf7ffb4bdaec3f3045a7c3d0aa66
2019-05-10 05:18:01 -07:00
Bill Yi
9e7e046813 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: 60252574a2 -s ours
am skip reason: subject contains skip directive

Change-Id: I04ab64dad79d70177a604da8c3a402cfb101d8f9
2019-05-10 04:43:56 -07:00
Jonathan Scott
65f6968cb2 Merge "Make ScreenPinningSettings behaviour consistent with LockTaskController." into qt-dev am: c6ebdfe982
am: 21bb8ebde2

Change-Id: I8911e9622bdcd61ddcc0f6ae83cc1128cb71e66c
2019-05-10 03:20:10 -07:00
Kevin Chang
9714ce162a Merge "Override performClick method to eliminate redundant click" into qt-dev
am: 1915fe3b67

Change-Id: I3de055284663373d83657334ae120c599682b97b
2019-05-10 02:24:16 -07:00
Mill Chen
e3e966689d Update listDivider for PreferenceFragmentCompat
The support library uses preference_list_divider_material for its list
divider and its color is a hardcoded value. That's why the divider color
can't be applied to the PreferenceFragmentCompat in Settings when
updating the divider color in the device defaults theme level. To make
it so we set its listDivider to list_divider_material to facilitate updating
the divider color.

Bug: 129943610
Test: visual
Change-Id: Ie992b925fae0effd4e00682a911ad004ac3fc033
2019-05-10 17:23:49 +08:00