234318 Commits

Author SHA1 Message Date
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
57af5e3318 Fix QS edit BGs
Bug: 27396825
Change-Id: I40bb49ced95d0cd58975bab8e2df4fac2466d07a
2016-02-29 15:42:15 -05:00
Jason Monk
f8d700ab83 Merge "Fix flashlight availability." into nyc-dev 2016-02-29 20:41:03 +00:00
Dianne Hackborn
4a18c26609 Fix issue #27385109: control activity behavior without triggering...
...isUserAMonkey for testing purpose

Add an argument for the caller to specify if they are a poo flinging
monkey.

Change-Id: I0e149a8d78776abaf07517bd4ae886047b7f4252
2016-02-29 12:37:11 -08: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
Phil Burk
ac0f704b1a AudioService: add support for ENCODED_SURROUND_OUTPUT
Preference allows override of AudioPolicyManager.
Lets user force or prevent use of AC3 and DTS regardless
of what the EDID says.

Bug: 26373761
Change-Id: I21440f2b90af9a369a36b7b07724e992501bce6d
Signed-off-by: Phil Burk <philburk@google.com>
2016-02-29 12:20:43 -08: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
Glenn Kasten
211d9052f2 Add use for audio_unique_id_t
Bug: 25641253
Bug: 21019153
Change-Id: I955f7e224a522adc2a68bc1c2cd5d87d9046f1fb
2016-02-29 11:48:49 -08: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
Andreas Gampe
ddc1397eba Frameworks/base: Refactor TextView initialization
To allow static initialization of a number of View classes based
on TextView, refactor the initialization of the font cache to be
explicit from the zygote.

Bug: 27265238
Change-Id: I1b71086d3f49d8b3e72eea2bf8359351d25fc0fd
2016-02-29 11:13:01 -08: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
Fyodor Kupolov
523c404612 Disable switching users if the user is in a call
Also disable "Remove guest" option, which switches the user.

Bug: 20652663
Change-Id: Id3ada14c0b3bfe70e9e1ab7034d27098924d7b45
2016-02-29 10:40:55 -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
Keun-young Park
b493a7dffe make isUiModeLocked, isNightModeLocked test api
bug: 27365818
Change-Id: I2813493bb10f02741bd7c47a144fdc43eced0030
2016-02-29 10:17:17 -08: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
Clara Bayarri
0a587d2840 Unlock Keystore/Keymaster separately for Work Challenge
The Keystore should be unlocked by the work challenge when
the work profile has its own lock, and should not be unlocked
by the device lock in this case.

Tested use cases:

When unified, both users have the password key set to the parent's
Setting a work challenge changes the work profile's password key to its
own
Unifying causes the work challenge key to be set to null first and then
when the device password is reset right after that it is reset to the
same as the parent
Unlocking when locks are unified unlocks both using the same password
key
Unlocking the device when not unified only unlocks the parent
Unlocking the work challenge only unlocks the work profile

Bug:26817206
Change-Id: I99dca279687f4f77636992e355dbdb607bbf7b6d
2016-02-29 10:06:54 -08:00
Tyler Gunn
4aeafd8f27 Merge "IMS Connection Capabilities Update" into mm-wireless-dev 2016-02-29 18:06:25 +00:00