Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
9fb0e97ecb Merge "Workaround for assist crash with multiwindow" into nyc-dev 2016-05-09 21:04:00 +00:00
Selim Cinek
06416b9e57 Fixed a crash with min-priority notifications in a group
Those notifications could get into a group with higher priority
because they were autobundled or if the app said so.
This could lead to invisible views on the lockscreen and a crash
when this happened in an animated fashion.
The bug was triggering old code that wasn't needed anymore that
removed the viewstate.

Change-Id: Ic86c2f03d55f2e98e352cdbfbb3ca80d8e676765
Fixes: 28611831
2016-05-09 16:43:37 -04:00
Selim Cinek
f9f48ecd4c Merge "Fixed a concurrent modification crash" into nyc-dev 2016-05-09 20:42:53 +00:00
Winson
14db362511 Fixing regression in call to showRecents().
- Previously, the call was made to showRecents() which took a single 
  boolean to determine alt-tab state, and after the refactoring, it
  no longer made the same call.

Bug: 28663474
Change-Id: I75fb793e56c9a094a4372d7157dbd0dd7ecdbda7
2016-05-09 13:34:07 -07:00
TreeHugger Robot
ed47cf23e8 Merge "Fixed a bug where notifications could become orphaned" into nyc-dev 2016-05-09 20:33:14 +00:00
Jae Seo
c3fc7d4038 Merge "MediaBrowser: Make support lib v23.x available in N release" into nyc-dev 2016-05-09 20:32:46 +00:00
Joe Onorato
168638c594 Fix a couple bad links in the javadoc for android.os.health.
Bug: 28295754
Change-Id: I3b21e204bec626e4d1c6fb8f07580c2854e364eb
2016-05-09 13:32:32 -07:00
TreeHugger Robot
ac29617c6e Merge changes I04301fbd,If6577602 into nyc-dev
* changes:
  Flesh out the docs for the android.os.health package.
  Properly blame the correct uid for wakeup alarms that don't have a WorkSource.
2016-05-09 20:05:13 +00:00
Philip P. Moltmann
da08abed1e Merge "Init MidiService once system user gets unlocked." into nyc-dev 2016-05-09 20:04:39 +00:00
Greg Kaiser
5ee41098b0 Merge "ContextHub: Avoid reference leaks" into nyc-dev 2016-05-09 19:54:42 +00:00
Philip P. Moltmann
3ed7595216 Init MidiService once system user gets unlocked.
Bug: 28621670
Change-Id: I358aa8db6d1408c317f4ca66b4e5c5cbbcfe0826
2016-05-09 12:51:18 -07:00
Amith Yamasani
02c80c63d4 Workaround for assist crash with multiwindow
Temporarily disable multiwindow assist until
Bug: 28348867
is fixed correctly.

Change-Id: Ia9d0fb5d4412e87aada90e8dcffe829b61221c6c
2016-05-09 12:46:23 -07:00
Bill Yi
372975950a Import translations. DO NOT MERGE
Change-Id: I90029aa0a47b76221398447a65c4596952d9e043
Auto-generated-cl: translation import
2016-05-09 12:34:08 -07:00
Selim Cinek
319eecff96 Merge "Fixed a bug where the statusbar could become empty" into nyc-dev 2016-05-09 19:02:56 +00:00
Selim Cinek
fa2dc63505 Merge "Fixed a bug where Notifications could overlap" into nyc-dev 2016-05-09 19:02:31 +00:00
Yigit Boyar
b742b87a6b Remove detached headers
ListView was leaving header and footer views
in the detached state, which is a problem because
no view should be left in that state after a layout
calculation. This was also causing the view to never
received detached-from-window callback if
the ListView is detached while the header is not
visible.

This CL fixes an issue by traversing fixed views
and removing the ones that match the criteria.
To keep the behavior as similar as possible,
we still do not call startTmpDispatch on
fixed views unless we'll remove them.

Bug: 24490656
Change-Id: I8acfbd1a9d9b8b24c1c4b7692ef82cfe0f4d43a8
2016-05-09 11:45:57 -07:00
Sudheer Shanka
eaa6c6b540 Update docs for DELETE_PACKAGES permission.
Bug: 28302564
Change-Id: I283b8a5490a189fc90f64aec3278b87a430c2623
2016-05-09 11:44:00 -07:00
Janis Danisevskis
672b052115 Updates training/camera/photobasics.jd with FileProvider details
As of Android N, passing file:// URIs across package boundaries
throws a FileUriExposedException. This has caused frustration among
app developers trying to use our example as boilerplate code. This
patch replaces the "take picture" example with one that uses
content:// URIs and FileProvider instead.

