241778 Commits

Author SHA1 Message Date
Chet Haase
faa572608c Merge "Document behavior of object references in Animator classes" into nyc-dev 2016-04-28 14:33:35 +00:00
Cheryl Potter
c00100e105 Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507 am: 86a5d82
am: f83ba97

* commit 'f83ba97ef13333052d96d6d0ce11f84eba750762':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ib6e9d893f4310ec561143929d14f0fc41cbdb4f0
2016-04-28 14:17:51 +00:00
TreeHugger Robot
9de0f87e97 Merge "Move allowGeneratedReplies to Action" into nyc-dev 2016-04-28 13:41:49 +00:00
Martijn Coenen
bf67e5dc63 Merge "Don't count vm_map_ram as used memory in vmallocinfo." into nyc-dev 2016-04-28 09:40:13 +00:00
TreeHugger Robot
42c9a1d07a Merge "IpManager: add distinct DhcpActionTimeoutAlarm" into nyc-dev 2016-04-28 09:30:04 +00:00
Clara Bayarri
adde076fcb Merge "Fix ListView losing scroll position" into nyc-dev 2016-04-28 09:20:47 +00:00
Erik Kline
fc2e5b6703 IpManager: add distinct DhcpActionTimeoutAlarm
Track provisioning timeouts separately from "DHCP action" timeouts.

Bug: 17733693
Bug: 24837343
Change-Id: I6071699692e7d375155a4c4fe61c7ec0d89396c0
2016-04-28 16:52:10 +09:00
Lorenzo Colitti
d8a028af82 Merge "Notify success before configuring the IP address." into nyc-dev 2016-04-28 07:02:09 +00:00
Jorim Jaggi
4b74f4de64 Fix IME adjustment for voice interaction windows
Bug: 28344950
Change-Id: I42fa7abe28a693bc22c878c75839af4ef03e5e8a
2016-04-28 06:11:33 +00:00
Jorim Jaggi
363ab98fce Fix regression with docking from recents transition
Because we move the task to the front in startRecentsActivity, we
always overrode the app transition type. Instead, we should remove
this logic and keep a flag whether the animation was prolonging was
finished already. If it was finished already, don't start the
prolonging when starting the transition.

Bug: 27154882
Change-Id: I1cd9e323867726ebd4b131ed5c13c3834d0f1107
2016-04-28 06:11:01 +00:00
Jorim Jaggi
a57286307b Merge "Clean up updating bounds after config/display info change" into nyc-dev 2016-04-28 06:03:51 +00:00
Martijn Coenen
d19191d4dc Merge "Fix API review comments, add remove callback." into nyc-dev 2016-04-28 05:34:05 +00:00
Lorenzo Colitti
adacedb1a8 Notify success before configuring the IP address.
This ensures that IpManager has a complete copy of DHCP state
before configuring the IPv4 address. That way, when the netlink
notification of the IPv4 address arrives, we are guaranteed to
have all DHCP information (including DNS servers and routes)
available and we will never send the IPv4 address before the DNS
servers.

Bug: 27605330
Change-Id: I732424dfe2408be9e40028563e99d610b541e12d
2016-04-28 13:56:50 +09:00
Cheryl Potter
f83ba97ef1 Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs am: c89d507
am: 86a5d82

* commit '86a5d8229794579fff375f2a2c2b9809136903a0':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ibe642578c042dae3f4d6738d6b68f63ed7f4063d
2016-04-28 04:21:57 +00:00
Cheryl Potter
86a5d82297 Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs
am: c89d507

* commit 'c89d5078e79460d081eb09f5fe141a5ba7ad7e64':
  docs: Polish Android Monitor pages b/26279420

