Commit Graph

16899 Commits

Author SHA1 Message Date
Raff Tsai
131eeac4aa Merge "Change dialog text styles" 2019-03-06 03:37:18 +00:00
Ryusuke Sawa
9f7875d547 Support VPN Proxy(2/2)
Adding VPN Proxy settings in advanced option.
 - Proxy host name
 - Proxy port

Bug: 118793208
Test: runtest

Change-Id: I40f3cf049f5822eefc3f9e6ba5dd0bb80c9b3945
2019-03-06 10:38:48 +09:00
Sunny Shao
bb455b8b2d Update the color of the expand icon as accent color
Fixes: 126926489
Test: manual view
Change-Id: I0200e53733ce629686fa6fd53df70809f7cedbb5
2019-03-06 08:59:51 +08:00
Matthew Fritze
6b065caf7e Disable Moblie Data Slice in AP mode
When airplane mode is enabled, users should not be able to
change the value of mobile data. Thus, when airplane mode is enabled,
replace the Slice with a no-op slice explaining why it cannot be
changed.

Fixes:
Fixes: 126726036
Test: robotests
Change-Id: I1c6d95dbb9d0c51247709b9867506c800f5872cd
2019-03-05 14:46:32 -08:00
jackqdyulei
88a2e34e37 Add translatable="false" for config array
Fixes: 115712164
Test: Manual
Change-Id: I0ed80ff798d461f9604a4bddd29d6c11a6e6b805
2019-03-05 13:05:53 -08:00
Yi-Ling Chuang
76b70687e7 Swap the buttons in the dismissal view.
The affirmative button should be on the right.

Fixes: 126265410
Test: visual
Change-Id: I72ddbacd5ce417cb4271d07c1cfc77e10ccad49a
2019-03-05 17:16:20 +08:00
Yanting Yang
52367e8c65 Remove dismissal behavior from deferred setup card
Deferred setup is not skippable as user will need to review all SUW
screens at least one time.

Fixes: 126225957
Test: visual, robotests
Change-Id: I7b32c2382f459690d3b136cf9faa543d04aa8d3d
2019-03-05 17:08:51 +08:00
Raff Tsai
953e39004f Change dialog text styles
Fixes: 126890487
Test: visual
Change-Id: I21b4264fd6b5c7f5fb79c3669bae366513c1ec65
2019-03-05 12:07:50 +08:00
TreeHugger Robot
1795e0323c Merge "Increasing char limit to 67 per linguists' request." 2019-03-04 22:49:30 +00:00
TreeHugger Robot
30784fdd03 Merge "Add flag to hide top-level accessibility." 2019-03-04 22:30:12 +00:00
Alex Buynytskyy
ae0dd95ab6 Increasing char limit to 67 per linguists' request.
Test: make RunSettingsRoboTests ROBOTEST_FILTER=development
BUG: 126266234
Change-Id: Ia169343355a73c3493407c51dc728c868dfdf565
2019-03-04 13:03:44 -08:00
TreeHugger Robot
ca299cf281 Merge "Add search key for fingerprint" 2019-03-04 20:53:38 +00:00
Fan Zhang
d3d7ca1588 Add search key for fingerprint
Fixes: 126683958
Test: search again
Change-Id: I368da656656cef5c283f6df712469e106d4d88ed
2019-03-04 10:08:28 -08:00
TreeHugger Robot
2921e298c4 Merge "Use the colorAccent for ghost boy avatar" 2019-03-04 06:32:34 +00:00
TreeHugger Robot
d7e240e6ce Merge "[MAC Randomization] Extend char limitation for translation" 2019-03-04 05:20:35 +00:00
Sunny Shao
b510ad24bc Use the colorAccent for ghost boy avatar
Bug: 126926489
Test: manual review
Change-Id: I3e6b90ba9b39f1fe59103d5aa453d8c41533cb11
2019-03-04 11:46:36 +08:00
cosmohsieh
07e1972822 [MAC Randomization] Extend char limitation for translation
Extend char limit for translation

