Commit Graph

47596 Commits

Author SHA1 Message Date
Julia Reynolds
e4fe56e161 Fix settings crash on noti listener screen
Test: manual
Bug: 114417814
Change-Id: I053a62201d3e9a1066d16d4a494a0c13bebccaf7
2018-09-07 15:23:12 -04:00
jackqdyulei
d4764c8042 [automerger skipped] Update PBAP info for all pairing dialogs. DO NOT MERGE am: ff171eff8e am: 618b808b61 am: c05958ecdd -s ours am: 6ec0b21544 -s ours
am: d81c0c4c44  -s ours

Change-Id: Iac8d9061cf1022495d528ec3d240f1793030cc9c
2018-09-07 11:13:07 -07:00
jackqdyulei
d81c0c4c44 [automerger skipped] Update PBAP info for all pairing dialogs. DO NOT MERGE am: ff171eff8e am: 618b808b61 am: c05958ecdd -s ours
am: 6ec0b21544  -s ours

Change-Id: I14f1f1709d94784fdb0912f1c95b625d6318b4a0
2018-09-07 10:56:57 -07:00
jackqdyulei
6ec0b21544 [automerger skipped] Update PBAP info for all pairing dialogs. DO NOT MERGE am: ff171eff8e am: 618b808b61
am: c05958ecdd  -s ours

Change-Id: I57dfe29eff8188f32d64d003781d4b63b4d151ad
2018-09-07 10:51:10 -07:00
jackqdyulei
c05958ecdd Update PBAP info for all pairing dialogs. DO NOT MERGE am: ff171eff8e
am: 618b808b61

Change-Id: Id92a02a67661e0b7707564b7d83a7ff7f27854e1
2018-09-07 10:46:08 -07:00
jackqdyulei
618b808b61 Update PBAP info for all pairing dialogs. DO NOT MERGE
am: ff171eff8e

Change-Id: I21d048a1ad2d0e37870d380c30e95ee8e3a48091
2018-09-07 10:42:16 -07:00
Lucas Dupin
3660fd4eae Merge "Dark mode setting name" 2018-09-07 17:08:56 +00:00
Fan Zhang
72a7d87a65 Merge "Rename a bunch of stuff." 2018-09-07 15:48:54 +00:00
TreeHugger Robot
cfa39d3b6b Merge "Don't update state after stop bluetooth tethering" 2018-09-07 06:20:59 +00:00
Dan Willemsen
0264904ed2 [automerger skipped] Fix imports on pi-dev-plus-aosp to fix build
am: 831768fffe  -s ours

Change-Id: I60703ad5bd5beb71eb69bcc5cb6cdc44e3f06965
2018-09-06 22:12:57 -07:00
Dan Willemsen
831768fffe Fix imports on pi-dev-plus-aosp to fix build
Change-Id: Ifa467eef0f9264348d657ceb8372990313b42fed
Merged-In: I0b1a170967ddcce7f388603fd521f6ed1eeba30b
2018-09-06 21:13:57 -07:00
TreeHugger Robot
97e4951602 Merge "Launch the new TopLevelSettings for all settings tab." 2018-09-07 02:17:17 +00:00
Fan Zhang
9d2a8e0bf5 [automerger skipped] Merge "Move safety & regulatory manual closer to legal settings" into pi-dev am: f81ec88024
am: d735f982d2  -s ours

Change-Id: Ida1b0fc4ccd3a903752151c0a9227283150cccc6
2018-09-06 18:40:20 -07:00
Fan Zhang
d735f982d2 Merge "Move safety & regulatory manual closer to legal settings" into pi-dev
am: f81ec88024

Change-Id: I7156cd60aed8ee1a8d439c6e1504df0b578a0ff3
2018-09-06 18:33:30 -07:00
Lucas Dupin
a85a29d63b Dark mode setting name
Bug: 109589240
Test: visual
Change-Id: Ic23ceb58140f8afda5575aad219541f05532cebe
2018-09-07 01:18:41 +00:00
Fan Zhang
a746381401 Rename a bunch of stuff.
For homepage cards, rename Homepage* to ContextualCard*.

Change-Id: I95740f15a1789683fa6c61f03ecf9bc47c367146
Fixes: 113966426
Test: robotests
2018-09-06 18:15:12 -07:00
TreeHugger Robot
f81ec88024 Merge "Move safety & regulatory manual closer to legal settings" into pi-dev 2018-09-07 01:05:45 +00:00
Fan Zhang
21526c1f80 Launch the new TopLevelSettings for all settings tab.
The new TopLevelSettings page uses a standard DashboardFragment to host
all top level settings. It's easier to maintain than DashboardSummary.

It does not support conditional cards or suggestion cards. We will use
PersonalSettingsFragment to host these as contextual cards going
forward.

