Commit Graph

49587 Commits

Author SHA1 Message Date
TreeHugger Robot
2fd04a9fb5 Merge "ConfirmDeviceCredential should default to setRequireConfirmation(true)" 2019-01-30 04:49:37 +00:00
TreeHugger Robot
d47c73549b Merge "Use settingslib ActionBarShadowController" 2019-01-30 04:29:44 +00:00
TreeHugger Robot
e798c07827 Merge "Schematize Crypto system properties" 2019-01-30 03:51:31 +00:00
Les Lee
3826f5ec42 Merge "Use API to get necessary value when activity init" 2019-01-30 03:42:55 +00:00
TreeHugger Robot
af6d7b53b4 Merge "Remove cardview wrapper on condition collapse button." 2019-01-30 03:37:42 +00:00
TreeHugger Robot
c5a42cc528 Merge "Remove dead code." 2019-01-30 03:22:09 +00:00
Roshan Pius
04dd29fc38 Merge "AccessPoint: App attribution for suggestion/specifier" 2019-01-30 03:03:20 +00:00
Kevin Chyn
440afb8868 ConfirmDeviceCredential should default to setRequireConfirmation(true)
If the value is unset, we should maintain the same default behavior
as BiometricPrompt, which is to dfeault to requiring confirmation.

Fixes: 123598496

Test: manual
Change-Id: Icaf27d184e0aea5eee077b8ec14bca27fd0ddad3
2019-01-29 18:35:53 -08:00
Arc Wang
3dc845a181 Merge "Set Wi-Fi DPP fragment icons." 2019-01-30 02:29:35 +00:00
Daniel Sandler
30f0643c9e Merge "Fix dsandler's email address." 2019-01-30 02:09:54 +00:00
Fan Zhang
1c15a27c1d Remove cardview wrapper on condition collapse button.
The cardview is adding a strange background color in dark mode

Change-Id: Id205fbd5209e15597157d86d225f8c6c97a2ec5a
Fixes: 123411225
Test: visual
2019-01-29 16:33:53 -08:00
Fan Zhang
c3fd289969 Remove dead code.
Bug: n/a
Test: rebuild
Change-Id: I71f8d9d99bbff1186e8df518ec8d27db3447ffbe
2019-01-29 16:27:31 -08:00
Fan Zhang
1107d310f1 Use settingslib ActionBarShadowController
Change-Id: Ib70a0ca307bb98e576f2c3deb8f7aea88e59b10e
Fixes: 123311100
Test: robotests
2019-01-29 15:39:32 -08:00
TreeHugger Robot
3a7cbacdcd Merge "Fix padding problem between search bar and homepage cards" 2019-01-29 23:00:18 +00:00
TreeHugger Robot
a0690b3d2e Merge "Add a plus button to the mobile pref on Network & internet page" 2019-01-29 22:08:33 +00:00
Antony Sargent
59adc31773 Add a plus button to the mobile pref on Network & internet page
On the Network & internet page, we have a "Mobile network" pref that in
single-SIM mode leads to a detail page for the current SIM. In multi-SIM
mode it has more complicated behavior (leading either to details about
the current subscription if there is only one, or a list of
subscriptions if more than one).

One of the things we wanted to add was a shortcut to add another eSIM
subscription. So this CL adds a plus button control on the right of the
preference which leads to a flow to add another mobile subscription via
the eSIM manager.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I38e0031e3bd603e93c45dcb4557750e7bc1b8b5a
2019-01-29 12:27:46 -08:00
Dan Sandler
3d0078766d Fix dsandler's email address.
Test: dsandler can give OWNERS approval again
Change-Id: I8a59453ec95b98ce74703bbe003c9039e2a96f22
2019-01-29 14:41:54 -05:00
TreeHugger Robot
1cf1d9b643 Merge "Import translations. DO NOT MERGE" 2019-01-29 16:50:23 +00:00
Yanting Yang
a55909f812 Merge "Sort notification channel in NotificationChannelSlice" 2019-01-29 16:44:12 +00:00
TreeHugger Robot
79d5428c8b Merge "Enable overlays on background thread." 2019-01-29 14:58:37 +00:00
Yanting Yang
81410323bc Sort notification channel in NotificationChannelSlice
According request to sort the notification channel by average
weekly sent count in descending.

