Commit Graph

14339 Commits

Author SHA1 Message Date
Svetoslav Ganov
871078e91b Add WiFi toggle prompts - settings
If permission review is enabled toggling WiFi on or off
results in a user prompt to collect a consent. This applies
only to legacy apps, i.e. ones that don't support runtime
permissions as they target SDK 22.

bug:28715749

Change-Id: I10d1231ea0c47eec5993dbe367cc0c245cba9385
2016-08-09 01:55:26 +00:00
TreeHugger Robot
9e5c105806 Merge "Use same fallback bt name in Settings and notification." 2016-08-08 23:10:53 +00:00
Philip P. Moltmann
85783b75db Set Fragment title in onCreate. am: 1ba9127696 am: e94449bc83
am: dab6bdb03d

Change-Id: Ia6bcd775e3c6307d333690ea9e6d61a76eef54ae
2016-08-08 22:36:26 +00:00
Philip P. Moltmann
dab6bdb03d Set Fragment title in onCreate. am: 1ba9127696
am: e94449bc83

Change-Id: Iaf0c2bd0cc35a187fd20ac2565abfd381d29c3d2
2016-08-08 22:25:07 +00:00
Philip P. Moltmann
e94449bc83 Set Fragment title in onCreate.
am: 1ba9127696

Change-Id: Ic162d48bd93bef43127fbd0c58cba4ebf9efddfe
2016-08-08 22:11:31 +00:00
Philip P. Moltmann
a353d3fa5f Merge "Set Fragment title in onCreate." into nyc-mr1-dev 2016-08-08 21:54:23 +00:00
Fan Zhang
97ca78975a Use same fallback bt name in Settings and notification.
Bug: 30126659
Change-Id: Id1432b459a4368bae9af6067307c4da0008f94aa
2016-08-08 14:48:24 -07:00
Salvador Martinez
357fa10ef0 Merge "Disabled BSM mode switch when plugged in" 2016-08-08 21:40:09 +00:00
Esteban Talavera
155541ee57 Update OEM unlock summary string am: 63f791a1e9 am: e3d32bb291
am: 6de5a2a35b

Change-Id: I73cb4e90e0dc902cbf92bbe7c37957f71425ff07
2016-08-08 21:23:51 +00:00
Salvador Martinez
b9ab480a29 Disabled BSM mode switch when plugged in
Battery Saver mode can no longer be toggled
when the device is plugged in. Additionaly,
A content description was added to the switch
so that talkback says something when it is single
tapped.

Bug: 30083279
Change-Id: Id901598dbe13c443cae0b32769a2e3ef50428c08
2016-08-08 13:55:07 -07:00
Esteban Talavera
6de5a2a35b Update OEM unlock summary string am: 63f791a1e9
am: e3d32bb291

Change-Id: I56ec672beb69eea0221c69f60025d9fe172dfcdc
2016-08-08 20:52:00 +00:00
Esteban Talavera
e3d32bb291 Update OEM unlock summary string
am: 63f791a1e9

Change-Id: I8cc34021241e2abdb55aafb4c313e79d68d02ef2
2016-08-08 20:49:24 +00:00
TreeHugger Robot
2de8fd95a3 Merge "Update OEM unlock summary string" into nyc-mr1-dev 2016-08-08 19:51:33 +00:00
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
Rubin Xu
75a080b2e4 Do not require MANAGE_DEVICE_ADMINS for showing admin-specifc policy transparency dialog
Bug: 30582906
Change-Id: I976c354021482b7db4e6270e071f2e513e49009d
2016-08-08 15:25:31 +00:00
Maurice Lam
6897fe7f8f Use different text in fingeprint intro for SUW am: a3397cbbcc am: cdedff01cb
am: 9743eab0c5

Change-Id: Idbb29712eef9ff1f65f9e93b980c9cd4a67a5374
2016-08-05 22:18:06 +00:00
Maurice Lam
9743eab0c5 Use different text in fingeprint intro for SUW am: a3397cbbcc
am: cdedff01cb

Change-Id: Id1c6d160c75a3ff367c1c4498b3c7b3f4a74ad2e
2016-08-05 22:15:04 +00:00
Maurice Lam
cdedff01cb Use different text in fingeprint intro for SUW
am: a3397cbbcc

Change-Id: Ia875f59977e855fb75d29368e2661219e6da63e8
2016-08-05 22:12:20 +00: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
Doris Ling
e3f691c310 Revert change to move Display->Ambient Display to Moves->Quick screen check. am: 9b3000d8ac am: ded92189c2
am: e3f166432e

Change-Id: Ia218a5738c6d08d84d26c61d874cdfe58c08425f
2016-08-05 21:14:00 +00:00
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