Bug: 110405144
Test: visual
Change-Id: I2ab2d3556e870e86ebc18f9876336c4a3a361897
2018-09-06 18:04:05 -07:00
jackqdyulei
ff171eff8e Update PBAP info for all pairing dialogs. DO NOT MERGE
This is a bug from ag/4210612, in which it only update PBAP info
for USER_ENTRY_DIALOG. So in other kind of dialogs it never upload
correct PBAP info to bluetooth backend.

This CL fix it by updating PBAP for all dialogs.

Change-Id: Ia39eee1acaece555e8e5a305ec2c803294d7efbd
Merged-In: Ia39eee1acaece555e8e5a305ec2c803294d7efbd
Bug: 109842273
Bug: 72872376
Test: RunSettingsRoboTests
(cherry picked from commit 7015e20a55)
2018-09-06 16:35:58 -07:00
TreeHugger Robot
3dc29151da Merge "Fix Battery Usage graph layout for small screens" 2018-09-06 22:56:29 +00:00
Fan Zhang
48218acbd8 Merge "Switch to GridLayoutManager to support two-column layout" 2018-09-06 22:55:14 +00:00
Fan Zhang
f5ccd33567 Move safety & regulatory manual closer to legal settings
Bug: 113788849
Test: visual
Change-Id: Ie9a706bad9a4c65ff06c2350171ad55f46dd8386
Merged-In: Ie9a706bad9a4c65ff06c2350171ad55f46dd8386
2018-09-06 22:50:32 +00:00
TreeHugger Robot
d8264e373f Merge "Move safety & regulatory manual closer to legal settings" 2018-09-06 21:52:34 +00:00
Lucas Dupin
e315963b75 Prepare gesture to be overlayed
Bug: 111414690
Test: make
Change-Id: I28dbbf9b8a6a3662de273aa116ac37941fb765df
2018-09-06 13:54:07 -07:00
jackqdyulei
7644285c2c [automerger skipped] Merge "Update PBAP info for all pairing dialogs. DO NOT MERGE" into pi-dev am: 205479c25d
am: 04e48eae76  -s ours

Change-Id: I1eb7a863a6467bc62a0234abd291ae360cdddf6c
2018-09-06 13:33:32 -07:00
jackqdyulei
04e48eae76 Merge "Update PBAP info for all pairing dialogs. DO NOT MERGE" into pi-dev
am: 205479c25d

Change-Id: Ib1ae9f0af0cabdc26dc883f58dbc28b37ce54e42
2018-09-06 13:14:18 -07:00
TreeHugger Robot
205479c25d Merge "Update PBAP info for all pairing dialogs. DO NOT MERGE" into pi-dev 2018-09-06 20:00:37 +00:00
Fan Zhang
cf8aa5ce3f Move safety & regulatory manual closer to legal settings
Bug: 113788849
Test: visual
Change-Id: Ie9a706bad9a4c65ff06c2350171ad55f46dd8386
2018-09-06 12:22:05 -07:00
Mill Chen
8c71a24e43 Switch to GridLayoutManager to support two-column layout
In order to display both half-width card and full-width card,
we use GridLayoutManager and SpanSizeLookup to achieve this purpose.

Bug: 111822407
Test: manual
Change-Id: I225fb0b5f731e3faf2bca9858395c40d318acf2f
2018-09-06 20:49:51 +08:00
Raff Tsai
76e91c8cdd Merge "Modify Settings homepage layout" 2018-09-06 01:15:24 +00:00
Antony Sargent
ef814b81fc Fix Battery Usage graph layout for small screens
In PowerGaugePreference, if there isn't an icon to show, we were just
adding an empty one, which causes space to be reserved and isn't what we
want on small screens.

