Commit Graph

56385 Commits

Author SHA1 Message Date
Calin Juravle
75a54f3e04 Merge "Restrict the cases when we profile guided compile an apk" into nyc-dev am: e1ac71fe99
am: 48175a5959

* commit '48175a59590a7e3f49bc3dabeea6602c5aa9b230':
  Restrict the cases when we profile guided compile an apk
2016-03-01 19:52:14 +00:00
Calin Juravle
48175a5959 Merge "Restrict the cases when we profile guided compile an apk" into nyc-dev
am: e1ac71fe99

* commit 'e1ac71fe9924add9368d118932e6c2bf0dfb2d70':
  Restrict the cases when we profile guided compile an apk
2016-03-01 19:38:31 +00:00
Dimitry Ivanov
9eb7ca8e9d Merge "Display Toast with linker warnings after Activity.onStart()" into nyc-dev am: 1984d78330
am: 2b594cdcc7

* commit '2b594cdcc7cd6881c41f1fd39122b182d9ee0e8b':
  Display Toast with linker warnings after Activity.onStart()
2016-03-01 19:35:52 +00:00
Dimitry Ivanov
2b594cdcc7 Merge "Display Toast with linker warnings after Activity.onStart()" into nyc-dev
am: 1984d78330

* commit '1984d783304fe1ee915907d3a3c631f73d1243ff':
  Display Toast with linker warnings after Activity.onStart()
2016-03-01 19:29:23 +00:00
Adam Powell
bf7a8688fa Merge "Correct state loss tracking for FragmentTransaction.commitNow" into nyc-dev am: 55fc649368
am: 3eb3620603

* commit '3eb362060313307f9f1d0961ac9d09c525e58aec':
  Correct state loss tracking for FragmentTransaction.commitNow
2016-03-01 19:26:16 +00:00
Adam Powell
3eb3620603 Merge "Correct state loss tracking for FragmentTransaction.commitNow" into nyc-dev
am: 55fc649368

* commit '55fc649368b09347d5af14cd26b2ef87d577451a':
  Correct state loss tracking for FragmentTransaction.commitNow
2016-03-01 19:24:22 +00:00
Calin Juravle
e1ac71fe99 Merge "Restrict the cases when we profile guided compile an apk" into nyc-dev 2016-03-01 17:59:20 +00:00
Dimitry Ivanov
1984d78330 Merge "Display Toast with linker warnings after Activity.onStart()" into nyc-dev 2016-03-01 17:50:02 +00:00
Adam Powell
3518feda21 Correct state loss tracking for FragmentTransaction.commitNow
Booleans are hard.

Bug 27419920

Change-Id: I91a746aa14cad36bf77ec6224ffc13b00dc39ae7
2016-03-01 09:07:44 -08:00
Michal Karpinski
67536e7b44 Merge "Adding SecurityException information to all device logging DPM public methods" into nyc-dev am: 8fc5462ee1
am: 5bbc8cd539

* commit '5bbc8cd539ca81bfa37929f3a5b0ec11a7d4a510':
  Adding SecurityException information to all device logging DPM public methods
2016-03-01 16:08:26 +00:00
Michal Karpinski
5bbc8cd539 Merge "Adding SecurityException information to all device logging DPM public methods" into nyc-dev
am: 8fc5462ee1

* commit '8fc5462ee1f9b8e5b13d13b0920433b340fa6b6c':
  Adding SecurityException information to all device logging DPM public methods
2016-03-01 16:04:35 +00:00
Michal Karpinski
8fc5462ee1 Merge "Adding SecurityException information to all device logging DPM public methods" into nyc-dev 2016-03-01 15:57:44 +00:00
Michal Karpinski
b58e4966db Adding SecurityException information to all device logging DPM public methods
Bug: 22860162
Change-Id: I6cdfad2dcdf14896c855debef34964def190e110
2016-03-01 15:26:56 +00:00
Julia Reynolds
e03aba3b19 Merge "Api review: AutomaticZenRule" into nyc-dev am: 2319dd3a66
am: 84c0cf5baf

* commit '84c0cf5baf35bf314c0f69397adacb6a4376102e':
  Api review: AutomaticZenRule
2016-03-01 15:11:18 +00:00
Julia Reynolds
84c0cf5baf Merge "Api review: AutomaticZenRule" into nyc-dev
am: 2319dd3a66

* commit '2319dd3a66754b8b6ff27a1363c33244a8a9eccc':
  Api review: AutomaticZenRule
2016-03-01 15:07:23 +00:00
Julia Reynolds
2319dd3a66 Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:36 +00:00
Jorim Jaggi
c0a0a5d43b Fix popup window calculation for multi-window am: 8175846ed6
am: b763aebb2b

* commit 'b763aebb2b449e5a8d09f9d0a2666b142d2b9558':
  Fix popup window calculation for multi-window
2016-03-01 09:08:25 +00:00
Jorim Jaggi
b763aebb2b Fix popup window calculation for multi-window
am: 8175846ed6

* commit '8175846ed686077736c985f0ae4d236b7a4c647c':
  Fix popup window calculation for multi-window
2016-03-01 09:04:35 +00:00
Jorim Jaggi
8175846ed6 Fix popup window calculation for multi-window
If ignoreBottomDecorations=true, the display size was extracted from
the resources. However, this didn't work if the parent window was in
multi-window, as all the calculations went wrong. Instead, introduce
View.getWindowDisplayFrame which returns the "full" frame of the task
the window is currently in, without any insets, and use that to
calculate the bottom edge.

Bug: 26255254
Change-Id: I8b235b335775022ae399ee082d1200aa76cc047c
2016-03-01 09:00:29 +00:00
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
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
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
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