Commit Graph

242299 Commits

Author SHA1 Message Date
TreeHugger Robot
ccca9fe2fe Merge "Don't keep dead window with borrowed app token visible" into nyc-dev 2016-05-04 22:13:32 +00:00
TreeHugger Robot
12b1776dde Merge "Fix QS not collapsing after some QQS gestures" into nyc-dev 2016-05-04 21:58:19 +00:00
Chet Haase
c381c4e8e7 Merge "Force second measure pass when there is a configuration change" into nyc-dev 2016-05-04 21:49:11 +00:00
Yohei Yukawa
68c1e1935d Merge "Fix a behavior change in "Show software keyboard"." into nyc-dev 2016-05-04 21:39:15 +00:00
TreeHugger Robot
94e3b80d5b Merge "Finish selection mode after copyto and share..." into nyc-dev 2016-05-04 20:58:39 +00:00
TreeHugger Robot
441da79d8a Merge "Marking @SystemApi permissions @hide too." into nyc-dev 2016-05-04 20:50:16 +00:00
TreeHugger Robot
5f81a3f84c Merge "Make sure to pause activity before stopping" into nyc-dev 2016-05-04 20:28:51 +00:00
Wale Ogunwale
51d1d9165a Don't keep dead window with borrowed app token visible
If the window was add by a client using another client's app token,
we don't want to keep the dead window around for this case since
this funcationality is meant for 'real' apps.

Bug: 28467642
Change-Id: Ie4fdd9f90b122439a2fbcc60085ebfdb562d5c6d
2016-05-04 13:27:18 -07:00
David Friedman
6954edf67c Docs: Adds fugu to list of Vulkan-supported devices. am: 0677d4b715 am: 60e5bc30bb am: 0de8689243
am: 21a55dc82c

* commit '21a55dc82c24ffb8c0d77c1980fe5acc1400001d':
  Docs: Adds fugu to list of Vulkan-supported devices.

Change-Id: I372454e0f336d4ae4703ca296e102447db247d61
2016-05-04 20:21:53 +00:00
David Friedman
21a55dc82c Docs: Adds fugu to list of Vulkan-supported devices. am: 0677d4b715 am: 60e5bc30bb
am: 0de8689243

* commit '0de8689243ae0d48744b7c1584670a10febafe32':
  Docs: Adds fugu to list of Vulkan-supported devices.

Change-Id: If89adfe3f280815f26cec7048e50e4d8c9ad7b7d
2016-05-04 20:13:37 +00:00
Jason Monk
9ff0083647 Merge "Fix QS header size after landscape inflation" into nyc-dev 2016-05-04 20:11:56 +00:00
Jason Monk
cd4e382bd0 Fix QS header size after landscape inflation
Change-Id: Ic735462d0af2437ed9e74a960ff0dc12126c30f2
Fixes: 28306834
2016-05-04 16:08:08 -04:00
David Friedman
0de8689243 Docs: Adds fugu to list of Vulkan-supported devices. am: 0677d4b715
am: 60e5bc30bb

* commit '60e5bc30bbb41f25836a8bbd2a04bc2eab4b7f8c':
  Docs: Adds fugu to list of Vulkan-supported devices.

Change-Id: Iab5e6c2b992c241de667476ce74b2bc6a2d4dac9
2016-05-04 20:04:06 +00:00
Jason Monk
69a4e8e5a0 Fix QS not collapsing after some QQS gestures
Change-Id: I0178bb15a162f8dba19e63471d955a838eeea6c7
Fixes: 28479933
2016-05-04 16:00:36 -04:00
David Friedman
60e5bc30bb Docs: Adds fugu to list of Vulkan-supported devices.
am: 0677d4b715

* commit '0677d4b7153327fef6b33c90c5bf61f756c1bea3':
  Docs: Adds fugu to list of Vulkan-supported devices.

Change-Id: Ida6a6972ff32917eb9367871d6ea0766cc37d05e
2016-05-04 20:00:08 +00:00
Philip P. Moltmann
9e5d4e078a Merge "Add HP and Mopria print recommendation service" into nyc-dev 2016-05-04 19:22:58 +00:00
David Friedman
0677d4b715 Docs: Adds fugu to list of Vulkan-supported devices.
Change-Id: Ic61f5e20c6c950ef7333e56757a782f67bae8da1
2016-05-04 12:14:08 -07:00
Yohei Yukawa
d0d0797474 Fix a behavior change in "Show software keyboard".
This bug was a corner case of stopping lying about
Configuration#keyboard when "Show software keyboard" is turned on, which
was done by my CL [1] in Android N development cycle.

