Commit Graph

51965 Commits

Author SHA1 Message Date
joshmccloskey
ac653b9838 Updated Face Enroll Introduction
Test: Builds.
Bug: 131774204
Change-Id: Ibccd54185b9d8ffbfd2678be1c8680ffb1699425
2019-05-07 15:28:14 -07:00
Jonathan Scott
687b18067c [RESTRICT AUTOMERGE] Make ScreenPinningSettings behaviour consistent with LockTaskController.
Bug: 127605586
Test: Manual
Change-Id: Id85632b5e6975fc5f92d6e8126a6603a07f097e1
2019-05-07 15:28:05 -07:00
Brad Ebinger
5caefbff3f Resolve the SIM call manager per subId
The SIM call manager used to be resolved based
on what the default voice subscription ID was.
This caused settings to be displayed for the
incorrect subscription. A new API has been added
that allows settings to query the SIM call manager
per subId.

Test: manual, unit testing
Bug: 131627085
Change-Id: I7699508429f7df7a138c24c4c7a6e9f1148b84da
2019-05-07 21:45:05 +00:00
Daniel Solomon
6257d077bf Merge "Hide display white balance setting depending on accessibility" into qt-dev
am: 11b68bc420

Change-Id: I17076f9e4ca041d835e1817f76a532ecbe4e5cc6
2019-05-07 14:36:47 -07:00
Fan Zhang
547c975bcc Add flag to disable part of event_logging in Settings.
- Fork SettingsEventLogWriter from EventLogWritter. This is identical to
the base class except it overrides some logging method with a flag
check.  We can't entirely disable event_log logging because some of the stuff
being logged will not exist in stats_log, for example paired metadata.

Bug: 129697155
Test: robotest
Change-Id: I9cd46bbb54cb85737bbf7760e315c1fe34f77498
2019-05-07 14:23:23 -07:00
Daniel Solomon
11b68bc420 Merge "Hide display white balance setting depending on accessibility" into qt-dev 2019-05-07 21:19:36 +00:00
Aran Ink
b8e81544ef Use correct constants for Global Actions Panel settings.
Test: Automated tests pass. Manual testing allows enabling/disabling of secure setting via Settings preference.

Fixes: 132182180
Fixes: 132184167
Change-Id: I62caccfe64e073c95b0c0f8a42e5728cf7f3c1ca
2019-05-07 16:36:56 -04:00
Fan Zhang
0f9d77ac88 Merge "Remove animator on app list." into qt-dev
am: 576cb8b0df

Change-Id: Ia6f1fdc91d65266325caf00255d50841ecbf356d
2019-05-07 13:36:53 -07:00
Aaron Heuckroth
2659c0f61b Create Settings preference for Global Actions Panel.
Test: Automated tests pass.

Bug: 127295457
Change-Id: I6502d4c8541a3f279fb96d5f050f13890db8f376
2019-05-07 16:27:59 -04:00
Winson Chung
cfd0a66f7b Disable settings preferences when the packages do not exist
Bug: 131273934
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationLegacyPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationSwipeUpPreferenceControllerTest
Test: make RunSettingsRoboTests ROBOTEST_FILTER=SystemNavigationEdgeToEdgePreferenceControllerTest
Change-Id: I5b12831d0eacbaa9c8b13d7a7b380b8c99f20009
2019-05-07 20:16:05 +00:00
Linda Tseng
14e641709a Merge "Update SliceViewStyle background color" into qt-dev
am: e3cc773f0d

Change-Id: Ifcd11e61b49f6c554fa2efea6fae66826f64fa24
2019-05-07 13:14:11 -07:00
Lei Yu
45423baaae Increate max height of sliceView
To make sure it can have 8 devices at maximum.

Fixes: 130357332
Test: Manual
Change-Id: I4274a04d1dd8447b9b5904a77af2723e4637f22a
2019-05-07 12:57:45 -07:00
Fan Zhang
576cb8b0df Merge "Remove animator on app list." into qt-dev 2019-05-07 19:05:39 +00:00
Linda Tseng
e3cc773f0d Merge "Update SliceViewStyle background color" into qt-dev 2019-05-07 18:55:31 +00:00
Adam He
e840691e52 Display profile picker for content capture settings.
Fixes: 131748579
Test: manual verification
Change-Id: Iccce8aab8eb3596cb195d64d5711e9407a844541
2019-05-07 11:31:57 -07:00
Edgar Wang
133ffc9c57 Show admin dialog when preference is disabled by Device Admin
Fixes: 130694312
Test: manual & robotest
Change-Id: I9c6487ac056ec3d784bd6f6901e96869e27e0b3e
2019-05-08 02:04:05 +08:00
Yi-Ling Chuang
ae48547a1c Merge "Hide dismissal swipe background before slice gets ready" into qt-dev
am: 9fcb35a009

