Commit Graph

49061 Commits

Author SHA1 Message Date
Leon Liao
dd059cb76e Merge "Update Strings for Accessibility Timeout" 2018-11-27 02:36:19 +00:00
TreeHugger Robot
006d1c6027 Merge "Create "on lock screen notifications" in Privacy" 2018-11-27 02:16:41 +00:00
Edgar Wang
78e8be5815 Update icon color for "Accessibility" and "Support & Tips"
Change-Id: I8cc9f5fcb6d4ba53cebdc7b580390b0f61194c75
Fixes: 119785748
Test: robotests & visual
2018-11-27 10:13:32 +08:00
Yuanjia Hsu
d25f37bc42 Merge "Link overlay emergency app by feature flag" 2018-11-27 01:49:02 +00:00
Neil Fuller
88d61c6b2a [automerger skipped] Merge "Track move of timezone classes to libcore.timezone" am: 3ddcb6a90a am: de0bd5321f
am: 18a275efc3  -s ours

Change-Id: I2915f6fad31d2106a6dcc9fd07c3e4897ae2e964
2018-11-26 16:28:19 -08:00
Leon Liao
7119c04794 Update Strings for Accessibility Timeout
Update or replace inaccurate strings in Accessibility Timeout feature.

Bug: 119283926
Bug: 119835657
Test: atest AccessibilityTimeoutControllerTest
Test: make RunSettingsRoboTests
Change-Id: I94a972332bbc2596b57f3369ad3af4ba1d24210b
2018-11-27 08:25:04 +08:00
Neil Fuller
18a275efc3 Merge "Track move of timezone classes to libcore.timezone" am: 3ddcb6a90a
am: de0bd5321f

Change-Id: I69516fa31c07a67621e8740ca14c19c40d5dd126
2018-11-26 15:48:38 -08:00
Neil Fuller
de0bd5321f Merge "Track move of timezone classes to libcore.timezone"
am: 3ddcb6a90a

Change-Id: Id7db6339cf9c5f886be9c8ba80b47e15783a4ea3
2018-11-26 15:27:52 -08:00
Matt Fritze
90899e08f0 First commit for settings panels
Establish the Activity which hosts Settings panels through the
PanelFragment. The Activity's purpose is to validate the intent
data coming in, including:
- Called with startActivityForResult (so we can log who is calling)
- Intent has the proper intent extra to link to a Panel

The fragment takes the Panelable data and builds a Settings Panel.
Each panel will have:
- Title
- List of Slices
- Link to underlying content

The Panelable interface is created to provide all of those datums, and
the new FetureProvider provides the Panelables by linking them with
keys. The keys will eventually become public APIs with CTS tests.For
now, we store them locally.

I included an exmaple panel, the InternetConnectivityPanel which
currently shows Wifi and Airplane mode.

Screenshot: https://screenshot.googleplex.com/c6sv7ZzQ5OJ
Bug: 117804089
Test: make -j40 RunSettingsRobotest
Test: Manual app
Change-Id: I1932f7179cc32088acd6413a736901ddf9651892
2018-11-26 15:26:02 -08:00
Neil Fuller
3ddcb6a90a Merge "Track move of timezone classes to libcore.timezone" 2018-11-26 23:04:33 +00:00
TreeHugger Robot
39d97b1387 Merge "Update battery percentage preference strings" 2018-11-26 23:03:12 +00:00
Youming Ye
976ca1c4c7 Merge "Display a toast to notify user that Preset APN setting cannot be viewed" am: a995cb334b am: e29c62ea04
am: e5e4e4cb76

Change-Id: Ic4c41e88c28a322d54a8489844b6ef0ff041d3a1
2018-11-26 14:09:21 -08:00
TreeHugger Robot
724930ae24 Merge "Change settings launcher icon background color" 2018-11-26 21:57:18 +00:00
Youming Ye
e5e4e4cb76 Merge "Display a toast to notify user that Preset APN setting cannot be viewed" am: a995cb334b
am: e29c62ea04

Change-Id: If37a038a2a226d0165293d7c40f133002bcd2991
2018-11-26 13:51:57 -08:00
TreeHugger Robot
164d2c943e Merge "Remove "Allow alarms" from top level DND settings" 2018-11-26 21:39:16 +00:00
Youming Ye
e29c62ea04 Merge "Display a toast to notify user that Preset APN setting cannot be viewed"
am: a995cb334b

Change-Id: If2bb27e7e9452ebcaab1d421adc07259b4b3b31c
2018-11-26 13:38:30 -08:00
Salvador Martinez
7b38d57080 Update battery percentage preference strings
This changes the preference to be "Battery Info" and
updates the summary text to mention time remaning in addition to
percentage.

