Commit Graph

19537 Commits

Author SHA1 Message Date
timhypeng
56590ca856 Extend single Slice max height
- overwrite the AndroidX value
- set the max height as ten remote media sessions(twenty row slices)

Bug: 147272814
Test: make -j50 RunSettingsRoboTests
Change-Id: I16d77fb142619ff0356ccefc90835e4f4f59926e
2020-01-08 15:35:26 +00:00
Shafik Nassar
2751c43f1d Merge "Add settings UI for MANAGE_EXTERNAL_STORAGE" 2020-01-08 11:54:18 +00:00
shafik
430b94bbc1 Add settings UI for MANAGE_EXTERNAL_STORAGE
Adds a Special App Access setting for the app-op
OP_MANAGE_EXTERNAL_STORAGE. All apps requesting the corresponding
permission will be displayed in the settings page. Toggling the
preference switch for an app will grant/revoke the app-op.

All of the external references to the permission, app-op and their
corresponding activities and logic use the name "Manage External
Storage". All of the external displays and strings use the name "All
files access"

Test: * Install app with uses-permission MANAGE_EXTERNAL_STORAGE
      * Observe it appearing the All files access page
      * Toggle the switch and observe the change in
        'adb shell dumpsys appops'
Bug: 146425146

Change-Id: If5c9c5daa3616a3310c090283acfda933bf9df26
2020-01-08 09:24:25 +00:00
Chienyuan
01f4f8432e MAP: Add developer option to control map version
Bug: 146916756
Test: manual
Change-Id: I6015e5dae8e2c19549babe556b84a2c5b24dd669
Merged-In: If32db03072e02b7b2477c7da943b6b0e6a9be260
2020-01-08 17:04:25 +08:00
Menghan Li
65a0488e1b Merge "Maginfy Improvement" 2020-01-08 07:30:38 +00:00
TreeHugger Robot
3a2e22660e Merge "Update work profile lock in Settings to latest spec" 2020-01-07 15:11:12 +00:00
Alex Johnston
7868acfa74 Update work profile lock in Settings to latest spec
* Updated FrameLayout of work profile lock in Settings to use GlifLayout
* Removed old background image of work profile lock
* Updated text for PIN, password and pattern
* Added enterprise logo to work profile lock

Bug: 141290838
Test: Manual testing
      atest com.android.settings.password

Change-Id: Ie09974857b6c76a182a8075b9e1964a2e0af0de9
2020-01-07 14:15:28 +00:00
menghanli
f3eb2de691 Maginfy Improvement
Implements the magnify new accessbility settings UI,
including the setupwizard and a11y settings

Bug: 146019459
Test: make RunSettingsRoboTests2
Change-Id: If11849a539c7841e2db495b63132e6d02b7285c0
2020-01-07 20:28:22 +08:00
TreeHugger Robot
8babf97ebe Merge "Import translations. DO NOT MERGE" 2020-01-07 11:01:25 +00:00
TreeHugger Robot
78ba4e2966 Merge "Update summary in Backup Settings when launch by workprofile" 2020-01-07 08:39:59 +00:00
PETER LIANG
a251678fe6 Merge "Fine-tune the layout of shortcut preference." 2020-01-07 08:10:36 +00:00
Peter_Liang
9a6bf825e8 Fine-tune the layout of shortcut preference.
The checkbox position of shortcut preference is not consistent with
  others internal components.

Bug: b/147270184
Bug: b/142530063
Fix: b/147270184
Test: manual test
Change-Id: Ie1c2e5909e814180ff731c5bf0b362f6f1489dec
2020-01-07 07:06:59 +00:00
Jasper Chang
875727c2ab Merge "Create palette preview for color correction." 2020-01-07 03:20:54 +00:00
Bill Yi
ea38ee575c Import translations. DO NOT MERGE
Change-Id: I534651e241a731ea3b099e5741be1fd8778bd6f8
Auto-generated-cl: translation import
2020-01-06 18:59:23 -08:00
JasperChang
556687661c Create palette preview for color correction.
Bug: 145968068
Test: make RunSettingsRoboTests ROBOTEST_FILTER=PaletteListViewTest
Test: make RunSettingsRoboTests2