Bug: 119831690
Test: visual, robotests
Change-Id: I96786b077a37dcbc53606f8d98998e01e15b674d
2019-01-29 22:37:54 +08:00
TreeHugger Robot
7a9236669c Merge "Game Driver: rename GUP to Game Driver" 2019-01-29 10:51:26 +00:00
Bill Yi
6a756bf1c9 Import translations. DO NOT MERGE
Change-Id: I7a79b6977d8215bcbc7257daaaabfb570862ebbd
Auto-generated-cl: translation import
2019-01-29 01:39:27 -08:00
Arc Wang
4ab826ac5b Set Wi-Fi DPP fragment icons.
1. set fragment icon for WifiDppChooseSavedWifiNetworkFragment
2. set fragment icon of success for WifiDppAddDeviceFragment

All Wi-Fi DPP fragment icons are VectorDrawable of instinct size
24dp draw on a 48dp canvas. Except for ic_devices_check_circle_green,
it's a LayerDrawable of different size. I dynamically change ImageView
layout width & height between these 2 different kind of drawable.

Bug: 122982132
Test: manual test
Change-Id: Idab8cd8b0798363e447da00dc6bc68a86498b8be
2019-01-29 17:02:14 +08:00
lesl
7818363e71 Use API to get necessary value when activity init
Framework change intent design from sticky to non-sticky due to
location sensitive data protect. Use APIs to get information when
activity resume.

Intents from sticy to non-sticy:
WifiP2pManager#WIFI_P2P_CONNECTION_CHANGED_ACTION
WifiP2pManager#WIFI_P2P_THIS_DEVICE_CHANGED_ACTION

Bug: 77228252
Test: Manually test Wi-Fi Direct settings
Change-Id: I115515d6832c5c5f290ef9f757ca94afa4e9f1bd
2019-01-29 16:25:52 +08:00
Yanting Yang
9a87eab259 Merge "Improve UX of Deferred Setup" 2019-01-29 07:51:33 +00:00
Yanting Yang
2784da75a2 Improve UX of Deferred Setup
Change-Id: I3d0735ef1196b04abaef454529664a8daea53967
Bug: 120485678
Test: visual, robotests
2019-01-29 07:43:46 +00:00
TreeHugger Robot
c9e2e77425 Merge "Game Driver: Add footer to the dashboard" 2019-01-29 07:06:26 +00:00
TreeHugger Robot
3e8f5bfc27 Merge "Game Driver: Add SwitchBar to control GUP feature" 2019-01-29 06:32:34 +00:00
Pavel Grafov
e1dd64ef2e Merge "Update to use new ConnectivityManager API." am: 70b1830e7e am: 7c47743851
am: 3184142cbe

Change-Id: I6bc7277d0f1db1576b369443719c449fc8eeed75
2019-01-28 22:14:17 -08:00
Johnson Lu
82b15f4e9e Merge "Use the UiDevice.setOrientation methods to simulate orienting the device" 2019-01-29 05:56:55 +00:00
Sunny Shao
4ddecb00ef Fix padding problem between search bar and homepage cards
Get the statusbar height dynamically to fix this problem in notch mode.

Change-Id: I4ca0427fc2556f1fb5f868118c5207fdfa035c59
Fixes: 123215804
Test: robotest
2019-01-29 13:56:40 +08:00
Pavel Grafov
3184142cbe Merge "Update to use new ConnectivityManager API." am: 70b1830e7e
am: 7c47743851

Change-Id: I41b4f42c88895dd26a65fe0c92b71dbe1e7a3c08
2019-01-28 21:34:50 -08:00
Pavel Grafov
7c47743851 Merge "Update to use new ConnectivityManager API."
am: 70b1830e7e