Bug: b/126267054
Test: Manual
Change-Id: Iafa0b6f10e1024889c826ecd45c855769d8f389e
2019-03-04 08:53:22 +08:00
Bill Yi
7649b36c6a Import translations. DO NOT MERGE
Change-Id: I753d8e32cd7b58e68540fee3f95196d96fd2b651
Auto-generated-cl: translation import
2019-03-02 10:39:14 -08:00
Ben Lin
5124ab5d92 Add flag to hide top-level accessibility.
Bug: None
Test: robotests
Change-Id: I67cee6054e54389812bc025e637029547c8f2896
2019-03-01 16:13:23 -08:00
Leon Liao
142a9f1c40 Merge "Update education strings on A11y 'Time to read' UI" 2019-03-01 18:46:23 +00:00
Raff Tsai
7d776450e3 Merge "Change preferece category text style" 2019-03-01 15:30:48 +00:00
TreeHugger Robot
a9308663c3 Merge "[Passpointv2] Implement confirm dialog for passpoint forget button" 2019-03-01 10:17:54 +00:00
TreeHugger Robot
685b6b4df1 Merge "UX Fixes for Settings Panels" 2019-03-01 01:57:07 +00:00
Raff Tsai
c30a8ed011 Change preferece category text style
Fixes: 117402186
Test: visual
Change-Id: I06fb4ca5acdbdef730e0799f4b6db647f104ff25
2019-03-01 09:40:55 +08:00
Matthew Fritze
cafeaadaa6 UX Fixes for Settings Panels
UI Fixes include:
- Fix height of bottom bar
- Fix start / end padding of See More and Done buttons
- Remove scroll shadow in recycler view
- Consolidate most layout code into a single file, only
separating the distinguished elements into the landscape file.

I cannot fix b/126731930 until a Slice bug is fixed, where the top
padding is applied to the bottom of sliceview instead.

Fixes: 126720235
Fixes: 126720220
Fixes: 126720167
Test: manual inspection & layout inspector

Change-Id: I6e3434aabe221134e7278f92bab34122719c179a
2019-02-28 16:16:10 -08:00
jackqdyulei
f25c9b0efc Add remote volume slider to sound settings
1. Add RemoteVolumePreferenceController to control volume through
MediaSessions.
2. Add related preference to skip calling AudioManager.

Bug: 126199571
Test: RunSettingsRoboTests
Change-Id: I9cb85ccf5f49be6d127cb61caf445b2ee7dfb579
2019-02-28 10:50:05 -08:00
TreeHugger Robot
11d1256fcc Merge "Update wallpaper icon for SUW Anything else screen" 2019-02-27 20:42:28 +00:00
Zhi An Ng
c6b4170460 Merge "Disable system alert window permissions on low ram devices" 2019-02-27 17:06:50 +00:00
Mill Chen
e1fd5af2e5 Update wallpaper icon for SUW Anything else screen
A dot icon is displaying for "Change wallpaper" option on SUW Anything
else screen, the cause is that we updated new colorful icons for
homepage suggestions. So we changed the drawable back and deleted the
unused icon.

Bug: 125426694
Test: visual
Change-Id: I8cf6d6dda311a45362a47ea31dc352ba4d452f80
2019-02-27 16:03:17 +08:00
Kevin Chang
40d496471a Merge "Duplicate dark mode settings to accessibility display settings" 2019-02-27 03:15:39 +00:00
TreeHugger Robot
b80a409a21 Merge "Create a preference controller for "App info"" 2019-02-27 03:02:46 +00:00
Ng Zhi An
b97bdc38da Disable system alert window permissions on low ram devices
Bug: 63697002
Bug: 117832554
Test: adb am start-activity -a
android.settings.action.MANAGE_OVERLAY_PERMISSION
Change-Id: I44c64001cd07fd4934cdc55f455384cebd5c9cfb
2019-02-26 17:58:43 -08:00
Kevin Chang
a78b9222b0 Duplicate dark mode settings to accessibility display settings
Bug: 123227114
Test: Manual
      make RunSettingsRoboTests ROBOTEST_FILTER=AccessibilitySettings
Change-Id: Icb60bc18e31377a2e73780004bd1bdea7bc96eea
2019-02-27 09:18:40 +08:00
TreeHugger Robot
d3824aa426 Merge "Fix panel bugs" 2019-02-26 23:40:15 +00:00
Matthew Fritze
db7fe5e5f7 Fix panel bugs
Add unique task affinity so the panel activity
always opens alone. Apparently the launchMode="singleTop" was
insufficient.

Test: manual app
Fixes: 126385021
Fixes: 126386586
Fixes: 126326438
Change-Id: I775e84701d006cfbe0d9ddfff83669b3f8487b33
2019-02-26 14:14:56 -08:00
Matthew Fritze
9e50419c75 Remove NFC Slice jank
The NFC Slice would jank on enable and disable, because of the
intent filter it registered with SysUI. The intent filter would
broadcast an update for four states:
1) On
2) Off
3) Turning On
4) Turning off

