Commit Graph

56154 Commits

Author SHA1 Message Date
Todd Kennedy
d509acbf45 Merge "Revert "Revert "Remove deprecated methods / classes""" into nyc-dev
am: 4f858aaa5a

* commit '4f858aaa5a7ef493e79e6d35a8d526f5d8de97e9':
  Revert "Revert "Remove deprecated methods / classes""
2016-03-01 22:41:14 +00:00
Wale Ogunwale
54a45c2e1b Merge "Add activity onStop lifecycle to event logs." into nyc-dev
am: 6e66695777

* commit '6e6669577780cb343703f19e15df40bcae905437':
  Add activity onStop lifecycle to event logs.
2016-03-01 22:37:44 +00:00
Jakub Pawlowski
9a622515b7 Merge "Hide android.bluetooth.OobData" into nyc-dev
am: ecc873d5ee

* commit 'ecc873d5ee8730833fe261e03b8b058c343d71db':
  Hide android.bluetooth.OobData
2016-03-01 22:30:25 +00:00
Jeff Sharkey
cfc7bc8137 Merge "Suppress StopInfo exception based on target API." into nyc-dev
am: d1caf8560d

* commit 'd1caf8560df4860fa7fcbd63afe359990f72d9f4':
  Suppress StopInfo exception based on target API.
2016-03-01 22:20:58 +00:00
Todd Kennedy
4f858aaa5a Merge "Revert "Revert "Remove deprecated methods / classes""" into nyc-dev 2016-03-01 20:39:59 +00:00
Wale Ogunwale
6e66695777 Merge "Add activity onStop lifecycle to event logs." into nyc-dev 2016-03-01 20:34:15 +00:00
Winson
8da4971577 Merge "Disable extracting the bg color from the window background." into nyc-dev
am: 1f3eca97b9

* commit '1f3eca97b9a929f2fae33cea930b84ddd2c5d602':
  Disable extracting the bg color from the window background.
2016-03-01 20:19:08 +00:00
Felipe Leme
8127a3cd75 Merge "Created metric events for scoped directory access API." into nyc-dev
am: c50bf8e33e

* commit 'c50bf8e33e67c26b5dc4fd18ec665d2985fd42e7':
  Created metric events for scoped directory access API.
2016-03-01 20:15:23 +00:00
Jakub Pawlowski
ecc873d5ee Merge "Hide android.bluetooth.OobData" into nyc-dev 2016-03-01 20:04:34 +00:00
Andreas Gampe
0f6f34b4eb Merge "Frameworks/base: Refactor TextView initialization" into nyc-dev
am: 4f655de3de

* commit '4f655de3de5819c1076b83747c135554dfd22708':
  Frameworks/base: Refactor TextView initialization
2016-03-01 19:47:19 +00:00
Keun-young Park
614955d3f9 Merge "make isUiModeLocked, isNightModeLocked test api" into nyc-dev
am: 63f2c9b0cb

* commit '63f2c9b0cb2d041202978369ccb9ed3726cd8e3b':
  make isUiModeLocked, isNightModeLocked test api
2016-03-01 19:45:16 +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
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
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
Jeff Sharkey
9ad8613bbb Suppress StopInfo exception based on target API.
Bug: 27429026
Change-Id: Ibf0b058b1f921c20fbc3c72045467883a8934f67
2016-03-01 12:18:40 -07:00
Winson Chung
1f3eca97b9 Merge "Disable extracting the bg color from the window background." into nyc-dev 2016-03-01 19:07:36 +00:00
Jakub Pawlowski
b73ebc88d9 Hide android.bluetooth.OobData
Bug: 27385555
Change-Id: I1767909ca17b1b23a2f23ea4a5b4a02cc52eecde
2016-03-01 11:00:33 -08:00
Felipe Leme
c50bf8e33e Merge "Created metric events for scoped directory access API." into nyc-dev 2016-03-01 18:58:28 +00:00
Andreas Gampe
4f655de3de Merge "Frameworks/base: Refactor TextView initialization" into nyc-dev 2016-03-01 18:38:09 +00:00
Keun-young Park
63f2c9b0cb Merge "make isUiModeLocked, isNightModeLocked test api" into nyc-dev 2016-03-01 18:37:57 +00:00
Felipe Leme
3e166b27fc Created metric events for scoped directory access API.
BUG: 27334821
Change-Id: I8a1bfc328dcd26b42bb66884d14b34ad11aa232f
2016-03-01 10:12:58 -08: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
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
Wale Ogunwale
cd7043e99a Add activity onStop lifecycle to event logs.
Also added reasons why onPause and onResume are called.

Bug: 27384433
Change-Id: If6c304f577b601511f6d9b948061d2cfa0dcb970
2016-03-01 07:29:17 -08: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
Todd Kennedy
a67932374d Revert "Revert "Remove deprecated methods / classes""
This reverts commit 5cbeb59026.

Change-Id: Id96010364d65e6131221ebbcc8ce5889a2da256c
2016-03-01 07:19:33 -08: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
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
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
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
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
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
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
Winson
073a526ba7 Disable extracting the bg color from the window background.
Bug: 27406401
Change-Id: Id03a7d5d199d324d67301c060551db2d3a52e5ac
2016-02-29 16:09:18 -08: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