Bug: 27636012
Change-Id: I9f0b4d9bbcd6b4bfa770dd1e4ad37f321e22195f
2016-05-09 18:34:22 +00:00
Chong Zhang
e22006d936 Fix a flicker when opening app again quickly while it's exiting
If the app is waiting for an opening animation with a dummy placeholder,
we need to skip the surface placement (in addition to the animateLocked).

Also, when animating is changing from exiting to entering, the mAnimating
flag needs to be cleared until the new animation starts. This prevents the
surface placement to place it wrong before the new animaition starts.

bug: 28599295
bug: 27742244
Change-Id: I26f0ead80ee9993a6c766ae8686ab11d1729519c
2016-05-09 11:25:45 -07:00
TreeHugger Robot
de5a7afc79 Merge "Don't include IME in app screenshot while in multi-window mode" into nyc-dev 2016-05-09 18:22:29 +00:00
TreeHugger Robot
8a111f5f20 Merge "Change ForcedResizableInfoActivity to handle config. changes" into nyc-dev 2016-05-09 18:22:15 +00:00
Greg Kaiser
bece5990c7 ContextHub: Avoid reference leaks
We were leaking references in each call to onMessageReceipt(),
leading us to eventually run out of references and crash.  We
now delete our local references prior to leaving the function.
Also, since especially our message size can be quite large,
we put in logic to gracefully fail if the system is out of
memory.

In addition, we fix up reference leaks within
constructJContextHubInfo().  These were one-time leaks at
initialization, so not the root cause of our crash, but still
unnecessary leaks which are easily fixed.

Bug: 28655628
Change-Id: I3a3dc8e069c6c1810f3152872d8d8410e8ad0683
2016-05-09 11:19:20 -07:00
Wale Ogunwale
d0a166a37d Remove replaced window if we aren't animating its exit.
Allow removal of replaced window if it isn't running an exit animation
and wasn't set to run an exit animation.

Bug: 28411852
Change-Id: I916d7c9461691bc58367d012113fefe9c6485127
2016-05-09 11:18:18 -07:00
TreeHugger Robot
2d8ef7fcd5 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-09 18:18:06 +00:00
TreeHugger Robot
e3e8eeaa7f Merge "Autobundle all notifications; don't leave the most recent one free." into nyc-dev 2016-05-09 18:04:22 +00:00
smain@google.com
0b0ad39b13 update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018) am: f2f8dff6eb am: d20d4c6cf3
am: 0d1bce5e5d

* commit '0d1bce5e5d3a0521466e8d12de792024325d8d91':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Iae2be6e4c6428e46ff1317d35eb3e12f97c6a813
2016-05-09 17:39:31 +00:00
smain@google.com
0d1bce5e5d update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018) am: f2f8dff6eb
am: d20d4c6cf3

* commit 'd20d4c6cf3bc5891d2a63024b1c5ba3abf5ed77d':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Ib717a1f84f3c32ba6ccb762d0b3ffba6a1bd37e0
2016-05-09 17:34:45 +00:00
Joe Onorato
181cada18a Flesh out the docs for the android.os.health package.
Bug: 28295754
Change-Id: I04301fbdbfb0708172adb4fd4b4a3658d5ea14eb
2016-05-09 10:32:31 -07:00
Joe Onorato
78bcdf91ed Properly blame the correct uid for wakeup alarms that don't have a WorkSource.
It was setting the uid to -1, but BatteryStats should be tracking the actual uid.

Bug: 28637246
Change-Id: If6577602e3fe59a95b5cece4fc99e704ba43c03e
2016-05-09 10:32:30 -07:00
smain@google.com
d20d4c6cf3 update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)
am: f2f8dff6eb

