Commit Graph

61787 Commits

Author SHA1 Message Date
Fyodor Kupolov
7e282f182d Merge "Allow system to bypass DISALLOW_SHARE_LOCATION restriction" into nyc-dev am: 57b82f38c4
am: 9f432e3e2e

* commit '9f432e3e2eef8c8f0d1f35b3d12ed926f1a29db0':
  Allow system to bypass DISALLOW_SHARE_LOCATION restriction
2016-03-01 02:23:10 +00:00
Fyodor Kupolov
9f432e3e2e Merge "Allow system to bypass DISALLOW_SHARE_LOCATION restriction" into nyc-dev
am: 57b82f38c4

* commit '57b82f38c42d9926d0eb09d600480bebe54500ae':
  Allow system to bypass DISALLOW_SHARE_LOCATION restriction
2016-03-01 02:21:10 +00:00
Fyodor Kupolov
57b82f38c4 Merge "Allow system to bypass DISALLOW_SHARE_LOCATION restriction" into nyc-dev 2016-03-01 01:22:00 +00:00
Dimitry Ivanov
7788694837 Merge "Explicitly check for updated system apps" into nyc-dev am: cad065fb7f
am: 87885e6896

* commit '87885e689692cd969c0489a277f1aface9f87c7c':
  Explicitly check for updated system apps
2016-03-01 01:04:55 +00:00
Dimitry Ivanov
87885e6896 Merge "Explicitly check for updated system apps" into nyc-dev
am: cad065fb7f

* commit 'cad065fb7fc2fbf8dc4b930f3b52c90e2602cc48':
  Explicitly check for updated system apps
2016-03-01 00:58:41 +00:00
Dianne Hackborn
35c892a899 Merge "Fix issue #27385109: control activity behavior without triggering..." into nyc-dev am: 72041bb2c6
am: 8680858008

* commit '868085800891a1d087978ed74df643659b7830d3':
  Fix issue #27385109: control activity behavior without triggering...
2016-03-01 00:56:49 +00:00
Dimitry Ivanov
cad065fb7f Merge "Explicitly check for updated system apps" into nyc-dev 2016-03-01 00:51:38 +00:00
Dianne Hackborn
8680858008 Merge "Fix issue #27385109: control activity behavior without triggering..." into nyc-dev
am: 72041bb2c6

* commit '72041bb2c6cbdab53f00d23cd7f832acf2cbfb5d':
  Fix issue #27385109: control activity behavior without triggering...
2016-03-01 00:50:08 +00:00
Svet Ganov
69d4ef19ca Merge "Notification listener and ranker callbacks on binder threads." into nyc-dev am: 5345a9f663
am: c3b711ca52

* commit 'c3b711ca529932b578dcb9b5f0962b46d259c288':
  Notification listener and ranker callbacks on binder threads.
2016-03-01 00:40:51 +00:00
Dianne Hackborn
72041bb2c6 Merge "Fix issue #27385109: control activity behavior without triggering..." into nyc-dev 2016-03-01 00:35:40 +00:00
Svet Ganov
c3b711ca52 Merge "Notification listener and ranker callbacks on binder threads." into nyc-dev
am: 5345a9f663

* commit '5345a9f6636faa8b525c0d602fdf13ec93507494':
  Notification listener and ranker callbacks on binder threads.
2016-03-01 00:33:53 +00:00
Jeff Sharkey
d56784931b Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev am: ba3786c1e1
am: 6ae58575a5

* commit '6ae58575a5ed10d5439840b8c6548fc5ba69a6f1':
  Skip boot prompt for both native and emulated FBE.
2016-03-01 00:29:15 +00:00
Svetoslav Ganov
5345a9f663 Merge "Notification listener and ranker callbacks on binder threads." into nyc-dev 2016-03-01 00:27:17 +00:00
Svet Ganov
b8f53ee812 Notification listener and ranker callbacks on binder threads.
The callbacks for the notification listener and notification
ranker were delivered on binder threads which is problematic
becuase: 1) permission checks and app ops checks would fail
unless the app developer knows to clear binder calling id and
restore it after that; 2) developers need to synchronize their
implementation as they get callbacks on different threads (
arguably callbacks should not be concurrent); 3) this doesn't
follow the pattern in the platform;

