234146 Commits

Author SHA1 Message Date
Anna Galusza
3204251a4a Throw exception from SoftKeyboardController if connection is dead and declare
SHOW_MODE_AUTO and SHOW_MODE_HIDDEN in AccessibilityService class.
Bug: 27364143

Change-Id: I02c23fbfab1eae8b2a155b1d9c3857e4eb6addb1
2016-03-01 12:40:19 -08:00
Colin Cross
414c529a4f Merge "Add dumpsys meminfo --unreachable" into nyc-dev 2016-02-29 22:19:40 +00:00
Chris Craik
b878a99f23 Merge "Fix matrix mapping of negative rects" into nyc-dev 2016-02-29 22:02:26 +00:00
Chris Craik
5005033fa3 Merge "Fix arc positioning" into nyc-dev 2016-02-29 22:02:23 +00:00
Yohei Yukawa
b7480c2bd6 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev 2016-02-29 21:49:42 +00:00
John Reck
def048e596 Merge "Fix dirtyMask in AnimateFunctor" into nyc-dev 2016-02-29 21:47:22 +00:00
Tony Mak
4936753d9f Merge "Fix setBluetoothContactSharingDisabled does not persist" into nyc-dev 2016-02-29 21:46:16 +00:00
Mady Mellor
a5d6c37338 Merge "Update the animation when showing / closing inline controls" into nyc-dev 2016-02-29 21:43:41 +00:00
John Reck
9e066cbf59 Fix dirtyMask in AnimateFunctor
Bug: 27313379
Change-Id: I0c0cffe7e1940914f0143714643ede539b86216f
2016-02-29 13:40:52 -08:00
Andrii Kulian
6cf85afcb1 Merge "Reset pointer icon when view is not present" into nyc-dev 2016-02-29 21:36:08 +00:00
Yohei Yukawa
abc4b8f035 Revert "InputConnectionWrapper never supports null target."
This reverts commit 90bd36363c5738b3f526aa1f1d44f432236300a0.

Seems that the semantics of InputConnectionWrapper#setTarget() is more
complicated than I thought.  At least the following cases have worked
fine.

  case 1:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, false);
    wrapper.SetTarget(ic);
    ...

  case 2:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(null, true);
    wrapper.SetTarget(ic);
    ...

  case 3:
    InputConnectionWrapper wrapper =
            new InputConnectionWrapper(ic, true);
    wrapper.SetTarget(null);
    wrapper.SetTarget(ic2);
    ...

The previous code did not intended to break existing code.  Let's revert
it we decide how to deal with above cases.

Bug: 27407697
Change-Id: I8bc84d484ab0b27a02e74f11110430f70646e69a
2016-02-29 13:35:59 -08:00
Chris Craik
0066a01d7c Fix arc positioning
bug:27389290

Change-Id: I479a34ea079f1fce1c308aa809a57885ffa1d004
2016-02-29 13:34:44 -08:00
Tony Mak
e9aa6ec1cf Fix setBluetoothContactSharingDisabled does not persist
The default value of bluetotoh contact sharing is true.
So we should save when it is false.

Bug: 27410265
Change-Id: Icaf4ceeda09eca46d160acfecc53834819b66a18
2016-02-29 21:32:47 +00:00
Yohei Yukawa
82197c33a2 Merge "InputConnectionWrapper never supports null target." into nyc-dev 2016-02-29 21:13:10 +00:00
Chris Craik
261725fdb2 Fix matrix mapping of negative rects
bug:27381362

Also rejects ops with empty clip at record time, and short circuits clip
intersection, when one is empty.

Change-Id: I842612da14ad8fd9f1ba5e9e4fd027ba4e08d365
2016-02-29 13:10:25 -08:00
Andreas Gampe
15f6810d9e Merge "Frameworks/base: Refactor Paint & Canvas native allocation support" into nyc-dev 2016-02-29 21:04:15 +00:00
Yohei Yukawa
90bd36363c InputConnectionWrapper never supports null target.
This CL makes it clear that InputConnectionWrapper does not support null
target.  In other words, the semantics of null InputConnection can never
be emulated by a non-null InputConnectionWrapper.