The first two caused no problems. The third and fourth caused jank,
since when clicked, the switch in the NFC slice would turn on / off
asynchronously - that is, it turned on or off based on the previous
state of the switch, rather than on the actual value of NFC. It does
this to feel fluid in the app in which it is rendered.

From the off state, the order of events is:
1.  Switch clicked
2.  Switch animates on
2.  Background intent is fired to settings to turn on Nfc (happens at
       the same time as animation)
3.  Settings calls the NFC enable API
4.  A broadcast for Turning On is sent
5.  The receiver in SysUI gets the broadcast and forwards it to settings
6.  Settings tells the Slice to make sure it is up to date
7.  The Slice checks for the current value - IMPORTANTLY - which is
        currently off, it is only in the process of being enabled.
8.  The Slice flips back off
9.  Nfc finishes getting enabled in the background
10. The framework pushes the NFC ON broadcast
11. SysUI gets the broadcast, and forwards it to settings
12. Settings tells the slice to update
13. The slice checks again and finds that NFC is on, flipping on.

This CL creates a new background slice worker for NFC and registers
the intent filter there, rather than in SysUI. When the background
worker gets the broadcast, it checks if it is in state 3/4, and if so,
it drops the update silently.

Fixes: 115737701
Test: robotests
Change-Id: I17043828ad3a67a2a5acdf5c75d9cc51ff7e91d0
2019-02-26 08:20:38 -08:00
TreeHugger Robot
6f1dd719d7 Merge "Update char limit for "Erase all data?"" 2019-02-26 11:46:08 +00:00
tmfang
826879ed63 Create a preference controller for "App info"
We try to avoid managing too many preferences in a controller.
So, we create another controller to manage all apps info preference.

RecentAppsPreferenceController and AllAppsInfoPreferenceController
share same state of recent apps in order to improve the performance.

Test: visual, robo test
Fixes: 126134996
Change-Id: I1d8a175b213831415797437c64fd9d432864f9d3
2019-02-26 19:34:46 +08:00
Mill Chen
e0f77323b5 Update char limit for "Erase all data?"
Increasing the character limit for the "Erase all data?" to 33 chars.

Bug: 122929703
Test: rebuild
Change-Id: I673c22878c1f1cfa2b2dd8f456689be31fb5ff77
2019-02-26 18:10:46 +08:00
TreeHugger Robot
6dcb6a35c3 Merge "Update strings for Wi-Fi DPP handshake running state" 2019-02-26 07:15:27 +00:00
TreeHugger Robot
2b0611cec4 Merge changes I9f1edb0a,Iaba7077c
* changes:
  Make model & hardware UI full screen.
  Merge Copyable into Sliceable.
2019-02-26 04:00:13 +00:00
Arc Wang
d1d2c029af Merge "Fix [a11y][Qt]Small touch targets in Add network page after running Accessibility scanner" 2019-02-26 01:42:00 +00:00
Fan Zhang
8ae1514299 Make model & hardware UI full screen.
Bug: 112427717
Test: robotests
Change-Id: I9f1edb0ab377aff142b57d86f4fa218b755356b1
2019-02-25 16:36:04 -08:00
Youming Ye
ecd1998ea0 Merge "Fix issue that the wifi calling text cannot be customized based on sim" am: 5b3ee7afaa
am: e3844769e6

Change-Id: Id1d2e5e9a061d844ecc69eed35b2c36d61a0a416
2019-02-25 13:08:32 -08:00
TreeHugger Robot
ba9af60132 Merge "Fix invalid style reference in xml" 2019-02-25 21:06:16 +00:00
Fan Zhang
aef472d0ca Merge "Convert android version dialog into a full screen UI" 2019-02-25 20:33:36 +00:00
Arc Wang
957ce7f7aa Update strings for Wi-Fi DPP handshake running state
Bug: 125987679
Test: manual test
Change-Id: I55eddee5f3c0c28d1be23b5b9d8c0b56280be797
2019-02-25 15:06:16 +08:00
Arc Wang
3e5a1e63f8 Fix [a11y][Qt]Small touch targets in Add network page after
running Accessibility scanner

Set ImageButton minWidth/minHeight 48dp (min_tap_target_size)

Bug: 125078917
Test: accessbility scanner
Change-Id: I5b96cc476134d48eb503b5a6150406655331c673
2019-02-25 11:07:00 +08:00
TreeHugger Robot
0d8d233a3d Merge "Remove hardcoded Uri to get slice settings" 2019-02-25 02:22:39 +00:00
TreeHugger Robot
74d549fc19 Merge "Fix no result for "Privacy" keyword" 2019-02-23 08:47:15 +00:00