Change-Id: Ic47fd05fa40a6c6b2b0cba9cade8ab51ef72cd65
2016-04-28 04:19:00 +00:00
Cheryl Potter
c89d5078e7 Merge "docs: Polish Android Monitor pages b/26279420" into mnc-mr-docs 2016-04-28 04:12:45 +00:00
TreeHugger Robot
1d3c59457c Merge "Make isCaptivePortal perform both HTTP and HTTPS probes." into nyc-dev 2016-04-28 04:01:11 +00:00
TreeHugger Robot
831ecc81f9 Merge changes Idb555b01,If8acf31b into nyc-dev
* changes:
  Show forced resizable based on top activity
  Don't move forced resizable info activity to the front
2016-04-28 03:58:46 +00:00
Jorim Jaggi
eb1cb927ad Clean up updating bounds after config/display info change
We always update the display info before handling the configuration
change. Thus, we remove this weird interleaving asynchronous beast
of code and handle rotation and density in updateBoundsAfterConfigChange
and everything else in updateDisplayInfo.

Sending an asynchronous message to resize the stack only causes race
condition and issues.

Change-Id: Ifa86f62e816917822a8c1d42d13d4bf1ad9bc5bf
Fixes: 28316517
Bug: 28184044
2016-04-27 20:47:47 -07:00
Chong Zhang
103fdec415 Merge "Don't wait for visible if there is no running activity left." into nyc-dev 2016-04-28 03:41:01 +00:00
Chong Zhang
697a333485 Merge "Do not add duplicates to mWaitingVisibleActivities" into nyc-dev 2016-04-28 03:25:51 +00:00
Jorim Jaggi
cd13d33ee5 Show forced resizable based on top activity
Also don't show it for noDisplay activities.

Bug: 28223489
Change-Id: Idb555b019b5cebdcf16a0cfaa19d64263874735f
2016-04-27 19:26:04 -07:00
Lorenzo Colitti
c5be12e7ac Make isCaptivePortal perform both HTTP and HTTPS probes.
Also a couple of minor cleanups and logging tweaks.

Bug: 26075613
Change-Id: I67b09e96d72764179339b616072bb2ce06aabf33
2016-04-28 11:23:10 +09:00
Jorim Jaggi
c875ae74ba Don't move forced resizable info activity to the front
If we start the forced resizable activity with an existing task,
avoid moving that task to the front. This can cause that a previous
task that was moved to the back gets moved to the front again just
because we started that activity. That's not good.

Bug: 28223489
Change-Id: If8acf31b8be98b82665de1015d5621331c37fb64
2016-04-27 19:19:04 -07:00
TreeHugger Robot
74610328f3 Merge "Fix contrast enforcement for RemoteInputView" into nyc-dev 2016-04-28 01:33:43 +00:00
Jeff Hao
9f013fe71e Merge "Some cleanup for <uses-library> change." into nyc-dev 2016-04-28 01:31:17 +00:00
Chong Zhang
824b6dcb55 Don't wait for visible if there is no running activity left.
We could run into this situation on some devices (eg. clockworks),
the next activity doesn't get launched until we destroy this one.

allResumedActivitiesVisible() will return false if there is no other
activity running at all. Check top running activity and it's visibility
instead.

bug: 28400334
Change-Id: Ib8957e499580a10206fdd4e27da19fbc2bdb5843
2016-04-28 01:28:29 +00:00
Peng Xu
a96986745f Merge "Fix docs build by adding include <endian.h>" into nyc-dev 2016-04-28 01:13:45 +00:00
Dianne Hackborn
1a2f993ba5 Merge "Fix issue #28431297: Crash in system process" into nyc-dev 2016-04-28 01:07:26 +00:00
TreeHugger Robot
c4e70467f7 Merge "Fixed a crash when the transformed view was updated while dragging" into nyc-dev 2016-04-28 01:05:26 +00:00
Chris Tate
bee2d3dfe4 Merge "Apply restored wallpaper via API rather than rename-into-place" into nyc-dev 2016-04-28 00:56:02 +00:00
Chris Tate
07318065b2 Merge "Make sure FIRST_LAUNCH is after PACKAGE_ADDED" into nyc-dev 2016-04-28 00:41:02 +00:00
Chong Zhang
b8bd069eac Do not add duplicates to mWaitingVisibleActivities
processStoppingActivitiesLocked() only removes one record each time, so
instead of stopping on the next window visible (or next idle), it now
requires two such calls to move the app to destroyed, if there's only
one report, the app never gets removed.