Test: None, String only change
Change-Id: Id9a8132051455842a76104ed0f2abfca3b589011
Fixes: 119828170
2018-11-26 13:37:17 -08:00
Youming Ye
a995cb334b Merge "Display a toast to notify user that Preset APN setting cannot be viewed" 2018-11-26 21:14:14 +00:00
TreeHugger Robot
6d2a678b67 Merge "Fix action bar color in App info header" 2018-11-26 17:20:58 +00:00
yuanjiahsu
432650df20 Link overlay emergency app by feature flag
Add feature flag to link overlay emergency app instead of Emergency Info
app for teamfood in the future.

Test: Manually
Bug: 118809382
Change-Id: I7956704b9d134647cc0a1a5975a0bf8bea482422
2018-11-27 00:09:05 +08:00
Yanting Yang
87cd0f9db8 Modify margin for overall contextual settings home screen
- Excluding margin of search bar, it will be modified by b/118886724.

Bug: 119639077
Test: robotests, visual
Change-Id: I6776d69842c952de04864b5439ca2cd2fbdd5e09
2018-11-26 17:43:46 +08:00
Raff Tsai
2f180488f9 Hide dropdown list by default.
Test: manual
Change-Id: I0b3ae219404cf1c503cf71410d7bdcd5daef4fb6
Fixes: 119872107
2018-11-26 15:02:42 +08:00
TreeHugger Robot
5948259702 Merge "[WPA3] Filter unsupported networks from Add network spinner" 2018-11-26 02:46:15 +00:00
Arc Wang
abc37ee8c0 Merge "Upload basic UI files for Wi-Fi DPP Settings development." 2018-11-23 02:10:40 +00:00
Neil Fuller
17f04b66b2 Track move of timezone classes to libcore.timezone
Some time zone related libcore classes are moving from
libcore.util to libcore.timezone.

Bug: 119026403
Test: build only
Merged-In: I920411dfa7e000a0da9678826a035e0461211619
Change-Id: I920411dfa7e000a0da9678826a035e0461211619
(cherry picked from commit 1e1961a5b3)
2018-11-22 10:05:12 +00:00
Neil Fuller
990a76d6ec Merge "Track move of timezone classes to libcore.timezone" 2018-11-22 09:31:19 +00:00
Raff Tsai
a4586d40fd Change settings launcher icon background color
Change-Id: Ie24466120208fcd584fa1ee14020e39058992901
Fixes: 119119603
Test: visual
2018-11-22 14:26:40 +08:00
tmfang
dd7f99ba87 Fix action bar color in App info header
- Action bar color is same as status bar.

Test: visual
Fixes: 119893936
Change-Id: I8806295f9f42b27d14eb7f3521907a3a234b9593
2018-11-22 11:15:17 +08:00
Hai Shalom
1638168336 [WPA3] Filter unsupported networks from Add network spinner
Filter unsupported networks from Add network spinner. Removed entries
from wifi_dialog.xml, adding them dynamically based on device
capabilities. Adding position-to-security table, that decouples spinner
positions from security values.

Bug: 112195778
Test: atest WifiConfigControllerTest + device functional test
Change-Id: I6a814c4d69fbd8d8076db5dbaa5da807b4da4c32
2018-11-21 18:58:38 -08:00
Cosmo Hsieh
c4cb4168cf Merge "Implement NetworkRequestMatchCallback callback in NetworkRequestDialogFragment" 2018-11-22 02:22:23 +00:00
taiki tsutsumi
4d044ced6d Display a toast to notify user that Preset APN setting cannot be viewed
When KEY_HIDE_PRESET_APN_DETAILS_BOOL is set to true, Preset APN setting
is hidden. When user taps Preset APN, a toast should be shown to inform
that user cannot view the APN.

Test: manual - check Preset APN setting details are hidden
Bug: 115453290
Depends-On: I8a5c6f92f876d349b304acf89b4ffab86ff3f24b
Change-Id: I0078b3492ae87a4297f24871b8bea1579e6a79af
2018-11-21 15:40:58 -08:00
Pengquan Meng
41b06fd48e Merge "Fix CarrierSettings preference" 2018-11-21 19:38:43 +00:00
TreeHugger Robot
7c12c618c5 Merge "Update backup icon" 2018-11-21 19:10:58 +00:00
Beverly
c94da8b7ce Remove "Allow alarms" from top level DND settings
Test: manual
Bug: 111475013
Change-Id: Ieb2539a7f0a389738a936cb9210951d07121e69a
2018-11-21 13:23:37 -05:00
Maurice Lam
66806a6d47 [automerger skipped] Merge "Remove ShadowLibcoreTimeZoneNames" am: 45f8352422 am: 918c0c5896
am: c2772b777d  -s ours

