Commit Graph

1756 Commits

Author SHA1 Message Date
Fan Zhang
e366f02712 Make a public activity for zen access details.
Bug: 128547723
Test: manual
Change-Id: I0546cbb37c2be50bff44396fa2874d9eb294813c
2019-03-19 23:52:06 +00:00
Malcolm Chen
41855ec8b9 Move SIM select logic from SimSelectNotification to Telephony.
SimSelectNotification used to listen to SIM_STATE_CHANGED from Telephony
and do checkings to decide whether to pop up notification and
SimDialogActivity. The logic needs updated and only Telephony knows it
well. So this change moves the logic into Telephony. SimSelectNotification
only listens to Telephony's decision, brings up notification and trigger
SimDialogActivity.

Bug: 128645056
Test: sanity and manual
Change-Id: I6153e27dd00dd9cdf8682f135eb39f8af3a75608
2019-03-19 13:57:19 -07:00
pastychang
9fdbe80f8b Apply a11y screen to glif layout
Screenshot: https://hsv.googleplex.com/5745610682531840

Test: atest
Bug: 126065441
Change-Id: I31f39d5d78a80e6badb92a4e79df261eeeeaa4d4
2019-03-18 12:00:38 +08:00
manabu, shimoda
9fae73915c Base implementation of WFC disclaimer UI
Test: manual - Check that no error occurred when changing the wifi
calling settings to turn on.
Test: auto - Passed WifiCallingSettingsForSubTest,
WifiCallingDisclaimerFragmentTest and DisclaimerItemListAdapterTest.
Bug: 67872298

Change-Id: I789f530d3e16baa6e56feaa4269f6696976f747e
2019-03-14 14:58:20 -07:00
TreeHugger Robot
6b003432f5 Merge "Implemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE" 2019-03-09 04:16:41 +00:00
TreeHugger Robot
306d3fc165 Merge "Remove "add another fingerprint" suggestion" 2019-03-08 23:42:39 +00:00
Felipe Leme
a71991a451 Implemented Settings.ACTION_REQUEST_ENABLE_CONTENT_CAPTURE
Test: manual verification
Test: atest AvailableIntentsTest#testRequestEnableContentCaptureIntent

Fixes: 119264902

Change-Id: I521e1690449c5afd7ec2d106befd42081a0e9181
2019-03-08 14:27:05 -08:00
Fan Zhang
a4eef62982 Remove "add another fingerprint" suggestion
Fixes: 124828278
Test: visual
Change-Id: Ia224a2d724fbc001aecb99c6c243523a591a50ec
2019-03-08 13:53:11 -08:00
TreeHugger Robot
173a86275a Merge "Add Wifi Panel" 2019-03-08 19:13:08 +00:00
Lei Yu
6ebd2ed731 Merge changes from topic "add_cast_volume"
* changes:
  Add SliceWorker for remote volume controller
  Add remote volume slider to sound settings
2019-03-06 23:59:44 +00:00
Matthew Fritze
63cce45efe Add Wifi Panel
WIFI panel currently only shows the Wifi Slice. It's possible
more slices would be added in the future.

Testing is done here and in CTS.

Test: manual app
Test: robotests
Test: atest SettingsPanelTest
Fixes: 126894142
Change-Id: If691467e7c4bb9edd1b8a1b710c65e93284dc568
2019-03-05 10:55:42 -08:00
TreeHugger Robot
8758f631c8 Merge "Remove task affinity on misc settings" 2019-03-05 00:59:43 +00:00
Fan Zhang
c7635e582f Remove task affinity on misc settings
The task affinity is making upnav button acting strange.

Fixes: 118789456
Fixes: 127335758
Test: rebuild and go through Settings search
Change-Id: I911298dfc995c271cf0d34f24cd87caecd153b34
2019-03-04 14:55:34 -08:00
Jackal Guo
60e3236604 Merge "Provide a way to ToggleA11yServicePreferenceFragment via Intent" 2019-03-04 03:35:56 +00:00
TreeHugger Robot
0fa2651d3f Merge "Change Easy Connect intent naming" 2019-03-03 16:17:33 +00:00
TreeHugger Robot
a4c1f0ada7 Merge "Use a regular drawable as PowerSummaryActivity icon" 2019-03-01 21:16:41 +00:00
Fan Zhang
d68496c458 Use a regular drawable as PowerSummaryActivity icon
Fixes: 126583158
Test: rebuild
Change-Id: Ibcc22434d3d7b684787a8ca7c9631eb8b1ddf9f5
2019-03-01 09:53:23 -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
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
Arc Wang
c1036df9b8 Change Easy Connect intent naming
1. From ACTION_PROCESS_WIFI_EASY_CONNECT_QR_CODE to ACTION_PROCESS_WIFI_EASY_CONNECT_URI
2. Remove EXTRA_QR_CODE and use data Uri to specify Easy Connect bootstrapping information string

