Commit Graph

13615 Commits

Author SHA1 Message Date
Doris Ling
e3f166432e Revert change to move Display->Ambient Display to Moves->Quick screen check. am: 9b3000d8ac
am: ded92189c2

Change-Id: Ic7e0788c5b77bcf3e33009b2ffad9b748c3d73b9
2016-08-05 21:07:57 +00:00
Doris Ling
ded92189c2 Revert change to move Display->Ambient Display to Moves->Quick screen check.
am: 9b3000d8ac

Change-Id: I81191942eee433b04ff72672e98ec0ffd080e7cf
2016-08-05 21:04:57 +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
d1d9fc9de8 Change Display->Ambient Display to Display->Quick screen check. am: b727e9caa5
am: 2533fb386d

Change-Id: I1e7656af2b8c0376369affd11e417fe2ed7ed4b5
2016-08-04 23:53:40 +00:00
Doris Ling
2533fb386d Change Display->Ambient Display to Display->Quick screen check.
am: b727e9caa5

Change-Id: I2bfd2c525f5d44a94eb56f489526fb6f7931412a
2016-08-04 23:46:47 +00: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
Doris Ling
f4c8f6ee15 Fix app info crashes when package is uninstalled from terminal.
Move start listening to the package removed intents to onCreate()
and continue listening throughout the whole lifecycle of the activity so
that if user unintall the package in the background, it will still be
notified.

Change-Id: I889b0ea3e1245be83750d73349ed3a0f85a51783
Fixes: 28671923
2016-08-04 11:39:42 -07:00
Doris Ling
01f26e84f4 Merge "Fix accessibility title in confirm device credential fragment." 2016-08-04 17:51:11 +00:00
Doris Ling
5a845315f4 Merge "Fix crash when selecting AppInfo for uninstalled app from Recents." 2016-08-04 17:50:54 +00:00
Doris Ling
6c933b1692 Merge "Change Display->Ambient Display to Display->Quick screen check." 2016-08-04 17:49:00 +00:00
Fan Zhang
b8352ccc39 Update summary correctly in Settings dashboard. am: 011362d9f1 am: 9ee547370b
am: eafaaf3922

Change-Id: I2c381a23b7cbe8f8f1a1947a0bdcac08b1ed5bd4
2016-08-04 00:46:08 +00:00
Fan Zhang
eafaaf3922 Update summary correctly in Settings dashboard. am: 011362d9f1
am: 9ee547370b

Change-Id: I0e8930a2e81ab10b4c7539f4b07758817054a979
2016-08-04 00:31:04 +00:00
Doris Ling
30e348b3c3 Fix accessibility title in confirm device credential fragment.
When setting the accessibility title in confirm credential fragment, it
simply does nothing if the title is null. But for most of the confirm
fragment only have header and details, not the title. In that case,
nothing will be set. Changing it to use the supplemental text directly
if the title is null.

Change-Id: Id9fdebf04535ccc8f38a933758a7948ee2966fb4
Fixes: 30221638
2016-08-03 17:26:34 -07:00
Fan Zhang
9ee547370b Update summary correctly in Settings dashboard.
am: 011362d9f1

Change-Id: I4733b94588d7b995846ce1d5d02bd2758f37d68b
2016-08-04 00:26:09 +00:00
TreeHugger Robot
e3f29e46b0 Merge "Update summary correctly in Settings dashboard." into nyc-mr1-dev 2016-08-04 00:18:44 +00:00
TreeHugger Robot
dd15ec98f8 Merge "Fixed storage used not updating when app disabled" 2016-08-03 23:14:24 +00: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
Jeremy Klein
381186d503 Set the tether Entitlement app as active when enabling tethering. am: b04fae204e am: 95fb3f6d3c
am: fc0b9c2f7e

Change-Id: I7bab3f9bede7dc6e3454e4a45aecb6ce25025762
2016-08-03 19:20:13 +00:00
Jeremy Klein
fc0b9c2f7e Set the tether Entitlement app as active when enabling tethering. am: b04fae204e
am: 95fb3f6d3c

Change-Id: I75d28601b83a9b8edffa1f6741767673aaa7dfc0
2016-08-03 19:02:20 +00:00
Jeremy Klein
95fb3f6d3c Set the tether Entitlement app as active when enabling tethering.
am: b04fae204e

Change-Id: Ie74056677682e858625ea571049efc52154797b7
2016-08-03 18:59:42 +00: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
Doris Ling
d26489e56c Merge "Log settings suggestions events only once." 2016-08-03 17:22:24 +00:00
Tony Mak
53aded222c Hide redundant restrictions am: 9ba765b875 am: 4de7f88830
am: 3578d8f18c

Change-Id: Id4798a1f4ec127335b5a9cf0a0d03888dc3f354d
2016-08-03 09:54:23 +00:00
Tony Mak
3578d8f18c Hide redundant restrictions am: 9ba765b875
am: 4de7f88830

Change-Id: Ia0fdd0353dcbcb4ade5517d382bcd69dd1897bce
2016-08-03 09:38:58 +00:00
Tony Mak
4de7f88830 Hide redundant restrictions
am: 9ba765b875

