Commit Graph

45157 Commits

Author SHA1 Message Date
Makoto Onuki
d2c1b245fc Merge "Implement new BS warning / notification flow (2/2)" into pi-dev 2018-03-21 22:32:33 +00:00
Lei Yu
37d29ee6a6 Only show restricted apps that belong to the user.
Filter out the restricted apps that not belong to the correct user, in
this way secondary user cannot see what apps been restricted by primary
user.

Bug: 74076658
Test: RunSettingsRoboTests
Change-Id: I8471f07be747c177f8611cdc1973a8420dc41296
2018-03-21 15:27:14 -07:00
Sundeep Ghuman
9bfbc3f1fd Modify "Updated ..." text.
Use d/h/m "narrow" time formatting with no period.

Change font style when update is "old."

Bug: 70950124
Test: make RunSettingsRoboTests
ROBOTEST_FILTER=DataUsageSummaryPreferenceTest

Change-Id: I25902c98eb0fdf4dd2f64c3f5d668b5efdcdff0c
2018-03-21 15:24:43 -07:00
Fan Zhang
51b76810f5 Merge "Hide spannable link if it's not actionable" into pi-dev
am: aebbd5b704

Change-Id: Idc51212789748a1fcb1965a7bee376d915588fd4
2018-03-21 22:15:37 +00:00
Jan Nordqvist
ba1c53455a Fix entity header to "Hide" shadow of app bar unless scrolled.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I3d23ac49365873361f23b0c7ab105f208d6a7ed7
2018-03-21 15:15:10 -07:00
Lei Yu
4c8c4b27fc Hide password for wifi tether
Add summaryPassword variable in ValidatedEditTextPreference. If it
is true, set the summary textview with password flag.

Bug: 65413204
Test: RunSettingsRoboTests
Change-Id: Ia0f1e3ab50e81d8f7f9fc0fb34b35c3041200a4e
2018-03-21 15:11:33 -07:00
Lei Yu
bfc77e7106 Merge "Add search index provider for bt page" into pi-dev
am: 9492aa546d

Change-Id: Ia06828d5c36f14cc419800bba15f376c3701b917
2018-03-21 22:08:24 +00:00
Salvador Martinez
81c8c0d80e Merge "Update AP preference to not be master switch pref" into pi-dev
am: 24c104a16e

Change-Id: I0e9389e086086dc511f6b702bf042fec55dbd534
2018-03-21 22:02:04 +00:00
TreeHugger Robot
aebbd5b704 Merge "Hide spannable link if it's not actionable" into pi-dev 2018-03-21 21:55:45 +00:00
Shawn Ding
e80f1d0789 Merge "Correct typo for "Redirect vibration"" into pi-dev
am: 757b3d48e3

Change-Id: I873cd92bd6fd2eeacf511dcba2a95a0548ea4033
2018-03-21 21:55:25 +00:00
Doris Ling
b21dcf67da Fix crash when pausing DndCondition.
- check whether the receiver is registered before trying to unregister
it.

Change-Id: Ia949f5a90b8866f01684dc2c7797e87d8dc7804e
Fixes: 74073233
Test: make RunSettingsRoboTests
2018-03-21 14:27:29 -07:00
Beverly
5ac189038a Merge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev
am: a2f2371224

Change-Id: I197a877a4a9a886b0238b7b43138fffda62d0563
2018-03-21 21:13:01 +00:00
Maurice Lam
e13e319e0c Separate skip and clear button in pattern screen
So that the action performed is always the same as what the button
label says.

Test: m -j RunSettingsRoboTests
Bug: 72197171
Change-Id: Ia2a02b630a86874d002e462e41fdf676c2d27203
2018-03-21 14:06:07 -07:00
Bill Yi
d12d5cac31 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6cc802e72ebf5753bf7441dc6c9232379d9e17f2
2018-03-21 14:03:26 -07:00
TreeHugger Robot
9492aa546d Merge "Add search index provider for bt page" into pi-dev 2018-03-21 20:48:41 +00:00
Lei Yu
0cc9a92665 Add string for adaptive brightness
Bug: 69795935
Test: Build
Change-Id: If99bd796711f3e77ef5e88533b3a6d683acc54e3
2018-03-21 13:00:15 -07:00
TreeHugger Robot
24c104a16e Merge "Update AP preference to not be master switch pref" into pi-dev 2018-03-21 19:52:05 +00:00
Jan Nordqvist
8e3868e4fe Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev
am: d17e849775