Bug: 125874365
Test: atest AvailableIntentsTest
      WifiDppChooseSavedWifiNetworkFragmentTest
      WifiDppConfiguratorActivityTest
      WifiNetworkListFragmentTest

Change-Id: I706513520daa10197a27f596fa08ca58980205d8
2019-02-27 10:06:04 +08:00
Jackal Guo
2936551f70 Provide a way to ToggleA11yServicePreferenceFragment via Intent
Intent can only open the list of a11y services in Settings currently.
PermissionController needs a way to open the screen with the a11y
service toggle.

Bug: 123693167
Test: manual
Test: atest AccessibilityDetailsSettingsFragmentTest
Change-Id: I32ed39330cf9e4c18a1747521fb65eb911d1c6e4
2019-02-27 09:38:14 +08: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
TreeHugger Robot
3921f97467 Merge "Create settings screen for Notification Assistant" 2019-02-23 04:30:23 +00:00
TreeHugger Robot
6b12d79925 Merge "Remove feature flag for contextual home." 2019-02-23 03:07:19 +00:00
Fan Zhang
4df9bfaa3e Remove feature flag for contextual home.
Fixes: 118444000
Test: rebuild
Change-Id: I4b42e22bd93c2d79bacbd40b28912b4e6808325a
2019-02-22 15:40:49 -08:00
jackqdyulei
27f62fda12 Update BT pairing dialog
1. Remove hardcoded color
2. Add taskAffinity for activity

Fixes: 124953564
Fixes: 124958778
Test: Manual
Change-Id: Id57fadc02e3c4fa3683632c0ad6a451117b732f1
2019-02-22 15:40:04 -08:00
Fabian Kozynski
01b2a635e9 Create settings screen for Notification Assistant
Test: this atest
Test: manual: change assistant and "adb shell dumpsys notification"
Test: manual: verify persistance through reboot (including none)

Fixes:120852765
Change-Id: Ie4516c3339246d66d7b6719ac5dd1d65c4d03b57
2019-02-22 14:05:18 -05:00
Mill Chen
7195800371 Visual update: update the icons for suggestions
- remove blue tint
- add the icons of suggestions for contextual homepage

Bug: 122310542
Test: visual, rebuild
Change-Id: I2bac139669a4218455195aebeba83d1649184895
2019-02-18 18:03:09 +08:00
markchien
72ba39cdf4 Merge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627 am: 2ee5beaa32
am: c77ee11e4e

Change-Id: Ib14b4a7b3a5b8eb23c7229318ecd785605e1a4f0
2019-02-13 22:43:11 -08:00
markchien
c77ee11e4e Merge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627
am: 2ee5beaa32

Change-Id: Ifeb4b845b1842cff2096ec20bdd71e7ed4ea93be
2019-02-13 22:39:00 -08:00
Treehugger Robot
f1e3e9d627 Merge "Fix wrong TetherProvisioningActivity definition" 2019-02-14 06:19:30 +00:00
markchien
8c713fc756 Fix wrong TetherProvisioningActivity definition
Bug: 122108346
Bug: 120069528
Test: build, boot, manual on/off hotspot
Change-Id: Iaeb2d271d901fcbd9d27c9a9de369e2af68d3645
2019-02-14 03:24:52 +00:00
Hall Liu
ba06ace05b Merge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3 am: 5232a30b03
am: 89b61e8e0a

Change-Id: Id7ff8fadb12185700859ceea48e3ddc6db4688bd
2019-02-13 17:17:51 -08:00
Hall Liu
89b61e8e0a Merge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3
am: 5232a30b03

