30339 Commits

Author SHA1 Message Date
Felipe Leme
d8001097c4 Adds a section for unaccounted data. am: 54dc9edc52 am: e2e58543a0
am: 5c09e77b77

Change-Id: I528b8b4e8e8f7e5403fe9c1536a8fd9211d6813c
2016-09-01 01:11:19 +00:00
Jason Monk
dd61f8b505 Fix QS CTS failure caused by tile backup am: 34f6cbc288 am: 89fb99c8e9 am: 0318c9a681
am: 10bd4997bc

Change-Id: Ia150821cf25bdf4494a3202c7632557a9858284d
2016-09-01 01:11:10 +00:00
Jorim Jaggi
32cbdcc8c0 resolve merge conflicts of c5bafe2 to master
Change-Id: I19dd5c88c664313c2f8b47d8f8fd556f630c8bf1
2016-08-31 13:51:50 -07:00
TreeHugger Robot
a946492d04 Merge "Fix systemui tests on APCT." 2016-08-31 19:14:16 +00:00
TreeHugger Robot
7f6e36cec3 Merge "Remove page ranges input field when not needed" 2016-08-31 17:55:50 +00:00
Geoffrey Pitsch
33c623677d Fix systemui tests on APCT.
Different mockito library for junit4.
This causes class loading failures for them but not our builds.

Change-Id: Iae4ba584f83e0ab78505fa822a74f5998fbca395
2016-08-31 12:47:29 -04:00
Ben Lin
663e0e97d5 Push delete notification when Bug reports are deleted. am: 86805aa3af am: 64146c5d24
am: b01be62d58

Change-Id: I8e1b6dc42e44307feef1ba912a3465c2d25594e1
2016-08-31 04:37:16 +00:00
Philip P. Moltmann
ff7bc7c394 Size print destination to support font sizing am: cb1926afba am: c0bbf28dca
am: daf21fa96e

Change-Id: I049ba545e75d5345fe67d000553388f36d36a128
2016-08-31 04:17:38 +00:00
Felipe Leme
5c09e77b77 Adds a section for unaccounted data. am: 54dc9edc52
am: e2e58543a0

Change-Id: I8b72d482eb3d635a9feb5282865640c4653dd653
2016-08-31 03:21:51 +00:00
Felipe Leme
e2e58543a0 Adds a section for unaccounted data.
am: 54dc9edc52

Change-Id: Ib4b8dca251618e239634716e633693474d922e96
2016-08-31 03:10:50 +00:00
Jason Monk
10bd4997bc Fix QS CTS failure caused by tile backup am: 34f6cbc288 am: 89fb99c8e9
am: 0318c9a681

Change-Id: If715e04a98d64fe4fd78c935224b5bb3bc631493
2016-08-31 01:46:25 +00:00
Jason Monk
0318c9a681 Fix QS CTS failure caused by tile backup am: 34f6cbc288
am: 89fb99c8e9

Change-Id: I34e6ed3e9641e67dde208a43b063192c8c92e8c8
2016-08-31 01:40:49 +00:00
Jason Monk
89fb99c8e9 Fix QS CTS failure caused by tile backup
am: 34f6cbc288

Change-Id: Ic82ccc386b8ab81797e748893b831601c34c12ce
2016-08-31 01:36:54 +00:00
Philip P. Moltmann
19d6d8c116 Remove page ranges input field when not needed
Before it was just hidden which left an empty space. As the print
options frame is already pretty high, we want to minimize the space when
possible.

Bug: 30977905
Change-Id: If48dc852b083f014194f3f8896ec021eb0f19c0c
2016-08-30 17:05:40 -07:00
Felipe Leme
54dc9edc52 Adds a section for unaccounted data.
Often sub-directories of /data are populated with data framework has no
control of (for example, by the device's specific dumpstate_board()
function), and that data is now available through
MeasurementDetails.getUnaccountedSize().

BUG: 30952263