Change-Id: Iaf0496e019eb62dbeca2b7eaacea1cbff744c6be
2018-03-21 19:39:15 +00:00
Lei Yu
ca5e641d0b Merge "Get anomalyType and autoRestriction from config" into pi-dev
am: 940630bae1

Change-Id: I7742c6b7892fee14f56439af88f9fdd7a07dcb80
2018-03-21 19:38:07 +00:00
Fan Zhang
1ee2a88fd7 Hide spannable link if it's not actionable
Created a new constructor that detects if intent is actionable and set a
flag in LinkInfo.

In fragments, first check if linkInfo is actionable, if not, don't do
anything with it.

Change-Id: Ibda12ecac2545d696acc7c197fc315e423b984aa
Fixes: 74726487
Test: make RunSettingsRoboTests -j
2018-03-21 12:37:34 -07:00
Julia Reynolds
15dfbbec06 Add a setting for the volume hush gesture
Bug: 75252670
Test: make -j20 RunSettingsRoboTests
Change-Id: I699aeec54eb516931b6d7c5b3fc864b169015c2f
2018-03-21 15:27:54 -04:00
TreeHugger Robot
757b3d48e3 Merge "Correct typo for "Redirect vibration"" into pi-dev 2018-03-21 19:03:53 +00:00
TreeHugger Robot
a2f2371224 Merge "Fingerprint enrollment vibrate unchanged by dnd" into pi-dev 2018-03-21 18:44:56 +00:00
Andrew Sapperstein
4b6cdc6b04 Merge "Update material_deep_teal_500 to #008577." into pi-dev
am: 3749a8d871

Change-Id: I7892793d65ec47e25141c0d4cbe1aade8caf9843
2018-03-21 18:44:38 +00:00
Philip P. Moltmann
57a64606da Merge "Recover print job ID from intent extras" into pi-dev
am: 61e6b87e7d

Change-Id: If6a4b87329463abd1aaf833c3cfd73147765c5a6
2018-03-21 18:43:53 +00:00
Jyun LuoLai
73af1f3fb7 Merge "Modify connectivty related strings" into pi-dev
am: 346a36cd2e

Change-Id: Ia49102de0aa3a881ae69d43ec3612d1e17e5562a
2018-03-21 18:43:26 +00:00
Fan Zhang
2049dbcb8a Merge "Remove SettingsLaunchPerformance test" into pi-dev
am: 10420706e6

Change-Id: Ie676d8937586f03a59179a1799be5d06685177f6
2018-03-21 18:42:56 +00:00
TreeHugger Robot
d17e849775 Merge "Only show mobile data usage information when mobile data is enabled." into pi-dev 2018-03-21 18:29:21 +00:00
Makoto Onuki
5b60fdba81 Implement new BS warning / notification flow (2/2)
Bug: 74120126
Test: Manual tests
Change-Id: Ieea6ee97695cd5a30e55f5c6ccec8135ec2d0ef4
2018-03-21 11:14:20 -07:00
TreeHugger Robot
940630bae1 Merge "Get anomalyType and autoRestriction from config" into pi-dev 2018-03-21 17:46:50 +00:00
Lei Yu
687964cf28 Add search index provider for bt page
1. Implement the search index provider for
ConnectedDeviceDashboardFragment.
2. Since in SEARCH_INDEX_DATA_PROVIDER fragment is null,
so we need to pass in context to all components
instead of getting it from fragment.
3. Update test for it as well as creating new shadow.

Change-Id: If0aa67d5b6ca207c6b728c8355581bf414577091
Fixes: 69333961
Test: RunSettingsRoboTests
2018-03-21 10:46:02 -07:00
TreeHugger Robot
3749a8d871 Merge "Update material_deep_teal_500 to #008577." into pi-dev 2018-03-21 17:45:25 +00:00
Salvador Martinez
6ddc4b4996 Update AP preference to not be master switch pref
People keep getting confused by the master switch preference for
wireless tethering. The wireless tethering page already has a switch
so this just removes it from the preference and has it take you to
the page when tapped on instead.

