Commit Graph

49764 Commits

Author SHA1 Message Date
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
Fan Zhang
0d8ea3bfce Merge "Add Dynamic tiles"
am: 15bf05f6fd

Change-Id: I0998725bc59e1d4f9b8afff388c2a9a3c680423c
2019-01-17 17:08:14 -08:00
Fan Zhang
15bf05f6fd Merge "Add Dynamic tiles" 2019-01-18 00:47:52 +00:00
Sunny Shao
3f735ff345 Use the accent color for search icon in homepage
Add the ic_homepage_search.xml and use the accent color

Bug: 122924929
Test: manual view
Change-Id: I0ed9d2261da776f7c04bd576fd1af612c47d85db
2019-01-18 08:19:00 +08:00
Johnson Lu
e69dc5cc6c Check whether the device support DPP for public intent
Check PROCESS_WIFI_EASY_CONNECT_QR_CODE intent.

Bug: 122331217
Test: manual test
Change-Id: I9bc4007f8c01d11a186640e8ef59be6329350dc9
2019-01-18 08:12:58 +08:00
Johnson Lu
1e8a21f258 Update parameter for Easy Connect API in WiFi DPP flow
Due to API changes, uses Executor instead of Handler for Easy Connect
API.

Test: manual test
Bug: 122331217
Change-Id: Iddda3e6c9079e2bba814be6a0097d60ee349a504
2019-01-18 07:17:55 +08:00
Arc Wang
e05fae643c Add a picture for Wi-Fi DPP add device fragment.
Bug: 122429170
Test: manual
Change-Id: I8a2e9feab238aa2636be25959988145ac8633c24
2019-01-17 23:04:37 +00:00
Fan Zhang
31b210017b Migrate all MetricsProto enums to SettingsEnums
Bug: 122855168
Test: rebuild
Change-Id: I962d9a71179f86b7cae9dc5e9a00e0aa1557dc76
2019-01-17 14:55:42 -08:00
Doris Ling
380e92c54c Add module version in About settings.
Change-Id: I2474d05ee96e3dd29fe012fe77450c91775fdf1d
Fixes: 122615240
Test: make RunSettingsRoboTests
2019-01-17 10:11:28 -08:00
tmfang
d62afd3700 Create a permission bar chart in Privacy page
Using PermissionControllerManager to get the apps
usage of different permission groups.

And then we visualize the result with bar chart.

Test: visual, robotest
Fixes: 116628158
Change-Id: I0442a04c35d74f715418fac0279bb8f36f6d64df
2019-01-17 21:29:25 +08:00
Lucas Dupin
dbaa5459b8 Merge "Tap gesture settings" 2019-01-17 02:38:09 +00:00
Yiwei Zhang
b53ea0a3ad Merge "GUP: Add global switch for all apps" 2019-01-17 02:02:44 +00:00
Yiwei Zhang
15bb7944a5 GUP: Add global switch for all apps
Bug: 119221883
Test: make RunSettingsRoboTests
Change-Id: Iebf6c5eceb323d03332169eeb0a4a0d1f9c2c493
2019-01-17 09:56:46 +08:00
TreeHugger Robot
7332afe700 Merge "Settings for skip and silence gestures" 2019-01-17 01:35:30 +00:00
Cosmo Hsieh
d4e5f0b89e Merge "[Mac Randomization] Fix perference changing not work and wrong default value" 2019-01-17 00:47:00 +00:00
TreeHugger Robot
569b6a41ef Merge "New approach to override timeout max value" 2019-01-16 23:58:47 +00:00
TreeHugger Robot
f2c30062d3 Merge "Add the Data Saver preference to the Network & internet page" 2019-01-16 23:52:42 +00:00
Xiangyu/Malcolm Chen
4c62693cd0 Merge "Don't show hidden Cellular subscription in Settings." 2019-01-16 22:00:50 +00:00
Fan Zhang
69e4302d40 New approach to override timeout max value
- Revert "Allow OEM customizing max screen timeout value."
- Use separate timeout list for screen timeout and lock timeout.

This reverts commit f57f490aa6.

Fixes: 113346164
Test: manual

Change-Id: Ifbb054c232c47455ae82e3ed817f9c1e96f694cf
2019-01-16 13:59:10 -08:00
Beverly
d5428a5cd4 Settings for skip and silence gestures
Test: make RunSettingsRoboTests
Bug: 118388808
Change-Id: Ic906b42476283d245b423ef8842b6818cf7893a5
2019-01-16 15:37:47 -05:00
cosmohsieh
82588849ac [Mac Randomization] Fix perference changing not work and wrong default
value

1. Mac randomization setting would not effect, until reconnecting the network.
Disconnect it and WiFi will soonly connect back.
2. Mac randomization setting of adding network page is default to
"device MAC", correcting to "Randomization"

Bug: 123123123
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi
Change-Id: I91f8670ddf81aea89354c4cc9c9a7901b8f3409c
2019-01-16 19:45:32 +00:00
Lucas Dupin
97b8aae933 Tap gesture settings
Tap setting is similar to double tap, it will wake-up the phone
when invoked. This setting page allows for configuration since both
gestures aren't mutually exclusive.

Change-Id: Ia62a1fafcc108e3c0b14613cb30224eae7b35f6a
Fixes: 121198822
Test: make RunSettingsRoboTests
2019-01-16 11:41:44 -08:00
Quang Luong
3eac2faa9c Merge changes from topics "osu-at-the-top", "osu-provisioning-support"
* changes:
  Added autoscroll to top when clicking on OSU entry
  Added support for OSU Provider provisioning action on click
2019-01-16 19:10:14 +00:00
Fan Zhang
2a38d79137 Merge "Add Dynamic tiles" 2019-01-16 17:40:08 +00:00