241764 Commits

Author SHA1 Message Date
Jaewan Kim
66fc3ac40a PIP: Prevent PIP icons in Recents from blinking when PIP is closed
Bug: 28426049
Change-Id: I462877376bced76aa168af4e99a9d8c1f2f1bc98
2016-04-28 17:31:27 +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
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
Selim Cinek
1689203d5c Merge "Handle empty bigTexts more gracefully" into nyc-dev 2016-04-27 22:59:03 +00:00
Phil Weaver
1f70f0b7d6 Merge "Fix several accessibility magnification issues." into nyc-dev 2016-04-27 22:50:37 +00:00
Jeff Hao
bd784e961c Some cleanup for <uses-library> change.
Addresses comments made in:
https://googleplex-android-review.git.corp.google.com/#/c/976512

Bug: 26880306
Change-Id: I382fb39f3bb5de5a03506f5526d909cf55530542
2016-04-27 15:50:16 -07:00
Peng Xu
d5ec5f919d Fix docs build by adding include <endian.h>
Added endian.h into include list to avoid build error in "docs".
The function "htobe64" in endian.h is used.

Change-Id: Ic76dab25d34c56b58b97849dfa7b103963392568
2016-04-27 15:50:05 -07:00
Keun-young Park
e3dd9f8c71 fix recursion for config change
- update mTempConfig from mCurConfig first to decide if
  config is changed or not. This fixes recursion of putting
  new config again from reconfigureDisplay
- ignore setNewConfiguration if there is no change in configuration
  This fixes another recursion due to config change -> app restart
  loop

bug: 28381048

Change-Id: I4c2e6072b269baf9fa11d4b8073f0800c0e0d28d
2016-04-27 15:42:17 -07:00
TreeHugger Robot
0db93cea0f Merge "Tethering and Data Saver: There Can Be Only One!" into nyc-dev 2016-04-27 22:41:13 +00:00
Selim Cinek
42a0cb3188 Merge "Fixed that notifications didn't fade away when brightness changed" into nyc-dev 2016-04-27 22:38:38 +00:00
TreeHugger Robot
8ff7d162c6 Merge "Don't lose content change during rollback for loader already started" into nyc-dev 2016-04-27 22:25:38 +00:00
TreeHugger Robot
1a101dbc81 Merge "Fix remote input view clobbering" into nyc-dev 2016-04-27 22:17:33 +00:00