Commit Graph

27255 Commits

Author SHA1 Message Date
Philip P. Moltmann
1ba9127696 Set Fragment title in onCreate.
To allow the accessibility to read the title early enough.

Fixes: 30677578
Change-Id: I2dbd8f0fa7697038cf69e0282ebcb590fbc64cc2
2016-08-08 18:12:36 +00:00
Esteban Talavera
63f791a1e9 Update OEM unlock summary string
Bug: 30661116
Bug: 29047618

Change-Id: I4f747e29c595453d9d0263ce7fc90d37b81aa251
2016-08-08 17:29:53 +01:00
Bill Yi
a409b4126a Import translations. DO NOT MERGE
Change-Id: I121e7fd3c6829cf3b81a31ffedeec6fac4e4a482
Auto-generated-cl: translation import
2016-08-07 22:18:11 -07:00
Maurice Lam
297be6c350 Merge "Use different text in fingeprint intro for SUW" into nyc-mr1-dev 2016-08-05 22:06:30 +00:00
Maurice Lam
a3397cbbcc Use different text in fingeprint intro for SUW
Bug: 30681287
Change-Id: Idd03b96c9447523f3128e559be213d89691f4ce1
2016-08-05 12:06:05 -07:00
Doris Ling
9b3000d8ac Revert change to move Display->Ambient Display to Moves->Quick screen
check.

1. Add back original toggle for Display->Ambient Display and revert
summary text.
2. Remove Moves->Quick screen check preference and related scroll logic.
3. Remove ambient display related animation videos

Bug: 30686297
Change-Id: Ie01a201f0a8deb0a858bc2a7f9cc607b749ab6e4
2016-08-05 11:36:33 -07:00
Doris Ling
b727e9caa5 Change Display->Ambient Display to Display->Quick screen check.
Update the preference title for Ambient display and add metrics logging
when user selects it.

Bug: 29994493
Change-Id: Ibeaa60889d3f4394c924471b21baa929d469db71
2016-08-04 13:06:22 -07:00
TreeHugger Robot
dfe576b3e4 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-04 09:20:36 +00:00
TreeHugger Robot
e3f29e46b0 Merge "Update summary correctly in Settings dashboard." into nyc-mr1-dev 2016-08-04 00:18:44 +00:00
Bill Yi
6daafd06a8 Import translations. DO NOT MERGE
Change-Id: I823618147887ae9229f84bfb2be9b85babdfab0d
Auto-generated-cl: translation import
2016-08-03 16:08:38 -07:00
Fan Zhang
011362d9f1 Update summary correctly in Settings dashboard.
Bug: 30490325

SummaryLoader needs DashboardCategory to update summary and it currently
ask for it from DashboardAdapter. But DashboardCategory is not always
available in DashboardAdapter. When SummaryLoader wants to get category
from adapter before adapter is ready, it won't have it, causing summary
to appear blank sometimes.

The fix is to get category from data source directly.

Change-Id: I9d7f676954d1cece42d6e03748ab7aa35357f8b7
2016-08-03 15:50:39 -07:00
Fan Zhang
fa41bf14fc Merge "Hide travel abroad button initially." into nyc-mr1-dev 2016-08-03 21:59:07 +00:00
Fan Zhang
79378ebf91 Hide travel abroad button initially.
Bug: 30632031

This button needs to be initially hidden so user can't accidentally
click it before data is ready.

Change-Id: I8cdd1f68bdcb5ba7ecbde34e72d85a5da1fa4a3d
2016-08-03 12:58:07 -07:00
Jeremy Klein
84101bef07 Merge "Set the tether Entitlement app as active when enabling tethering." into nyc-mr1-dev 2016-08-03 18:54:12 +00:00
Mihai Nita
30cf5f2615 Changing the languages drag handle as per the Material Design spec
It should use 4 horizontal bars, as per Material Design spec:
    https://material.google.com/components/lists-controls.html#lists-controls-types-of-list-controls
(search for "Reorder", there is no direct link)

The new icon comes from
    https://design.google.com/icons/#ic_reorder