This is particularly problematic when app developers are just forwarding
the return value of super.onCreateInputConnection() to
InputConnectionWrapper or its subclass, because there are many chance
that super.onCreateInputConnection() starts returning null, e.g. when:
  A. the application is extending a Framework class, and the Framework
     class is updated by OTA.
  B. the application is extending system WebView, and the WebView is
     updated.
  C. the application is extending a 3rd party library, and the app
     developer creates a new build with a new version of the 3rd party
     library.

To make it easy to catch these kind of bugs, this CL lets the
constructor of InputMethodWrapper throw NullPointerException when target
is null.  Bugs like crbug.com/571229 should be caught by developers
more easily.

Bug: 27407697
Change-Id: I83875bea886d4784f9507c930050efc29708d9db
2016-02-29 12:45:49 -08:00
Svet Ganov
6ac25c5641 Fix uninstalling apps with damaged/gone APK files
bug:27394497

Change-Id: I0d0317f2d7168be4412a24d34a9f23f04c6d8601
2016-02-29 12:44:44 -08:00
Jason Monk
f8d700ab83 Merge "Fix flashlight availability." into nyc-dev 2016-02-29 20:41:03 +00:00
Jason Monk
8e4341d980 Merge "Fixes in QS customization" into nyc-dev 2016-02-29 20:29:14 +00:00
Abhijith Shastry
1ce163fe34 Merge "Add new API to create an intent to manage blocked numbers." into nyc-dev 2016-02-29 20:23:21 +00:00
Abhijith Shastry
dbfe753c41 Merge "Add new API for creating intent to manage blocked numbers." into nyc-dev 2016-02-29 20:22:49 +00:00
Alan Viverette
89dea902c1 Merge "Use asset cookie in XML block cache key" into nyc-dev 2016-02-29 20:12:38 +00:00
Jason Monk
04fd24966a Fixes in QS customization
- Revert to long-press to drag
 - X -> <-
 - Always save

Bug: 27397111
Bug: 27364013
Bug: 27396440
Change-Id: Ib19096b0ed65fb1112386735dffe9308e57c3d5a
2016-02-29 15:01:21 -05:00
Abhijith Shastry
a26fe99b1e Add new API to create an intent to manage blocked numbers.
This replaces the launchManageBlockedNumbersActivity API.

BUG: 27364137

Change-Id: I5d5a20d25f0dea8b8e0e998b51f80658ff404e2c
2016-02-29 11:53:43 -08:00
Ruben Brunk
b77f9ec93a Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev 2016-02-29 19:50:37 +00:00
Ruben Brunk
e5d76e8276 Revert "DO NOT SUBMIT: Hide VR features for preview."
This reverts commit cfa66a2a45c3cec6c338d0d83806fb33d63cfd44.

Change-Id: Ibf36092205b14c29935d1f28be5f5b5f64b1d16c
2016-02-29 19:50:15 +00:00
Abhijith Shastry
1e6f8343b5 Add new API for creating intent to manage blocked numbers.
The launchManageBlockedNumbersActivity API will be removed.

BUG: 27364137
Change-Id: I440aaab521f5320bbc79b79f212ed1b418ce2d14
2016-02-29 11:47:10 -08:00
Ruben Brunk
8ccb68af89 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev 2016-02-29 19:43:55 +00:00
Jeff Sharkey
b7cdf1da0a Merge "Delay migration until after user is prepared." into nyc-dev 2016-02-29 19:28:20 +00:00
Jason Monk
72d7bc4a09 Fix flashlight availability.
Bug: 26981482
Change-Id: I62059b3b7f18520ae8735f3f3557411991bee909
2016-02-29 14:09:30 -05:00
Jeff Sharkey
ca6abfd9d6 Delay migration until after user is prepared.
We don't have a vold connection early in the PackageManagerService
constructor, so we can only migrate the system user at boot.  We now
migrate other users only after they're explicitly unlocked by
UserManagerService.

