241859 Commits

Author SHA1 Message Date
Hangyu Kuang
a516aea7c5 Merge "media: Change VP9 ProfileLevel to start from 0x1." into nyc-dev 2016-04-28 18:33:06 +00:00
Adam Lesinski
c51562cf5a AAPT2: Accept a file with arguments when argument list is too long
Bug:22775504
Change-Id: Ife73d4e4611016c9ee7b56264bc6a765c54beba3
2016-04-28 11:14:38 -07:00
Makoto Onuki
9ac59d0438 ShortcutManager: When app's data is cleared, remove all shortcuts,
as if it's uninstalled.

Fixes 28196831

Change-Id: I1a410372f9e344a10567b00057fa0770eac9fd76
2016-04-28 10:52:02 -07:00
Joe Fernandez
c39532dfcc docs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796 am: f97306e
am: 8a1eb90

* commit '8a1eb90d96f3a69fea72f6599507a31d0fc356e9':
  docs: N Preview 2 - new fugu system images

Change-Id: Ifbc9a8bdf3a23a4705e28126d3c4aa23fe3ce2cf
2016-04-28 17:32:09 +00:00
Amith Yamasani
ad2e4bf9f3 Stop user faster and clear stale broadcasts
Moved several USER_STOPPING registered receivers to listen
to USER_STOPPED, since they don't need to be blocking the
shutdown of the user.

Clear all stale broadcasts when stopping a user, so that we
don't unnecessarily start up processes and deliver stale
broadcasts. This was causing code to run when the user was
already stopped and resulted in crashes when other providers
and services couldn't be started anymore. Hopefully this fixes
many of those races.

Bug: 28371487
Change-Id: Ic35a7a23fa8fe009a53f8bf7545d4dad5fa34134
2016-04-28 10:02:44 -07:00
Hyunyoung Song
137e30ae7b Merge "Revert "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a"" into nyc-dev 2016-04-28 16:57:26 +00:00
Jeff Sharkey
ce18c81677 Introduce "unlocking" vs "unlocked" nuance.
There is a narrow window of time during user unlock where we're
reconciling user storage and dispatching the "unlock" status to
various internal system services.  While in this "unlocking" state,
apps need to be told that the user still isn't actually "unlocked"
so they don't try making calls to AccountManager, etc.

The majority of internal services are interested in merging together
both the "unlocking" and "unlocked" state, so update them.

Clarify naming in AccountManagerService to make it clear that a local
list is being used, which mirrors the naming in MountService.

To match UX/PM requested behavior, move PRE_BOOT_COMPLETED dispatch
after the user is unlocked, but block BOOT_COMPLETED dispatch until
after all PRE_BOOT receivers are finished to avoid ANRs.

Bug: 28040947, 28164677
Change-Id: I57af2351633d9159f4483f19657ce0b62118d1ce
2016-04-28 10:51:39 -06:00
Hyunyoung Song
8398e8261e Revert "Revert the default wall paper for framework / emulator b/27451024 Change-Id: I68ed094f44f1b4c48407497790f809147ec0ad5a"
This reverts commit fcef23e831df0153fab7a3462973f0906ce9b8d8.
Bug: 28028331
Change-Id: I0bbcf7024749d06b7d78574afbb9625e6de8b96d
2016-04-28 16:50:11 +00:00
Joe Fernandez
8a1eb90d96 docs: N Preview 2 - new fugu system images am: 3af8dd2 am: 43ba796
am: f97306e

* commit 'f97306eb64e03656d83c228ca669c52fc1a265be':
  docs: N Preview 2 - new fugu system images

Change-Id: I65352544f1f1502295747b15a857e235e508ac2e
2016-04-28 15:34:19 +00:00
Joe Fernandez
f97306eb64 docs: N Preview 2 - new fugu system images am: 3af8dd2
am: 43ba796

* commit '43ba796197df91fae6875076d0daf9af7e1d2b78':
  docs: N Preview 2 - new fugu system images

Change-Id: I77167ef894499d9ad8b51e0336b381c69673a664
2016-04-28 15:30:59 +00:00
Joe Fernandez
43ba796197 docs: N Preview 2 - new fugu system images
am: 3af8dd2

* commit '3af8dd21279489ca10a5a8249a373bd911bfc1d8':
  docs: N Preview 2 - new fugu system images

Change-Id: Iae0965b8ec619f530609bd120d4dcd7699653aa2
2016-04-28 15:27:31 +00:00
Jaewan Kim
0f018570ff Merge "Prevent pinned stack from having extra elevation" into nyc-dev 2016-04-28 15:10:03 +00:00
Shammi Khattar
7134ce3540 ZipUtils: Fix wrong timestamps when getEntryInfo
"tm_mon" format should align with "ZipEntry::setModWhen" in aapt.
"tm_isdst" should be initialized, or it will because random value
and cause error in function mktime().

BUG:28021145

(cherry picked from commit bb0eb3f4cb33c077b296a18555a9a1a966ff696b)

Change-Id: Ia39cf63fcd4bb39c24af080562960279106f526c
2016-04-28 15:07:34 +00:00
TreeHugger Robot
5bddeaa9bc Merge "Properly parcel HdrCapabilities." into nyc-dev 2016-04-28 15:01:31 +00:00
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
Jaewan Kim
880eff6e9b Prevent pinned stack from having extra elevation
Pinned stack doesn't have focus, so there's no need for setting extra
elevation to show shadow for focused case.

This removes extra eleavtion for pinned stack, and improves the PIP
animation quality by preventing extra surface size change
at the end of animation.

Bug: 27364161
Change-Id: Id099a78de48b2e038a69600c94454b5cbfe0628f
2016-04-28 21:20:18 +09: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
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
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
Jorim Jaggi
af558e1419 Fix issues with docked stack not un-minimizing
- Add minimize state to dump
- If the docked app goes through a configuration change while the
docked stack is minimizing, the window list becomes temporarily empty,
and thus Task.isVisibleForCurrentUserLocked == false. Since we already
check at the beginning of the animation, we need to finish the minimize
animation on the docked stack no matter what happens.
- Adjust the condition when to notify divider controller about app
visibility. It turns out that under some conditions an animation is set,
but the app is not an element of mClosingApps nor mOpeningApps, so we
missed the visibility change of the home task
- Use getTopAppToken instead of getTopVisibleAppToken. When the token is
about to hide, it's already hiddenRequested, so we skipped changing the
minimize adjustment.

Change-Id: Ib9e2e3f6a5da7b7854b49857299a236e47baa6fc
Fixes: 28184044
2016-04-27 23:01:38 -07: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
Jorim Jaggi
1793d4769b Remove optimization to report config change
Since activity manager only issues a configuration change when
we are not relaunching the activity, the optimization to suppress
that on the client side is not needed anymore and only leads to
issues where there is a change in smallest_width but we are not
relaunching the activity because the change doesn't cross a size
threshold.

Bug: 28050773
Change-Id: I303c190bd7390363d1030edcdb2913b7c64c666d
2016-04-27 20:59:40 -07: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
Elliot Waite
988248daab Change custom_link_attributes to path_attributes format.
Change-Id: I24439d6f9226ace37eab875e8b1bb634a9e52074
2016-04-27 20:07:57 -07: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