Change-Id: Ifa9e663d5400ac18b099a51d53934864887ed6ef
2018-11-21 08:26:33 -08:00
Maurice Lam
c2772b777d Merge "Remove ShadowLibcoreTimeZoneNames" am: 45f8352422
am: 918c0c5896

Change-Id: I43ce51a3947ddb5e3f9deadfbbce2403ece9a182
2018-11-21 08:06:22 -08:00
Maurice Lam
918c0c5896 Merge "Remove ShadowLibcoreTimeZoneNames"
am: 45f8352422

Change-Id: I65b07e67025ad0dfaa85fc1c873e695d69ff0a9c
2018-11-21 07:44:39 -08:00
Treehugger Robot
45f8352422 Merge "Remove ShadowLibcoreTimeZoneNames" 2018-11-21 15:17:51 +00:00
Maurice Lam
3cf13adf9b Remove ShadowLibcoreTimeZoneNames
Bug: 119829838
Test: Treehugger

(cherry picked from commit cc2cf5ba5a)

Change-Id: I756265945dcf7c3b7a78a627c4dc32cff3c8e55c
Merged-In: I756265945dcf7c3b7a78a627c4dc32cff3c8e55c
2018-11-21 11:07:11 +00:00
Arc Wang
4591d82bdf Upload basic UI files for Wi-Fi DPP Settings development.
WifiDppQrCodeScannerActivity is the activity for user to scan
QR code and add device to a saved network.

Bug: 118797380
Test: manual
Change-Id: If2c8c5ba1620e5584fb47ba7b0ea2bc2d7acb641
2018-11-21 10:06:47 +00:00
Raff Tsai
eff51396df Update backup icon
Change-Id: I64f5999af162d6b9b932b1f947e43140e63354de
Fixes: 119290226
Test: visual
2018-11-21 15:43:25 +08:00
cosmohsieh
75c8805a99 Implement NetworkRequestMatchCallback callback in NetworkRequestDialogFragment
Use this callback to communicate with framework wifi api.
Will get candidates wifi ap list and related callback to select which wifi ap wanted to use, and related operated result status.

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: Ic8ee678c06f21050761ebb58dc0fe50bc5732e53
2018-11-21 06:33:11 +00:00
Raff Tsai
dbbbd7a83d Merge "Add BatteryFix Slice" 2018-11-21 05:57:32 +00:00
Fan Zhang
e471b65695 [automerger skipped] Hide quicksetting tile for dev options when it's turned off am: 73469d9de1 am: eeaff5deeb -s ours am: 622444d488 -s ours am: b232d21e3d -s ours
am: b84867f450  -s ours

Change-Id: I5dfcbd2a7ebcd539bc890c407c2098edc79b3327
2018-11-20 21:55:28 -08:00
Fan Zhang
28eed42144 [automerger skipped] Hide quicksetting tile for dev options when it's turned off am: 04f1e38dc3 -s ours am: cb560b65f5 -s ours
am: 1c60e846e6  -s ours

Change-Id: I0b221a7efd47eda735a906b533e36d6969f20404
2018-11-20 21:54:16 -08:00
Fan Zhang
5c952b4a18 [automerger skipped] Merge "Hide quicksetting tile for dev options when it's turned off" into pi-dev am: 4c16ad5abf -s ours
am: 1c5a636e17  -s ours

Change-Id: Ie5a937f3e695d63ff12044a40fc902a7f03882c7
2018-11-20 21:53:12 -08:00
Fan Zhang
b84867f450 [automerger skipped] Hide quicksetting tile for dev options when it's turned off am: 73469d9de1 am: eeaff5deeb -s ours am: 622444d488 -s ours
am: b232d21e3d  -s ours

Change-Id: I3556cb37a1ed60059fea16f4ffd91772ca15fbb3
2018-11-20 21:42:26 -08:00
Fan Zhang
1c60e846e6 [automerger skipped] Hide quicksetting tile for dev options when it's turned off am: 04f1e38dc3 -s ours
am: cb560b65f5  -s ours

Change-Id: I1d6e775641db02ec58b378382d997569ef97cd06
2018-11-20 21:41:34 -08:00
Fan Zhang
1c5a636e17 [automerger skipped] Merge "Hide quicksetting tile for dev options when it's turned off" into pi-dev
am: 4c16ad5abf  -s ours

Change-Id: I7a8f95eda10b14e0fd067a15dae38cd3751566f2
2018-11-20 21:40:53 -08:00
Johnson Lu
62367be28b Merge "Refine QrCamera.getBestPreviewSize method" 2018-11-21 05:38:15 +00:00