Change-Id: If624c8ab5b6c212b5a3ad97ceac57404d34b9deb
2020-01-07 10:15:32 +08:00
Bill Yi
0fa472ca45 Import translations. DO NOT MERGE
Change-Id: I5909e79bde748893e3771495d02194c8c4f37ae2
Auto-generated-cl: translation import
2020-01-06 18:02:00 -08:00
TreeHugger Robot
1772ec0040 Merge "[Wi-Fi] Implement Wi-Fi Auto-connect feature" 2020-01-06 09:09:20 +00:00
TreeHugger Robot
f885362e9f Merge "MAP: Add developer option to control map version" 2020-01-06 08:59:19 +00:00
Chienyuan
da1ca35dc4 MAP: Add developer option to control map version
Bug: 146916756
Test: manual
Change-Id: If32db03072e02b7b2477c7da943b6b0e6a9be260
2020-01-06 11:36:00 +08:00
Arc Wang
7dda07fe81 [Wi-Fi] Implement Wi-Fi Auto-connect feature
This feature allows users to specify if a Wi-Fi network
will be auto connected after disconnection.

Bug: 136472407
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WifiAutoConnectPreferenceController2Test
Change-Id: I8a7c02ba3fc4cbfbfb431fa99c42279ca29e9492
2020-01-06 10:19:30 +08:00
TreeHugger Robot
fdf29da1cb Merge "Import translations. DO NOT MERGE" 2020-01-03 19:19:34 +00:00
Edgar Wang
9a2629ba84 Update summary in Backup Settings when launch by workprofile
Fixes: 143476057
Test: manual
Change-Id: I73de18e0847aa37653f655a73e1d65382121e025
2020-01-03 19:05:40 +08:00
TreeHugger Robot
4214463f5c Merge "Add 5G icon in manual network selection." 2020-01-03 07:41:12 +00:00
Bill Yi
078e8f62be Import translations. DO NOT MERGE
Change-Id: I674b454b87d6d07a2d18808dab5629a25f8a2bda
Auto-generated-cl: translation import
2020-01-02 22:58:12 -08:00
Jason Chiu
bcaac763d2 Merge "Add preference click metric logs for some special cases" 2020-01-03 03:30:15 +00:00
Arc Wang
644b24ccf3 Merge "[Wi-Fi] Support disconnect button for connected Wi-Fi AP" 2020-01-03 01:45:45 +00:00
Jason Chiu
2d609759cd Add preference click metric logs for some special cases
Bug: 137559984
Test: visual, robotest
Change-Id: If8624b49abcd0000487065160ce4a7ba861f234c
2020-01-02 17:45:23 +08:00
danielwbhuang
bf11e47a1b Add 5G icon in manual network selection.
Manual network selection need to have 5G icon when 5G signal is
available.

Bug: 143995814
Test: 1. Build pass.
2. check UI:
3-1. Open APN settings page: Settings > Network & Internet > Mobile Network > Advanced > Access Point Names
3-2. Turn off Automatically select network

Change-Id: I3664105d3bf52e3694a2274c6aa76a755de4e1dd
2020-01-02 15:59:46 +08:00
Jason Hsu
bda73ed270 Merge "Accessibility shortcut secondary action - auto hide divider in shortcutPreference" 2020-01-02 07:15:55 +00:00
Stanley Wang
74e42c7d6f Merge "The index implementation for face unlock settings." 2019-12-31 15:11:21 +00:00
TreeHugger Robot
7ab84a073a Merge "[Wi-Fi] Show link speed for WifiDialog2 MODE_VIEW" 2019-12-31 11:16:18 +00:00
Stanley Wang
e81d6b7b31 The index implementation for face unlock settings.
- Index the delete face unlock preference and set up face unlock preference.

Fixes: 147031175
Test: manual
Change-Id: Ia984a116947d0c2e6a909f53914d081e25496f87
2019-12-31 18:59:46 +08:00
Arc Wang
3971d4e0c4 [Wi-Fi] Support disconnect button for connected Wi-Fi AP
Connect button becomes Disconnect button if the Wi-Fi AP
is connected.

Bug: 135891885
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=WifiDetailPreferenceController2Test
Change-Id: I0e0d485385294658170da3d37bc1cc1f8748468f
2019-12-31 17:06:44 +08:00
Arc Wang
808070ccbb [Wi-Fi] Show link speed for WifiDialog2 MODE_VIEW
Now there is no WifiDialog2 MODE_VIEW use case since
they are replaced by WifiNetworkDetailsFragment2.

Should think about removing MODE_VIEW in the future,
however, we should let it work before phase out it.

