Commit Graph

27865 Commits

Author SHA1 Message Date
Aran Ink
70313a4600 Merge "Create Settings preference for Global Actions Panel." into qt-dev 2019-05-08 14:16:07 +00:00
TreeHugger Robot
5894aa6948 Merge "Misc change about ResetNetworkConfirm" 2019-05-08 08:10:16 +00:00
Winson Chung
14a487f821 Merge "Disable settings preferences when the packages do not exist" into qt-dev am: 46b356d37d
am: 0936f8f942

Change-Id: I2a348a91956be4f6cf6c42785cf0894816b6eed9
2019-05-07 23:24:20 -07:00
Winson Chung
0936f8f942 Merge "Disable settings preferences when the packages do not exist" into qt-dev
am: 46b356d37d

Change-Id: I9642829f5d22e4641fa1627e13ae8d3fa48c493c
2019-05-07 21:29:28 -07:00
Fan Zhang
622eb0e021 Merge "Add an interface that returns time spent text for app." into qt-dev am: 6e8c403360
am: 83ff47b4d1

Change-Id: If93403e0b92176a54a982ffc2fbbfa5e42894756
2019-05-07 21:27:37 -07:00
Yi-Ling Chuang
0f75eb550e Add null check before setting the visibility of swipe background
Some contextual cards does not allow card dismissal, so they won't have
swipe background declared in the layout file. Add null check to prevent
from NPE.

Fixes: 132209310
Test: robotests & launch Settings
Change-Id: I31f897f445c4901d007c8187fe69aea416b915d1
2019-05-08 12:04:36 +08:00
Winson Chung
46b356d37d Merge "Disable settings preferences when the packages do not exist" into qt-dev 2019-05-08 03:47:09 +00:00
Arc Wang
1d2527061a Fix Wi-Fi QR code scanner height at 360dp
To avoid error message cut on small screen devices

Bug: 131628795
Test: manual
Change-Id: I33fa55da22823064608739bed33cdd287bffa0b8
2019-05-08 11:43:22 +08:00
Fan Zhang
83ff47b4d1 Merge "Add an interface that returns time spent text for app." into qt-dev
am: 6e8c403360

Change-Id: I0e015174b752787eecba1be40937de42ebff19f9
2019-05-07 18:22:13 -07:00
TreeHugger Robot
6e8c403360 Merge "Add an interface that returns time spent text for app." into qt-dev 2019-05-08 00:11:32 +00:00
Antony Sargent
4bb253358b Fix two problems related to data connectivity in the multi-SIM header
When you have multiple active SIMs, the Network & internet page has a
header showing entries for each one, with summary text indicating which
one is used for data (and whether it is just set as the default, or
actively using data). We were not properly setting this text when either
data wasn't being used, eg when connected to wifi, or mobile data was
disabled for this SIM. This CL fixes both these problems by adding new
helper classes to listen for relevant events.

Test: make RunSettingsRoboTests
Fixes: 124394250
Fixes: 128857712
Change-Id: I34f2679752fa41a50247dd0b12581cbfd77a34f6
2019-05-07 16:10:52 -07:00
joshmccloskey
ac653b9838 Updated Face Enroll Introduction
Test: Builds.
Bug: 131774204
Change-Id: Ibccd54185b9d8ffbfd2678be1c8680ffb1699425
2019-05-07 15:28:14 -07:00
Daniel Solomon
8a38791509 Merge "Hide display white balance setting depending on accessibility" into qt-dev am: 11b68bc420
am: b907794aa3

Change-Id: Ia6389a2a35414b60bf7fcb0f742fef1314438383
2019-05-07 15:17:04 -07:00
Fan Zhang
31486b9195 Merge "Remove animator on app list." into qt-dev am: 576cb8b0df
am: 73d79ef7a1

Change-Id: I094e7123f3b8074d4fe2202a1125f75bb0d0c570
2019-05-07 14:59:18 -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
b907794aa3 Merge "Hide display white balance setting depending on accessibility" into qt-dev
am: 11b68bc420

Change-Id: Ia7e0f7dc5accacb00b9981bac0b143b41a1984c1
2019-05-07 14:36:31 -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
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
Fan Zhang
73d79ef7a1 Merge "Remove animator on app list." into qt-dev
am: 576cb8b0df

