Commit Graph

49587 Commits

Author SHA1 Message Date
TreeHugger Robot
2b80334b41 Merge "Clean up updateState()" 2019-01-22 18:23:15 +00:00
TreeHugger Robot
d3be363004 Merge "Add icons of WifiDppAddDeviceFragment." 2019-01-22 11:11:30 +00:00
cosmohsieh
107e16ef28 [Network Connection] Correct title padding
Padding of dialog title needs to align design doc.

Bug: 123161302
Test: manual
Change-Id: I4b8a3d12dd309b0c1812694c42c7e0d283c619f2
2019-01-22 17:21:17 +08:00
Arc Wang
bf1fb10999 Add icons of WifiDppAddDeviceFragment.
Bug: 118797202
Test: manual test
Change-Id: Ia2ef9db3526f98b1c697a864cec34e1d4dcfc400
2019-01-22 16:27:23 +08:00
pastychang
76ad11c179 Migrating to new footer button for ChooseLockPassword page
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I1fb4588d0c2cf04bca88ec470d59945c2fcab01c
2019-01-22 15:10:36 +08:00
cosmohsieh
b9c4797387 [Network Connection] Implement toasting after wifi is connected
When wifi is connected (onUserSelectionConnectSuccess), making a toast
infos user and closed the dialog.

Bug: 123160958
Test: atest NetworkRequestDialogFragmentTest
Change-Id: I85ab648188018773e1f76541d18903c733bc3e69
2019-01-22 13:49:10 +08:00
Arc Wang
cb64510ff7 Control UI behavior according to different Wi-Fi DPP intents.
When it's a configurator from Settings, the cancel button of WifiDppChooseSavedWifiNetworkFragment
should pop back stack. When it's a configurator from a camera app, the cancel button of
WifiDppChooseSavedWifiNetworkFragment should finish host activity.

Bug: 120517242
Test: manual test
Change-Id: Ia0fb0daf16c94ecd62aa6d357405fcd529935d2f
2019-01-22 13:45:27 +08:00
Kiyoung Kim
3737da3ae6 Schematize Crypto system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: m -j
Change-Id: I65a6ce1a682687702f4c8b5c2e054eaaf91c389b
2019-01-22 11:15:42 +09:00
Weilun Du
def4fd900d Fixed Settings crash caused by null bluetooth adpater.
Emulator doesn't support bluetooth.

BUG: 123026204
Change-Id: I5fddfaff03dfd882688a73542278d8ef1e509ca2
Signed-off-by: Weilun Du <wdu@google.com>
2019-01-22 00:12:20 +00:00
Ajay Panicker
c2d1050665 Merge "Add Filtering for snoop logs based on L2CAP and RFCOMM Channels (3/4)" 2019-01-22 00:00:12 +00:00
Johnson Lu
c706c643a0 Merge "Fix crash issue when click 'Share' button" 2019-01-21 13:08:28 +00:00
Eran Messeri
fa7f75abd9 KeyChain: Remove Screenlock dependency
In coordination with KeyChain changes, stop using FLAG_ENCRYPTED when
importing keys into KeyStore and remove the requirement that a screen
lock is present.

The change to this package removes the checks for KeyStore state and
Keyguard presence. See the KeyChain change for more detailed
explanation.

Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.MixedProfileOwnerTest#testKeyManagement
Bug: 120901345
Change-Id: I82f1c18e84dd4a63d55017fa4b7be31c45f7ef14
2019-01-21 12:43:44 +00:00
Johnson Lu
69b31596a2 Fix crash issue when click 'Share' button
Hide 'Share' button if access point return null wifi config.

Change-Id: I554ce8c3214c94892d57c213d0588c70aad97439
Fixes: 123172888
Test: robotests
2019-01-21 17:43:11 +08:00
TreeHugger Robot
32d561653c Merge "Add a picture for Wi-Fi DPP add device fragment." 2019-01-21 04:58:35 +00:00
TreeHugger Robot
41ab200713 Merge "[Mac Randomization] Change order of Privacy setting" 2019-01-21 04:33:27 +00:00
Pasty Chang
5cddabf808 Merge "Migrating to new footer button for ChooseLockPattern page" 2019-01-21 03:35:23 +00:00
TreeHugger Robot
61447c7b88 Merge "Check whether the device support DPP for public intent" 2019-01-21 03:06:12 +00:00
cosmohsieh
29140c3a29 [Mac Randomization] Change order of Privacy setting
For better UX, making the default option 'Use randomized MAC (default)' as the
first option item.