Change-Id: Iad163cfc094a5dc681d395639597b30c4fee6bf2
2019-05-07 08:47:47 -07:00
TreeHugger Robot
9fcb35a009 Merge "Hide dismissal swipe background before slice gets ready" into qt-dev 2019-05-07 15:34:24 +00:00
Bram Bonné
522ff34b32 Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev
am: db6a70272e

Change-Id: Idf0d4ef1c9a0f3d9bf65be8c58981a9162d2990d
2019-05-07 07:11:24 -07:00
Bram Bonné
db6a70272e Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev 2019-05-07 14:02:04 +00:00
Arc Wang
ac75faa207 Fix back arrow in wifi settings "connect to this network connection qr code" does not work
When clicking back button, pop fragment and Finish the activity if there is nothing to pop

Bug: 132132756
Test: atest WifiDppConfiguratorActivityTest
Change-Id: Ia16951e79e578f1625e5fadd26553735fa90bffa
2019-05-07 18:06:54 +08:00
Yi-Ling Chuang
ce9903e8db Hide dismissal swipe background before slice gets ready
Only make swipe background visible once slice has a successfual binding.

Bug: 131843256
Test: robotests
Change-Id: I7866873a217e8ca882634a48108939022713c87b
2019-05-07 17:54:33 +08:00
Kevin Chang
6a35095020 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev
am: caa17e0ec7

Change-Id: I19ac28bd07ca81621d9c222a2a62c0d9a6abf56e
2019-05-07 01:58:21 -07:00
Kevin Chang
caa17e0ec7 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev 2019-05-07 08:53:28 +00:00
Stanley Wang
d841671f3c Merge "Fix no touch feedback present on the settings suggestion card." into qt-dev
am: 87d9626a78

Change-Id: Ieb621f54934d1c3b6f81482b2683e2164cba8cdf
2019-05-07 00:56:50 -07:00
Stanley Wang
87d9626a78 Merge "Fix no touch feedback present on the settings suggestion card." into qt-dev 2019-05-07 07:45:31 +00:00
Raff Tsai
9ee63fae6a Merge "ANR observed under settings when trying to reset network settings" into qt-dev
am: d6d5495aa1

Change-Id: Ie5813e91d5fc811c271d880970ec9272c7cbcfa8
2019-05-06 21:50:26 -07:00
Raff Tsai
d6d5495aa1 Merge "ANR observed under settings when trying to reset network settings" into qt-dev 2019-05-07 04:40:34 +00:00
Kevin Chang
461ee19c12 Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev
am: 4b7d48320c

Change-Id: I603545dd5db4e72f28914e618fd70a4ce18a4fab
2019-05-06 21:11:21 -07:00
Kevin Chang
4b7d48320c Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev 2019-05-07 03:47:51 +00:00
Jason Chiu
7169917a1b Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev
am: a892ed5cdd

Change-Id: I7fd98d84bd1023fd1418edc431f7528320ec4ef5
2019-05-06 19:58:52 -07:00
Kevin Chang
e718cfcd94 Change the attributes of SwitchBar and ToggleSwitch
Change the focusable and clickable of SwitchBar and ToggleSwitch
to avoid multiple focus with TalkBack

Bug: 124334500
Bug: 128475156
Test: Visual
Change-Id: I13003f4e17d4c76644f87095c140f005b38889af
2019-05-07 10:56:39 +08:00
TreeHugger Robot
a892ed5cdd Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev 2019-05-07 02:45:19 +00:00
lindatseng
8afc10b3df Update SliceViewStyle background color
Update android:background color in SliceViewStle to make it have correct
color when Panel is in dark mode.  Use the attr which will change
depends on theme, rather than contextual card background which is
defined by settings, to make it correct in more general case.

