231335 Commits

Author SHA1 Message Date
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
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
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
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
Mitchell Wills
9eeba37851 Add a hidden anqp field to ScanResult
This allows ScanResults from WifiScanner to contain anqp data

Bug: 26525037
Change-Id: I54beb3c4e0b8bff06a8255d2dc53439941be3c66
2016-01-28 23:10:30 -08: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
Selim Cinek
6e2c6ccd19 Merge "Media notifications may not have an icon" 2016-01-29 03:04:56 +00:00
Selim Cinek
acec8ad6cb Merge "Animating the work profile button location now" 2016-01-29 03:04:40 +00:00
Selim Cinek
d0803bb4ad Merge "Fixed a bug with the media notication template" 2016-01-29 03:04:22 +00:00
Selim Cinek
757d879966 Fixed a bug where the notification became clearable
A notification could become clearable on the lockscreen
when the content was sensitive even though that shouldn't
have happend.
This is now fixed.

Change-Id: I50f31c95dd399bfebfa9e5c46eb99820f31e37ff
2016-01-28 19:02:22 -08:00
Selim Cinek
fdc738f9b8 Media notifications may not have an icon
Change-Id: Ie47bf144f4add49ec5ed92bb19db39ad116f0678
2016-01-28 19:02:21 -08:00
Selim Cinek
0d07c7eccd Animating the work profile button location now
Media notifications have them in a different location
so we'd like to animate it.

Change-Id: I50d289bc6ed73d56dcad8cebdcb7101e2aad6ea9
2016-01-28 19:02:21 -08:00
Selim Cinek
6ecc810ca2 Fixed a bug with the media notication template
The image could overlap with the buttons due to
the specced way. This is now fixed.

Change-Id: I346467d48b5f8337d09af4b20e5cdfcd41e12b81
2016-01-28 19:02:20 -08:00
Svetoslav Ganov
cda8cddaef Merge "Optionally support accessibility with UiAutomator" 2016-01-29 02:57:46 +00:00
Andreas Gampe
c35e8c9c31 PackageManagerService: Add more ABI adjustment logging
To help with diagnosis of preopt-related ABI-mismatched induced
errors, log more information during ABI adjustment.

Change-Id: I035f229b20588d5f1ec5f91707ef687d39c1a267
2016-01-28 18:55:42 -08:00
Jeff Sharkey
d24544322f Merge "Exposing file:// beyond your app is bad, m'kay?" 2016-01-29 02:43:28 +00:00
Steve Pfetsch
ef39ce87d3 Fixed NullPointerException in SystemUI
NullPointerException occurred on some devices during boot if no user
listener is attached to MultiUserSwitch.

Change-Id: Id6aabf81e0e982a4a6d88d78dcae639a7cbedee4
2016-01-28 18:41:19 -08:00