Change-Id: I8d3fda6668f2a57ee025fb135b33a244167d1e4b
2016-08-30 15:10:25 -07:00
Jason Monk
34f6cbc288 Fix QS CTS failure caused by tile backup
The CTS tests weren't receiving the onTileAdded callbacks since the
shade was not in the listening state when tiles were added. This is
not possible for users (since tiles are added while the UI is
listening), but add a flushMessagesAndUnbind call to make sure the
tiles always receive onTileAdded.

Since now flushMessagesAndUnbind can be called before a real call
to setBindService(true), add a clause that will clear out its
immediate unbind state.

Change-Id: Idd13c432a4af5741813da9a9b1b292a47fd9443b
Fixes: 31147742
2016-08-30 20:37:04 +00:00
Jorim Jaggi
994e5909d1 Play sound on ACTION_DOWN for navigation keys am: 05bce15da9 am: 9bdfbd7c82
am: 214f2fe7b4

Change-Id: I5cd28d2b4c1d903fa76a8bae0edec93d7d047282
2016-08-30 17:20:17 +00:00
Allen Hair
63180a0754 Configure code coverage filters. am: 02fd609460 am: 15b70213a4
am: 8b931e08d0

Change-Id: If94db4d01eb5ff4a9f463200d529b0054899bcd5
2016-08-30 17:13:01 +00:00
Jason Monk
90a788e29b resolve merge conflicts of d70ed99 to master
Change-Id: I3a8d3708e050b3fb963dd057c0be9d2d249d037a
2016-08-30 10:54:03 -04:00
Jorim Jaggi
c5bafe26cb Add animation when unoccluding windows (1/2) am: 6626f54e65
am: 314c05db45

Change-Id: I0e9d85e8f90d00fe835c0622438ac5b6afd2b52d
2016-08-30 02:33:24 +00:00
Ben Lin
b01be62d58 Push delete notification when Bug reports are deleted. am: 86805aa3af
am: 64146c5d24

Change-Id: I6c9837068616943b72223556842d6570adc4c90b
2016-08-30 02:24:20 +00:00
Philip P. Moltmann
daf21fa96e Size print destination to support font sizing am: cb1926afba
am: c0bbf28dca

Change-Id: If2498722901cd25033a520914b54ef55c2709ebb
2016-08-30 02:16:06 +00:00
Mitchell Wills
722de5f9d0 DO NOT MERGE Manually merge commit 'f28778064383821ccf48c9570191f34a24aa513f' into nyc-mr1-dev-plus-aosp
Change-Id: I7cb1f97a5b931c2057a811d7947f47ad7320ef1c
2016-08-29 17:46:44 -07:00
The Android Automerger
f287780643 Manually merge commit 'b0b6afc' into nyc-dev-plus-aosp 2016-08-30 00:26:21 +00:00
Jorim Jaggi
314c05db45 Add animation when unoccluding windows (1/2)
am: 6626f54e65

Change-Id: I09be1e1b7d830067c354c6cdfd940deafa027a22
2016-08-30 00:25:52 +00:00
TreeHugger Robot
92a8a4a6e2 Merge "Add animation when unoccluding windows (1/2)" into nyc-mr1-dev 2016-08-30 00:20:41 +00:00
Christopher Tate
71fec86434 Properly configure live wallpaper selection following restore am: 2471a3724f am: 7f97482766 am: d7e988e99e
am: d6fee5645b

Change-Id: I0ed8488923da99f1a4fa40ab01de29151b0272be
2016-08-29 23:03:00 +00:00
Ben Lin
64146c5d24 Push delete notification when Bug reports are deleted.
am: 86805aa3af

Change-Id: I1bd1544f5a3848077cb98faf184e99a9c22f1771
2016-08-29 23:01:30 +00:00
TreeHugger Robot
cd97d925c0 Merge "Push delete notification when Bug reports are deleted." into nyc-mr1-dev 2016-08-29 22:55:27 +00:00
Philip P. Moltmann
c0bbf28dca Size print destination to support font sizing
am: cb1926afba

