OSDN Git Service
Christoph Studer [Thu, 18 Sep 2014 18:35:36 +0000 (20:35 +0200)]
Remove FLAG_FOREGROUND_SERVICE on Service.stopForeground()
When services call Service.stopForeground(), remove
FLAG_FOREGROUND_SERVICE from the notification that was supplied
to Service.startForeground().
This enables services to post notifications that become user
dismissable when they switch to being a background service.
Restrict this to targetSdk=L apps to reduce the risk of breaking
existing apps.
Bug:
17551106
Change-Id: Iff8541e5bb2a23ad1fbc9ad80df5fd6eb683148b
Martijn Coenen [Thu, 18 Sep 2014 18:52:56 +0000 (18:52 +0000)]
Merge "Upper-case incoming AIDs." into lmp-dev
Nancy Chen [Thu, 18 Sep 2014 18:46:42 +0000 (18:46 +0000)]
Merge "Replace get*PhoneAccounts* public API methods with new method (1/3)" into lmp-dev
Winson Chung [Mon, 15 Sep 2014 22:58:25 +0000 (00:58 +0200)]
Enabling recents stack clipping
The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.
Bug:
17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
Jorim Jaggi [Thu, 18 Sep 2014 18:33:40 +0000 (18:33 +0000)]
Merge "Add option for recents to use fake shadows" into lmp-dev
Selim Cinek [Thu, 18 Sep 2014 18:33:25 +0000 (18:33 +0000)]
Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 18:32:06 +0000 (18:32 +0000)]
Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev
Jason Monk [Thu, 18 Sep 2014 18:29:50 +0000 (18:29 +0000)]
Merge "Add material camera_click sound" into lmp-dev
Jason Monk [Mon, 15 Sep 2014 15:13:35 +0000 (11:13 -0400)]
Block QS in sec. users setup when simple
When simple user switcher is enabled block QS for secondary users
during setup.
Bug:
16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
Esteban Talavera [Thu, 18 Sep 2014 18:15:47 +0000 (18:15 +0000)]
Merge "Make dpm command output more test friendly" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:31 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:14 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:00:16 +0000 (18:00 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Esteban Talavera [Thu, 18 Sep 2014 17:32:45 +0000 (18:32 +0100)]
Make dpm command output more test friendly
Added 'Success' at the beginning of the command output every time
it didn't fail, so that we can easily check the output in tests.
The command is brand new, only used by us on CTS tests, so this
shouldn't break anybody.
Bug:
17312478
Change-Id: Ie67bf5b2f44e658e7009e5bd87f8cb81be515584
Craig Mautner [Thu, 18 Sep 2014 17:20:50 +0000 (17:20 +0000)]
Merge "Don't remove active stacks from window manager" into lmp-dev
Alexandra Gherghina [Thu, 18 Sep 2014 17:07:12 +0000 (17:07 +0000)]
Merge "Add new icon for managed provisioning" into lmp-dev
George Mount [Thu, 18 Sep 2014 16:56:44 +0000 (16:56 +0000)]
Merge "Default to using hardware layer during fade transition." into lmp-dev
Jason Monk [Thu, 18 Sep 2014 15:21:57 +0000 (11:21 -0400)]
Add material camera_click sound
Bug:
17281234
Change-Id: I3f9a7592cfe8171fcae44ea075bf7faafaa482fe
Jason Monk [Thu, 18 Sep 2014 16:12:05 +0000 (16:12 +0000)]
Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 15:25:09 +0000 (17:25 +0200)]
Fix wrong face unlock size
Bug:
17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
Alexandra Gherghina [Thu, 18 Sep 2014 15:14:10 +0000 (16:14 +0100)]
Add new icon for managed provisioning
This will be used for managed provisioning notifications and status
bar.
Bug:
17521583
Change-Id: Ic92d52a6a6366ca696ee85f42325f64ecce744b9
Jason Monk [Wed, 17 Sep 2014 20:22:19 +0000 (16:22 -0400)]
Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.
Bug:
17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
Alexandra Gherghina [Thu, 18 Sep 2014 13:07:26 +0000 (13:07 +0000)]
Merge "Fix broken svg icon" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 12:47:43 +0000 (12:47 +0000)]
Merge "Don't crash if a user can't be created" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 12:40:50 +0000 (12:40 +0000)]
Merge "Fix bar visibility after restarting immersive activities" into lmp-dev
Jorim Jaggi [Tue, 16 Sep 2014 21:09:24 +0000 (23:09 +0200)]
Add option for recents to use fake shadows
Bug:
17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
Selim Cinek [Wed, 17 Sep 2014 02:03:52 +0000 (04:03 +0200)]
Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.
Bug:
17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
Alexandra Gherghina [Thu, 18 Sep 2014 11:19:23 +0000 (12:19 +0100)]
Fix broken svg icon
We need to do this because the old svg had the middle part broken.
Bug:
17544362
Change-Id: I72438a889b6c6a3c1dd50675afe73406f4b49ce9
Sander Alewijnse [Thu, 18 Sep 2014 11:36:18 +0000 (11:36 +0000)]
Merge "Update targetSdkVersion check." into lmp-dev
Dan Sandler [Thu, 18 Sep 2014 11:34:17 +0000 (11:34 +0000)]
Merge "Living with the LLand." into lmp-dev
Dan Sandler [Sun, 14 Sep 2014 20:28:58 +0000 (16:28 -0400)]
Living with the LLand.
Bug:
15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
Dirk Dougherty [Thu, 18 Sep 2014 03:31:23 +0000 (03:31 +0000)]
am
6357cd09: am
496cfbf7: Doc change: Add IAB v2 deprecation notice.
* commit '
6357cd095abf105f2c62a4cba459e50f49cfd5c7':
Doc change: Add IAB v2 deprecation notice.
Svetoslav [Thu, 18 Sep 2014 00:17:50 +0000 (17:17 -0700)]
Some accessibility events wrongly filtered out (regression).
We added new APIs to allow accessibility services to query all
windows a user can touch. Sometimes the window state change
event arrives before the window manager sent over the new window
state which leads to a case that the app gets the event and
asks for the window and the window is not there. To address this
if we do not have the window, we hold on to the event and
fire it as soon as the window arrives. This logic is correct
except we were wrongly expecting that the window should have
input focus.
bug:
17464645
Change-Id: I1ef50ebddeb4416a6c0776b096bb16aee703700c
Craig Mautner [Thu, 18 Sep 2014 01:36:08 +0000 (01:36 +0000)]
Merge "Protect from null Intent" into lmp-dev
Nancy Chen [Wed, 17 Sep 2014 21:47:20 +0000 (14:47 -0700)]
Replace get*PhoneAccounts* public API methods with new method (1/3)
Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.
Bug:
17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
Adam Powell [Thu, 18 Sep 2014 01:27:39 +0000 (01:27 +0000)]
Merge "Fix UserManager#isUserAGoat" into lmp-dev
Adam Powell [Thu, 18 Sep 2014 00:58:33 +0000 (17:58 -0700)]
Fix UserManager#isUserAGoat
Correctly detect if the user is a goat.
Change-Id: I78577dd7ec8c3685434ee03560010a6ea4db127f
Tsuwei Chen [Thu, 18 Sep 2014 01:00:49 +0000 (01:00 +0000)]
Merge "Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key. Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement on GPS features can be specified properly without messing up with the real capability. This will satisfy VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence." into lmp-dev
Dirk Dougherty [Thu, 18 Sep 2014 01:00:09 +0000 (01:00 +0000)]
am
496cfbf7: Doc change: Add IAB v2 deprecation notice.
* commit '
496cfbf7a83e4c0f66ece27f36c2dc3d31994ff1':
Doc change: Add IAB v2 deprecation notice.
Craig Mautner [Thu, 18 Sep 2014 00:23:44 +0000 (17:23 -0700)]
Protect from null Intent
No bad intentions.
Fixes bug
17482657.
Change-Id: I0234787eb5e39cbdb548fb219341635cddd8b5d9
Robert Greenwalt [Thu, 18 Sep 2014 00:02:15 +0000 (00:02 +0000)]
Merge "Use unified Tethering Permission Check" into lmp-dev
John Reck [Wed, 17 Sep 2014 23:30:43 +0000 (23:30 +0000)]
Merge "Special case EGL_BAD_SURFACE" into lmp-dev
Robert Greenwalt [Wed, 17 Sep 2014 00:54:19 +0000 (17:54 -0700)]
Use unified Tethering Permission Check
The BT and Wifi mechanisms for enabling Tethering did their own
permission checks. This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.
bug:
17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b
John Reck [Wed, 17 Sep 2014 23:06:36 +0000 (16:06 -0700)]
Special case EGL_BAD_SURFACE
Bug:
17516789
Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6
Dianne Hackborn [Wed, 17 Sep 2014 23:07:16 +0000 (23:07 +0000)]
Merge "Fix issue #
17536024: The am start's wait option doesn't..." into lmp-dev
Tsuwei Chen [Wed, 17 Sep 2014 19:28:49 +0000 (12:28 -0700)]
Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key.
Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate
the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement
on GPS features can be specified properly without messing up with the real capability. This will satisfy
VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence.
Bug:
17423585
Bug:
17288144
Change-Id: I71173722d4b12bfc17562f7b5444d22b01ff4590
Svetoslav [Wed, 17 Sep 2014 22:45:16 +0000 (15:45 -0700)]
Page content sometimes missing in preview when scrolling.
Removed the restriction for the page content providers to
be singletons as the RecyclerView may hold on views with
providers and ask us to bind other views for the same page.
Note that the views that RecyclerView is holding will be
soon rebound or recycled just they are not at the time we
bind other views for the same position. We were guarding
against this but caused some pages not appearing sometimes
on scrolling. Also now keeping the media size and magins
of recycled page view (will be updated if needed on
rebinding) or avoid changes of the background to null as
setting it to not null later causes an undesired layout pass.
bug:
17537922
Change-Id: If029f6c413e15d4f5c1ba1ac5e4d52ad2cad5904
Dirk Dougherty [Wed, 17 Sep 2014 22:20:38 +0000 (15:20 -0700)]
Doc change: Add IAB v2 deprecation notice.
Change-Id: Ide22c4aa8c56fdd83cb6ce2989eb8c449c55c7c1
Conflicts:
docs/html/google/play/billing/index.jd
Craig Mautner [Wed, 17 Sep 2014 22:02:33 +0000 (15:02 -0700)]
Don't remove active stacks from window manager
Background:
In ag/406771 we stopped deleting empty stacks in activity manager
and window manager. This fixed a problem where dormant tasks were
being added back to stacks later.
In ag/476888 we introduced a callback to inform the ActivityView
holder that the embedded task was complete. This callback was made
from the new method ActivityContainer.onTaskListEmpty().
In ag/483035 onTaskListEmpty() was expanded to detach the stack of the
ActivityView and also removed the stack from window manager. There
was a mistake in that CL that causes it to remove any non-home stacks,
not just ones in ActivityViews.
That mistake left us with an empty stack in activity manager and no
corresponding stack in window manager. As a result, when trying to
bring back a task that used to be in this stack window manager threw
up an exception.
This fix limits the stacks detached by onTaskListEmpty() to those
on VirtualDisplays.
Fixes bug
17469145.
Change-Id: I85a4452e8e85625e657d88e4cb9f366fd4026441
George Mount [Wed, 17 Sep 2014 22:28:06 +0000 (15:28 -0700)]
Default to using hardware layer during fade transition.
Bug
17499864
When hasOverlappingRendering() is true, a layer is used to
to fade views because performance can be much worse then.
When hasOverlappingRendering() is false, the performance
is not hurt and a layer is not used.
Change-Id: If3fb1c23ffc8d0bef85c9d16df6c26ff4bbd49ac
vandwalle [Wed, 17 Sep 2014 22:17:48 +0000 (22:17 +0000)]
Merge "fix configure 5GHz RSSI thresholds, Bug:
17514073" into lmp-dev
Dianne Hackborn [Wed, 17 Sep 2014 22:09:31 +0000 (22:09 +0000)]
Merge "Work on issue #
17506095: Add ability to lock IME for specified apps" into lmp-dev
vandwalle [Wed, 17 Sep 2014 21:55:10 +0000 (14:55 -0700)]
fix configure 5GHz RSSI thresholds, Bug:
17514073
Change-Id: I5cdecabdfc7a085d4b277096d05cc215f7db4104
Michael Wright [Wed, 17 Sep 2014 21:44:56 +0000 (21:44 +0000)]
Merge "Remove Rhodi keylayout" into lmp-dev
John Reck [Wed, 17 Sep 2014 21:35:01 +0000 (21:35 +0000)]
Merge "Change default fbo cache size to 0" into lmp-dev
David Christie [Wed, 17 Sep 2014 21:20:26 +0000 (21:20 +0000)]
Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug:
17515515" into lmp-dev
John Reck [Wed, 17 Sep 2014 21:09:26 +0000 (14:09 -0700)]
Change default fbo cache size to 0
Bug:
17479800
FBO cache is very expensive and no longer necessary, disable
it by just setting size to 0.
Change-Id: I664616f262c8339919e1d20baaafa5de2b628d7e
Yigit Boyar [Wed, 17 Sep 2014 21:00:40 +0000 (21:00 +0000)]
Merge "Handle action mode changes properly for actionbar tabs" into lmp-dev
Dianne Hackborn [Wed, 17 Sep 2014 20:20:38 +0000 (13:20 -0700)]
Work on issue #
17506095: Add ability to lock IME for specified apps
Add a new configuration to speciify apps that partcipate in the
feature.
Change-Id: I8f5139b5ea09e758bff4472b2294df8becc74614
Sandeep Siddhartha [Wed, 17 Sep 2014 20:06:42 +0000 (20:06 +0000)]
Merge "Fix issues with multiple languages and multi-users" into lmp-dev
Dianne Hackborn [Wed, 17 Sep 2014 19:47:35 +0000 (12:47 -0700)]
Fix issue #
17536024: The am start's wait option doesn't...
...give time in some cases
This switch to multiple stacks broke the check to determine if it
should actually wait for a new activity to be shown. The new check
now also requires that the top activity be resumed, which means
we may get some false positives where we decide to wait and shouldn't,
but that is better than consistently not deciding to wait in some
cases when we should. (And we will always finish waiting then next
time something becomes visible).
Also add another time, which is how long it took from the startActivity
call to return with the result. And fix when we decide to report that
we are done so that, in the case where we are bringing an existing
activity to the foreground, we don't wait until its animation is complete.
Change-Id: Id38ca0070f04e7bf8c73e131fb055808553a0e2f
Alan Viverette [Wed, 17 Sep 2014 19:20:32 +0000 (19:20 +0000)]
Merge "Revert body font size to 14sp, fix ActionBar menu text color" into lmp-dev
Alan Viverette [Wed, 17 Sep 2014 19:19:56 +0000 (12:19 -0700)]
Revert body font size to 14sp, fix ActionBar menu text color
BUG:
17549070
BUG:
17538527
Change-Id: Id4d412ae3c035c6f76ae10569658a0d97e36a0e8
ztenghui [Wed, 17 Sep 2014 19:17:24 +0000 (19:17 +0000)]
Merge "Fix badge asset alpha issue" into lmp-dev
Jeff Sharkey [Wed, 17 Sep 2014 19:01:10 +0000 (19:01 +0000)]
Merge "NetworkStats always needs arrays." into lmp-dev
Svetoslav [Wed, 17 Sep 2014 18:52:18 +0000 (18:52 +0000)]
Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev
ztenghui [Wed, 17 Sep 2014 18:23:09 +0000 (11:23 -0700)]
Fix badge asset alpha issue
b/
17544362
Change-Id: Ibf22918ccfebe082a25f28f0d4c1991e700a1fd2
Svetoslav [Tue, 16 Sep 2014 21:41:17 +0000 (14:41 -0700)]
Page content sometimes disappears when scrolling a long doc in print preview.
The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.
Also fixed a NPE if the preview list is flinged and then the user presses
back.
bug:
17537922
Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2
Craig Mautner [Wed, 17 Sep 2014 18:02:43 +0000 (18:02 +0000)]
Merge "Eliminate misleading warning." into lmp-dev
Craig Mautner [Wed, 17 Sep 2014 18:01:45 +0000 (18:01 +0000)]
Merge "Add optimizations to keep TaskPersister queue small." into lmp-dev
Sailesh Nepal [Wed, 17 Sep 2014 17:33:10 +0000 (17:33 +0000)]
Merge "Include code when converting unknown causes to string" into lmp-dev
Robert Ly [Wed, 17 Sep 2014 17:10:01 +0000 (17:10 +0000)]
am
4243ec2a: am
9efd9f60: am
fc95c477: docs: edu changes for launch
* commit '
4243ec2a84e9e42237e8e5bfd5cfb675f765d84f':
docs: edu changes for launch
Andrew Solovay [Wed, 17 Sep 2014 17:09:46 +0000 (17:09 +0000)]
am
67267dcf: am
6c6664c9: am
a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
* commit '
67267dcf909e080ea3adf902c8a9df115bd1b279':
Docs: Updated to include new Subscriptions functionality.
Chris Craik [Wed, 17 Sep 2014 17:01:34 +0000 (17:01 +0000)]
Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev
Chris Craik [Wed, 17 Sep 2014 00:32:13 +0000 (17:32 -0700)]
Handle premultiplication correctly for ColorMatrixColorFilters
bug:
17405627
Previously, the input content to the color matrix computation was left
premultiplied. Since the color matrix could reduce the alpha channel,
the alpha was re-multiplied, but this was incomplete, and incorrect.
Instead, apply the color matrix in unpremultiplied space.
Change-Id: I87b8e03d2e228e6ded81f7bbfea952605d7a095c
Adrian Roos [Wed, 17 Sep 2014 16:35:32 +0000 (18:35 +0200)]
Reinitialize emergency calls only view if configuration changes
Bug:
17420007
Change-Id: I2eec7a04e86e776aff5da3c059469dcdaa780445
Craig Mautner [Wed, 17 Sep 2014 16:34:30 +0000 (09:34 -0700)]
Eliminate misleading warning.
Remove token from deferred list of tokens to be removed once token
is removed. Leaving it in the list leads to logging messages like
"WindowManager: removeAppFromTaskLocked: token=AppWindowToken{...
} not found" when an attempt to remove it a second time fails.
Discovered in logs from b/
17512377.
Change-Id: Ic83d81841b9b74ae5c4c433d1086d3bbda8e1d64
Jeff Sharkey [Wed, 17 Sep 2014 16:26:28 +0000 (09:26 -0700)]
NetworkStats always needs arrays.
Internal logic relies on Arrays.copyOf(), so always give ourselves
valid arrays, using shared empty objects to save overhead.
Bug:
17502649
Change-Id: I5dbb00545bdfe45bbd48144ab505ea08cc92cbcd
Esteban Talavera [Wed, 17 Sep 2014 15:37:26 +0000 (15:37 +0000)]
Merge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev
Robert Ly [Wed, 17 Sep 2014 15:33:16 +0000 (15:33 +0000)]
am
9efd9f60: am
fc95c477: docs: edu changes for launch
* commit '
9efd9f607006b3e02cda714901884e1ce22475d3':
docs: edu changes for launch
Robert Ly [Wed, 17 Sep 2014 15:19:15 +0000 (15:19 +0000)]
am
fc95c477: docs: edu changes for launch
* commit '
fc95c477835f86d99cf8c7ce5c1dd098fa42e69c':
docs: edu changes for launch
Robert Ly [Fri, 12 Sep 2014 17:19:40 +0000 (10:19 -0700)]
docs: edu changes for launch
Change-Id: Ia9047138bd9972e572b5dd93310339b630a2810d
Adrian Roos [Wed, 17 Sep 2014 14:15:07 +0000 (16:15 +0200)]
Don't crash if a user can't be created
Bug:
17543257
Change-Id: I3ef4ac1524a0e23b4ce1d77c4c05c97f061adc97
Christoph Studer [Wed, 17 Sep 2014 14:17:31 +0000 (14:17 +0000)]
Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev
Adrian Roos [Wed, 17 Sep 2014 13:55:27 +0000 (15:55 +0200)]
Fix bar visibility after restarting immersive activities
This was a result of using the wrong systemUiVisibility listener.
Instead, DecorView now follows the structure in ActionBarOverlayLayout,
where we use onWindowSystemUiVisibilityChanged for everything.
Bug:
17494017
Change-Id: I1be9165c5ff80021f3a7889d3811cf0c54f68e71
Alexandra Gherghina [Wed, 17 Sep 2014 11:49:28 +0000 (11:49 +0000)]
Merge "Reorder user icon colors so that the first default is teal" into lmp-dev
Christoph Studer [Tue, 16 Sep 2014 18:23:13 +0000 (20:23 +0200)]
SysUI: Add no-wallpaper recents theme for low GFX devices
Also add a config flag to control the theme to apply to RecentsActivity.
Bug:
17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07
Craig Mautner [Wed, 17 Sep 2014 06:57:21 +0000 (23:57 -0700)]
Add optimizations to keep TaskPersister queue small.
CTS tests cause the TaskPersister queue to fill faster than it can
drain. Since it contains screenshots this can consume massive
memory. Monkey may also cause the queue to back up.
Several optimizations are added to drain the queue when it gets
large:
- High water mark to recognize when queue gets too deep. Queue is
completely drained at this point so that obsolete files can be
removed from storage.
- Use Thread.yield() to give the TaskPersister write thread some cpu
cycles.
- Remove images from write queue when TaskRecord is removed from
recents.
May fix bug
17177273.
May fix bug
17381033.
Change-Id: If21c03c8f380e5f6816cf4701a40fcfe34ace3f1
Andrew Solovay [Wed, 17 Sep 2014 06:12:12 +0000 (06:12 +0000)]
am
6c6664c9: am
a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
* commit '
6c6664c95d7935398909e798e0aad451a2a83b1b':
Docs: Updated to include new Subscriptions functionality.
Andrew Solovay [Wed, 17 Sep 2014 06:01:09 +0000 (06:01 +0000)]
am
a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
* commit '
a209406faa1f2b0f1dd7b6e3c5a468729f1c562f':
Docs: Updated to include new Subscriptions functionality.
Sailesh Nepal [Wed, 17 Sep 2014 02:30:32 +0000 (19:30 -0700)]
Include code when converting unknown causes to string
Bug:
17535687
Bug:
17241433
Change-Id: I12f0c3b4334dfcb5ac0cd2439ecab9dc77546680
Yorke Lee [Tue, 16 Sep 2014 17:43:06 +0000 (10:43 -0700)]
Add playDtmfTone, stopDtmfTone and setAudioState to RemoteConference
Bug:
17512380
Change-Id: Ie26bef643bdec97f64247b5f8099f2676ae6c63e
Yorke Lee [Wed, 17 Sep 2014 03:29:11 +0000 (03:29 +0000)]
Merge "Add missing methods to Conference object" into lmp-dev
Nancy Chen [Wed, 17 Sep 2014 03:23:03 +0000 (03:23 +0000)]
Merge "Remove ability to enable/disable phoneaccounts (1/6)" into lmp-dev
Andrew Solovay [Wed, 17 Sep 2014 02:21:09 +0000 (02:21 +0000)]
Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
Andrew Lee [Wed, 17 Sep 2014 01:52:53 +0000 (01:52 +0000)]
Merge "Fix disconnect log printf in ConnectionService." into lmp-dev
Jungshik Jang [Wed, 17 Sep 2014 01:29:53 +0000 (01:29 +0000)]
Merge "Adjust volume bar visibility in HDMI-CEC system audio mode" into lmp-dev
Jungshik Jang [Tue, 16 Sep 2014 02:04:54 +0000 (11:04 +0900)]
Adjust volume bar visibility in HDMI-CEC system audio mode
When HDMI-CEC system audio mode is activated.
1. Hide volume bar when volume button is pressed in TV
2. Show volume bar when TV receives volume notification from
Audio Receiver.
Otherwise, (system audio mode off) follows normal TV's behavior.
Bug:
17347499
Change-Id: I1f5bc14285d60d8626a8fbbef9e1959cae7d193b
Yuncheol Heo [Wed, 17 Sep 2014 01:28:25 +0000 (01:28 +0000)]
Merge "Remove MHL related code." into lmp-dev
Yigit Boyar [Wed, 17 Sep 2014 01:28:03 +0000 (18:28 -0700)]
Handle action mode changes properly for actionbar tabs
Bug:
17513613
Change-Id: I4ebcadc618558153b72bf577232adc3e616adb6b