Commit Graph

49356 Commits

Author SHA1 Message Date
tmfang
fe03fa546a Connect button should have correct icon
Test: visual
Change-Id: I3688a309a538112c60f5d6084c774c08a2ac05d5
Fixes: 119758987
2018-11-29 15:21:27 +08:00
Arc Wang
f5d6089d35 Upload basic UI files for Wi-Fi DPP Settings development II.
Add 3 fragments:

  WifiDppQrCodeGeneratorFragment
  WifiDppChooseSavedWifiNetworkFragment
  WifiDppAddDeviceFragment

Bug: 118797380
     118797202
     118794978
     118796825
     118794858
Test: atest WifiDppConfiguratorActivityTest
      atest WifiDppQrCodeScannerFragmentTest
      atest atest RunSettingsRoboTests

Change-Id: I2fbc2f46f941d49b63e4ac74d92f94bf617d2b9b
2018-11-29 07:11:29 +00:00
TreeHugger Robot
d4fc724f95 Merge "Add contextual card feedback email mechanism." 2018-11-29 03:43:39 +00:00
TreeHugger Robot
f22268c854 Merge "Fix conditional cards disappeared from contextual homepage" 2018-11-29 03:31:50 +00:00
Bill Yi
03812c93d1 Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-release
Change-Id: I120adda515fd4891b6b9b68e93cef5555951bacc
2018-11-28 18:34:54 -08:00
Yi-Ling Chuang
68f37a19ae Add contextual card feedback email mechanism.
When users dismiss a card, ask them for feedback.

Bug: 113783548
Test: robotests
Change-Id: I4f53f89ff8377b0dae8c1fc13c6e474456f90c2f
2018-11-29 10:10:57 +08:00
Mill Chen
e44d953a25 Fix conditional cards disappeared from contextual homepage
This symptom only occurred in the case of more than 3 conditional cards
and no suggestion cards in homepage. It is caused by incompletely keeping
conditional cards. So adding missing card types makes conditional cards
be kept correctly.

Bug: 120115919
Test: robotest
Change-Id: Ic67c0a813de4f966c164bf92e4d4d64debcf95be
2018-11-29 10:00:13 +08:00
TreeHugger Robot
2315e7b74e Merge "Visual update: remove card elevation for homepage cards." 2018-11-29 01:49:22 +00:00
Fan Zhang
2183027073 Merge "Remove TODO item from ContextualCardsAdapter in homepage" 2018-11-28 23:17:05 +00:00
Doris Ling
52552ab0ab Remove WifiDetailPreference.
- use the standard Preference instead to display the wifi details, and
enable sumary copying for the preferences under Wifi Network details.

Change-Id: I5371ac667d9239276f6492896123d617f5193871
Fixes: 62493282
Test: make RunSettingsRoboTests
2018-11-28 15:06:58 -08:00
Doris Ling
077d75697c Merge "Enable copying for some settings preferences." 2018-11-28 23:03:33 +00:00
Josh Hou
170afc4827 Merge "Refine APN fetching logic" 2018-11-28 22:24:35 +00:00
Christine Franks
bce91d9418 Move color management check to ColorDisplayManager
Bug: 111215474
Test: make RunSettingsRoboTests -j100
Change-Id: I8ab675a49e119014e59fcfdb61fcd9253e8c0da1
2018-11-28 13:09:47 -08:00
Fan Zhang
eba6143a05 Add an res id to scrollable view to help with testing
Change-Id: I9851c808866c0d82da354f2c7918ae53cc68ea64
Fixes: 120145871
Test: rebuild
2018-11-28 12:58:14 -08:00
Doris Ling
74f7b307b0 Enable copying for some settings preferences.
- add enableCopying attribute to app version, wifi ipv6 address, and
other preferences in About Phone settings.

Bug: 62493282
Test: manual
Change-Id: I6ff0848909ec6ade6605967116bf3178ab069c32
2018-11-28 12:25:39 -08:00
Fan Zhang
a60652a973 Visual update: remove card elevation for homepage cards.
- Replace CardView with MaterialCardView
- Add strokeColor and strokeWidth to MaterialCardView
- Set cardElevation to 0dp.

And remove a few unused layout, clean up color lint whitelist.

Test: rebuild, visual
Change-Id: I34a4b9a985cb85c212e123b8af5353d8c548923a
2018-11-28 10:42:00 -08:00
Beverly
c4b72388b0 Set min height of zen radio button to 48dp
Test: manual using accessibility scanner
Change-Id: I5fd92a3420bca2b3eb371241ef2ee463f9f27009
Fixes: 119585103
2018-11-28 11:31:50 -05:00
Mill Chen
8552458b7e Update the strings of conditional cards
Bug: 113451905
Test: visual
Change-Id: I023e005a0a913981f0e0445fa42b7a76b51d3021
2018-11-28 20:33:08 +08:00
Mill Chen
d780928149 Remove TODO item from ContextualCardsAdapter in homepage
Bug: 114009676
Test: rebuild
Change-Id: I57138d766d75c717189c81ddab21503bd1cb9471
2018-11-28 19:32:10 +08:00
Cosmo Hsieh
59099f19cb Merge "Add NetworkRequestDialogActivity" 2018-11-28 05:59:11 +00:00
TreeHugger Robot
0237c3cd48 Merge "Expand more buttons for ActionButtonPreference" 2018-11-28 05:09:47 +00:00
tmfang
15f2fe9551 Expand more buttons for ActionButtonPreference
Old design, we only need two action buttons in Settings app.
In the future, we need four buttons for some use cases.

