OSDN Git Service
Chris Craik [Tue, 5 Apr 2016 20:18:56 +0000 (13:18 -0700)]
Fix OffscreenBuffer leak
Fixes:
27941148
Make OffscreenBuffer lifecycle an explicit (and tested) contract between
FrameBuilder and BakedOpRenderer, entirely separate from dispatch. This
makes it safe to reject any rendering work via overdraw content
rejection (before it gets to a BakedOpDispatcher).
Adds a couple tests around OffscreenBuffer leaks, and switches
OffscreenBuffer tests to RENDERTHREAD_TEST macro, as appropriate.
Change-Id: Id114b835d042708ae921028fb4b17e5fa485fe64
Chong Zhang [Tue, 5 Apr 2016 20:42:12 +0000 (20:42 +0000)]
Merge "Fix meminfo accounting for visible apps" into nyc-dev
Chong Zhang [Tue, 5 Apr 2016 20:22:06 +0000 (13:22 -0700)]
Fix meminfo accounting for visible apps
Visible apps could have sub levels within the visible category.
Scores between 101 and 199 should be attributed to visible
category instead of perceptible.
bug:
27987575
Change-Id: I2dbe8af65e6829bafc86ffb5222a5f1aeac2d8b4
Ajay Panicker [Tue, 1 Mar 2016 00:09:14 +0000 (16:09 -0800)]
Allow factory reset when bluetooth is off (1/2)
Bug:
27348444
Change-Id: I6c2709371b86581709649d7faf09391230449b9b
Winson Chung [Tue, 5 Apr 2016 20:10:30 +0000 (20:10 +0000)]
Merge "Fixing tiny issue with empty state graphic not being centered correctly." into nyc-dev
Chong Zhang [Tue, 5 Apr 2016 19:40:35 +0000 (19:40 +0000)]
Merge "Add the app back to mOpeningApps if transition is unset but ready." into nyc-dev
Chong Zhang [Mon, 4 Apr 2016 21:21:17 +0000 (14:21 -0700)]
Add the app back to mOpeningApps if transition is unset but ready.
This means a rotation is started while we have a transition pending,
and startFreezingDisplayLocked() called mAppTransition.freeze() to
cancel the transition by setting it to TRANSIT_UNSET but ready
immediately. Screen unfreeze will wait for mOpeningApps to empty.
handleAppTransitionReadyLocked() will remove the app from
mOpeningApps once it's drawn, and allow screen to unfreeze.
We don't add the app to mOpeningApps if the transition is neither
set nor ready. We don't have any transtition and the app won't be
removed from mOpeningApps.
bug:
27784481
bug:
27391256
Change-Id: Id2c0759732593121769c402ae0c6edde3ebc7dc6
Selim Cinek [Tue, 5 Apr 2016 19:19:27 +0000 (19:19 +0000)]
Merge "Fixed a bug where the minHeight of groups was inaccurate" into nyc-dev
Philip P. Moltmann [Tue, 5 Apr 2016 19:05:41 +0000 (19:05 +0000)]
Merge "Fix package name of canon and xerox." into nyc-dev
Philip P. Moltmann [Tue, 5 Apr 2016 19:04:42 +0000 (12:04 -0700)]
Fix package name of canon and xerox.
Change-Id: I9c08cf166f96327c145d17f283a0f231e5946d5a
Sunny Goyal [Tue, 5 Apr 2016 18:53:17 +0000 (18:53 +0000)]
Merge "Changing startListening to only fetch views which are bound" into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 18:53:02 +0000 (18:53 +0000)]
Merge "Revert "Do not set docked divider as IME target."" into nyc-dev
Chris Craik [Tue, 5 Apr 2016 18:50:24 +0000 (18:50 +0000)]
Merge "Fix software layer alpha" into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 18:35:35 +0000 (11:35 -0700)]
Revert "Do not set docked divider as IME target."
This reverts commit
ebe9c0dbebbd8c2a23a76ff827b90e66ce3813bf [1],
because it caused a regression that IME window becomes transparent on
the lock screen (Bug
28013209).
[1]: I7d406cc88aae40a8b22c1fc1d856ccb7b6bb4558
Bug:
26387930
Bug:
28013209
Change-Id: I11243703030e34b917136b69a35245e9ef73c87c
Philip P. Moltmann [Tue, 5 Apr 2016 18:23:51 +0000 (18:23 +0000)]
Merge "Fix name of Samsung in PrintServiceRecommendationService." into nyc-dev
Andrii Kulian [Tue, 5 Apr 2016 18:19:17 +0000 (18:19 +0000)]
Merge "Fix override insets when dragging divider in split-screen" into nyc-dev
Philip P. Moltmann [Tue, 5 Apr 2016 18:18:19 +0000 (11:18 -0700)]
Fix name of Samsung in PrintServiceRecommendationService.
Change-Id: I31af933ffec074e9ee646c5d879f42938229dcf7
Selim Cinek [Thu, 24 Mar 2016 17:54:56 +0000 (10:54 -0700)]
Fixed a bug where the minHeight of groups was inaccurate
Also cleaned up the methods names a bit and fixed some small
bugs in border cases where the algorithm was using the wrong
sizes.
Bug:
24866646
Change-Id: I6622814f8cec3fe143234e349030a19e3dc11353
Jorim Jaggi [Tue, 5 Apr 2016 18:07:50 +0000 (18:07 +0000)]
Merge "Fix wrong inset bounds" into nyc-dev
Ying Wang [Tue, 5 Apr 2016 17:46:59 +0000 (17:46 +0000)]
Merge "Fix dependency for fontchain_lint" into nyc-dev
Ricky Wai [Tue, 5 Apr 2016 17:39:45 +0000 (17:39 +0000)]
Merge "Fix SystemUI crash for work challenge" into nyc-dev
George Mount [Tue, 5 Apr 2016 17:27:33 +0000 (17:27 +0000)]
Merge "Restore fragment transaction animation state information." into nyc-dev
Oleksiy Vyalov [Tue, 5 Apr 2016 17:27:22 +0000 (17:27 +0000)]
Merge "Send nativeDebuggable byte value as part of HELLO response." into nyc-dev
Ying Wang [Tue, 5 Apr 2016 17:26:14 +0000 (10:26 -0700)]
Fix dependency for fontchain_lint
fontchain_lint scans directories in $(TARGET_OUT). There is no better
target working as dependency than the system.img.
Change-Id: I560b89f697e5ebd4f1e44a150f5af37996cf427e
Tony Mak [Tue, 5 Apr 2016 17:24:29 +0000 (17:24 +0000)]
Merge "getProfiles should only returns non-partial user info" into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 17:22:45 +0000 (17:22 +0000)]
Merge "Fix a remaining View leak in InputMethodManager." into nyc-dev
Sudheer Shanka [Tue, 5 Apr 2016 17:21:35 +0000 (17:21 +0000)]
Merge "Remove the admin from the removing list when refreshing that admin." into nyc-dev
Chris Craik [Tue, 5 Apr 2016 17:15:11 +0000 (10:15 -0700)]
Fix software layer alpha
Fixes:
27429404
Software layers must combine layerpaint alpha, if present, with view
alpha.
Change-Id: If9c7dcb53ab8754b4e123cf9cc332a566fd792c4
Junda Liu [Tue, 5 Apr 2016 17:03:30 +0000 (17:03 +0000)]
Merge "Add public API for sim authentication." into nyc-dev
Tony Mak [Tue, 5 Apr 2016 16:21:42 +0000 (17:21 +0100)]
getProfiles should only returns non-partial user info
Bug:
26928524
Change-Id: I537bb0a9632cad603717a367b81d5e072452a6d7
Dianne Hackborn [Tue, 5 Apr 2016 16:54:54 +0000 (16:54 +0000)]
Merge "(Docs only) Make battery stats process state docs more clear." into nyc-dev
Dianne Hackborn [Tue, 5 Apr 2016 16:54:35 +0000 (16:54 +0000)]
Merge "Fix issue #
28001806: Background check is incorrectly restricting binding of services" into nyc-dev
Dianne Hackborn [Thu, 31 Mar 2016 01:01:41 +0000 (18:01 -0700)]
(Docs only) Make battery stats process state docs more clear.
Change-Id: I7e86705ec5fa7be8d6a74e708bbf166bec17494f
Dianne Hackborn [Mon, 4 Apr 2016 20:31:18 +0000 (13:31 -0700)]
Fix issue #
28001806: Background check is incorrectly restricting binding of services
Change-Id: Ie79937d2696e28651c8ef2bdcc5c9c84f9f801c6
Winson [Tue, 5 Apr 2016 01:45:24 +0000 (18:45 -0700)]
Fixing tiny issue with empty state graphic not being centered correctly.
- The centering is based on the size not including insets, so it should
be offset by the top/left insets.
Bug:
28005632
Change-Id: I114bcaadddb0d4777d4c013097c0d1a20e4fab0b
Alan Viverette [Tue, 5 Apr 2016 16:29:06 +0000 (16:29 +0000)]
Merge "Rewrite popup window positioning algorithm" into nyc-dev
Ricky Wai [Tue, 5 Apr 2016 16:10:04 +0000 (17:10 +0100)]
Fix SystemUI crash for work challenge
We should not assume createConfirmDeviceCredentialIntent()
can always return an intent, for example, it has separate work challenge
but lock type is None, then createConfirmDeviceCredentialIntent() will
return null.
Bug:
27782917
Change-Id: I33e40f893f61e35a2e6ce732a47d651139f246a1
Glenn Kasten [Tue, 5 Apr 2016 15:00:20 +0000 (15:00 +0000)]
Merge "Fix typo" into nyc-dev
Kirill Grouchnikov [Tue, 5 Apr 2016 14:54:46 +0000 (14:54 +0000)]
Merge "Add a hidden test-only API to get Toolbar's navigation view." into nyc-dev
Rubin Xu [Tue, 5 Apr 2016 14:52:00 +0000 (14:52 +0000)]
Merge "Split ACTION_MANAGED_PROFILE_AVAILABILITY_CHANGED into two." into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 14:51:02 +0000 (14:51 +0000)]
Merge "Make Material switch style public" into nyc-dev
Oleksiy Vyalov [Thu, 31 Mar 2016 03:23:25 +0000 (20:23 -0700)]
Send nativeDebuggable byte value as part of HELLO response.
Bug:
27942453
Change-Id: I4a222c88e104040b08e603e300e54a1ca2c038fe
Bill Yi [Tue, 5 Apr 2016 14:22:20 +0000 (14:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:21:51 +0000 (14:21 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:16:48 +0000 (14:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:16:17 +0000 (14:16 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:15:40 +0000 (14:15 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 14:15:09 +0000 (14:15 +0000)]
Merge "Fix bad workaround docs in Resources.getDrawable()" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 14:14:56 +0000 (14:14 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Alan Viverette [Tue, 5 Apr 2016 14:14:27 +0000 (10:14 -0400)]
Make Material switch style public
Bug:
28001482
Change-Id: I0dcbf585db13d2efffd09ec0e329170114f372a1
Jason Monk [Mon, 4 Apr 2016 13:19:31 +0000 (13:19 +0000)]
Revert "Add Preference#onDetachedFromActivity"
This reverts commit
e18dc50c63110a57cfc29ec9bd21bf3f59abb6b4.
Fixes:
27807793
Change-Id: Ib0384e3deb8d6376265e8e60f14490de128c9b68
(cherry picked from commit
eff3ca5480789c51768a3a1697503fbbdadc1bd6)
Robin Lee [Tue, 5 Apr 2016 14:04:39 +0000 (14:04 +0000)]
Merge "Switch to work challenge if MP calls resetPassword" into nyc-dev
Jason Monk [Tue, 5 Apr 2016 13:49:40 +0000 (13:49 +0000)]
Merge "Fix Build" into nyc-dev
Jason Monk [Tue, 5 Apr 2016 13:47:40 +0000 (09:47 -0400)]
Fix Build
Previous revert didn't catch test-current.txt
Change-Id: I82575361bcc4f3c7e05dbec4cbe5201b03717bcb
Bill Yi [Tue, 5 Apr 2016 13:44:13 +0000 (06:44 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibc7139b72a805e48a1906368d25df01e55f68b9b
Auto-generated-cl: translation import
Bill Yi [Tue, 5 Apr 2016 13:37:59 +0000 (06:37 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iacf5ebcf0264fa13b097db13948f9b880f8e19c2
Auto-generated-cl: translation import
Lorenzo Colitti [Tue, 5 Apr 2016 13:35:07 +0000 (13:35 +0000)]
Merge changes Ibb63f6b4,Ib64559a5 into nyc-dev
* changes:
Clean up netd state when tethering fails.
Clear LinkProperties on interface removed.
Lorenzo Colitti [Tue, 5 Apr 2016 08:53:04 +0000 (17:53 +0900)]
Clean up netd state when tethering fails.
If we do not call untether, NetworkController will still think
that wlan0 is part of the LOCAL network, and thus any attempt to
use wlan0 for anything else is doomed to fail.
Bug:
27917299
Change-Id: Ibb63f6b477b85b92281d9667adf8af148deb266c
Lorenzo Colitti [Tue, 5 Apr 2016 08:48:28 +0000 (17:48 +0900)]
Clear LinkProperties on interface removed.
When an interface is removed, all netlink events for that
interface are lost, because netd will no longer be able to
resolve the ifindex in the netlink event to an interface name,
and it only communicates to the framework events that include an
interface name.
This can cause us to end up with stale IP addresses if, for
example, wlan0 is removed because we switch wifi back from AP
mode to STA mode when exiting tethering. The presence of stale
IPv4 addresses can in turn lead us to miss a provisioning
notification because we already think we have an IPv4 address.
Change-Id: Ib64559a5a4fa261f483760b69fa7996314e7cc17
Keisuke Kuroyanagi [Tue, 5 Apr 2016 09:24:07 +0000 (09:24 +0000)]
Merge "Fix: Selection handle behavior in scrolled TextView." into nyc-dev
Diego Perez [Tue, 5 Apr 2016 08:17:45 +0000 (08:17 +0000)]
Merge "Separate inflate from render step" into nyc-dev
Keisuke Kuroyanagi [Tue, 5 Apr 2016 07:50:45 +0000 (07:50 +0000)]
Merge "Stop automatically creating action mode in FS extracted mode." into nyc-dev
Bill Yi [Tue, 5 Apr 2016 07:32:16 +0000 (00:32 -0700)]
Import translations. DO NOT MERGE
Change-Id: I127b5c781f20c942712801cf9b044d7b27403b07
Auto-generated-cl: translation import
Keisuke Kuroyanagi [Tue, 5 Apr 2016 07:26:16 +0000 (16:26 +0900)]
Fix: Selection handle behavior in scrolled TextView.
When dragging a selection handle, it moves to strange position in
scrolled TextView because scroll position isn't took into account.
This issue was introduced by rebase mistaking in
I2a7e87ad08416f4bd01a5f6.
Bug:
28008281
Change-Id: I6217483fcc0b9a7e661f02a1f276114ddd5031a4
Bill Yi [Tue, 5 Apr 2016 07:18:26 +0000 (00:18 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ib8200b22451664277e49d59489e1727b281fa960
Auto-generated-cl: translation import
Bill Yi [Tue, 5 Apr 2016 07:12:38 +0000 (00:12 -0700)]
Import translations. DO NOT MERGE
Change-Id: I313e43e4b0f2f90265415bfb36ac3316dcb58e00
Auto-generated-cl: translation import
Bill Yi [Tue, 5 Apr 2016 07:08:13 +0000 (00:08 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2ee1e4554a52b1932121c963a8dd99a19e8bc990
Auto-generated-cl: translation import
Andrii Kulian [Tue, 5 Apr 2016 00:46:59 +0000 (17:46 -0700)]
Fix override insets when dragging divider in split-screen
Previously, if frame extended beyond screen, override inset was set
to zero for corresponding dimension. This caused issues while dragging
down in vertical split-screen because navigation bar inset was not
included.
This CL sets override inset value as a difference between corresponding
content area dimension and screen dimension.
Bug:
27970692
Change-Id: I5bd16077a7deb039516bc9e11aa58315f809455a
Jorim Jaggi [Tue, 5 Apr 2016 06:54:30 +0000 (23:54 -0700)]
Fix wrong inset bounds
When passing tempTaskBounds != null but tempInsetBounds == null,
we ended up using the stack bounds to calculate the insets, which
is really wrong. First fallback onto tempTaskBounds, and then the
stack bounds.
Bug:
27887505
Change-Id: I66ee0da1415a67af824f4c63b56644d590728813
Aga Wronska [Tue, 5 Apr 2016 04:34:08 +0000 (04:34 +0000)]
Merge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in DocumentsActivity. Make 'select all' select only enabled files." into nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 04:29:11 +0000 (04:29 +0000)]
Merge "resolve merge conflicts of
20ebbb3 to nyc-dev" into nyc-dev
Sudheer Shanka [Fri, 1 Apr 2016 01:59:03 +0000 (18:59 -0700)]
Remove the admin from the removing list when refreshing that admin.
Change-Id: I9b597a116db4f1fb894427b4e885f29c3e94abdb
Fixes:
27909181
Erik Kline [Tue, 5 Apr 2016 04:00:27 +0000 (04:00 +0000)]
Merge "Delete unused default DNS setting code" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 03:55:40 +0000 (03:55 +0000)]
Merge "Move from on464XlatChange() to setNeighborDiscoveryOffload()" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 03:22:26 +0000 (03:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 02:48:01 +0000 (11:48 +0900)]
Delete unused default DNS setting code
Change-Id: I601a647714171f205d179d6fef6c112949fc5a94
Lorenzo Colitti [Tue, 5 Apr 2016 02:46:38 +0000 (02:46 +0000)]
Merge "Add APF code to drop ARP IPv4 requests not for us" into nyc-dev
Erik Kline [Mon, 4 Apr 2016 03:46:51 +0000 (12:46 +0900)]
Move from on464XlatChange() to setNeighborDiscoveryOffload()
Bug:
26238390
Change-Id: I0f971fbf04e44cb61017653f944d71e1f6d128b4
Adam Lesinski [Tue, 5 Apr 2016 02:22:50 +0000 (02:22 +0000)]
Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev
Sergei Vasilinetc [Tue, 5 Apr 2016 01:54:46 +0000 (01:54 +0000)]
Merge "Fix opacity setup in FrameBuilder" into nyc-dev
Paul Jensen [Fri, 25 Mar 2016 15:25:57 +0000 (11:25 -0400)]
Add APF code to drop ARP IPv4 requests not for us
The WiFi chipset's ARP offload may handle this when the
AP is asleep, but when the AP is awake and the chipset is in
wake-on-wifi mode use APF to filter these packets.
Bug:
27477163
Change-Id: I180c08bd7301a1af9c3f728ff3cba06ca4e1022d
Ashutosh Joshi [Tue, 5 Apr 2016 01:32:57 +0000 (01:32 +0000)]
Merge "App upload to Context hub." into nyc-dev
Bill Yi [Tue, 5 Apr 2016 01:01:54 +0000 (18:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: I1dc28e766598553596a3abdf05a7781b7b67f4c8
Auto-generated-cl: translation import
Yang Ni [Tue, 5 Apr 2016 00:50:40 +0000 (00:50 +0000)]
Merge "Avoid destroying Device separately" into nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:42:05 +0000 (17:42 -0700)]
resolve merge conflicts of
20ebbb3 to nyc-dev
Change-Id: I31d76a02456b3f09a6bdac11c6dbc5e913f5f7df
Tomasz Mikolajewski [Tue, 5 Apr 2016 00:33:01 +0000 (00:33 +0000)]
Merge "Fix perf tests for cold startup." into nyc-dev
sergeyv [Tue, 5 Apr 2016 00:12:04 +0000 (17:12 -0700)]
Fix opacity setup in FrameBuilder
bug:
27941278
Change-Id: Ib0599f669406d2fb477d51d5ba701a89f83f9bd9
Paul Jensen [Tue, 5 Apr 2016 00:23:36 +0000 (00:23 +0000)]
Merge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:22:20 +0000 (00:22 +0000)]
Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev
Aga Wronska [Tue, 5 Apr 2016 00:20:52 +0000 (00:20 +0000)]
Merge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead of KeyEvent" into nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:13:18 +0000 (00:13 +0000)]
Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev
Aga Wronska [Fri, 1 Apr 2016 20:16:11 +0000 (13:16 -0700)]
Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
in DocumentsActivity.
Make 'select all' select only enabled files.
Change-Id: I03326974be46f610622fff14002671e50487e357
Fixing: b/
27952285
Makoto Onuki [Tue, 5 Apr 2016 00:09:46 +0000 (00:09 +0000)]
Merge "Do not enable binder exception logging." into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 00:05:07 +0000 (00:05 +0000)]
Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev
Rob Carr [Tue, 5 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Merge "Correct screenshot bounds calculation." into nyc-dev
Adrian Roos [Mon, 4 Apr 2016 23:55:53 +0000 (23:55 +0000)]
Merge "Get rid of negative margins" into nyc-dev
Ashutosh Joshi [Mon, 4 Apr 2016 23:19:29 +0000 (16:19 -0700)]
App upload to Context hub.
Fix constants
Use helper functions to address OS
Change-Id: I61bd1f3eff2716ead2771eda335998f2e9b73afc
Mady Mellor [Mon, 4 Apr 2016 23:29:05 +0000 (23:29 +0000)]
Merge "Fix slow dismiss animation" into nyc-dev
Muyuan Li [Thu, 31 Mar 2016 20:53:56 +0000 (13:53 -0700)]
SettingsLib: refactor for extensibility.
Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.
Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit
e686bf4514d9c1116a4eaa8af285f44613e23b36)
Mady Mellor [Mon, 4 Apr 2016 23:14:05 +0000 (23:14 +0000)]
Merge "Fix showing gear behind notification when RTL language selected" into nyc-dev