Bug: 30260880
Change-Id: I27a38cef864b97dd23c83cce2bb2859b268e4bd4
2016-08-03 10:04:47 -07:00
Tony Mak
cd49847096 Merge "Hide redundant restrictions" into nyc-mr1-dev 2016-08-03 09:28:25 +00:00
TreeHugger Robot
787fb603b9 Merge "Update string for FallbackHome" into nyc-mr1-dev 2016-08-03 00:43:24 +00:00
Jorim Jaggi
2d3a1cd8bd Update string for FallbackHome
Also add some margins in case the string is really long

Change-Id: I0b5246d51d670316c8578475aedac00f8c090e57
Fixes: 30213213
2016-08-02 22:19:42 +02:00
TreeHugger Robot
2b0bd66d5b Merge "Show progress user unlocking is delayed" into nyc-mr1-dev 2016-08-02 19:26:41 +00:00
TreeHugger Robot
6490032550 Merge "Hide sim card selection UI when only one sim presents" into nyc-mr1-dev 2016-08-02 19:07:48 +00:00
Jorim Jaggi
984079442f Show progress user unlocking is delayed
Sometimes it takes a while to unlock a user, for example, after an OTA.

In these cases, we show a progress bar in FallbackHome so the user knows
that something is happening.

Fixes: 30213213
Change-Id: Ie36a9b3107c32ff46a8890818d1f26ccf310ee6c
2016-08-02 20:02:42 +02:00
Tony Mak
9ba765b875 Hide redundant restrictions
Change-Id: Id9b8ec6f045632a87092b4dccef5f7ff73a327cc
Fix: 30109035
2016-08-02 17:09:53 +01:00
Rubin Xu
da9f9a0fab Do not require MANAGE_DEVICE_ADMINS for showing admin-specifc policy transparency dialog
Bug: 30582906
Change-Id: I976c354021482b7db4e6270e071f2e513e49009d
2016-08-02 16:34:00 +01:00
Bill Yi
de26061dc9 Import translations. DO NOT MERGE
Change-Id: Icbf8d39b372bdfad0e5dd5eec9753a8725ec0c90
Auto-generated-cl: translation import
2016-08-01 17:43:36 -07:00
Jeremy Klein
b04fae204e Set the tether Entitlement app as active when enabling tethering.
This fixes tether entitlement timeouts when tethering is enabled
via the QS tile.

Bug: 29514913
Change-Id: I975bf3e52d2df49541544d1b7a6bdcdec1b61d8c
2016-08-01 15:00:19 -07:00
Fan Zhang
dccd2544b3 Merge "Set correct flag when enabling listener for conditions." into nyc-mr1-dev 2016-08-01 21:31:15 +00:00
Fan Zhang
0aebaf1556 Set correct flag when enabling listener for conditions.
Bug: 30551655

Without this flag Settings app will close whenever listener is
enabled/disabled.

Change-Id: I99102308ada3897cf44917e96015c71b926e5fb5
2016-08-01 13:58:57 -07:00
Fan Zhang
6d2a0c80df Log switch toggle action whenever its status changes.
Bug: 30110675

onClick is only called when the switchbar is clicked. We also need to
log when switch itself is clicked.

Change-Id: I892b72daeefe0f36608a73fe509199e200376eb7
2016-08-01 10:41:23 -07:00
Meng Wang
dfba923468 Hide sim card selection UI when only one sim presents
Bug: 30319100
Change-Id: I9bb8409475d9431463516117b54d34cbdfb317b9
2016-08-01 10:19:15 -07:00
Fan Zhang
b3e657211d Align battery consumer app title to view start.
Bug: 30161009

This makes sure in RTL language app titles start from right.

