231238 Commits

Author SHA1 Message Date
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
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
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
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
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
Neil Fuller
a262f24673 Merge "Unhide Method.isDefault" am: b05fa3e841
am: 796da66012

* commit '796da660120fc692a1d721f7d105aa2dc72cb62f':
  Unhide Method.isDefault
2016-01-29 15:44:40 +00: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
Daichi Hirono
f11f14cbde Merge "Return NULL available bytes when the MTP device is closed." 2016-01-29 09:17:07 +00:00
Daichi Hirono
83983d75cb Return NULL available bytes when the MTP device is closed.
Before MtpDocumentsProvider opens a device, it cannot fetch the storage
size. Currently it says 0 bytes available. But actually it is unknown.

BUG=26866812

Change-Id: I3f24773da8e76fe1092c11f1335aac9703f1b3f9
2016-01-29 17:37:36 +09:00
Mihai Niță
2d8d083dc7 Merge "Create the locale list with ICU4J's ListFormatter" 2016-01-29 07:43:23 +00:00
Sungsoo Lim
b8a74e5b41 Merge "MediaBrowser: Make support lib work properly" 2016-01-29 07:19:14 +00:00
Jae Seo
1abbbcd33e TIF: Add Hardware prefix to method/member names for better readability
Also removed the infix 'Tv' to make those names consistent with other
names (e.g. mHdmiInputIdMap, inputList, etc.)

Change-Id: I40eff18f8ca795c080edaf293f4906848caed0ca
2016-01-28 22:40:39 -08:00
Seigo Nonaka
60490d1ad4 Revive drop shadow of SuggestionWindow.
The drop shadow of the SuggestionWindow was accidentally gone by
I579c0cc5b7f0dd337bff54af77828b8af25b13d2.

The reason of drop shadow disappearance is setting TRANSPARENT
background to the popup window.

To revive drop shadow of SuggestionWindow, follows the way of floating
toolbar.
- Create PopupWindow and make it transparent. (already exists)
- Wrap contents with RelativeLayout and set layout_margin and elevation
  to drop the shadow into the transparent PopupWindow.

The changes in Editor is for keeping this margin during re-calculation
of the contents width and position.

Bug: 15347319

Change-Id: I5a9bcbe29400d6193eb0532a5e711a78a12383cd
2016-01-29 15:29:56 +09:00
Sungsoo Lim
d67933e271 MediaBrowser: Make support lib work properly
Do not change the methods signature and order of methods in
MediaBrowser related AIDL files. A change of the method signatures
or the order could break the support library.

Bug: 26841304
Change-Id: Id8c013eafc38c1a716df63dd86f446bc9c9ff21d
2016-01-29 15:21:07 +09:00
Jae Seo
631052954d TIF: Unhide TvInputCallback.onInputUpdated()
Needed to load proper resources when the TV input app is updated

Bug: 26851344
Change-Id: If3d143a254a9585e90ab1d91abcdb68bf39eaa9f
2016-01-29 05:34:23 +00:00
Jae Seo
808a91a0c6 Merge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable" 2016-01-29 05:04:30 +00:00
Jae Seo
8a151a0a21 TIF: Allow undefined reasons to be passed by notifyVideoUnavailable
Bug: 26819129
Change-Id: Ia3cbc8183b08e7431276795f74fcc6701de0a238
2016-01-28 21:02:06 -08:00
Jorim Jaggi
7bd633e275 Incremental local builds for services
If INCREMENTAL_BUILDS is set to true. Speeds up incremental builds
by about 30%.

Change-Id: Ib0b385357e6e77e3596348e321d25944eef49bdb
2016-01-29 04:03:27 +00:00
Andy Hung
d89cb1eb81 Merge "Add AudioRecord timestamps" 2016-01-29 03:23:19 +00:00