222726 Commits

Author SHA1 Message Date
Alex Klyubin
7b0b9a1351 Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5 am: 4bc1904119
am: 0540e1b127

* commit '0540e1b127e03ecc97c32719ac79769d69c16aec':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).
2015-11-25 19:23:55 +00:00
Jim Kaye
fe341d4350 Merge "Extend the \'qwerty\' key layout" am: 9a83f115ad am: e579edc76b
am: b159adb4a8

* commit 'b159adb4a89de42156537294b39d163c26d04d88':
  Extend the 'qwerty' key layout
2015-11-25 19:22:37 +00:00
Sergio Giro
05455443f0 Merge "ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl" am: d5a5d547d0 am: d9942006e4
am: dd52b3db36

* commit 'dd52b3db3678dc0840b82f5406d445cea59d2b59':
  ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl
2015-11-25 19:21:11 +00:00
Alex Klyubin
0540e1b127 Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." am: e766e399c5
am: 4bc1904119

* commit '4bc1904119875dd0e8c63f87106e8ab293cc9a7a':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).
2015-11-25 19:13:21 +00:00
Filip Gruszczynski
687789bebf Merge "Only create surface when showing window if it destroys it when hiding." 2015-11-25 19:09:21 +00:00
Filip Gruszczynski
3782797a2a Merge "Don't preserve the window on client side when pinning activity." 2015-11-25 19:09:06 +00:00
Alex Klyubin
4bc1904119 Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)."
am: e766e399c5

* commit 'e766e399c59669156284c330ae3f38f79230d930':
  Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).
2015-11-25 19:05:09 +00:00
Alex Klyubin
e766e399c5 Merge "Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer)." 2015-11-25 18:59:35 +00:00
Filip Gruszczynski
55149303d1 Only create surface when showing window if it destroys it when hiding.
The visibility of a window might be toggled to true even when it doesn't
have a surface, which is a case for windows under the lock screen. We
can't blindly create surfaces in that case, but only do it for the
windows that destroy their surfaces when they are hidden.

Bug: 25879215
Change-Id: I6cf2c6810ce02fba0d2207a56de9924c0270dfeb
2015-11-25 10:51:25 -08:00
Nick Kralevich
18f11bc0f7 Merge "AndroidManifest.xml: More protected broadcasts" 2015-11-25 17:43:39 +00:00
Nick Kralevich
a3ecf45fd9 AndroidManifest.xml: More protected broadcasts
Make the following broadcasts protected:

  android.intent.action.PRE_BOOT_COMPLETED
  android.intent.action.USER_INITIALIZE

Bug: 25022002
Change-Id: Ic36e29c51b930e4d7367688ab837c6a40d74ec23
2015-11-25 09:09:47 -08:00
Geoff Mendal
9fc3cfae5e Merge "Import translations. DO NOT MERGE" 2015-11-25 16:58:13 +00:00
Geoff Mendal
d468ccc61b Import translations. DO NOT MERGE
Change-Id: I340c618b73e1bb95d54fa6d5d9404b33c37f3764
Auto-generated-cl: translation import
2015-11-25 17:47:48 +01:00
Sergio Giro
e38bdf6bf7 ssl: make DistinguishedNameParser a package-private class in org.apache.http.conn.ssl
Needed by AbstractVerifier, needed by framework/base

DistinguishedNameParser taken from libcore, commit a5c16db453098d7ab945edd379a

This commit was adapted from commit 50dc0c27ff00bfd82fb9cce1c86312efa550170f

Not cherrypicking from dev branch as the original CL to do it went wrong
and would need to cherrypick more changes

Change-Id: I1c282b731c778a79775d9d54b7b7d7223d84397d
2015-11-25 15:25:29 +00:00
Michael Wright
1c8e95167b Merge "Add new TestApi annotation." 2015-11-25 14:12:22 +00:00
Geoff Mendal
87c6aefba5 Merge "Import translations. DO NOT MERGE" 2015-11-25 13:50:24 +00:00
Geoff Mendal
2dac6ccaa6 Import translations. DO NOT MERGE
Change-Id: Iec73269d9960af59bddd9ed0189fea144526850c
Auto-generated-cl: translation import
2015-11-25 05:48:34 -08:00
Geoff Mendal
92eda4fd29 Merge "Import translations. DO NOT MERGE" 2015-11-25 13:37:42 +00:00
Geoff Mendal
0634fbb334 Import translations. DO NOT MERGE
Change-Id: I8ab271a3bfdd0b4d4917cc21234b70b79063e3cf
Auto-generated-cl: translation import
2015-11-25 05:37:11 -08:00
Geoff Mendal
cb37f2566e Import translations. DO NOT MERGE
Change-Id: Iede8cc7c1f459d1f3506dce88dc435c7b5f85ee7
Auto-generated-cl: translation import
2015-11-25 05:18:41 -08:00
Michael Wright
b2b2c0e7d0 Add new TestApi annotation.
This allows us to build a special jar with methods exposed strictly
for CTS. An @TestApi should not be a public API or a system
API.