Change-Id: I05c37e7cab441bac6a0d97ea3b0379546c606cf9
2019-05-07 13:12:48 -07:00
Fan Zhang
576cb8b0df Merge "Remove animator on app list." into qt-dev 2019-05-07 19:05:39 +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
d26db3793f Merge "Hide dismissal swipe background before slice gets ready" into qt-dev am: 9fcb35a009
am: 922ecb6628

Change-Id: Ie3af39287ecdd7d60749ddb883f686d04853301a
2019-05-07 08:58:28 -07:00
Yi-Ling Chuang
922ecb6628 Merge "Hide dismissal swipe background before slice gets ready" into qt-dev
am: 9fcb35a009

Change-Id: I47970b4ad73a3eb22367c0151c671d1c6016ee4d
2019-05-07 08:47:48 -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é
d284430132 Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev am: db6a70272e
am: c94db6ca56

Change-Id: Ic3c4ce74c5c0116ec6668aad98818162fce5023c
2019-05-07 07:31:29 -07:00
Bram Bonné
c94db6ca56 Merge "Adapts P2P settings to work with with new MAC privacy restrictions." into qt-dev
am: db6a70272e

Change-Id: Id2b14493fbcf3251bf058ce377331ff4b7de7164
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
Raff Tsai
a5b25dfb06 Misc change about ResetNetworkConfirm
- Modify reset network layout
- Merge changes from Qt-dev

Fixes:131127455
Test: manual
Change-Id: I6d63a821016588ea81a04ef792111c2b96dfe7fe
2019-05-07 09:31:15 +00:00
Kevin Chang
e7a1f1a668 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev am: caa17e0ec7
am: c64b99b1e7

Change-Id: I686f13ef739576f290b9ac8b720559be43072cd4
2019-05-07 02:03:21 -07:00
Kevin Chang
c64b99b1e7 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev
am: caa17e0ec7

Change-Id: Ieb3af48fd330a9beae914caff8e00fab361e554d
2019-05-07 01:58:22 -07:00
Kevin Chang
caa17e0ec7 Merge "Change the attributes of SwitchBar and ToggleSwitch" into qt-dev 2019-05-07 08:53:28 +00:00
Raff Tsai
0d894197f6 Merge "ANR observed under settings when trying to reset network settings" into qt-dev
am: d6d5495aa1

Change-Id: I8ee5162f44c834cb74ceeff14f604e480b123e9a
2019-05-06 21:50:30 -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
c5b6fda98c Merge "Change the string of Captions and reorder the feature in audio category" into qt-dev
am: 4b7d48320c

Change-Id: I03e100ccfc9373e61d933ce948a49237f0e2fadc
2019-05-06 21:11:22 -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
1dafe9864e Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev am: a892ed5cdd
am: 3b1bdd5726

Change-Id: I1443fadd11ce48628466e4c9e4918204800d0c84
2019-05-06 20:44:44 -07:00
Jason Chiu
3b1bdd5726 Merge "Add subtext for Wi-Fi items on Wi-Fi slice" into qt-dev
am: a892ed5cdd

Change-Id: I097d25d222176fa2bab51603e1cfe6a26a8bc47a
2019-05-06 19:58:51 -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
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
4841bb6905 Merge "Clean up import in homepage" into qt-dev am: 65a258e2a2
am: de9c1f8e53

Change-Id: I1180b7f0a684ab9ea54ddbae6d78ca0a5f5531df
2019-05-06 14:12:25 -07:00
Yanting Yang
de9c1f8e53 Merge "Clean up import in homepage" into qt-dev
am: 65a258e2a2

Change-Id: I5e9a8fb0b5a99a59db2ae1a2f7b2c1eb21bb7235
2019-05-06 14:02:02 -07:00
TreeHugger Robot
65a258e2a2 Merge "Clean up import in homepage" into qt-dev 2019-05-06 20:28:37 +00:00
Pengquan Meng
2e2bf7105a Merge "Add log for manual network select settings" into qt-dev am: 02a54a0150
am: 3dc8887a51

Change-Id: I463a6f6d860ebd756d313526c26759d046c6faf7
2019-05-06 12:12:00 -07:00