Also the code delivering callbacks was catching Throwable which
we shouldn't do in general and also masks bugs in the listener
or ranker implementation. Now that the callbacks are offloaded
to the main listener/ranker thread system code should not be
guarding against Throwable to handle exceptions propagated
over binder calls.

bug:26704777

Change-Id: I171fb41bbe25e6105dd05e4166193dbcec594f82
2016-02-29 16:26:17 -08:00
Abhijith Shastry
f7c39a6219 Merge "Updates to BlockedNumberContract from API review." into nyc-dev am: b7ed5b074d
am: 401a811c29

* commit '401a811c297c5fdedefb8521616fcdf741cd1ed0':
  Updates to BlockedNumberContract from API review.
2016-03-01 00:26:08 +00:00
Dimitry Ivanov
b2b8c3c1d9 Explicitly check for updated system apps
Unbundled apps should not be allowed to share
linker-namespaces with default namespace; it implies
that they will not have unlimited access to private
native libs once updated.

Bug: http://b/27189432
Change-Id: I60295b9b31d700016add93537418fdcce5a77719
2016-02-29 16:23:10 -08:00
Jeff Sharkey
6ae58575a5 Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev
am: ba3786c1e1

* commit 'ba3786c1e1e50e3b67cd1b675fade84dee192708':
  Skip boot prompt for both native and emulated FBE.
2016-03-01 00:21:36 +00:00
Abhijith Shastry
401a811c29 Merge "Updates to BlockedNumberContract from API review." into nyc-dev
am: b7ed5b074d

* commit 'b7ed5b074d59a188c25a44a113a0d49dec24d876':
  Updates to BlockedNumberContract from API review.
2016-03-01 00:19:30 +00:00
Jeff Sharkey
ba3786c1e1 Merge "Skip boot prompt for both native and emulated FBE." into nyc-dev 2016-03-01 00:14:21 +00:00
Jeff Sharkey
de2dabbad6 Skip boot prompt for both native and emulated FBE.
Bug: 27412530
Change-Id: I53d39392ccab54cb79cf6cc1e51923ad7b5a3b0c
2016-02-29 17:12:34 -07:00
Jeff Sharkey
3541354007 Merge "Parcelable classes should always be final." into nyc-dev am: 753c347efd
am: 620ef3f226

* commit '620ef3f22654676cd37df23db059a71e0607d6a9':
  Parcelable classes should always be final.
2016-03-01 00:12:20 +00:00
Jeff Sharkey
620ef3f226 Merge "Parcelable classes should always be final." into nyc-dev
am: 753c347efd

* commit '753c347efd0a03ee0187e9c98c9978e43104c257':
  Parcelable classes should always be final.
2016-03-01 00:08:21 +00:00
Abhijith Shastry
b7ed5b074d Merge "Updates to BlockedNumberContract from API review." into nyc-dev 2016-03-01 00:08:01 +00:00
Jeff Sharkey
753c347efd Merge "Parcelable classes should always be final." into nyc-dev 2016-03-01 00:02:43 +00:00
Jeff Sharkey
50d1c044b5 Parcelable classes should always be final.
Also hide ConnectivityMetricsEvent which isn't being used yet.

Bug: 27415331
Change-Id: Iacdccddda504f3f669185f807b4f35b8dc2b0212
2016-02-29 16:46:09 -07:00
Abhijith Shastry
575a9492bb Updates to BlockedNumberContract from API review.
Javadoc updates are also included.

BUG: 27364137
Change-Id: Id99b5c0fadd2a62a33217b44c7f30dd2f3beb9be
2016-02-29 15:44:05 -08:00
Colin Cross
414c529a4f Merge "Add dumpsys meminfo --unreachable" into nyc-dev 2016-02-29 22:19:40 +00:00
Yohei Yukawa
a72299f660 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev am: b7480c2bd6
am: eb764b8954

* commit 'eb764b8954821e7345e7d3469d94ebf30955bd12':
  Revert "InputConnectionWrapper never supports null target."
2016-02-29 22:04:22 +00:00
Yohei Yukawa
eb764b8954 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev
am: b7480c2bd6

* commit 'b7480c2bd6722fcb3e47d9e2f92389170abc9712':
  Revert "InputConnectionWrapper never supports null target."