Bug: 25608286

Change-Id: Ifbc64bb6958d2deec5b9cf0b944acfd068f0f051
2015-11-25 13:01:03 +00:00
Neil Fuller
7ff6e9e7e8 Merge "Add ICU4J APIs for Android" 2015-11-25 09:38:08 +00:00
Lorenzo Colitti
2a2f855c4d Merge "Make the new NetworkRequest flavour consistent with the others." 2015-11-25 07:46:31 +00:00
Keisuke Kuroyanagi
877a4e09ea Merge "Selection Test: selection handle snaps to word boundaries." 2015-11-25 07:37:29 +00:00
Keisuke Kuroyanagi
68e1945c39 Merge "Selection Test: selection handle doesn't pass anther one." 2015-11-25 07:37:10 +00:00
Keisuke Kuroyanagi
e85a2687ae Merge "Add selection handle multiline dragging tests." 2015-11-25 07:31:37 +00:00
Keisuke Kuroyanagi
d3c48931ea Merge "Add selection handle dragging tests." 2015-11-25 07:24:17 +00:00
Keisuke Kuroyanagi
ec913c0eb6 Selection Test: selection handle snaps to word boundaries.
Bug: 25730231

Change-Id: I12d3fde4ff5b52aa6673de915c53b6a5f72f4b35
2015-11-25 16:15:20 +09:00
Keisuke Kuroyanagi
cb6e8420cb Selection Test: selection handle doesn't pass anther one.
Bug: 25730231
Change-Id: Ibca75126a0b2d4320d1f67dc35a2b0ac20fcdcd2
2015-11-25 16:15:20 +09:00
Keisuke Kuroyanagi
c24c2bbb69 Add selection handle multiline dragging tests.
Bug: 25730231

Change-Id: I23b9e35d7a5ea8d03d8634ffca0e186ea76ebc99
2015-11-25 16:15:19 +09:00
Keisuke Kuroyanagi
da79ee683d Add selection handle dragging tests.
- Set an id for each HandleView to access the hanlde.
- Rename DragOnTextViewActions to DragAction to use it for
dragging handles.
- Introduce HandleCoordinates to provide proper coordinates
for handles.

More tests will be added in following CLs.

Bug: 25730231
Change-Id: I9276bf2f983983ec9aae0ddcf674d3dcee566892
2015-11-25 16:15:15 +09:00
Lorenzo Colitti
d117946299 Make the new NetworkRequest flavour consistent with the others.
Change-Id: I491eb0b6d2fa0f1c472c97ef403488407e71803e
2015-11-25 15:47:14 +09:00
Lorenzo Colitti
7754abb2fc Merge "Temporarily add a requestNetwork flavour that takes a legacy type" 2015-11-25 06:37:25 +00:00
Lorenzo Colitti
c415f72b66 Merge changes I456984a2,Id4d1031b
* changes:
  Switch the DHCP client to the new AlarmManager callback interface
  Refactor alarm setting code in preparation for switch to callback
2015-11-25 04:37:59 +00:00
Seigo Nonaka
4a45d5b7df Merge "Make suggestion window style material." 2015-11-25 03:24:41 +00:00
Lorenzo Colitti
7de289f355 Temporarily add a requestNetwork flavour that takes a legacy type
This method is public @hide to support progressive refactoring of
tethering away from startUsingNetworkFeature to requestNetwork,
without getting in the way of the CONNECTIVITY_ACTION cleanup in
b/22513439 .

Bug: 9580643
Bug: 22513439
Change-Id: I9053ec746cc8f415a2d5849f044667eeb14e1b19
2015-11-25 12:00:52 +09:00
Winson
7afe8c9002 Fixing two small regressions in stack layout.
- Fixed issue with max scroll position being placed beyond the max
  scroll if the task height is larger than the stack height.