Bug: 146407136
Test: build
Change-Id: I7cd470c74cea846046975b8c65fd2604702cc136
2019-12-31 14:54:31 +08:00
jasonwshsu
a2cf6a1313 Accessibility shortcut secondary action - auto hide divider in shortcutPreference
- Hide divider when settings view is gone.

Bug: 142530063
Test: manual
Change-Id: I07c9aa628c4e300d1fd21fe5b87c18ff1c294e17
2019-12-31 12:12:49 +08:00
Stanley Wang
ae89ecf8d0 Merge "Remove the unused slices." 2019-12-31 02:04:59 +00:00
Stanley Wang
9fd20149c9 Merge "Index wi-fi preferences." 2019-12-31 02:04:24 +00:00
Stanley Wang
0577751718 Index wi-fi preferences.
- Add xml file to index "Saved network" and "Wifi data usage"
preferences.
- Disable the "Saved network" if the access points is empty.
- Disable the "Wifi data usage" if there is no wifi radio.

Fixes: 146823365
Test: manual
Change-Id: I049d0463fd58f186dae1d5f54dcc914f52031da7
2019-12-30 19:50:18 +08:00
Stanley Wang
5ce5349167 Remove the unused slices.
Remove the DataUsageSlice, DeviceInfoSlice and EmergencyInfoSlice.

Fixes: 146994847
Test: robotest
Change-Id: Ic840e9cc93e99b3c0a34eb6536401db34c98eca8
2019-12-30 19:04:49 +08:00
govenliu
91d6dfc455 [Wi-Fi] Hide the Advanced Option after expanding the advanced option fields.
To align with other advanced option behaviors in other Settings items, hide the Advanced Option button after the hidden advanced options are show, which also solve the a11y issue.

Bug: 146908469
Test: Add test case getVisibility_whenAdvancedOptionClicked_shouldBeGone
to verify View is Gone.
Change-Id: I11b2f9b250a7d50d32b8c05207498f4cf14feb41
2019-12-30 12:48:29 +08:00
Bill Yi
7369a964a2 Import translations. DO NOT MERGE
Change-Id: I450573e52646e40a777bc10ddd4afa56458f5f18
Auto-generated-cl: translation import
2019-12-28 20:54:14 -08:00
TreeHugger Robot
082a9de20f Merge "Enlarge height of Edit box in "Profile info" dialog" 2019-12-27 18:30:35 +00:00
TreeHugger Robot
605759721c Merge "Settings: Increase char limit of show refresh rate" 2019-12-27 18:27:05 +00:00
TreeHugger Robot
8b5d71396e Merge "Modify NFC function description" 2019-12-27 08:11:28 +00:00
Edgar Wang
9a2d348aa0 Enlarge height of Edit box in "Profile info" dialog
Fixes: 140002880
Test: manual
Change-Id: If9f8c3f4360e886cfecabc3eb8c1a6da452f45d2
2019-12-27 15:35:34 +08:00
Jason Chiu
b2639ad11f Merge "Fix the ripple effect of homepage slice cards" 2019-12-27 04:03:19 +00:00
Ady Abraham
68aacdd487 Settings: Increase char limit of show refresh rate
Increase the char limit for the developer option "show refresh rate"
to accommodate translations.

Bug: 146766957
Bug: 146766391
Change-Id: I324356278a31551db6da74ef0eb09068d36122b2
Test: Set a 36 char string on "show_refresh_rate" and observe no truncation
Test: Set a 58 char string on "show_refresh_rate_summary" and observe no truncation
2019-12-26 20:03:03 +00:00
TreeHugger Robot
31a8699e77 Merge "Remove un-used category from Date & Time Settings" 2019-12-26 12:04:37 +00:00
robertluo
91751f8d68 Modify NFC function description
Fixes: 140156062
Test: manually and check if new string is applied
Screenshot: https://screenshot.googleplex.com/SQH204CZBVN.png

Change-Id: Ie1eb2387f8763f77aaf87a93c14b4d8d778ac7ee
2019-12-26 12:04:01 +00:00
Automerger Merge Worker
aad8fd1e57 Merge "Modify 5G RAT into Bearer field." am: 79977fadca am: 7664d08e28 am: 9494af9634
Change-Id: I283ca8f4b4183ecbd894fa0b36cd4c35335ba6ac
2019-12-26 11:57:42 +00:00