Bug: 27330415
Change-Id: I29f21714acf65a598b8df496af0f7d2cb1d247c4
2016-02-29 12:07:14 -07:00
Diego Perez
1db8850b79 Merge "Fix StackMap renaming in Java 8" into nyc-dev 2016-02-29 19:01:56 +00:00
Dongwon Kang
f61dd544b2 Merge "PIP: Implement play/pause button in menu" into nyc-dev 2016-02-29 19:00:02 +00:00
Jaewan Kim
623381921c PIP: Implement play/pause button in menu
Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
2016-02-29 10:53:10 -08:00
Andreas Gampe
f6765f3965 Frameworks/base: Refactor Paint & Canvas native allocation support
Put the native allocation support into a holder class. This allows
statically initializing the classes in the boot image.

Bug: 27265238
Bug: 23130675
Change-Id: I857aebfdbaec39067a5eb58afceb49630176af98
2016-02-29 10:49:01 -08:00
Andrii Kulian
33c1bc586c Reset pointer icon when view is not present
Sometimes pointer change request is delivered after view is detached from its
ViewRootImpl. E.g. when popup is present click outside to close it.

Bug: 27292939
Change-Id: I925728af334a1e1ae53f7e530d639e50b0c37f2b
2016-02-29 10:38:59 -08:00
Polina Bondarenko
0097077396 Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev 2016-02-29 18:34:01 +00:00
Chris Tate
a517844c5c Merge "BinderProxy native destruction resilience" into nyc-dev 2016-02-29 18:32:50 +00:00
Jeff Sharkey
341de33e3c Merge "Sigh, someone is pushing 2MB through StopInfo." into nyc-dev 2016-02-29 18:30:40 +00:00
Jeff Sharkey
369f509d56 Sigh, someone is pushing 2MB through StopInfo.
Bug: 27401092
Change-Id: Ib27a56ecc63662ce2d6210890ac65eca09fac9d6
2016-02-29 11:29:37 -07:00
Aurimas Liutikas
0a04ab2418 Merge "Fix crash when restoring SearchView." into nyc-dev 2016-02-29 18:21:10 +00:00
Jason Monk
c519288b8d Merge changes I70299512,I42df29b4 into nyc-dev
* changes:
  Add tests for TouchAnimator
  Fix TouchAnimator callbacks
2016-02-29 18:16:39 +00:00
Mady Mellor
b53bc276d6 Update the animation when showing / closing inline controls
This CL updates the circular reveal animation to originate
from the gear and and done button in the inline controls.

Bug: 22451710
Change-Id: I050413c980a8c9e73fe2e9a789567051d3119373
2016-02-29 10:16:06 -08:00
Omkar Kolangade
a0a8f75699 Merge "IMS Connection Capabilities Update" into mm-wireless-dev
am: 4aeafd8f27

* commit '4aeafd8f27852bdb684711f1df807ff0e59cb354':
  IMS Connection Capabilities Update
2016-02-29 18:10:06 +00:00
Tyler Gunn
4aeafd8f27 Merge "IMS Connection Capabilities Update" into mm-wireless-dev 2016-02-29 18:06:25 +00:00
Jason Monk
f6a3cf9291 Add tests for TouchAnimator
Also fix existing tests

Bug: 27392084
Change-Id: I70299512e8fa3e0cb86c868b47df7703e04d6084
2016-02-29 13:01:08 -05:00
Jason Monk
df5459daaa Fix TouchAnimator callbacks
Bug: 27392084
Change-Id: I42df29b4c7df4f709dd2fafa90037d485e93f3bd
2016-02-29 12:59:38 -05:00
Geoff Mendal
342006e919 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 15:34:26 +00:00
Geoff Mendal
1211d70d0b Import translations. DO NOT MERGE
Change-Id: I1ce2ed342ab6e3155ff634c5e713fc3d6bfef540
Auto-generated-cl: translation import
2016-02-29 07:32:23 -08:00