232623 Commits

Author SHA1 Message Date
Selim Cinek
593610c248 Added the possibility to show custom notifications decorated.
Bug: 26961842
Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
2016-02-19 11:52:12 -08:00
Selim Cinek
f64044c6a4 Fixed a bug where custom notifications were invisible
Change-Id: If981a380ed7e3ef7000e245aefaf36d039e15cfa
2016-02-11 18:33:26 -08:00
Selim Cinek
6f4fcdc4e6 Fixed a transformation error when fading in views
Views could still be stuck in a old translation and
therefore the whole view looked weird.

Change-Id: I48a8f8824d8e5bdb0913a24783967a36c34797a8
2016-02-11 18:10:21 -08:00
Selim Cinek
a40915077f Fixed animation jank in notification groups
When group children are animating from single line to expanded,
the animation was jarring.

Change-Id: I4b248b2f59a842befaa0f5d5440c55f140584da2
2016-02-11 17:53:12 -08:00
Selim Cinek
de33a4ad56 Fixed a bug where the single line view would be invisible
When updating a child notification, the single line view was
removed leading to invisible group children.

Bug: 27137268
Change-Id: Id9e6ce2ae081ec746118f4367644ea8843d51f10
2016-02-11 16:43:41 -08:00
Selim Cinek
3362c1306e Fixed a bug where huns could be invisible
When an unpinned fullscreen notification was in the shade
all successive normal huns would be invisible.
Also removed the sorted entries as it could lead to stale
data and crashes.

Bug: 27136766
Change-Id: Ib5239325e452a2b949cb4a4b8478d231189c4722
2016-02-11 15:43:03 -08:00
Selim Cinek
322ec7e279 Fixed a crash with notification children
When moving children between parents, Sysui could crash
because it wasn't removed yet properly from the old parent.
We are now doing this sequencially, i.e first removing the
children and then adding the new ones.

Bug: 27137301
Change-Id: I1925662a9d7f224f133827d524d080994753ba25
2016-02-11 14:47:06 -08:00
Ben Kwa
d3107e8894 Merge "Revert "Handle spacebar events."" into nyc-dev 2016-02-11 21:20:08 +00:00
Ben Kwa
be660049bb Revert "Handle spacebar events."
This reverts commit ef8eb5c9dd45cc94219d6e889d026f53ecc5c7e9.

Change-Id: I6c473d09eae8289da1deb86a8f043aa88de4c6f0
2016-02-11 21:19:54 +00:00
Ben Kwa
d7211c85d6 Make left- and right- arrow jump rows in grid mode.
Like ChromeOS.  Pressing left at the beginning of a row of files in grid
mode, will move focus up to the end of the preceding row.  Analogous
behaviour for right-arrow at the end of a row.

BUG=27127282

Change-Id: I3b36c1da6559aaf01558807913502f8ab87a9e6e
(cherry picked from commit f55e5b714d4adc9f343ab7e691a6846ffa6cd7b1)
2016-02-11 21:11:45 +00:00
Ben Kwa
4a993b240d Merge "Allow multiple range selections using the shift key." into nyc-dev 2016-02-11 21:08:53 +00:00
Ben Kwa
844674f99f Merge "Handle shift-enter key events." into nyc-dev 2016-02-11 21:07:12 +00:00
Ben Kwa
22b598bb82 Merge "Handle spacebar events." into nyc-dev 2016-02-11 21:06:51 +00:00
Lifu Tang
94093b94cc Merge "Fixed the build break" into nyc-dev 2016-02-11 21:06:01 +00:00
Ben Kwa
83df50f997 Allow multiple range selections using the shift key.
- Introduce an API on MultiSelectManager for starting/ending range
  selections.

