231516 Commits

Author SHA1 Message Date
Dongwon Kang
397b1447ab TIF: Make RecordingCallback static
Change-Id: I5138713fe21f49d43e9c70af8c2ba66318aa8342
2016-01-29 10:47:21 -08:00
Andreas Gampe
7169e51ca0 Merge "Frameworks/base: Stop profiling on uncaught exception" 2016-01-29 18:45:48 +00:00
Andreas Gampe
4c79fea9ef Frameworks/base: Stop profiling on uncaught exception
When "handling" an uncaught exception, make an attempt to stop
profiling. In case profiling was active, this will avoid losing
the profiling buffer.

Bug: 26291225
Change-Id: Ie5f5517b46ed89d0456a4aac9d4ff3b713d1d8aa
2016-01-29 10:45:14 -08:00
Jeff Davidson
921d15b58a Revert Network Stats API stub for tracking of metered networks.
Bug: 25813958
Change-Id: I9d2835b7bacfffef05b1588f1301afc70f5f582f
2016-01-29 10:36:52 -08:00
Calin Juravle
1c8e12bc4d Merge "Revert "Revert "Fix optimizable package filter""" 2016-01-29 18:35:05 +00:00
Adrian Roos
a481b48dcf Fix NPE when logging a WTF in unknown process
Bug: 26873463
Change-Id: I548c10b43f5784152b9227926aa37170fd9fd78f
2016-01-29 18:26:56 +00:00
Jorim Jaggi
883043b251 Merge "Incremental local builds for services" 2016-01-29 18:25:47 +00:00
Calin Juravle
6dfd83dbe8 Revert "Revert "Fix optimizable package filter""
The issue was traced to go/aog/854901. This revert was only temporary.

Bug: 26863668
This reverts commit d9c31db2e9e4da08ed43c88135fa7e220bc26ebf.

Change-Id: I6724059db18263936cc392651c621d27836f1c33
2016-01-29 18:23:57 +00:00
Jeff Davidson
c4f7e07b1f Merge "Notify NetworkStatsService of roaming status changes." 2016-01-29 18:16:09 +00:00
Jeff Sharkey
7fc4866ff2 Merge "Remove "updatecmds" feature." 2016-01-29 18:15:34 +00:00
Jeff Davidson
0b93c5dd98 Notify NetworkStatsService of roaming status changes.
When the roaming status of the cell network changes, it is handled as
follows:

-DcActiveState gets an event (either EVENT_DATA_CONNECTION_ROAM_ON or
 EVENT_DATA_CONNECTION_ROAM_OFF) and calls
 NetworkAgent#sendNetworkInfo with updated NetworkInfo.
-ConnectivityService then gets an EVENT_NETWORK_INFO_CHANGED and calls
 updateNetworkInfo with the new info.

With the previous code, the NetworkAgent's NetworkInfo object would be
updated internally, but because the state of the connection had not
changed from CONNECTED, the change would be considered a duplicate and
otherwise ignored.

With the new code, we call notifyIfacesChanged() when the state is the
same but the roaming status has changed. That should be all that is
necessary, as roaming is not exposed as a link property or network
capability today.

Bug: 26545456
Change-Id: I33d32d1fa84ce41dbe01542e5b498eda4b744b74
2016-01-29 10:13:18 -08:00
Jae Seo
c7cbd7b21f Merge "TIF: Unhide TvInputCallback.onInputUpdated()" 2016-01-29 18:06:09 +00:00
Jae Seo
61e97e0e42 Merge "TIF: Add Hardware prefix to method/member names for better readability" 2016-01-29 18:05:47 +00:00
Jeff Sharkey
a9aa24974e Remove "updatecmds" feature.
This feature is very old and hasn't been used in many releases.  In
addition, it was never taught about multi-user layouts, and it would
be incredibly hard to maintain in the new FBE world where CE keys
may not appear until several reboots after an OTA.

Bug: 26854442
Change-Id: I3e88d38fde671e41ea9bdd790173d8b93c8a5c12
2016-01-29 11:02:06 -07:00
Steve Pfetsch
9ad66d365b Merge "Fixed NullPointerException in SystemUI" 2016-01-29 17:59:47 +00:00
Alan Viverette
2e750a1474 Scroll alert dialog buttons vertically when there's not enough space
Bug: 25897915
Change-Id: I3cca89450728100375c6cf8ef9142c9a002fd8ba
2016-01-29 12:53:26 -05:00
Rubin Xu
a0a5836562 Merge "Enable work mode quick settings tile" 2016-01-29 17:50:04 +00:00
Jeff Sharkey
538c11cf21 Hack to get devices booting again.
If we try scheduling a pass before the system is ready, record a
pending event and dispatch once we're actually ready.