Bug: 123160090
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details
Change-Id: I264756778dd8cafea620a0fcb5f57df91c049259
2019-01-21 10:54:48 +08:00
TreeHugger Robot
ad867a1ba3 Merge "Night mode wording" 2019-01-21 00:16:48 +00:00
Philip P. Moltmann
efae104f4d Assistant is now set as role.
Hence remove old assitant picker

Bug: 110557011
Test: - Set assitant via Default app settings and via roles UI
      - m -j RunSettingsRoboTests
Change-Id: Id41c5087506ece392ee644a33d1a79b7f9b17ee8
2019-01-20 15:54:09 -08:00
Lucas Dupin
a1916172d8 Night mode wording
Renaming to 'theme' per UX recomendation

Change-Id: I80817ea3778715c3514205ede738f70d92fa15e9
Fixes: 123042258
Test: manual
2019-01-20 14:56:04 -08:00
TreeHugger Robot
bb24f21bee Merge "Import translations. DO NOT MERGE" 2019-01-19 23:24:19 +00:00
Bill Yi
d5877c51d0 [automerger skipped] Import translations. DO NOT MERGE am: e60e0d2291 -s ours
am: 6aa71b3aef -s ours
am skip reason: subject contains skip directive

Change-Id: I581abc912bee99a4bbf9e93b5c024b1002205537
2019-01-19 14:50:07 -08:00
Bill Yi
6aa71b3aef [automerger skipped] Import translations. DO NOT MERGE
am: e60e0d2291 -s ours
am skip reason: subject contains skip directive

Change-Id: I27259294f2360a745415605afaf325e37fe8c565
2019-01-19 14:46:03 -08:00
Bill Yi
e60e0d2291 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: Ie074fc1d702ed2775866c82a126bd8efa8b2865b
2019-01-19 11:34:19 -08:00
Bill Yi
191283919a Import translations. DO NOT MERGE
Change-Id: I44864a09d806de9ee21ecaa304d4f448d48a6bdf
Auto-generated-cl: translation import
2019-01-19 10:21:20 -08:00
Yanting Yang
9e6a7a76fa Merge "Add Notification Channel slice to Contextual Settings Homepage" 2019-01-19 11:36:42 +00:00
wengsu
e205be9bd0 Clean up updateState()
1. It's to set preference always even no available Bluetooth device.
  2. Remove redundant code in if (numDevices == 0) {...} condition.

Bug: 123000252
Test: make -j56 RunSettingsRoboTests ROBOTEST_FILTER=MediaOutputPreferenceControllerTest
Change-Id: I9061428375f6097fde60498bf19eae2edafa5959
2019-01-19 18:01:20 +08:00
Yanting Yang
aa29da44d8 Add Notification Channel slice to Contextual Settings Homepage
Bug: 119831690
Test: visual, robotests
Change-Id: Ia8d020dcdab181497d4ae4bf968ea641b6908622
2019-01-19 17:09:25 +08:00
TreeHugger Robot
c30323a71f Merge "Add feature provider for aware info." 2019-01-19 08:29:56 +00:00
TreeHugger Robot
d8200e80af Merge "Gives unvailable slice of Night Light a customized subtitle" 2019-01-19 08:12:55 +00:00
TreeHugger Robot
ac73d4e721 Merge "Add data usage header to mobile network details page" 2019-01-19 07:17:33 +00:00
TreeHugger Robot
27c0acbfc9 Merge "Use correct metrics value in MobileNetworkListFragment" 2019-01-19 07:08:25 +00:00
TreeHugger Robot
e27f88d9f2 Merge "Use the accent color for search icon in homepage" 2019-01-19 07:04:18 +00:00
TreeHugger Robot
54030148d3 Merge "Syncs the lock and unlock icons with new AOD's" 2019-01-19 06:48:33 +00:00
TreeHugger Robot
304b54b2a3 Merge "Use new interface for setAppEntity" 2019-01-19 05:57:25 +00:00
Console Chen
50a6b24222 Gives unvailable slice of Night Light a customized subtitle
When a slice depends on some setting and the setting is off,
it shows "depends on another setting".
Base on the new introduced attribute on ag/5843828 , assigns
customized subtitle for showing the unavailabe slice when the
Night Light is off.