- Navigation with the shift key pressed extends the current range
  selection (or starts a new one, if one isn't in progress).

- Navigation without the shift key pressed will end the current range
  selection.

BUG=27124371

Change-Id: Ieddf3ee816812bf5210463536fe63179ef1809ad
(cherry picked from commit 09792ef1506f4cbd944e16651508be435d92c5be)
2016-02-11 21:01:04 +00:00
Phil Weaver
fd32b894ff Merge "Fix ViewPager crash for a11y z order." into nyc-dev 2016-02-11 20:58:31 +00:00
Lifu Tang
a2b74fd268 Fixed the build break
Change-Id: I02ee9b3f44d79510f174a1041f28b9c60450aa9c
2016-02-11 12:57:59 -08:00
Ben Kwa
09eb77be9a Handle shift-enter key events.
Shift-enter toggles selection on the focused item.

BUG=25196158

Change-Id: I261c249cdf1856d134910a4767b0daf8963d5b68
(cherry picked from commit e0e36df29484bf6b0b34fb958701ed7ddd96a40a)
2016-02-11 20:56:09 +00:00
Ben Kwa
ef8eb5c9dd Handle spacebar events.
Space/Shift-space scrolls the files list up/down.

BUG=25195555

Change-Id: Ib6351831db77a930920610106cc1da2b710532c6
(cherry picked from commit 870fea3b03d94335b9c7234103bde8fbf813743f)
2016-02-11 20:55:29 +00:00
Hall Liu
a97006f9c6 Merge "Initialize MD5 in logging in background" into cw-e-dev am: 5839e7804c
am: 6579e696fc  -s ours

* commit '6579e696fce978987e819d964d0f36179c05d5e0':
  Initialize MD5 in logging in background
2016-02-11 20:51:56 +00:00
Sergey Poromov
b9196c3a98 Merge "Don't call BackupTransport#checkFullBackupSize when preflight timeouted." into nyc-dev 2016-02-11 20:36:33 +00:00
Lifu Tang
ade2f66fd8 Merge "Optimized the memory consumption and renamed PRN" into nyc-dev 2016-02-11 20:10:11 +00:00
Paul Stewart
cea11df038 Merge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev
am: 4e9e3d02e0

* commit '4e9e3d02e057ddccb95d5299e60ac02da7766024':
  WifiManager: Return empty scan list on remote exception
2016-02-11 20:07:26 +00:00
Chong Zhang
94b84028ba Merge "Mark activity as visible and not stopped after resume-relaunch." into nyc-dev 2016-02-11 20:05:59 +00:00
Paul Stewart
4e9e3d02e0 Merge "WifiManager: Return empty scan list on remote exception" into mm-wireless-dev 2016-02-11 20:01:18 +00:00
Chong Zhang
2b79af1e8a Mark activity as visible and not stopped after resume-relaunch.
After a resume-relaunch, the activity is assumed to be in resumed state,
and we'll not run the normal code for resume. But it needs to be marked
visible otherwise it will stuck in invisible state.

Also trade some AM traces for WM traces for further debugging.

bug: 27123118
Change-Id: I50ce5cde29f441115675db54523090ef86d95ea8
2016-02-11 12:00:27 -08:00
Makoto Onuki
5f05cf9612 Merge "If package has no active admins, just uninstall right away" into nyc-dev 2016-02-11 19:42:54 +00:00
Selim Cinek
635f71925a Merge "Added support for media notifications without expanded state" into nyc-dev 2016-02-11 19:37:50 +00:00
Lifu Tang
120480f17a Optimized the memory consumption and renamed PRN
Bug: 27058251
Change-Id: I2309943b1a4e7565868ed0f247b84edc631fbd59
2016-02-11 11:29:40 -08:00
Kenny Guy
641ea634ee Merge "DPMS shouldn't remove admins that aren't crypto aware." into nyc-dev 2016-02-11 19:27:22 +00:00
Paul Stewart
ed9297991a WifiManager: Return empty scan list on remote exception
In the (hopefully rare) situation where there is a remote exception
from a call to getScanResults(), do not pass null back to callers.
Nobody expects this, and failures that occur as a result can distract
from the real problem (e.g., the system server crashing).  This CL
now returns an empty list.

BUG=27139097
TEST=None

Change-Id: I637eae1fa8ac1a1bc2b76dea8628359b5dec06e1
2016-02-11 11:16:17 -08:00
Wale Ogunwale
567704bca2 Merge "Force pre-N apps to be resizeable." into nyc-dev 2016-02-11 18:55:50 +00:00
Jeremy Joslin
7df8356724 Merge "Send explicit broadcasts when the scorer changes." into nyc-dev 2016-02-11 18:55:38 +00:00
Andrei Stingaceanu
ace5cf4aa5 Merge "Suspend apps - disable audio/vibrations" into nyc-dev 2016-02-11 18:48:00 +00:00
Hall Liu
e362e501ee Initialize MD5 in logging in background
Use a background task to call MessageDigest.getInstance in order to
avoid a possible disk read on initialization.

Bug: 26069217
Change-Id: I0091ce012bcd811dfca0e85c21a12c54913ed919
2016-02-11 10:39:40 -08:00
Raph Levien
7004c4407f Merge "Allow null string to BidiFormatter#unicodeWrap" into nyc-dev 2016-02-11 18:35:36 +00:00
Hall Liu
6579e696fc Merge "Initialize MD5 in logging in background" into cw-e-dev
am: 5839e7804c

* commit '5839e7804c717f3b398fd777540e2297e8c85300':
  Initialize MD5 in logging in background
2016-02-11 18:16:08 +00:00
Gustav Sennton
c2ba290716 Merge "Allow using USER_ALL as user id when killing package dependents." into nyc-dev 2016-02-11 18:14:46 +00:00
Hall Liu
5839e7804c Merge "Initialize MD5 in logging in background" into cw-e-dev 2016-02-11 18:10:31 +00:00
Kenny Guy
44fc4aeb1f DPMS shouldn't remove admins that aren't crypto aware.
DevicePolicyManagerService checks admins on boot
and removes ones that aren't found so it needs
to match crypto and non-crypto admins.
Match non-crypto aware apps when admin is enabling
system apps.

Bug: 27126412
Change-Id: Ibb20841679fb660de281782964b068d5a13b8fe9
2016-02-11 17:48:43 +00:00
Philipp Weiß
09f8568059 Merge "DPM.createAndManageUser should work even with DISALLOW_ADD_USER set" into nyc-dev 2016-02-11 17:17:39 +00:00
Andrei Stingaceanu
2bc2febd56 Suspend apps - disable audio/vibrations
Do not allow audio or vibrations for suspended apps.

Bug: 22776761
Bug: 26949521
Bug: 26954754
Bug: 26953560
Change-Id: I181288823e38efdb1631bc26ee23278697eeb0f5
2016-02-11 17:15:19 +00:00
Jerome Gaillard
c80af9d2ab Merge branch 'nyc-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev 2016-02-11 17:12:08 +00:00
Jerome Gaillard
69d9feb938 Layoutlib supports rounded corners of different sizes am: 3381cde9f2
am: 6f35d2c6ea

* commit '6f35d2c6ea1d18decd6b646035fd02fd5b1f0256':
  Layoutlib supports rounded corners of different sizes
2016-02-11 17:11:33 +00:00
Przemyslaw Szczepaniak
237f3ef21c Merge "Remove java.nio.channels.* classes without test coverage." into nyc-dev 2016-02-11 17:10:56 +00:00
Shreyas Basarge
3a1356f3ff Merge "Fix ConcurrentModificationException in SyncManager" into nyc-dev 2016-02-11 17:09:30 +00:00
John Reck
45242f7125 Merge "Revert "VectorDrawable native rendering - Step 5 of MANY"" into nyc-dev 2016-02-11 17:02:48 +00:00
John Reck
e03ef25a3e Revert "VectorDrawable native rendering - Step 5 of MANY"
Bug: 27136799

This reverts commit 18bdf443e371e9f293439b4ff92cc79abaa422e5.

Change-Id: I825b061eec2a591f2d18119ba64494624b9ad4f2
2016-02-11 17:02:33 +00:00
Jerome Gaillard
6f35d2c6ea Layoutlib supports rounded corners of different sizes
am: 3381cde9f2

* commit '3381cde9f293c52f195b31b0e4049649db31181a':
  Layoutlib supports rounded corners of different sizes
2016-02-11 16:57:48 +00:00
Shreyas Basarge
7680dd9bdf Fix ConcurrentModificationException in SyncManager
ConcurrentModificationException would be thrown because
we didn't break from the for loop after removing an
entry from the collection we were looping over.

Change-Id: I30435670f76f60b238e29658611b06ec789219aa
Bug: 27136502
(cherry picked from commit 12832e3291a66bcab12edd5943767c7827c3f7c6)
2016-02-11 16:54:12 +00:00