- Fixed issue with single task offsets being calculated incorrectly

Change-Id: I3cb1ecf2c13de7196bd68cd4f9d9f4f4736ed3ce
2015-11-25 01:59:00 +00:00
Jorim Jaggi
54fdfaa3b5 Merge "Crash when exception in event bus handler happens" 2015-11-25 01:52:48 +00:00
Jorim Jaggi
ba54881231 Merge "Allow stacks to be placed outside of display" 2015-11-25 01:49:50 +00:00
Jorim Jaggi
54b1a6deeb Crash when exception in event bus handler happens
Also fixes another crash when dragging in recents.

Change-Id: I24eff235adc63190369a7e054e65c55fdf594931
2015-11-24 17:48:26 -08:00
Chong Zhang
b15758ab7a Support scrolling for non-resizeable tasks in side-by-side mode
Display toast when a non-resizeable task is put into side-by-side mode.

Scroll the task upon a two-finger scroll gesture.

bug: 25433902

Change-Id: I69967056a564cfe7773afb80aa7e7ea7167a791a
2015-11-24 17:38:33 -08:00
Jorim Jaggi
2fbe033f9d Allow stacks to be placed outside of display
When dismissing the docked stack, we animate the divider to position
-12dp, so the full-screen stack is exactly full-screen when the dismiss
animation is done. Previously, this was prevented by window manager.
Allow it to fix the animation.

Change-Id: Iee4505023dc3f6907d56851965b156235f9f97f2
2015-11-24 17:37:03 -08:00
Alex Klyubin
d976c5a4ee Custom engineUpdate/engineDoFinal(ByteBuffer, ByteBuffer).
This makes Android Keystore's Cipher implementation use a custom
implementation of engineUpdate(ByteBuffer, ByteBuffer) and
engineDoFinal(ByteBuffer, ByteBuffer). The implementation is
explicitly designed around the fact that Android Keystore transmits
input and receives output via Binder and thus there's no need to
attempt any optimizations to avoid copying input and output.

Bug: 25863382
Change-Id: I311072891f02f5e7a283628b51b8d6058b55231c
2015-11-24 17:22:27 -08:00
Filip Gruszczynski
786e12d92f Merge "Destroy docked divider surface when it's hidden." 2015-11-25 01:10:59 +00:00
Jorim Jaggi
bd7cafa6da Merge "Don't trigger click if long press already happened" 2015-11-25 00:55:44 +00:00
Filip Gruszczynski
cb5f57bc58 Destroy docked divider surface when it's hidden.
Also includes bunch of small refactorings:
* destroying surfaces is now fully contained within
WindowManagerServices and mDestroySurface can be privatized;
* WMS.isDockedStackResizingLocked can be removed;
* mScreenCaptureDisabled changes from being SparseArray<Boolean> to
SparseBooleanArray, which not only avoids boxing but also makes code
simpler (no need to check for null)

Bug: 25844096
Change-Id: I0e5462760ffbc947ce6dc52ef429fa270ffc6786
2015-11-24 16:48:26 -08:00
Makoto Onuki
21942b2240 Merge "DA receiver should be protected with BIND_DEVICE_ADMIN." 2015-11-25 00:30:41 +00:00
Makoto Onuki
3ab6f2e219 DA receiver should be protected with BIND_DEVICE_ADMIN.
- DPM.setActiveAdmin() will not accept DAs without BIND_DEVICE_ADMIN
when it's targeting NYC or above.

- DAs without BIND_DEVICE_ADMIN targeting MNC or below will still be
accepted. (with a logcat warning)

- DAs that are already set on a device without BIND_DEVICE_ADMIN
will still be accepted regardless of the target API level, even when
it's upgraded to a version targeting NYC.

Bug 24168653

Change-Id: I1914c2ec99135d9dd8cbac3f6914f9e43bafacc8
2015-11-24 16:14:21 -08:00
Jorim Jaggi
053f21864a Don't trigger click if long press already happened
So when long pressing recents, we don't dimiss recents
immediately again.

Change-Id: I8092cceb03bd6786b964390f7a3a93686feb1b75
2015-11-24 16:10:33 -08:00
Tyler Gunn
a3e0072504 Merge "Add "acceptRingingCall()" API which accepts a videoState." 2015-11-25 00:04:13 +00:00