Change-Id: I5c3530281fac4ef63caf2d3ac8e2be872d704bcb
Fixes: 118399193
Test: Manual
2019-01-19 12:35:32 +08:00
TreeHugger Robot
abd732a308 Merge "Update parameter for Easy Connect API in WiFi DPP flow" 2019-01-19 04:33:21 +00:00
TreeHugger Robot
5e087b46e2 Merge "Create a permission bar chart in Privacy page" 2019-01-19 04:28:22 +00:00
TreeHugger Robot
4012a31c24 Merge changes from topic "settings_westworld"
* changes:
  Reset allow background activity to default on
  Migrate all MetricsProto enums to SettingsEnums
2019-01-19 04:09:50 +00:00
Yi-Ling Chuang
2ef995b712 Adjust contextual card dismissal view
- Increase the height of button clicking area
- Decrease top margin and some other corresponding adjustments.

Bug: 113783548
Test: visual
Change-Id: Iba1cea6c82036ebb9fe2e08d32eb663e0ad026ac
2019-01-19 11:43:25 +08:00
Fan Zhang
fb90429930 Reset allow background activity to default on
Change-Id: Ifeda9bb431b8f0c3bbefb41fb13fa70e15952cce
Fixes: 123029532
Test: robotests
2019-01-18 16:10:20 -08:00
Christine Franks
7c7e0d4d7d Merge "Move color transform check to ColorDisplayManager" 2019-01-18 23:08:37 +00:00
Beverly
180c4949dd Update DND strings.
Test: manual
Bug: 119113631
Change-Id: I6ed6e6f947649f2ef68aca640b48874cfb81aa6a
2019-01-18 21:00:28 +00:00
Edgar Wang
968c6531e8 Add feature provider for aware info.
The feature provider contains API that query aware info.
By default it's false.

Test: make -j RunSettingsRoboTests
Bug: 122574999
Change-Id: I7148258768a4dad1967fd0e0b23b79654e5a3d41
2019-01-18 14:06:27 -05:00
Antony Sargent
210268db3c Use correct metrics value in MobileNetworkListFragment
Bug: 116349402
Test: n/a
Change-Id: I01a81be496c296538e3395931a0fed8098f4da99
2019-01-18 09:36:32 -08:00
pastychang
c3c5a5c57e Migrating to new footer button for ChooseLockPattern page
Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ifeaf402548146fca9f5fd5dfe0d976d38246b7e9
2019-01-18 14:42:35 +08:00
Antony Sargent
625787b391 Add data usage header to mobile network details page
As a part of the work for subscriptions UI improvements, we want to show
data usage information at the top of the mobile network details page,
and those details need to be specific to the particular subscription
we're showing details for, even if that SIM isn't the current default
one. This is useful for seeing data usage across your SIMs in dual-SIM
devices.

This CL adapts our already existing DataUsageSummaryPreferenceController
class so that if can be used on any fragment instead of just the
DataUsageSummary one, and changes it to take an explicit subscription
id instead of assuming it should use the default one.

Bug: 122670283
Test: make RunSettingsRoboTests
Change-Id: I41e307b0f32580c73b08adec7cabf01c96d7e835
2019-01-17 21:50:27 -08:00
Fan Zhang
b4491ef3ca [automerger skipped] Merge "Add Dynamic tiles" am: 15bf05f6fd am: 0d8ea3bfce
am: 3de14ebfa2 -s ours
am skip reason: change_id I3cdad9b6ceeba0df3e0e9db4607daffcc5cbdc8b with SHA1 a3a24be224 is in history

Change-Id: I2fe793b11c5a2e41c7c02dd1b5afadf0fafdf31d
2019-01-17 17:40:17 -08:00
Fan Zhang
3de14ebfa2 Merge "Add Dynamic tiles" am: 15bf05f6fd
am: 0d8ea3bfce

Change-Id: I081d9ce4018e6fb7d899655ddeb96c5a9c3eb649
2019-01-17 17:26:39 -08:00