Previous implementation

  if (config.keyboard != Configuration.KEYBOARD_NOKEYS) {

had relied on the fact that the system was lying about config.keyboard,
which is no longer valid.  We need to change the behavior of
InputMethodService#onShowInputRequested() depending on
Settings.Secure.SHOW_IME_WITH_HARD_KEYBOARD like we did for
InputMethodService#onEvaluateInputViewShown() in [1] to minimize the
impact on stopping lying about Configuration#keyboard.

 [1]: Id4d332e3909590c68345e10e1f2e18650efb2eb7
      7b739a802c

Bug: 28423439
Change-Id: I8a774cbf61ac706d8446be91b17bceee57a13656
2016-05-04 11:56:35 -07:00
Wale Ogunwale
5dc6d6551e Make sure to pause activity before stopping
In some cases it is possible for activity manager to request
a resumed activity to stop when it's visibility changes. This
is a valid transition, however we need to make sure to pause
the activity on the client side before stopping it so lifecycle
transition works as expected.

Bug: 28574036
Change-Id: I759b38bbd1c9c3bb0475759bcb638d8223fa504d
2016-05-04 11:46:29 -07:00
Robin Lee
7ec93a1ee2 Merge "Add lockdownEnabled parameter to always-on VPN API" into nyc-dev 2016-05-04 18:38:30 +00:00
Robin Lee
a5e6553917 Merge changes I31d5260d,Ied92f558 into nyc-dev
* changes:
  Start VPN as early as possible during startup
  Split network agent created state from connected state
2016-05-04 18:35:19 +00:00
Andrew Solovay
a75f01557c Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs am: 6006856b24 am: 5c197a1513
am: 99dfd4c92f

* commit '99dfd4c92f13f9fe024fe995261bcfdd8bd61295':
  docs: Renaming /go/ top-level directory to /topic/

Change-Id: Ie817cd75f56e9bc8d5080711d0cb7de6887541aa
2016-05-04 18:30:17 +00:00
Andrew Solovay
99dfd4c92f Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs am: 6006856b24
am: 5c197a1513

* commit '5c197a1513a1a3b181977c6425a0f542d770a1bc':
  docs: Renaming /go/ top-level directory to /topic/

Change-Id: I1a49367d42f2d16e0b3c9c9f41bb844a00052490
2016-05-04 18:23:07 +00:00
Chet Haase
d86fb2ce37 Force second measure pass when there is a configuration change
It's possible for a call to updateConfiguration() to happen in the middle
of performTraversals(), after the measure phase has happened, but before
the layout phase. During the configuration call, it's possible for views to
have requestLayout() called on them. This can result in the request flag
not getting cleared, because views that have had layout requested, but which
have not yet been measured, may not be told to layout.

The correct flow should be that any code path causing requestLayout() (which
could be anything that calls out to user/app code) should happen before the
measure phase (or cause a second measure to occur). For now, causing the second
measure to occur is a low-risk simple change that fixes the immediate problem.

Issue #28152259  Calling requestLayout from inside View.onConfigurationChanged can cause problems

Change-Id: I3b532eeacc3784d8d21193d01ddd7fa15ac0684e
2016-05-04 18:14:46 +00:00
Abhijith Shastry
9a2384a7a6 Merge "Update BlockedNumberContract documentation." into nyc-dev 2016-05-04 18:14:38 +00:00
Andrew Solovay
5c197a1513 Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs
am: 6006856b24

* commit '6006856b24335473e71a58d3bf45d49c57ea6055':
  docs: Renaming /go/ top-level directory to /topic/

Change-Id: I6401fd1a31ec8c064387b9a7e49aaf52a76b80f1
2016-05-04 18:14:32 +00:00
Andrew Solovay
6006856b24 Merge "docs: Renaming /go/ top-level directory to /topic/" into mnc-mr-docs 2016-05-04 18:07:10 +00:00
Renat Aksitov
d516e30b91 Merge "Voice Messaging Intent API." into nyc-dev 2016-05-04 18:02:47 +00:00
Dongwon Kang
b69b5b4a6d Merge "Revert "TIF: add signal detection feature for HW inputs"" into nyc-dev 2016-05-04 17:33:54 +00:00
Sid Soundararajan
2ff157c027 Merge "Add a null check for the thumbnail image for transition" into nyc-dev 2016-05-04 17:14:19 +00:00
TreeHugger Robot
69e0d82994 Merge "Uncheck unselected radio buttons." into nyc-dev 2016-05-04 17:09:52 +00:00
TreeHugger Robot
221c6e6db7 Merge "Fix ClipData JavaDoc and behavior that contradicts JavaDoc" into nyc-dev 2016-05-04 17:07:13 +00:00
Pavel Zhamaitsiak
be3e539ff7 Merge "Fix race condition in MetricsLoggerService" into nyc-dev 2016-05-04 17:02:18 +00:00
Steve McKay
3fff306827 Merge "Disable share when dirs selected." into nyc-dev 2016-05-04 16:46:30 +00:00
Robin Lee
323f29df58 Start VPN as early as possible during startup
- Switch from USER_STARTING to USER_STARTED which is the foreground
  version of the broadcast

- Set the new VPN network as CONNECTING initially to avoid spamming
  apps with useless notifications ahead of the network being fully
  available

Bug: 26694104
Fix: 28335277
Change-Id: I31d5260dda62ff440c31c44eb0aa5c891e2717e5
2016-05-04 17:46:10 +01:00
TreeHugger Robot
e06ef946f4 Merge "Collect mime type data correctly for all URIs added to ClipData" into nyc-dev 2016-05-04 16:41:08 +00:00
Robin Lee
585e248894 Split network agent created state from connected state
Network creation setup sometimes involves extra steps after actually
calling into netd to create the underlying network, rules & routes &
to begin allowing sockets bound to it.

For example, VPN networks can set a UID whitelist or blacklist. This
should happen:

  - AFTER there is a netID & network created in netd as
    network-specific rules will need to be tied to / point at it. Those
    rules are tied to the lifecycle of netd's network which is tracked
    by `NetworkAgentInfo.created` on the frameworks side.

  - BEFORE the CONNECTED broadcast and network callbacks have been sent
    out so that we don't create a race condition between clients that
    want to use the network and the server actually having the network
    ready

The race condition existed prior to this change and required any client
making use of network callbacks to sleep for a short amount of time after
receiving to actually be able to use the network.

Among other things, that race condition is now fixed.

Bug: 26694104
Change-Id: Ied92f5588a98c3e97f456bc98b676bf201ab5472
2016-05-04 16:24:46 +00:00
Baligh Uddin
5282bb5ee7 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 13:45:13 +00:00
Baligh Uddin
ce7d13e9e6 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 13:45:09 +00:00
Baligh Uddin
2799ff8a4b Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 13:42:31 +00:00
Baligh Uddin
151a7bb502 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-04 13:42:17 +00:00
Julia Reynolds
617a7804bb Uncheck unselected radio buttons.
Fixes: 28518097
Change-Id: I22cce7837802a97f15af4170f8991db1685ee121
2016-05-04 09:31:56 -04:00
TreeHugger Robot
b5cc6af44f Merge "Don't display 1st-time dialog when disabling Data Saver." into nyc-dev 2016-05-04 13:24:13 +00:00
TreeHugger Robot
42791eca7d Merge "[WebView] Update ServiceWorker related documentation." into nyc-dev 2016-05-04 12:37:21 +00:00
Ricky Wai
3423a513e7 Merge "Do not show exception stack trace when no child profile key" into nyc-dev 2016-05-04 10:47:55 +00:00
Ricky Wai
92d0e9a4ed Merge "Make notification reply can response to work challenge" into nyc-dev 2016-05-04 10:11:21 +00:00
Ricky Wai
de3a068af6 Do not show exception stack trace when no child profile key
Bug: 28396912
Change-Id: I48e3f3223d04a0ba3dd2d975901b0504ce0dd25f
2016-05-04 10:09:50 +00:00
Tony Mak
c820cc5fb1 New settings key and policy transparency for managed profile settings
Bug: 28281560
Change-Id: I38d0c202088df410a28e78800de4e74377ec3216
2016-05-04 09:33:08 +00:00
Baligh Uddin
a7558df310 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: Ic96e78c740e77efbccaee8718e981d6fb9a1da58
2016-05-04 00:06:46 -07:00
Baligh Uddin
7fd9b8c578 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 28463229
Change-Id: Ia8bad7599bc6c36fd2d28e3e1b223ab64c6981ba
2016-05-03 23:29:06 -07:00