Bug: 111318404
Test: visual (set display size to Larger or Largest, and visit Battery
page in settings; the "Last full charge" and Screen usage since full
charge" items at the bottom should not be indented)

Change-Id: I60d39836ab7d50234022a377ff6d97dde8d4c7db
2018-09-05 13:53:29 -07:00
Doris Ling
2ced4caff1 Remove unnecessary methods from SupportFeatureProvider.
Bug: 112587239
Test: make RunSettingsRoboTests
Change-Id: I7256fdbab1ae629b39cdd07da2fe813bd0fa455f
2018-09-05 18:26:10 +00:00
Ben Lin
3210396de9 Check for Data Usage intent before populating "Data Usage" summary.
On some devices, data usage is not available; thus, it is possible that
ACTION_DATA_USAGE_SETTINGS has no matching activity. If no matching
activity is found, we should not populate "data usage" in the summary
field.

Bug: 111398942
Test: Manual check. I see that data usage is no longer visible on
devices without Data Usage activity.
Test: make RunSettingsRoboTests

Change-Id: I838206b76497c6550ef4826ad19e605cd32906ee
2018-09-05 02:29:04 -07:00
TSO FU WANG
ac5cfffd73 Merge ""Dsiabled" text aligns to textview right" 2018-09-05 09:11:50 +00:00
Stanley Wang
857c1ca1d1 "Dsiabled" text aligns to textview right
Change-Id: Id0c2b9de8355e977d1954998266079ba065c8c0b
Fixes: 112123106
Test: manual
2018-09-05 16:04:12 +08:00
Raff Tsai
43a7b18f21 Modify Settings homepage layout
- Add BottomNavigationView which has two tabs
- Remove BottomSheet in layout files

Change-Id: I493290fa9dee0566c73c5c9d7fbba10b71b4e2b4
Fixes: 113266753
Test: visual
2018-09-05 11:55:16 +08:00
Chienyuan
bad5898fb6 Don't update state after stop bluetooth tethering
After using ConnectivityManager.stopTethering(), TetheringSettings may
update state before PanService set mTetherOn to false. This makes the
toggle button checked again and user need click it twice to disable it.

Bug: 111578971
Test: on/off bluetooth tethering from settings UI
Change-Id: I6873d762d2a290080d844b7a44e54f4bd532347e
2018-09-05 11:10:01 +08:00
TreeHugger Robot
7f050853c1 Merge "Add conditional cards to the new homepage." 2018-09-05 01:50:08 +00:00
Fan Zhang
de117046ad DO NOT MERGE Import clean up.
Reordered all imports according to Android codestyle.

Test: rebuild
Change-Id: I750f01f70f2114d51838bf652833aebdc4065c98
2018-09-04 13:54:46 -07:00
TreeHugger Robot
d6d4c1681a Merge "Fix keyguard checking when installing user certs." 2018-09-04 20:28:26 +00:00
tiansiming [田思明]
c4a378f473 Merge "Update string for message of DirectBootWarnDialog" am: b0cc3a6c7d am: 662e59e628
am: 792ed7ffaf

Change-Id: Iaff158cf9588d55aa508eb7f75fe961dc5ede03a
2018-09-04 13:09:21 -07:00
tiansiming [田思明]
792ed7ffaf Merge "Update string for message of DirectBootWarnDialog" am: b0cc3a6c7d
am: 662e59e628

Change-Id: I58f28cc3473c72c2061cc4c90cc6a2d50812e670
2018-09-04 13:05:10 -07:00
tiansiming [田思明]
662e59e628 Merge "Update string for message of DirectBootWarnDialog"
am: b0cc3a6c7d

Change-Id: Ie04be9cf61a87fcc2b866d4effd0d27ca21064db
2018-09-04 12:55:11 -07:00
Treehugger Robot
b0cc3a6c7d Merge "Update string for message of DirectBootWarnDialog" 2018-09-04 19:46:18 +00:00
Pavel Grafov
1613c71248 Fix keyguard checking when installing user certs.
Currently the condition is inverted, so the user is asked to enroll
a password only when there is one already.

Also, use existing method instead of a duplicate one. LPU.isSecure doesn't
check the credential owner, but for unified lock with empty parent password
it will correctly return false, so should be correct.

Bug: 113646620
Test: manual, tried installing user certs with and without screen lock.
Change-Id: Iabb1614540e454873e48039be13e22cc89b0a7be
2018-09-04 18:17:04 +01:00
tiansiming [田思明]
e8dfb36df2 Update string for message of DirectBootWarnDialog
Some users feedback to us that they are not very clear of the
meaning of the string 'direct_boot_unaware_dialog_message'.
The updated one may be more clear.

Bug: https://partnerissuetracker.corp.google.com/u/0/issues/72197006
Test: manual test. Go to the Available virtual keyboard interface,
turn on a 3rd party ime keyboard and check the message.

Change-Id: Ib3a999601fa40f678956550d8941b7cb1db8a9af
Signed-off-by: tiansiming [田思明] <tiansiming@xiaomi.com>
2018-09-04 17:02:07 +00:00
Bill Yi
7885a0dcbe [automerger skipped] Import translations. DO NOT MERGE am: 94fdfc4a44 -s ours
am: 05cd61956a  -s ours

Change-Id: Icb674fc30b2c442a11fd46652147ba6ec78fbe5f
2018-08-31 09:04:45 -07:00
Bill Yi
05cd61956a [automerger skipped] Import translations. DO NOT MERGE
am: 94fdfc4a44  -s ours

Change-Id: I5e27882dde15352c8121ed35eb72114f33ff8d53
2018-08-31 08:56:23 -07:00
Philip P. Moltmann
8a33bd5947 Merge "RestrictedLockUtils was split into ...Internal" 2018-08-31 04:47:28 +00:00
Bill Yi
94fdfc4a44 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I6b44e763661339eab9182743abd1e3cb4d8bdbcd
2018-08-30 19:02:59 -07:00