bug: 28417200

Change-Id: I7c5eac240074ed0434a72643a8d52f1726ab906c
2016-04-27 17:35:13 -07:00
Jaewan Kim
cc3cb5a009 Merge "Fix NPE when WindowManagerDebugConfig.DEBUG_SCREENSHOT is true" into nyc-dev 2016-04-28 00:11:04 +00:00
Adrian Roos
25ea5b8586 Fix contrast enforcement for RemoteInputView
Previously, the disabled color was used for the contrast
calculations, which resulted in too dark RemoteInputView
backgrounds.

Change-Id: I99e8b2fa64a22a59fdc5d1be8a6aff5af3523a27
Fixes: 28429720
2016-04-28 00:08:21 +00:00
TreeHugger Robot
e5bbff846e Merge "Add a security warning to PdfRenderer doc." into nyc-dev 2016-04-28 00:06:04 +00:00
Dianne Hackborn
e761777323 Fix issue #28431297: Crash in system process
Don't allow null URIs to get put into the notification path.

Change-Id: I4f68f438960c8a90c7b417feaa2e19968a3a200a
2016-04-27 17:03:52 -07:00
Adrian Roos
7ce11e7c23 Merge "RemoteInput: add logging and metrics" into nyc-dev 2016-04-28 00:03:03 +00:00
Adrian Roos
39d60bace6 Merge "Prevent dismissal on RemoteInputView" into nyc-dev 2016-04-28 00:02:46 +00:00
Hugo Benichi
9710859b51 Merge "Fixes 2 race conditions in MetricsLoggerService" into nyc-dev 2016-04-27 23:50:47 +00:00
Dimitry Ivanov
32c1169ab3 Merge "zygote: Remove NativeLoader initialization step" into nyc-dev 2016-04-27 23:37:13 +00:00
Badhri Jagan Sridharan
5149abe73e Merge "Add low power stats to batteryhistory" into nyc-dev 2016-04-27 23:32:19 +00:00
Selim Cinek
589fd3e47f Fixed a crash when the transformed view was updated while dragging
The transformed view could get updated during the transition
leading to a crash sometimes. We're now handling this better and
make sure the correct values are set.

Change-Id: I1a311cb7c108afeec0fc1c92eb3359c622db7b87
Fixes: 27922191
2016-04-27 16:24:48 -07:00
Adrian Roos
5aa8e7d1f1 Merge "Fix MessagingStyle HUNs" into nyc-dev 2016-04-27 23:17:08 +00:00
Christopher Tate
61f2d63889 Apply restored wallpaper via API rather than rename-into-place
This plays nicer with SELinux and generally means we can be more robust
about file security policies.

Bug 28403975

Change-Id: I857ee7073c0090c7515421f41c9334025e25bc79
2016-04-27 16:05:03 -07:00
Keun-young Park
3279050c25 Merge "fix recursion for config change" into nyc-dev 2016-04-27 23:04:51 +00:00
Fyodor Kupolov
ccb83c0aa5 Merge "Broadcast USER_INITIALIZE after user is unlocked" into nyc-dev 2016-04-27 23:02:10 +00:00
Selim Cinek
7faf756322 Fixed translations so that they become translatable
Change-Id: I0b97327b44ca5a09dd925ad34e99684eeed59639
Fixes: 28375835
2016-04-27 23:01:43 +00:00
Selim Cinek
477af0d4ea Merge "Fixed a bug where the media template wasn't transforming right" into nyc-dev 2016-04-27 23:00:09 +00:00
Selim Cinek
8f4f2a9bfc Merge "Fixed a crash where the overflow number wasn't initialized" into nyc-dev 2016-04-27 22:59:42 +00:00