2016-02-29 21:55:56 +00:00
Yohei Yukawa
b7480c2bd6 Merge "Revert "InputConnectionWrapper never supports null target."" into nyc-dev 2016-02-29 21:49:42 +00:00
Andrii Kulian
df8cd7dc9d Merge "Reset pointer icon when view is not present" into nyc-dev am: 6cf85afcb1
am: 3737049fa7

* commit '3737049fa7454d4327250a41ef2b399ae6bf24f5':
  Reset pointer icon when view is not present
2016-02-29 21:41:19 +00:00
Andrii Kulian
3737049fa7 Merge "Reset pointer icon when view is not present" into nyc-dev
am: 6cf85afcb1

* commit '6cf85afcb1e0e410e8e168c999e40fad3797d6ab':
  Reset pointer icon when view is not present
2016-02-29 21:39:34 +00: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 90bd36363c.

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
Yohei Yukawa
33fbb2cae4 Merge "InputConnectionWrapper never supports null target." into nyc-dev am: 82197c33a2
am: 1bfce67fd4

* commit '1bfce67fd444ad51acac2f3dc7c1ef5bcced9d1f':
  InputConnectionWrapper never supports null target.
2016-02-29 21:35:26 +00:00
Yohei Yukawa
1bfce67fd4 Merge "InputConnectionWrapper never supports null target." into nyc-dev
am: 82197c33a2

* commit '82197c33a23a130acd93dcf54e70138a7e7ba970':
  InputConnectionWrapper never supports null target.
2016-02-29 21:25:29 +00:00
Yohei Yukawa
82197c33a2 Merge "InputConnectionWrapper never supports null target." into nyc-dev 2016-02-29 21:13:10 +00:00
Alan Viverette
07bc48fae3 Merge "Use asset cookie in XML block cache key" into nyc-dev am: 89dea902c1
am: 993b8abe02

* commit '993b8abe02bd36c60c46999d7f82748abaccce20':
  Use asset cookie in XML block cache key
2016-02-29 21:09:57 +00:00
Alan Viverette
993b8abe02 Merge "Use asset cookie in XML block cache key" into nyc-dev
am: 89dea902c1

* commit '89dea902c184a981392ceca90d28a7b5986952fc':
  Use asset cookie in XML block cache key
2016-02-29 21:06:22 +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
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
Alan Viverette
89dea902c1 Merge "Use asset cookie in XML block cache key" into nyc-dev 2016-02-29 20:12:38 +00:00
Ruben Brunk
3211b9070d Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev am: b77f9ec93a
am: 0cbe76be29

* commit '0cbe76be29380cf61cc57a79021f21749751f4d4':
  Revert "DO NOT SUBMIT: Hide VR features for preview."
2016-02-29 20:03:17 +00:00
Ruben Brunk
0cbe76be29 Merge "Revert "DO NOT SUBMIT: Hide VR features for preview."" into nyc-dev
am: b77f9ec93a

* commit 'b77f9ec93a11841aacb72d4fecd1bf56f6253254':
  Revert "DO NOT SUBMIT: Hide VR features for preview."
2016-02-29 19:55:40 +00:00
Ruben Brunk
a6b7e44185 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev am: 8ccb68af89
am: 420d9dae55

* commit '420d9dae551fa540876a69e747f70edd803f60c4':
  DO NOT SUBMIT: Hide VR features for preview.
2016-02-29 19:55:39 +00: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 cfa66a2a45.

Change-Id: Ibf36092205b14c29935d1f28be5f5b5f64b1d16c
2016-02-29 19:50:15 +00:00
Ruben Brunk
420d9dae55 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev
am: 8ccb68af89

* commit '8ccb68af89c68e32b908652436acfa339e034bcc':
  DO NOT SUBMIT: Hide VR features for preview.
2016-02-29 19:50:03 +00:00
Ruben Brunk
8ccb68af89 Merge "DO NOT SUBMIT: Hide VR features for preview." into nyc-dev 2016-02-29 19:43:55 +00:00
Polina Bondarenko
ce0aad5f99 Merge "Removed IAE from HardwarePropertiesManager." into nyc-dev am: 0097077396
am: 0710ca4270

* commit '0710ca42701377e38c5751d4535bd6869495aead':
  Removed IAE from HardwarePropertiesManager.
2016-02-29 18:49:20 +00:00