Change-Id: I93f08738626422d3f9b35b89a2292417e2cdcdf9
2016-08-03 09:35:27 +00:00
Tony Mak
cd49847096 Merge "Hide redundant restrictions" into nyc-mr1-dev 2016-08-03 09:28:25 +00:00
Doris Ling
b14d42080b Log settings suggestions events only once.
The show/hide settings suggestions events are logged every time Settings
is shown. Save the logged events into the state bundle so that when the
fragment is resumed, it does not re-log the suggestions events.

Also move the logging for the show suggestion event to when the suggestion
is loaded, as the suggestions can be empty when the fragment starts.

Change-Id: I644ea0012bad309e59fed0d48171915c955779cc
Fixes: 30108142
2016-08-02 17:01:39 -07:00
Erik Wolsheimer
a91c223657 Fix potential NPE in BluetoothPairingDialog#onDestroy am: 56c1b61e79
am: 116a68e633

Change-Id: I9a96540c9599b19c478e14629e53fa12eb59a8b8
2016-08-02 22:51:32 +00:00
Erik Wolsheimer
116a68e633 Fix potential NPE in BluetoothPairingDialog#onDestroy
am: 56c1b61e79

Change-Id: Idade2f767cf72fc4b6f6c8149020f1e29d82bc56
2016-08-02 22:32:23 +00:00
ewol
e6c1439ee4 Merge "Fix potential NPE in BluetoothPairingDialog#onDestroy" into cw-f-dev 2016-08-02 22:29:35 +00:00
Jorim Jaggi
bbf6e5e0c5 resolve merge conflicts of 4c839a5 to master
Change-Id: Ie02e2b015c03512615fa25a0f4f0e955fd6910be
2016-08-02 22:26:55 +02:00
Meng Wang
ae45e82fa8 Hide sim card selection UI when only one sim presents am: dfba923468 am: ba61eb2d40
am: 11f5678daf

Change-Id: If7f26c5c0843a8800345562a1c4188983a825734
2016-08-02 19:44:13 +00:00
Jorim Jaggi
4c839a59b3 Show progress user unlocking is delayed am: 984079442f
am: 30ac0e837a

Change-Id: I9a020a8d45d85b023b6aa8ce0a76fb92a03fe937
2016-08-02 19:32:46 +00:00
Meng Wang
11f5678daf Hide sim card selection UI when only one sim presents am: dfba923468
am: ba61eb2d40

Change-Id: I4b6cd1adafa8cd448f04f221e8f9ba7d0f920d2d
2016-08-02 19:30:09 +00:00
Jorim Jaggi
30ac0e837a Show progress user unlocking is delayed
am: 984079442f

Change-Id: Ib2e7f8c0e45a594127f3384b8d25f6de171b17e0
2016-08-02 19:30:09 +00:00
Meng Wang
ba61eb2d40 Hide sim card selection UI when only one sim presents
am: dfba923468

Change-Id: Idcbfdf60b3bf0fbad1505f52c05c09ee4a91aff9
2016-08-02 19:27:40 +00: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
Salvador Martinez
8cf267bc28 Fixed storage used not updating when app disabled
Changes were made to ensure that the amount of
storage being used by a built-in app is properly
updated when the app is disabled/enabled.

Fixes: 30504019
Change-Id: Iba31392791bd1b54d8007d6ee0bd73dfd8f0de67
2016-08-02 18:41:15 +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
TreeHugger Robot
1e7798c577 Merge "Futureproof trusted credentials for multiple profiles" 2016-08-02 12:29:30 +00:00
Robin Lee
232f057df0 Futureproof trusted credentials for multiple profiles
Made use of the shiny LayoutTransition.CHANGING animations. Now it's a
little more obvious where things are going when tapping a header.

Future work: maybe show the usernames / user icons in there too? This
could get complicated, and it'll need to be done everywhere at once.

Change-Id: Id7396235abe6218d591d16db91af0f56a83a7bcd
Fix: 28310002
2016-08-02 12:12:14 +01:00
Doris Ling
35044be753 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-01 18:31:29 -07:00
TreeHugger Robot
90f3d52faf Merge "Keep classes/fields only used via reflection" 2016-08-02 01:19:03 +00:00
Justin Klaassen
ab7041107f Keep classes/fields only used via reflection
Bug: 30355720
Change-Id: I9c8325a0b42cda5beeb8dfe76bde46afd2bec727
2016-08-01 23:47:53 +00:00
Fan Zhang
81786acf49 Set correct flag when enabling listener for conditions. am: 0aebaf1556 am: 38cdd42efa
am: 939d5773ff

Change-Id: Ic9d74c3a051ae3ba3b99fc1f3fe1ccc8c8d963fa
2016-08-01 22:27:06 +00:00
Fan Zhang
fcc095ffd3 Log switch toggle action whenever its status changes. am: 6d2a0c80df am: 181f21393c
am: b22d11436d

Change-Id: I9a3c39fab47e458a10255af586ea8207453b03e9
2016-08-01 22:27:05 +00: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