Bug: 69423941
Test: robotests
Change-Id: I66d6d3271e83b49ae77f203e7892438d27f96025
2018-03-21 10:36:56 -07:00
TreeHugger Robot
61e6b87e7d Merge "Recover print job ID from intent extras" into pi-dev 2018-03-21 17:29:35 +00:00
TreeHugger Robot
346a36cd2e Merge "Modify connectivty related strings" into pi-dev 2018-03-21 17:14:20 +00:00
Fan Zhang
10420706e6 Merge "Remove SettingsLaunchPerformance test" into pi-dev 2018-03-21 16:53:47 +00:00
Jan Nordqvist
19375adb5a Only show mobile data usage information when mobile data is enabled.
Bug: 70950124

Test: manual
Test: make RunSettingsRoboTests
Change-Id: I4eb774120cbcf50f40d22c7c8c3caeb0eacbbed3
2018-03-21 09:13:02 -07:00
arangelov
75c603cedb Show policy transparency popup dialog for Bluetooth in Settings.
Bug: 70206452
Test: make ROBOTEST_FILTER=BluetoothEnablerTest -j40 RunSettingsRobotests
Test: make ROBOTEST_FILTER=BluetoothSwitchPreferenceControllerTest -j40 RunSettingsRobotests
Change-Id: I543cf69b754c44b02c66e101698f10906a1b957f
2018-03-21 16:03:28 +00:00
Pavel Grafov
35b901c97f Merge "Move work profile notification settings to the bottom." into pi-dev
am: d174ceb27b

Change-Id: I25f852eba45c4a2f3c0106f425e3f02a82600951
2018-03-21 15:26:37 +00:00
Yohei Yukawa
e61ce6008b Merge "Logically revert "Directly show the layout selection screen."" into pi-dev
am: cb601396d4

Change-Id: I4ed2afd0c84e3419a598612653c7347978a2e9f8
2018-03-21 15:21:01 +00:00
Philip P. Moltmann
b85ab7e979 Recover print job ID from intent extras
If the fragment was started via ACTION_PRINT_SETTINGS the intent extra
does not get transformed into a fragment argument. Hence need to check
the intent extra.

Fixes: 74456525
Test: Opened print job settings from a print notification,
      atest com.android.settings.print.PrintJobSettingsActivityTest
Change-Id: I6c4605309c348456a862c4d7b48a11400b62fb70
2018-03-21 08:13:45 -07:00
TreeHugger Robot
d174ceb27b Merge "Move work profile notification settings to the bottom." into pi-dev 2018-03-21 15:01:33 +00:00
TreeHugger Robot
cb601396d4 Merge "Logically revert "Directly show the layout selection screen."" into pi-dev 2018-03-21 15:01:11 +00:00
leo huang
b7896fca3e Align email provider correctly for RTL locales
Align email provider under User & accounts correctly for RTL locales

Bug: 72398295
Test: Robotest and manual test
Change-Id: I0ecbaa58366c01a75fc7ff4e2adbfba97ddc4add
2018-03-21 16:14:19 +08:00
Ben Lin
f3f2a2065e Merge "Add ability to open up "Open by default" page directly via intent." into pi-dev
am: b8dec9c8a9

Change-Id: I88883b9e2a0bf07e4dbb401649420a455f92825b
2018-03-21 06:59:53 +00:00
Fengjen Wu
f727a0ab12 Merge "Add divider line in Multiple users screen" into pi-dev
am: 1a7e4daa95

Change-Id: I06851ac8b0f02f780b709f2f4983b9aa3ac8c3a0
2018-03-21 06:37:17 +00:00
Shawn Ding
ddf17c73bb Merge "Update string for "Use vibrator" setting" into pi-dev
am: c5491014ab

Change-Id: Ie0c85eda717af5d824cd1620ee3a34c03ce024a7
2018-03-21 06:32:18 +00:00
Bill Yi
60587b45b1 Merge "Revert "Import translations. DO NOT MERGE"" into pi-dev
am: 265e3da2f3  -s ours

Change-Id: Ib71ce37aa55b7e02c39bdcd833c94d1a15fe2381
2018-03-21 06:27:18 +00:00
Will Chen
d86798231d Merge "Remove period on "Fingerprint added" screen" into pi-dev
am: f61edcc7f8

Change-Id: I22bf9f50826e987f6fa1b7b1b4bda81b087c9ccb
2018-03-21 06:23:34 +00:00
Jan Nordqvist
dd5deaa0e3 Merge "Remove the overflow menu from the usage Appbar." into pi-dev
am: 09d1588a07

Change-Id: I0e3816f118905c0bd47c20c11771749f682068fa
2018-03-21 06:18:12 +00:00