Change-Id: Ia0a212d075868e020a784233dd6d5d640523a3d0
2019-02-13 16:33:22 -08:00
Hall Liu
a23ceba5c3 Merge "Add ACCESS_FINE_LOCATION to permissions" 2019-02-13 23:21:43 +00:00
Mark Chien
edc4fd30ea Merge "Support entitlement check in DSDS" am: e3b4e0262c
am: 0ac1c323b2

Change-Id: I9249eabb454648594ac5e303405f483266eee551
2019-02-12 20:06:32 -08:00
Lei Yu
88d6b2f9ad Merge "Add intent action for BT device detail page" 2019-02-12 19:40:18 +00:00
markchien
c992d0f4a9 Support entitlement check in DSDS
Get resource from preferred SIM's subId.

Bug: 122108346
Bug: 120069528
Test: atest TetherServiceTest
Change-Id: Ia4279a418dfa6cd14942b7f4d2a313156066381b
Merged-in: Ia4279a418dfa6cd14942b7f4d2a313156066381b
2019-02-12 16:17:36 +08:00
Mark Chien
a432a61943 Merge "Support entitlement check in DSDS" 2019-02-12 08:05:11 +00:00
TreeHugger Robot
dd1c68b12d Merge "Remove intent-filters from SettingsSliceProvider" 2019-02-12 00:43:03 +00:00
Fan Zhang
671a39f905 Remove intent-filters from SettingsSliceProvider
And remove unused methods from SliceDeepLinkSpringBoard.

This is part 1 of b/110156445

Bug: 110156445
Test: atest
Change-Id: Iab36a97332fd847ed911a9e34b505fd4a64522d3
2019-02-11 15:01:10 -08:00
jackqdyulei
715408e592 Add intent action for BT device detail page
Also update detail page to accept cold start:
1. Check whether profile is ready
2. When it is ready, refresh UI

Bug: 123665527
Test: SettingsRoboTests
Change-Id: I39382fd97e9da46fca08cd2e4a3ef15d32703664
2019-02-11 13:48:16 -08:00
Matthew Fritze
1138218abe Create special case mobile data slice
Build the special case mobile data slice for general use,
and for the Internet Connectivity Panel. The Slice controls
the default data subscription, and links to the subscriptions
page.

Bug: 117804089
Fixse: 119411534
Test: robotests & test app.

Change-Id: I31b524a8fe3182a244d940848090e97250632f39
2019-02-08 13:13:28 -08:00
Fan Zhang
11482d220f Add PRIVACY_SETTINGS intent to privacy, not backup, page.
Bug: 123878762
Test: updated backupSettingsHelper
Change-Id: I53632e4eeb5fa42447aa5fc075be69eeb68cdd52
2019-02-06 12:22:40 -08:00
Hall Liu
a6840cac03 Add ACCESS_FINE_LOCATION to permissions
Add ACCESS_FINE_LOCATION to permissions in order to satisfy new
restrictions.

Bug: 116258458
Test: manual
Change-Id: Icdc45c3a02cd5bf784d0475243b7d53ba9861777
2019-02-05 17:09:22 -08:00
Fan Zhang
2d77b0192a Move android.settings.PRIVACY_SETTINGS to PrivacySettings.
Bug: 123878762
Test: manual
Change-Id: I9312c8455b0325f7c582523938a1fde21fbd81ce
2019-02-05 15:58:35 -08:00
markchien
1dd1d79d90 Support entitlement check in DSDS
Get resource from preferred SIM's subId.

Bug: 122108346
Bug: 120069528
Test: atest TetherServiceTest
Change-Id: Ia4279a418dfa6cd14942b7f4d2a313156066381b
2019-02-04 18:55:16 +08:00
Stanislav Zholnin
646dda9b2c Add READ_DEVICE_CONFIG permission to allow use of DeviceConfig API
when permission checks will be introduced.

Test: tested locally with permission checks patched.
Change-Id: I8d6b99edac1c23f27872c0a9ecc99a00db017124
2019-02-04 09:53:37 +00:00
Fan Zhang
015b8d5cfb Make a passthrough drawable for ic_settings_print.
Bug: 123711718
Test: visual
Change-Id: I6be16f501522167ea0af58c9eed1c491c3c4525d
2019-02-01 11:41:53 -08:00
TreeHugger Robot
3865c7d6c5 Merge "Connect to network while clicking open or saved networks on slice" 2019-01-31 19:14:05 +00:00