Commit Graph

14203 Commits

Author SHA1 Message Date
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
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
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
Fan Zhang
939d5773ff Set correct flag when enabling listener for conditions. am: 0aebaf1556
am: 38cdd42efa

Change-Id: Ice3ede55651abafc1ccaf5d1c7e52b39443b3e45
2016-08-01 21:40:34 +00:00
Fan Zhang
38cdd42efa Set correct flag when enabling listener for conditions.
am: 0aebaf1556

Change-Id: Iba750354cb791b3daace54ed1ed8ccdb645f6901
2016-08-01 21:38:10 +00: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
b22d11436d Log switch toggle action whenever its status changes. am: 6d2a0c80df
am: 181f21393c

Change-Id: I16a34ea7636bf6ca015996e16ca554bc6f72c5aa
2016-08-01 19:22:07 +00:00
Doris Ling
24299b82f2 Fix crash when selecting AppInfo for uninstalled app from Recents.
When an app is uninstalled, the corresponding app info is not removed
fromi the Recents tasks. If user selects that app info entry from the
recents tasks, it will failed to retrieve the app detail as the package
is already removed.

Add the package removed event listener in InstalledAppDetails such
that when the package has been unintalled, its app info task will also
be removed from Recents.

Change-Id: I771507f8f53017f87eda31ddef77a95e30921cbf
Fixes: 28671923
2016-08-01 11:06:33 -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
Erik Wolsheimer
56c1b61e79 Fix potential NPE in BluetoothPairingDialog#onDestroy
BUG: 21478473
Change-Id: I8b2b7222f6f17d27cd18a35f83f8d48125ec4091
2016-08-01 09:18:37 -07:00
Doris Ling
9dbd4b0de0 Merge \\\"Update UI for gesture settings.\\\" into nyc-mr1-dev am: a2b693db93 am: bbe8025d14
am: e8c50127db

Change-Id: Ifc21b65602f71a44ad83ea3a0092c1e89de49bdd
2016-07-29 16:47:55 +00:00
Doris Ling
b54a6c0b5c Update UI for gesture settings. am: d59fcc94be am: 20304fb0ad
am: 40be135704

Change-Id: I0f207dc18a32d4e5a1f9c20961ee0814ec69259f
2016-07-29 16:46:02 +00:00
Salvador Martinez
49a6ec297b Merge "can open settings with support tab by default" 2016-07-29 16:26:39 +00:00
Vineeta Srivastava
e8c50127db Show IMEI SV when phone has LTE_ON_CDMA_TRUE am: d153a18a27
am: a8cbfb5b56

Change-Id: I89281bf00bb7ba51a02a6578c59a5bdb8efebfd9
2016-07-29 01:53:33 +00:00
Vineeta Srivastava
a8cbfb5b56 Show IMEI SV when phone has LTE_ON_CDMA_TRUE
am: d153a18a27

Change-Id: Ic3adf187fd607e6ebf6e64e3d02b7fc311a6b89e
2016-07-29 01:50:53 +00:00