Change-Id: Ide228930858fc8eccfac060858b0da86725f229a
2019-01-28 20:28:09 -08:00
Yiwei Zhang
bf854fc41b Game Driver: rename GUP to Game Driver
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ia7b9e3978ad96436a66843e6b5d1bd1e15f367c9
2019-01-28 19:48:06 -08:00
Yiwei Zhang
8aa568f1f5 Game Driver: Add footer to the dashboard
This change adds a footer to the current dashboard to show some
descriptions when the whole module is turned off.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: I9788d4c64b06deb099a43e8db7eecab20a85f494
2019-01-28 19:48:04 -08:00
Yiwei Zhang
51691ab0d0 Game Driver: Add SwitchBar to control GUP feature
Uncheck the global switch will hide the preference controllers and force
all apps to use system graphics driver. This change also add a content
observer to notify all the preference controllers of settings global
changes.

Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Ice9ded17c759791a3728c552f79881e2215ac081
2019-01-28 19:46:59 -08:00
TreeHugger Robot
e176313435 Merge "Revert "Settings for skip and silence gestures"" 2019-01-29 03:19:21 +00:00
TreeHugger Robot
329862a508 Merge "Clean up ShadowUserManager" 2019-01-29 02:57:24 +00:00
TreeHugger Robot
ea4eff318c Merge "Set correct network type when launching wifi usage data." 2019-01-29 02:12:41 +00:00
TreeHugger Robot
3a03b11ce5 Merge "Add isEnabled method to AwareFeatureProvider" 2019-01-29 01:59:29 +00:00
TreeHugger Robot
24b96bff70 Merge "Add configs to display/hide a few tiles in device info page" 2019-01-29 01:29:35 +00:00
Lei Yu
cda45e5d66 Merge changes Ifb5507cb,Ide044cf9
* changes:
  Update BT header using BT metadata
  Add layout for advanced BT detail header
2019-01-29 01:29:23 +00:00
Johnson Lu
d1be14fe28 Use the UiDevice.setOrientation methods to simulate orienting the device
The UiDevice methods have a build in call to UiDevice.waitForIdle()
which will block until the UI has not changed for at least 500ms.

Bug: 123382213
Test: atest WifiDppConfiguratorActivityTest
Change-Id: I57539edecfd60f27a061a3ccc263c053ce158855
2019-01-29 09:16:20 +08:00
Hugh Chen
cb585a35ad Merge changes from topic "media_slice"
* changes:
  Implement MediaOutputSlice
  Add entry point to launch media output slice
2019-01-29 00:51:39 +00:00
Fan Zhang
c52a581bb7 Clean up ShadowUserManager
Remove addManagedUser() and use default shadow for the same purpose.

Test: make RunSettingsRoboTests -j40 ROBOTEST_FILTER=Redaction
Change-Id: I2f86bd51bccbde23a8a37d19b28e30cadb2b9f93
2019-01-28 16:32:56 -08:00
Beverly Tai
77a586bb76 Revert "Settings for skip and silence gestures"
This reverts commit d5428a5cd4.
Test: manual, builds
Reason for revert: moving to SettingsGoogle

Change-Id: Iad954e22c9484c2bc059b52e5f17a244be461394
2019-01-28 19:23:02 -05:00
TreeHugger Robot
4c6da2929f Merge "Add a More item for Special app access page." 2019-01-28 23:53:11 +00:00
TreeHugger Robot
04c37528f0 Merge "Move SettingsLib icons to android." 2019-01-28 22:49:36 +00:00
Fan Zhang
5c3301b0ab Add configs to display/hide a few tiles in device info page
- Displaying/hiding Emergency info, branded account, device header
  widget are now driven by config flags
- Also refactored controllers to use BasePreferenceController

Change-Id: Ie601ebf689e0744c6a05a2cca5513fa43ef355e0
Fixes: 119607340
Test: robotests
2019-01-28 14:44:02 -08:00