Fixes: 131927006
Test: Manual
Change-Id: I38733f5a53d38f70f925268efea7592bd0f48260
2019-05-06 19:05:14 -07:00
JeiFeng Lee
7bc5f91289 [PATCH] Buttons in storage settings
Due to changes in layout of storage wizard base,
2 extra buttons are shown on progress screen while formatting SD card
and also on other screens which have storage wizard base as their super class.
Hence when these buttons were clicked unsupported exception takes place.
Hide these unnecessary next/back buttons from all screen so that user cannot click these.

Fixes: 131779469
Test: manual
Change-Id: I235a180627e68bbb38f4ed4e7ac58ae38838c8d7
Signed-off-by: JeiFeng Lee <linger.lee@mediatek.com>
2019-05-07 09:14:40 +08:00
Yanting Yang
ebee00283f Merge "Clean up import in homepage" into qt-dev
am: 65a258e2a2

Change-Id: I520e3a9935477318ea9e47da23303edd67a213eb
2019-05-06 13:59:10 -07:00
TreeHugger Robot
65a258e2a2 Merge "Clean up import in homepage" into qt-dev 2019-05-06 20:28:37 +00:00
Julia Reynolds
502d71ab56 Merge "New NIM animation" into qt-dev
am: 214fc759af

Change-Id: I47200092fb4b7220eb352cac8f92e6ab2d2dc77f
2019-05-06 13:22:01 -07:00
TreeHugger Robot
214fc759af Merge "New NIM animation" into qt-dev 2019-05-06 19:33:36 +00:00
Pengquan Meng
dd350eebab Merge "Add log for manual network select settings" into qt-dev
am: 02a54a0150

Change-Id: I58a1fe90a61a01abbc49f85338eb323d92daae2c
2019-05-06 11:50:23 -07:00
Yi-Ling Chuang
f03593dc6e Limit the number of permissions being displayed.
am: 922064ed69

Change-Id: I6dbb04a2d105f7b35ce53a29263c52871a6a07a9
2019-05-06 11:16:39 -07:00
Pengquan Meng
02a54a0150 Merge "Add log for manual network select settings" into qt-dev 2019-05-06 18:15:02 +00:00
Bram Bonné
5d8d2fa5a8 Adapts P2P settings to work with with new MAC privacy restrictions.
With change ag/7340724, the device's P2P MAC adress will no longer be
included as part of the WIFI_P2P_THIS_DEVICE_CHANGED_ACTION broadcast.
This change makes WifiP2pSettings request the device info after
receiving that broadcast, to make it aware of the device's MAC.

Bug: 132055766
Test: atest
/media/sdb1/android/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/p2p/
Test: Open Wi-Fi Direct settings, clear device name, observe that the
device's MAC is displayed.

Change-Id: I524afb0c8061c90cd775af422b542213cf14640a
2019-05-06 14:29:44 +00:00
tmfang
b031388999 Fix WebViewAppPickerTest
- Also do some minor refactoring

Test: robotest
Fixes: 131921277
Change-Id: I8de2e1b9b384ef9722bbe95111b86193fddb83d5
2019-05-06 15:25:53 +08:00
Yi-Ling Chuang
922064ed69 Limit the number of permissions being displayed.
To avoid a long permission summary, let's limit the number to three.

Fixes: 117978938
Test: robotests
Change-Id: Id83fac7ad91140b22757d3e6e8eb72d86ad6ad42
2019-05-06 14:12:00 +08:00
Yi-Ling Chuang
b5a87c9298 Merge "Use PermissionControllerManager to get permission groups" into qt-dev
am: 1dfc43879e

Change-Id: Ided8b0c6c515d8f36c25207e01482449695172bb
2019-05-05 19:55:18 -07:00
TreeHugger Robot
1dfc43879e Merge "Use PermissionControllerManager to get permission groups" into qt-dev 2019-05-06 02:39:13 +00:00
Bill Yi
96e3206873 [automerger skipped] Merge "Import translations. DO NOT MERGE" into qt-dev
am: a6bebb793e -s ours
am skip reason: subject contains skip directive

Change-Id: If2b9480c688efbe66706a513d3325f7e5ea914a3
2019-05-04 23:58:16 -07:00
TreeHugger Robot
a6bebb793e Merge "Import translations. DO NOT MERGE" into qt-dev 2019-05-05 06:45:30 +00:00
Bill Yi
8d4b8a05c1 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I83ccb7a7e4790d44a1853ea67da9fb43cb84af78
2019-05-04 21:38:56 -07:00