Bug: 26863668
Change-Id: I028285383c8bbe8b653aeaa7544eefe3d41277bc
2016-01-29 10:46:09 -07:00
Anna Galusza
f3e5d1d483 Merge "Add API for IME control by Accessibility Services." 2016-01-29 16:58:07 +00:00
Sergey Poromov
4b51d99a01 Fix BackupManager to really send MSG_RESULT when onResult is called.
Previously it send MSG_FINISHED.
I'm surprised why backup test app was successfully receiving appropriate callbacks...

Change-Id: Ia4950579a3dbf8b7383b8e48dd29b94bdd765cd8
2016-01-29 17:46:32 +01:00
Calin Juravle
1fffffcf39 Merge "Revert "Fix optimizable package filter"" 2016-01-29 16:38:55 +00:00
Rubin Xu
a3b0c04f34 Merge "Watch out for null pointers when getting profile owner info" 2016-01-29 16:38:30 +00:00
Calin Juravle
d9c31db2e9 Revert "Fix optimizable package filter"
Bug: 26863668

This reverts commit 8aaaf138887355f218b5da3f0efe1c4610a6c31a.

Change-Id: I659e2de56afd729f36aa111772fec8c9c2ddf801
2016-01-29 16:38:11 +00:00
Neil Fuller
8b0dfef9fe Merge "Unhide @Repeatable" am: 31312ecfd2
am: 833c9fcdf1

* commit '833c9fcdf155ba28d0b8a017376a6796c5d03806':
  Unhide @Repeatable
2016-01-29 16:33:00 +00:00
Ben Kwa
d5b2af1544 Add metrics logging for file operations.
Log to two new histograms - one for operations originating from system
providers, the other for operations originating from external providers.

Events in these histograms are bucketed by
- type (copy, move, delete, etc)
- destination (system vs external provider, with a special bucket for
    intra-provider operations)
- result (success vs failure)

BUG=26737132

Change-Id: Ic24c7a22fa3c1227e23cfbd42ae80ca1f70a19ba
2016-01-29 08:31:42 -08:00
Rubin Xu
945fd0074a Watch out for null pointers when getting profile owner info
Bug: 22776761
Change-Id: If9b7fe603c52b953633a81642b506c0b2fa8dc3a
2016-01-29 16:29:53 +00:00
Neil Fuller
833c9fcdf1 Merge "Unhide @Repeatable"
am: 31312ecfd2

* commit '31312ecfd2b701c6b9fdc34156e8a12df3022c25':
  Unhide @Repeatable
2016-01-29 16:28:22 +00:00
Abodunrinwa Toki
a874e30959 FloatingToolbar: Fix orientation change handling.
Orientation change handling was done using a config change listener
but it is not a sufficient trigger for when the toolbar needs to be
resized. It is called before the layout has changed. A better trigger
for resizing the toolbar will be on layout change. At this time, we
get an accurate measurement of the drawing area.

Bug: 21816857
Change-Id: Ia4d752f12b64b64256c1c41d5ede5d2e29a4f408
2016-01-29 16:25:49 +00:00
Neil Fuller
8633b72a26 Merge "Unhide @FunctionalInterface" am: 45a1ea33a4
am: 79bd8e8815

* commit '79bd8e881510d62f0fd7198f21dba42a06bec7b8':
  Unhide @FunctionalInterface
2016-01-29 16:23:33 +00:00
Neil Fuller
31312ecfd2 Merge "Unhide @Repeatable" 2016-01-29 16:19:36 +00:00
Neil Fuller
79bd8e8815 Merge "Unhide @FunctionalInterface"
am: 45a1ea33a4

* commit '45a1ea33a4e0eb7f1204c03611caf4699ed91d47':
  Unhide @FunctionalInterface
2016-01-29 16:18:32 +00:00
Neil Fuller
6fa925a76c Unhide @Repeatable
Bug: 26623636
(cherry-picked from commit c98d6a4c19ab9d5620c05b0f5ccb3b91a9eaba15)