Change-Id: I2c49f14994f07c719457c2bdf88ddec874ff0014
2016-08-29 22:02:36 +00:00
TreeHugger Robot
f0963f82fa Merge "Polish MemoryIntArray" 2016-08-29 21:26:42 +00:00
Jorim Jaggi
6626f54e65 Add animation when unoccluding windows (1/2)
Before there was a jump-cut when a window that was occluding Keyguard
was going away, leading to an ugly flicker. To fix this, we do the
following.

- Always show windows with FLAG_SHOW_WHEN_LOCKED above lockscreen, even
if they don't "match" the currently occluding app (which is null in the
animation case)
- Move wallpaper behind last window that is not hidden by policy, so the
window doesn't get occluded by the wallpaper.
- Add a flag in the setOccluded call whether to animate or not. SystemUI
then plays a nice animation when it's set.
- Override the animation to always be the animation that happens when we
exit a window which is revealing the wallpaper behind, to make it
consistent with the home screen case.

Fixes: 30829255
Change-Id: Ib3fe20fc9003a0f9f291c974740f044ed8707e75
2016-08-29 14:15:33 -07:00
Ben Lin
86805aa3af Push delete notification when Bug reports are deleted.
Bug: 28768706
Change-Id: I6d3e91fe7d12be44918f97cef12c99d936401270
2016-08-29 14:08:32 -07:00
Mitchell Wills
18af49395c Ensure BSSIDs are correctly aged out in settings view
When verbose logging is on, recent BSSIDs are displayed under the
network. This ensures that the BSSIDs are aged out after a period of
time instead of based on a fixed size LRU cache. This prevents BSSIDs
that are no longer present from appearing in the results.

FIXED=30711015
TEST=setup two APs, observe both BSSIDs in settings, turn off one,
     observe it disappearing after a short period of time.

Change-Id: Id2b2ccd0899eae8d4e2e1c2b3ae9409136a8c948
(cherry picked from commit b744d6e865e4141cd19cdf279f75f30c3d6590af)
2016-08-29 11:26:52 -07:00
Christopher Wiley
090e9de648 TetherUtil: Use ConnectivityManager for tethering
In the past, enabling the SoftAP would cause tethering to happen because
of some unfortunate side effects.  This is no longer the case, and
using WifiManager for this purpose is not a good idea.

Bug: 30147602
Test: Can toggle tethering on/off via all of settings, quick settings,
      and quick quick settings.

Change-Id: Iebbfc6c48b3e8e3fa52d235594ded3502f5801a3
(cherry picked from commit 26bd4efcaaad4a866310d6421909645e81167d1f)
2016-08-29 11:26:47 -07:00
Jason Monk
829548a3cb Fix double status bar icons
am: 12124d7eca

Change-Id: Ib9208ba63774a65d6aac32f9af06abd2769dbd43
2016-08-29 18:17:12 +00:00
Selim Cinek
b7f50bedb1 Fixed a bug where notifications could reappear
am: f3b64692a3

Change-Id: I6cfebd6d64d09c153ba21dea7ff96793d4595ab7
2016-08-29 18:08:42 +00:00
Selim Cinek
ad235b03fb Fixed a bug where the headsup would be stuck disappearing
am: a4155bb7c0

Change-Id: Ibb48a2b105212634bdff1daadb53be3f5caa4413
2016-08-29 18:08:28 +00:00
Philip P. Moltmann
cb1926afba Size print destination to support font sizing
Fixes: 31152374
Change-Id: I1560d6d300174ec0665157fa4f2c485d64f871ad
2016-08-29 18:03:19 +00:00
Svet Ganov
9d723d3d57 Polish MemoryIntArray
1. Add close guard
2. Adopt instead of clone the ahsmem fd to fix a dangling fd
3. Clear only the return flag when writing fd to parcel
4. Immediately destroy remote MemoryIntArray if stale
5. Throw Java exception if someone closed the fd under us