* commit 'f2f8dff6eb50e673b32b8f6bb3c181267997aefd':
  update the older redirects based on studio restructure (https://critique.corp.google.com/#review/121836018)

Change-Id: Ib906d725e2de7012ebd305d64e12fc434c16a5ca
2016-05-09 17:30:33 +00:00
smain@google.com
f2f8dff6eb update the older redirects based on studio restructure
(https://critique.corp.google.com/#review/121836018)

Change-Id: I5c7cb01da2afe18885444c9bd6a3fc09526a42a8
2016-05-09 10:16:13 -07:00
Selim Cinek
c0b14b0e89 Fixed a concurrent modification crash
Because notifications could become isolated when
the group is suppressed it could lead to concurrent
modifications while looping.

Change-Id: Ifd4fe0cc24110455de0d3edf2da0be0773eb8c67
Fixes: 28652038
2016-05-09 13:13:58 -04:00
Selim Cinek
52941c5618 Fixed a bug where notifications could become orphaned
When a child got set not be a heads up after it was already
removed (When for example it was clicked on shortly after
it got posted) then it got orphaned leading to bad bugs
like the next notification not being visible. This
could happen often with WhatsApp who set the head up flags
on the summary instead of the children.

Change-Id: I52c8f5d9bc50080e4ece530255236d36f998372e
Fixes: 28565942
2016-05-09 13:13:56 -04:00
Jaewan Kim
ccb85eb411 Merge "Fix recents row blinking when PIP is focused" into nyc-dev 2016-05-09 17:05:54 +00:00
Calin Juravle
8412cf4daa Revert "Enable profile merging for post-OTA package verification"
This reverts commit 5da9dad2dd.

Bug: 28612421

Change-Id: Idbbb24241362a70b697ae2d648ea47996f5239c6
2016-05-09 17:56:18 +01:00
Jae Seo
99aa441581 Merge "MediaRouter: Add more logs for debugging" into nyc-dev 2016-05-09 16:39:51 +00:00
Richard Uhler
8e96faae78 Merge "Hold a ClassLoader reference in NativeAllocationRegistry." into nyc-dev 2016-05-09 15:50:30 +00:00
Richard Uhler
12f2984dbf Merge "Remove inconsistent 'cmd package compile' documentation." into nyc-dev 2016-05-09 15:48:47 +00:00
smain@google.com
beb01ff874 update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749 am: ab5bf95626 am: 1a8f9e3ca0
am: 5e42875297

* commit '5e428752971f2e3dfc3fda73633fc346f50f2763':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I76513a274909a296589c1354dfc0551764390e72
2016-05-09 15:32:36 +00:00
smain@google.com
5e42875297 update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749 am: ab5bf95626
am: 1a8f9e3ca0

* commit '1a8f9e3ca00fb4436710e34b1f7fb2259adc066f':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: Id0d7cf68025c8f6b082ebfdec6c9727e963d6b9a
2016-05-09 15:28:14 +00:00
smain@google.com
1a8f9e3ca0 update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749
am: ab5bf95626

* commit 'ab5bf95626850e97124b912ca2699fb164574186':
  update redirects for /studio files for the restructure from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I7524aa066efa4241c6a14d881b23dee0da8e2632
2016-05-09 15:23:51 +00:00
smain@google.com
ab5bf95626 update redirects for /studio files for the restructure
from this CL: https://critique.corp.google.com/#review/121726749

Change-Id: I2c06eb12267f11d69a1dbd6f1c96a7bf1ef4a61c
2016-05-09 15:12:40 +00:00
Victor Chang
8560a7c2a1 Fix ConfirmCredential is not presented before trusting cert installed by PO/DO
- TrustedCredential is responsible to show ConfirmCredential
- Show the MonitoringCerInfoActivity in personal side instead to avoid showing work challenge
- put user id into extra

Bug: 28619980
Change-Id: Iedbc0b721ef56675f3c9eb6f1d12daf1222ad080
2016-05-09 16:05:32 +01:00
Alan Viverette
d1f686f5dc Merge "Always mutate child when added to drawable container" into nyc-dev 2016-05-09 14:06:53 +00:00
Alan Viverette
d8c38b892b Merge "Cancel animation and jump to current state if not animating picker" into nyc-dev 2016-05-09 14:06:29 +00:00
Michael Wright
feaf99fa1b Stop emitting javadoc for @removed attributes.
We need the attributes to remain public because people might still be
linking against them, but we don't want them showing up in the
documentation any more. Them showing up in the documentation also had
the side effect that it would accidentally mark the parent class of
attributes as @removed, which was not intended.

Bug: 28663748

Change-Id: I2f6eb09455fddf1086e6b24bc3bea5292e8e32b7
2016-05-09 14:51:41 +01:00
Jason Monk
d4bdf9ca7c Merge "QQS: Fix ripple clipping" into nyc-dev 2016-05-09 13:20:20 +00:00
Bill Yi
1d51db6ba8 Import translations. DO NOT MERGE
Change-Id: Ia3e265610e5f562a0acfe849e2c7473f2bd44594
Auto-generated-cl: translation import
2016-05-09 06:14:28 -07:00
Bo Hu
d521a6d146 Merge "Ensure Netd Service is alive" into nyc-dev 2016-05-09 01:32:17 +00:00
bohu
07cc3bb040 Ensure Netd Service is alive
At least on android TV emulator system image, the Netd
service could be null when the setDnsConfigurationForNetwork
is invoked.

bug: 28553503
Change-Id: If059495c8573ede287c4e9d8f343318d519fca7f
2016-05-08 07:56:59 -07:00