OSDN Git Service
Baligh Uddin [Tue, 10 May 2016 13:45:25 +0000 (13:45 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 12:09:25 +0000 (12:09 +0000)]
Merge "Revert "Enable profile merging for post-OTA package verification"" into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 09:35:50 +0000 (09:35 +0000)]
Merge "Add a command to print package dexopt status." into nyc-dev
Janis Danisevskis [Tue, 10 May 2016 09:12:48 +0000 (09:12 +0000)]
Merge "Updates training/camera/photobasics.jd with FileProvider details" into nyc-dev
Narayan Kamath [Mon, 2 May 2016 13:44:31 +0000 (14:44 +0100)]
Add a command to print package dexopt status.
Can be invoked like so :
$adb shell dumpsys package dexopt
$adb shell dumpsys package dexopt <packageName>
bug:
27494108
Change-Id: Ie91f744aeac772e0e22abc9c805df9290a4e2418
Guang Zhu [Tue, 10 May 2016 07:03:06 +0000 (07:03 +0000)]
Merge "Revert "Persist settings on a dedicated background thread"" into nyc-dev
Guang Zhu [Tue, 10 May 2016 07:02:42 +0000 (07:02 +0000)]
Revert "Persist settings on a dedicated background thread"
Bug:
25472484
This reverts commit
82b8c92b97d3c7006d7a9f67a9cdb83263d6bf2c.
Change-Id: I1a8c2e186ad74d78f1c82fe508c6f71c438177dc
Joe Fernandez [Tue, 10 May 2016 06:00:16 +0000 (06:00 +0000)]
docs: Wear F Preview page infrastructure am:
9ccfe2553b
am:
1b99b2ce92
* commit '
1b99b2ce927ec16ade8f05f607eb190dc91b2548':
docs: Wear F Preview page infrastructure
Change-Id: I2ac0d97023fad2c20f67f96d89921c19b7c72270
Joe Fernandez [Tue, 10 May 2016 05:54:38 +0000 (05:54 +0000)]
docs: Wear F Preview page infrastructure
am:
9ccfe2553b
* commit '
9ccfe2553bb0f2cf5ae6f493f12042cf9fa1eba2':
docs: Wear F Preview page infrastructure
Change-Id: I7665b4ecbd3c46a8ea7eb1a675933f43243911cc
Joe Fernandez [Sun, 10 Apr 2016 23:10:09 +0000 (16:10 -0700)]
docs: Wear F Preview page infrastructure
- add new landing page for F Preview
- add new supporting pages for F Preview
- Update TOC file to list new pages
b/
28004352
Change-Id: I3a4de8b3c756f1bbee91e136d67a413a5953277a
Andreas Gampe [Tue, 10 May 2016 04:15:12 +0000 (04:15 +0000)]
Merge "Frameworks/base: Make profile buffer adjustable" into nyc-dev
Andreas Gampe [Mon, 9 May 2016 21:26:07 +0000 (14:26 -0700)]
Frameworks/base: Make profile buffer adjustable
Add a debug system property to change the profile buffer size.
Bug:
26877591
Change-Id: Idd13f2bc6563fd88daadd1d6679f3243dab1a0ef
Svet Ganov [Mon, 9 May 2016 17:24:49 +0000 (10:24 -0700)]
Persist settings on a dedicated background thread
Settings were persisted on the system background thread but during
first boot the device is under heavy load and persisting settings
competes with other system components using the shared background
thread. As a result persisting settings can be delayed much longer
than the expected 200ms. This can cause issues with setup wizard
being skipped/went over and its component disaabled being persisted
but the setting whether the device is provisioned not being
persisted - now if the device boots it will have no SUW but also
the home button would be missing. Generally, we need a tansactional
abstraction in the system process to peform all delayed operations
atomically.
bug:
25472484
Change-Id: Icf38e72403b190a8fa9d0554b8dd83ce78da3bc8
TreeHugger Robot [Tue, 10 May 2016 03:31:32 +0000 (03:31 +0000)]
Merge "Remove replaced window if we aren't animating its exit." into nyc-dev
Selim Cinek [Tue, 10 May 2016 03:03:08 +0000 (03:03 +0000)]
Merge "Fixed a memory leak with notification children" into nyc-dev
Selim Cinek [Tue, 10 May 2016 02:22:33 +0000 (22:22 -0400)]
Fixed a memory leak with notification children
Children where not removed from the stackscrollstate as
their removal was blocked when removing a group.
Change-Id: I0a3bbb91d0df2693e1ec7e89276c8714636a34ad
Fixes:
28670320
smain@google.com [Tue, 10 May 2016 01:48:11 +0000 (01:48 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136 am:
8fb04c66c8 am:
6d18d5dc1f
am:
78ac696e6b
* commit '
78ac696e6b525b40d85c2699940da823198909ac':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I70e4f37404e639b8afd579dbea8aefb6f983ce50
smain@google.com [Tue, 10 May 2016 01:42:11 +0000 (01:42 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136 am:
8fb04c66c8
am:
6d18d5dc1f
* commit '
6d18d5dc1f457661d798aef252391b67b71171f6':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I26feb5b6fc327378d32e878301fef95d32076902
smain@google.com [Tue, 10 May 2016 01:36:08 +0000 (01:36 +0000)]
update the collections metadata for relocated studio pages. bug:
28632136
am:
8fb04c66c8
* commit '
8fb04c66c8f51d39722a7b0be4f55812aac36270':
update the collections metadata for relocated studio pages. bug:
28632136
Change-Id: I606539247da364cf02ae9645e0b4ee7b5c7fbd77
TreeHugger Robot [Tue, 10 May 2016 01:23:35 +0000 (01:23 +0000)]
Merge "TIF: Handle possible memory leaks" into nyc-dev
smain@google.com [Mon, 9 May 2016 22:04:53 +0000 (15:04 -0700)]
update the collections metadata for relocated studio pages.
bug:
28632136
Change-Id: I3c858523751c8a58b8ad90c15ffd5400925ad4df
TreeHugger Robot [Tue, 10 May 2016 00:44:40 +0000 (00:44 +0000)]
Merge "Fixed bug with pop-up window placement at the bottom in split-screen" into nyc-dev
Carlos Valdivia [Tue, 10 May 2016 00:25:46 +0000 (00:25 +0000)]
Merge "[Security] Prevent malicious notifications from AMS." into nyc-dev
TreeHugger Robot [Tue, 10 May 2016 00:19:38 +0000 (00:19 +0000)]
Merge "Fix package cleanup when parsed APK missing." into nyc-dev
Selim Cinek [Mon, 9 May 2016 23:33:14 +0000 (23:33 +0000)]
Merge "Fixed an issue where clearing transient views could ANR" into nyc-dev
Selim Cinek [Mon, 9 May 2016 23:19:27 +0000 (23:19 +0000)]
Merge "Fixed a crash with min-priority notifications in a group" into nyc-dev
Selim Cinek [Mon, 9 May 2016 22:54:10 +0000 (18:54 -0400)]
Fixed an issue where clearing transient views could ANR
It could lead to an infinite loop because it was called on
the wrong view.
Change-Id: Ie8008114474eccf2c0a4b930a5299eb6be1247c1
Fixes:
28634521
Jeff Sharkey [Mon, 9 May 2016 22:51:08 +0000 (16:51 -0600)]
Fix package cleanup when parsed APK missing.
Recently the uninstall logic was changed to require a parsed APK to
succeed, but we need uninstall to succeed when the APK lives on an
ejected storage device.
To fix that case, create a fake parsed package with just enough
information for the delete to proceed.
Fix package movement bug that sent an invalid user ID to installd;
we need to explicitly ask for each user.
Bug:
28658206
Change-Id: Icf417661f07688c7523f0d082528adec2ac70cc6
Youngsang Cho [Mon, 9 May 2016 22:30:43 +0000 (15:30 -0700)]
TIF: Handle possible memory leaks
Bug:
28656236
Change-Id: I162bb8ebc59be90ac1b1eb824c1db5aa9169c247
TreeHugger Robot [Mon, 9 May 2016 22:03:03 +0000 (22:03 +0000)]
Merge "Fix a couple bad links in the javadoc for android.os.health." into nyc-dev
Winson Chung [Mon, 9 May 2016 21:36:56 +0000 (21:36 +0000)]
Merge "Fixing regression in call to showRecents()." into nyc-dev
Paul Crowley [Mon, 9 May 2016 21:35:33 +0000 (21:35 +0000)]
Merge "Two phases to set the password for disk encryption" into nyc-dev
Chong Zhang [Mon, 9 May 2016 21:16:48 +0000 (21:16 +0000)]
Merge "Fix a flicker when opening app again quickly while it's exiting" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 21:03:59 +0000 (21:03 +0000)]
Merge "Workaround for assist crash with multiwindow" into nyc-dev
Selim Cinek [Mon, 9 May 2016 20:36:10 +0000 (16:36 -0400)]
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
Selim Cinek [Mon, 9 May 2016 20:42:52 +0000 (20:42 +0000)]
Merge "Fixed a concurrent modification crash" into nyc-dev
Winson [Mon, 9 May 2016 20:34:07 +0000 (13:34 -0700)]
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
TreeHugger Robot [Mon, 9 May 2016 20:33:13 +0000 (20:33 +0000)]
Merge "Fixed a bug where notifications could become orphaned" into nyc-dev
Jae Seo [Mon, 9 May 2016 20:32:45 +0000 (20:32 +0000)]
Merge "MediaBrowser: Make support lib v23.x available in N release" into nyc-dev
Joe Onorato [Mon, 9 May 2016 20:31:00 +0000 (13:31 -0700)]
Fix a couple bad links in the javadoc for android.os.health.
Bug:
28295754
Change-Id: I3b21e204bec626e4d1c6fb8f07580c2854e364eb
TreeHugger Robot [Mon, 9 May 2016 20:05:12 +0000 (20:05 +0000)]
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.
Philip P. Moltmann [Mon, 9 May 2016 20:04:38 +0000 (20:04 +0000)]
Merge "Init MidiService once system user gets unlocked." into nyc-dev
Greg Kaiser [Mon, 9 May 2016 19:54:41 +0000 (19:54 +0000)]
Merge "ContextHub: Avoid reference leaks" into nyc-dev
Philip P. Moltmann [Mon, 9 May 2016 19:40:19 +0000 (12:40 -0700)]
Init MidiService once system user gets unlocked.
Bug:
28621670
Change-Id: I358aa8db6d1408c317f4ca66b4e5c5cbbcfe0826
Amith Yamasani [Mon, 9 May 2016 19:46:23 +0000 (12:46 -0700)]
Workaround for assist crash with multiwindow
Temporarily disable multiwindow assist until
Bug:
28348867
is fixed correctly.
Change-Id: Ia9d0fb5d4412e87aada90e8dcffe829b61221c6c
Bill Yi [Mon, 9 May 2016 19:34:08 +0000 (12:34 -0700)]
Import translations. DO NOT MERGE
Change-Id: I90029aa0a47b76221398447a65c4596952d9e043
Auto-generated-cl: translation import
Selim Cinek [Mon, 9 May 2016 19:02:55 +0000 (19:02 +0000)]
Merge "Fixed a bug where the statusbar could become empty" into nyc-dev
Selim Cinek [Mon, 9 May 2016 19:02:31 +0000 (19:02 +0000)]
Merge "Fixed a bug where Notifications could overlap" into nyc-dev
Janis Danisevskis [Fri, 22 Apr 2016 12:34:20 +0000 (13:34 +0100)]
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
Chong Zhang [Mon, 9 May 2016 17:59:59 +0000 (10:59 -0700)]
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
TreeHugger Robot [Mon, 9 May 2016 18:22:28 +0000 (18:22 +0000)]
Merge "Don't include IME in app screenshot while in multi-window mode" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 18:22:14 +0000 (18:22 +0000)]
Merge "Change ForcedResizableInfoActivity to handle config. changes" into nyc-dev
Greg Kaiser [Mon, 9 May 2016 17:23:56 +0000 (10:23 -0700)]
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
Wale Ogunwale [Mon, 9 May 2016 18:18:18 +0000 (11:18 -0700)]
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
TreeHugger Robot [Mon, 9 May 2016 18:18:05 +0000 (18:18 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
TreeHugger Robot [Mon, 9 May 2016 18:04:21 +0000 (18:04 +0000)]
Merge "Autobundle all notifications; don't leave the most recent one free." into nyc-dev
smain@google.com [Mon, 9 May 2016 17:39:31 +0000 (17:39 +0000)]
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
smain@google.com [Mon, 9 May 2016 17:34:45 +0000 (17:34 +0000)]
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
Joe Onorato [Mon, 9 May 2016 17:31:41 +0000 (10:31 -0700)]
Flesh out the docs for the android.os.health package.
Bug:
28295754
Change-Id: I04301fbdbfb0708172adb4fd4b4a3658d5ea14eb
Joe Onorato [Mon, 9 May 2016 17:10:29 +0000 (10:10 -0700)]
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
smain@google.com [Mon, 9 May 2016 17:30:33 +0000 (17:30 +0000)]
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
smain@google.com [Mon, 9 May 2016 17:16:13 +0000 (10:16 -0700)]
update the older redirects based on studio restructure
(https://critique.corp.google.com/#review/
121836018)
Change-Id: I5c7cb01da2afe18885444c9bd6a3fc09526a42a8
Selim Cinek [Mon, 9 May 2016 17:12:40 +0000 (13:12 -0400)]
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
Selim Cinek [Sat, 7 May 2016 22:29:32 +0000 (18:29 -0400)]
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
Jaewan Kim [Mon, 9 May 2016 17:05:52 +0000 (17:05 +0000)]
Merge "Fix recents row blinking when PIP is focused" into nyc-dev
Calin Juravle [Mon, 9 May 2016 16:56:18 +0000 (17:56 +0100)]
Revert "Enable profile merging for post-OTA package verification"
This reverts commit
5da9dad2dd04586dbd665e6a73bfee1d0ed92a89.
Bug:
28612421
Change-Id: Idbbb24241362a70b697ae2d648ea47996f5239c6
Jae Seo [Mon, 9 May 2016 16:39:50 +0000 (16:39 +0000)]
Merge "MediaRouter: Add more logs for debugging" into nyc-dev
Richard Uhler [Mon, 9 May 2016 15:50:29 +0000 (15:50 +0000)]
Merge "Hold a ClassLoader reference in NativeAllocationRegistry." into nyc-dev
Richard Uhler [Mon, 9 May 2016 15:48:45 +0000 (15:48 +0000)]
Merge "Remove inconsistent 'cmd package compile' documentation." into nyc-dev
smain@google.com [Mon, 9 May 2016 15:32:36 +0000 (15:32 +0000)]
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
smain@google.com [Mon, 9 May 2016 15:28:14 +0000 (15:28 +0000)]
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
smain@google.com [Mon, 9 May 2016 15:23:51 +0000 (15:23 +0000)]
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
smain@google.com [Mon, 9 May 2016 15:08:57 +0000 (08:08 -0700)]
update redirects for /studio files for the restructure
from this CL: https://critique.corp.google.com/#review/
121726749
Change-Id: I2c06eb12267f11d69a1dbd6f1c96a7bf1ef4a61c
Alan Viverette [Mon, 9 May 2016 14:06:51 +0000 (14:06 +0000)]
Merge "Always mutate child when added to drawable container" into nyc-dev
Alan Viverette [Mon, 9 May 2016 14:06:28 +0000 (14:06 +0000)]
Merge "Cancel animation and jump to current state if not animating picker" into nyc-dev
Jason Monk [Mon, 9 May 2016 13:20:18 +0000 (13:20 +0000)]
Merge "QQS: Fix ripple clipping" into nyc-dev
Bill Yi [Mon, 9 May 2016 13:14:28 +0000 (06:14 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia3e265610e5f562a0acfe849e2c7473f2bd44594
Auto-generated-cl: translation import
Bo Hu [Mon, 9 May 2016 01:32:15 +0000 (01:32 +0000)]
Merge "Ensure Netd Service is alive" into nyc-dev
bohu [Tue, 3 May 2016 22:58:01 +0000 (15:58 -0700)]
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
Carlos Valdivia [Sun, 8 May 2016 04:46:15 +0000 (21:46 -0700)]
[Security] Prevent malicious notifications from AMS.
There was a hole in the getAuthToken logic that allowed notifications
resulting from getAuthToken requests using notifyOnAuthFailure=true to
launch arbitrary activites on the device. This is because the
getAuthToken session overrode onResult (unlike addAccount, updateCreds,
or confirmCreds).
Bug:
13787929
Change-Id: Ife1d48835f48416c2f0690f1413a076b69215190
Wale Ogunwale [Sat, 7 May 2016 23:40:45 +0000 (16:40 -0700)]
Don't include IME in app screenshot while in multi-window mode
We don't screenshot the IME in multi-window mode because the frame
of the IME might not overlap with that of the app. E.g. IME target
app at the top in split-screen mode and the IME at the bottom
overlapping with the bottom app.
Bug:
28446505
Change-Id: Iae4f7eafa582779a4cf2aba3d83c4d9f76a4ccca
Wale Ogunwale [Sat, 7 May 2016 21:13:52 +0000 (14:13 -0700)]
Change ForcedResizableInfoActivity to handle config. changes
This created extra churn in the system during resize due to
the activity relaunching.
Bug:
28614747
Change-Id: I148b6fca3dad7e10c90085a04bccb99587397912
Jae Seo [Sat, 7 May 2016 21:09:43 +0000 (14:09 -0700)]
MediaRouter: Add more logs for debugging
Bug:
28517884
Change-Id: I325b407983e79a78701acfbfd8f109657f006846
Wale Ogunwale [Sat, 7 May 2016 19:41:22 +0000 (12:41 -0700)]
Fixed bug with pop-up window placement at the bottom in split-screen
WindowState.mInsetFrame is used to represent a temp. offset of a task
due to something like docked stack resizing or IME currently on screen.
In the case of pop-up windows (or any child window that wants to layout
in the parent frame) we were incorrectly setting the containing frame
because we were checking to see if the mInsetFrame wasn't empty. This
check isn't needed for child windows that want to layout in parent frame
because the parent frame will already have the mInsetFrame applied to
its frame which will automatically trickle down to the display and content
frame it forwards to its child windows to use.
Bug:
28389714
Change-Id: If89d40845a5a14aa60abcdedef2385b1fe7bfee3
Sungsoo Lim [Sat, 7 May 2016 07:30:05 +0000 (16:30 +0900)]
MediaBrowser: Make support lib v23.x available in N release
A workaround change for supporting support lib 23.x in N release.
This change should be reverted in some point before O release.
Bug:
28572934
Change-Id: I7e6afc0293688e425736bc93da0ea10233c07e9a
TreeHugger Robot [Fri, 6 May 2016 23:58:27 +0000 (23:58 +0000)]
Merge "Fix minimized state messup" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 23:42:32 +0000 (23:42 +0000)]
Merge "Reset transparent region when saving a surface" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 23:25:27 +0000 (23:25 +0000)]
Merge "Fixed connectivity state in some restricted network scenarios." into nyc-dev
Svetoslav Ganov [Fri, 6 May 2016 23:08:30 +0000 (23:08 +0000)]
Merge "Properly map runtime permissions to app ops" into nyc-dev
Jorim Jaggi [Fri, 6 May 2016 22:45:00 +0000 (15:45 -0700)]
Fix minimized state messup
We didn't dispatch the change, but still set the field. This lead to
issues where SysUI disagreed on the minimized state. To fix this, we
only check for state changes if the docked stack is visible, but then
dispatch the change always.
Bug:
28445644
Change-Id: Ie460135049c78e11c97f3160994ca4069bf82e6c
Andrii Kulian [Fri, 6 May 2016 22:44:18 +0000 (22:44 +0000)]
Merge "Fix onStop not called when activity is under translucent" into nyc-dev
Chris Craik [Fri, 6 May 2016 20:39:08 +0000 (13:39 -0700)]
Reset transparent region when saving a surface
Fixes:
28432088
Ensure a transparent region on a saved surface is reset for future use,
since the surface should be like-new if used again.
This prevents an issue where the region - used to signal a portion of
content doesn't need to be composited - is persisted when a saved
surface is reused. The client assumes it's new and in default
state (composite everything), but the window is clipped when composited.
Change-Id: Icf2ec94c735679d715aded58de7eab12e9c43367
TreeHugger Robot [Fri, 6 May 2016 22:11:12 +0000 (22:11 +0000)]
Merge "Don't persist selection after restore." into nyc-dev
Felipe Leme [Fri, 6 May 2016 21:53:50 +0000 (14:53 -0700)]
Fixed connectivity state in some restricted network scenarios.
NetworkPolicyManagerService (NMPS) keeps an internal list of uid
rules (mUidRules) for network restrictions, and when these rules
changes it needs to notify external listeners (such as
ConnectivityService / CS).
Prior to Android N, both Data Saver mode (the feature previously known
as "Restrict Baground Data") and Battery Save mode used the same set of
firewall rules to implement their restrictions: when Battery Saver mode
NPMS would mark all networks as metered and set the proper firewall
rules externally.
Recently, these 2 modes were split in 2 distinct firewall rules and
NMPS.updateRuleForRestrictBackgroundLocked() was changed to update
the mUidRules logic based on the Data Saver firewall (since the Battery
Saver firewall changes are handled externally, on
updateRuleForRestrictPowerLocked()). As such, CS was not notified when
the power-related changes were made, which would cause apps to get a
state of CONNECTED / CONNECTED when querying its active connection.
Another scenario that is not properly handled is when a UID whitelisted
for Data Saver is brought back to foreground: although the proper
firewall rules are set, CS is not notified, and the apps state would be
DISCONNECTED / BLOCKED.
This CL introduces many changes that fix this issue:
- Fixed updateRuleForRestrictBackgroundLocked() to invoke
onUidRulesChanged() when the Battery Saver status changed.
- Fixed updateRuleForRestrictBackgroundLocked() to invoke
onUidRulesChanged() when an app whitelisted for Data Saver is brought
back to the foreground.
- Added a new API (onRestrictPowerChanged() and getRestrictPower())
to notify external services about Battery Saver mode changes.
- Fixed CS logic to properly handle the Battery Saver changes.
Externally to this change, the CTS tests were also improved to verify
the apps get the proper connection state; they can be verified running:
cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests \
-t com.android.cts.net.HostsideRestrictBackgroundNetworkTests
BUG:
28521946
Change-Id: I8eaccd39968eb4b8c6b34f462fbc541e5daf55f1
TreeHugger Robot [Fri, 6 May 2016 21:41:38 +0000 (21:41 +0000)]
Merge "Refactored NetworkPolicyManagerService mUidRules." into nyc-dev
Chris Tate [Fri, 6 May 2016 21:34:50 +0000 (21:34 +0000)]
Merge "Move the 'pretend idle jobs can run now' broadcast into AMS" into nyc-dev
Sid Soundararajan [Fri, 6 May 2016 21:16:54 +0000 (21:16 +0000)]
Merge "Reset Cards as they come into view" into nyc-dev
TreeHugger Robot [Fri, 6 May 2016 20:54:16 +0000 (20:54 +0000)]
Merge "Fix divergent equals and hashCode behavior" into nyc-dev
Winson [Thu, 5 May 2016 23:16:50 +0000 (16:16 -0700)]
Fix exception when docking task.
- If a task fails to dock, animate the stack back to original state so
that the layout is not stuck in a "docked" state.
Bug:
28577229
Change-Id: If927b898a48cd5949764cb3b0c0798d22efd850a
Winson Chung [Fri, 6 May 2016 20:50:11 +0000 (20:50 +0000)]
Merge "Disabling movement of entire affiliated task set." into nyc-dev