Change-Id: I85533fec336c40e3380e10d5448e18c9616ec341
2016-08-29 10:51:08 -07:00
Geoffrey Pitsch
b157e7a91d Merge "Convert SysUI tests to use JUnit4" 2016-08-29 15:13:12 +00:00
Jason Monk
12124d7eca Fix double status bar icons
Don't allow the status bar icon slot list to be changed because
it confuses the relationship between StatusBarIconList and
StatusBarIconController.  Set it in the constructor to enforce
this.

Change-Id: Ieeea0a9efad88179d1cccc0e5702899333de2e72
Fixes: 28524184
(cherry picked from commit c6fe61c59c5a3a6ae691256c9afdde3820e3dd9e)
2016-08-29 13:26:18 +00:00
Selim Cinek
f3b64692a3 Fixed a bug where notifications could reappear
With sensitive notifications a user could get into
a situation where the groupsummary would not be cleared
because its dismissability was never updated and based
on the visibility of the veto button. This is now corrected.

This Cl also cleans up the veto button handling overall and
ensures that there's no stale state arond it.

Change-Id: Ic7df8d382146d7863ee551c1daa8ba5ed384c7b5
Fixes: 30056258
(cherry picked from commit 9e624e732aa5646c83d203587be9c2c4e94c9266)
2016-08-27 00:38:03 +00:00
Selim Cinek
a4155bb7c0 Fixed a bug where the headsup would be stuck disappearing
Change-Id: I56d6be69f6e59c1bec647e7e70e50a36b793f895
Fixes: 30120962
2016-08-27 00:33:49 +00:00
Matthew Fritze
b49995651e Adding flags to allow package names to be sent to support. am: e1398ea4d9 am: a95de6b96d am: 48e12f65e8
am: ad63a5f574

Change-Id: Iad10043fe5f16c81042297c1e943cbc7f865e743
2016-08-26 22:29:37 +00:00
Svetoslav Ganov
046249d9dc Store the event of settings db downgrade am: 264c7a90c7 am: f813a5a1c4
am: 11bd5718a1

Change-Id: I8831eac6d99ba00a80f6e9064b0cc09143b3f9d8
2016-08-26 22:14:01 +00:00
Adrian Roos
e55bd280f2 DirectReply: Fix bugs when replying from HUNs am: 9550f2e75c am: 079911cb6c
am: 2553f80e8d

Change-Id: Ie9c97a9403ad81231f9d2e83e8941d6f2d7411db
2016-08-26 21:09:44 +00:00
Roshan Pius
28be4fc091 SettingsBackupAgent: Remove redundant size parameter
Remove the redundant size parameter in wifi backup/restore.

BUG: 28967335
Change-Id: I8ae9b2bf3bc8eb2dd1fd6dd87fe7b1dcf0712382
(cherry picked from commit 5db739c67fb6c897da91ccdda5700ff660eea15d)
2016-08-26 13:22:50 -07:00
Roshan Pius
1bf869887d Use WifiManager for wifi backup/restore
Use the newly exposed WifiManager API's for backing up/restoring wifi
related data. Remove all other wifi related logic from
SettingsBackupAgent.

There are 3 API's exposed by WifiManager for backup/restore:
1. retrieveBackupData - Data to be backed up in new format.
2. restoreBackupData - Restore from the new backup data format.
3. restoreOldBackupData - Restore from the old backup data format.

BUG: 29075035
BUG: 28967335
Change-Id: I2dc379bc36af0a0824ed51fbe9aaebfd0a0114b0
(cherry picked from commit 7a2491fa3b42dd22c829eea3690239545f16f124)
2016-08-26 13:22:48 -07:00
Jorim Jaggi
214f2fe7b4 Play sound on ACTION_DOWN for navigation keys am: 05bce15da9
am: 9bdfbd7c82

Change-Id: Ic36e668f7b5daf6909681f2a671b336667783968
2016-08-26 19:52:09 +00:00