Test: visual, robotest
Bug: 120005054
Change-Id: I859fee8d7167ce59222059cc441e4a3c167c7b34
2018-11-28 10:24:07 +08:00
TreeHugger Robot
926571dc29 Merge "Hide the SelfAvailablePreference if it is not available." 2018-11-28 00:51:17 +00:00
Doris Ling
fe5259493d Hide the SelfAvailablePreference if it is not available.
- instead of removing it from the preference screen, set its visibility
to false, so that if it becomes available later, it will still be found
on the screen.

Bug: 119838520
Test: make RunSettingsRoboTests
Change-Id: Idc7079bb5846aef247dd87c0b0dba2546f2d8f8f
2018-11-27 14:58:55 -08:00
TreeHugger Robot
8bda3a5956 Merge "Removing references to ASEC" 2018-11-27 22:32:35 +00:00
TreeHugger Robot
277ec1b92c Merge "Misc clean up." 2018-11-27 22:13:37 +00:00
Fan Zhang
e5b46cc6b8 Merge "Add test cases for the collapsible feature of conditional card" 2018-11-27 21:44:30 +00:00
TreeHugger Robot
ef02d589c8 Merge "Implement the collapsible feature of conditional card" 2018-11-27 21:43:57 +00:00
Fan Zhang
9864a70f12 Misc clean up.
- Remove unused SubSetingLauncher parameters: hide_drawer, is_shortcut

Test: robotests
Change-Id: Ic0e6c3aa2c1679010e7ca8356662899f0df7e272
2018-11-27 12:37:57 -08:00
Patrick Baumann
5c9f3757cb Removing references to ASEC
This change removes references to long deprecated, now removed constants
supporting ASEC containers in the framework.

Test: builds
Bug: 109941548
Change-Id: I630f784c69dd635632ec9359669d222549053bbd
2018-11-27 10:33:41 -08:00
TreeHugger Robot
92b6f1b685 Merge "Update icon color for "Accessibility" and "Support & Tips"" 2018-11-27 18:20:29 +00:00
Fan Zhang
c6b28045df Merge "Stop showing battery card in homepage" 2018-11-27 18:18:48 +00:00
Matthew Fritze
71a255968f Merge "First commit for settings panels" 2018-11-27 17:34:22 +00:00
Mill Chen
96e6e39613 Add test cases for the collapsible feature of conditional card
Bug: 119593268
Bug: 113451905
Test: robotests
Change-Id: I402f4c975531639b12c24ab8a05a20e547600721
2018-11-27 23:06:33 +08:00
Mill Chen
da1ffe8807 Implement the collapsible feature of conditional card
Add two control views for conditional card to achieve collapsibility.
One of these control views is a footer that is appended to the last
position when expanding all conditional cards. The other is a header
that is used in the collapsed state of conditional cards.

Bug: 119593268
Bug: 113451905
Test: visual, robotests
Change-Id: I39e79b8925a9e3e4ce80c422bcd0ba889aba5f6a
2018-11-27 22:55:04 +08:00
Yanting Yang
e11c1d0382 Stop showing battery card in homepage
In previous design, we add default card feature for "me Card". But "me
Card" is being built by another team. We have removed related cards from
default card feature in ag/5394464 but battery card. Now, remove it.

Fixes: 119819851
Test: robotests
Change-Id: I445546024c80c227abce649008ec648340577e99
2018-11-27 19:08:23 +08:00
TreeHugger Robot
b0bed799c0 Merge "Use SettingsLib's LayoutPreference" 2018-11-27 09:51:14 +00:00
cosmohsieh
da37bb7df7 Add NetworkRequestDialogActivity
Framwork will call this activity to start network requesting process.
This activity is simple activity contained NetworkRequestDialogFragment
and any other dialog generated in this process, aka
NetworkRequestTimeoutDialog.

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: Ib1df28d12427ed3bd7d4b88ec10e52357564c797
2018-11-27 17:31:25 +08:00
Josh Hou
1e1d6d1466 Refine APN fetching logic
APN fetching logic has been encapsulated in URL_SIM_APN_LIST API in
TelephonyProvider

Bug: 115709816
Test: Live netwrk test
Change-Id: I735bc50e912dfbec0903fbcafdc4d6eaa6ccfc7b
2018-11-27 15:59:39 +08:00
tmfang
dce94bb237 Use SettingsLib's LayoutPreference
- Remove LayoutPreference in Settings source code.
- Remove unused style, layout
- Replace old imports to com.android.settingslib.widget.LayoutPreference
- Replace old XML tag to com.android.settingslib.widget.LayoutPreference

Test: robotest, manual test
Bug: 120005054
Change-Id: I9ae1ae14a16f443e11ac5d75b6038c7c5e253844
2018-11-27 13:12:53 +08:00
TreeHugger Robot
397e2d7735 Merge "Implement the renderers for conditional header and footer" 2018-11-27 04:15:26 +00:00
TreeHugger Robot
9dbb20cc23 Merge "Clean up LayoutPreference" 2018-11-27 03:35:12 +00:00
tmfang
7b2529d142 Clean up LayoutPreference
- There is no any custom preference uses R.id.all_details,
  so clean up some code.

Test: robotest
Bug: 120005054
Change-Id: Ib40483934cd6d6c0bbaa2864d40dbf09483d98aa
2018-11-27 03:33:49 +00:00
Yanting Yang
8538778d4d Merge "Modify margin for overall contextual settings home screen" 2018-11-27 03:02:55 +00:00
Mill Chen
7fb3461a59 Implement the renderers for conditional header and footer
Bug: 119593268
Bug: 113451905
Test: visual
Change-Id: I43d6ca8508f0ba49796004d679d6cbe37ddf4455
2018-11-27 10:45:39 +08:00
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