Change-Id: I6378d5780def3a26d340f213973a4094e97426f5
2016-01-29 16:17:31 +00:00
Neil Fuller
45a1ea33a4 Merge "Unhide @FunctionalInterface" 2016-01-29 16:10:13 +00:00
Neil Fuller
679e4037f2 Unhide @FunctionalInterface
Bug: 26623636
(cherry-picked from commit c5064327eae625b67013736048e35388decce52b)
Change-Id: I05fc731356891c4fdba79701b1b87384841d56ca
2016-01-29 16:07:43 +00:00
Alan Viverette
6cb40a5780 Update documentation for drawable state attributes
And you might ask yourself, what is this state_single? You might ask
yourself, how did it get here?

Change-Id: Ib7f95c2f8bd2028e2bf96281830755abdbcf0527
2016-01-29 10:55:50 -05:00
Neil Fuller
a262f24673 Merge "Unhide Method.isDefault" am: b05fa3e841
am: 796da66012

* commit '796da660120fc692a1d721f7d105aa2dc72cb62f':
  Unhide Method.isDefault
2016-01-29 15:44:40 +00:00
Wale Ogunwale
b1faf60b89 Use resizeMode integer instead of resizeable boolean.
Changes activity manager and window manager to use resizeMode
as defined by ActivityInfo#resizeMode instead of a boolean.

Bug: 26774816
Change-Id: I8cef46d9fba6bfdd21df7da63ed5d5330ad03d4b
2016-01-29 07:44:33 -08:00
Neil Fuller
796da66012 Merge "Unhide Method.isDefault"
am: b05fa3e841

* commit 'b05fa3e841c37ae8089cf3cffc28439ced56884b':
  Unhide Method.isDefault
2016-01-29 15:40:21 +00:00
Neil Fuller
b05fa3e841 Merge "Unhide Method.isDefault" 2016-01-29 15:31:38 +00:00
Neil Fuller
d2d0765e8d Unhide Method.isDefault
Bug: 26623636
(cherry-picked from commit 20a4d572263cc288af4bd99849d1acc9e956ff06)
Change-Id: I5fd46b521d5098c72585b2acf06beaea4b9fa93f
2016-01-29 15:30:06 +00:00
Alan Viverette
8ab1a37b76 Merge "Consume AbsListView touch events following a successful long-press" 2016-01-29 15:23:16 +00:00
Abodunrinwa Toki
649a401101 Merge "Fix floating toolbar rendering." 2016-01-29 15:03:03 +00:00
Robin Lee
ed8a5b3579 Merge "Replace broken UserHandle.SYSTEM check in LPU" 2016-01-29 13:27:25 +00:00
Abodunrinwa Toki
6be228c111 Fix floating toolbar rendering.
The code to size and position the floating toolbar and it's content
when there was no overflow menu was omitted. This caused bad
rendering of the toolbar and it's content when an existing toolbar
object was updated to go in the "no overflow" state.

Fixed the issue by properly updating the floating toolbar size
and positioning of it's contents in the "no overflow" state.

Bug: 25973599
Change-Id: I9305140f493bc36b87328571cd7645f184d9cf30
2016-01-29 12:22:29 +00:00
Benjamin Franz
dd231a16a1 Merge "Add policy to set the organization name" 2016-01-29 11:38:54 +00:00
Benjamin Franz
3e8a709064 Add policy to set the organization name
We allow the profile owner of a managed profile to set the name of the
managed organization.

This name is used as the default header message shown in the confirm
credentials screen a.k.a. work challenge.

Bug: 26638631
Change-Id: I03c5acc9fffe06cdb9d0d60dd1580b20e21783b1
2016-01-29 11:15:12 +00:00
Neil Fuller
cab2e5d1d1 Merge "Unhide @Repeatable" 2016-01-29 11:01:45 +00:00
Seigo Nonaka
8dc03bc034 Merge "Revive drop shadow of SuggestionWindow." 2016-01-29 09:53:54 +00:00
Jaewan Kim
c552b04cb4 PIP: Use StatusBarService to handle PIP key
Bug: 26591829
Change-Id: I7051fab966e2fc0887b2a21ddbf11aff7e16804b
2016-01-29 18:40:47 +09:00
Daichi Hirono
f11f14cbde Merge "Return NULL available bytes when the MTP device is closed." 2016-01-29 09:17:07 +00:00