Change-Id: I87030121f39519d09e5872eb4c01ec682f69db55
2016-07-29 14:00:31 -07:00
Vineeta Srivastava
10327d07fd Merge "Show IMEI SV when phone has LTE_ON_CDMA_TRUE" into nyc-mr1-dev 2016-07-29 01:27:06 +00:00
Vineeta Srivastava
d153a18a27 Show IMEI SV when phone has LTE_ON_CDMA_TRUE
Bug: 30463148
Change-Id: I518278725d0980b9a98ddf0cf01d65eab3dbb74d
2016-07-28 17:02:44 -07:00
Doris Ling
a2b693db93 Merge "Update UI for gesture settings." into nyc-mr1-dev 2016-07-28 23:28:17 +00:00
TreeHugger Robot
86547c2303 Merge "Check if InputMethodService is Direct Boot aware" into nyc-mr1-dev 2016-07-28 23:07:02 +00:00
Bill Yi
e4ae0a88c0 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-28 22:27:06 +00:00
Doris Ling
d59fcc94be Update UI for gesture settings.
1. Add list divider between each gesture preference
2. Increase top-padding from 16dp to 24dp
3. Move fingerprint swipe preference to the top of the list
4. Change default value for fingerprint swipe to OFF.

Bug: 30416729
Change-Id: If0a6ee080defb2e3dbd36fbda6e047c23a1b1026
2016-07-28 13:54:14 -07:00
Fan Zhang
d9057df872 Remove spacer above dashboard tiles.
Bug: 30467152

- UX is better without the spacer.
- It also causes animation issues in recycler view during cold start.

Change-Id: I3aab330ea60bba69962132a54e432943e81ff985
2016-07-28 12:51:44 -07:00
Bill Yi
44bef2e58a Import translations. DO NOT MERGE
Change-Id: I5ae8abcbb85c81ee4cdfdec59293cc4d891032e9
Auto-generated-cl: translation import
2016-07-28 12:07:48 -07:00
Fan Zhang
0f8daa6995 Merge "Add non-transparent background to dashboard items." into nyc-mr1-dev 2016-07-28 18:25:59 +00:00
TreeHugger Robot
1c4c0af613 Merge "Assist and Voice Input SwitchPreferences animate with talkback" into nyc-mr1-dev 2016-07-28 17:58:00 +00:00
Fan Zhang
66cc2def90 Add non-transparent background to dashboard items.
Bug: 30297664

In previous CL I missed the background on this tile.

Change-Id: I87b1716dbcb0f79c6f7532f3ac2397feb3b4dfd0
2016-07-28 10:49:38 -07:00
Maurice Lam
3edc1645a5 Merge "Update fingerprint strings" into nyc-mr1-dev 2016-07-28 03:37:19 +00:00
TreeHugger Robot
591e891149 Merge "Force talkback to read imei # digit by digit" into nyc-mr1-dev 2016-07-28 02:57:24 +00:00
Salvador Martinez
cf21d91b76 Force talkback to read imei # digit by digit
Made changes to the file so that it uses Spannables instead
of just strings. This will allow us to tell Android Talkback
how we would like the strings read.

Fixes: 30402792
Change-Id: I893a2cbf3de092f81d927bad36523efb08dd7265
2016-07-27 18:37:57 -07:00
TreeHugger Robot
92b0aa0dcf Merge "Display storage summary with correct used/total size." into nyc-mr1-dev 2016-07-28 01:33:43 +00:00
Maurice Lam
fcd3abd244 Update fingerprint strings
Bug: 30443091
Change-Id: I1634a97090147cd19dd3fd65eef06ebc401ddd1b
2016-07-28 01:16:09 +00:00
TreeHugger Robot
8cabb7c417 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-07-28 01:08:35 +00:00
Matthew Fritze
91e3e434cf Assist and Voice Input SwitchPreferences animate with talkback
Toggling Use text from screen now animates the switch preference
and has the appropriate "on/off" talkback response.

Change-Id: Ib5f940f251c45ead3a908d7f762eebb5f76931fb
Fixes: 30205119
2016-07-27 18:04:49 -07:00
Fan Zhang
7dfc8dfc2f Display storage summary with correct used/total size.
Fixes: 30421727

We need to first initialize sTotalInternalStorage in order to compute
used size for both full blown storage fragment and storage tile summary.

Also fixed a bug where sTotalInteralStorage is incorrectly added
multiple times when there are multiple private volumes.

Change-Id: Iabb869c3184ec0c468aeacea34c804b90b4965f1
2016-07-27 16:59:40 -07:00
Fan Zhang
503a7514f6 Merge "Never disable DnD receiver to dislay condition correctly." into nyc-mr1-dev 2016-07-27 23:49:57 +00:00