231364 Commits

Author SHA1 Message Date
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
Filip Gruszczynski
d757376678 Merge "Don't apply overscan insets to freeform windows." 2016-01-29 02:29:09 +00:00
Filip Gruszczynski
01ef404d5d Don't apply overscan insets to freeform windows.
Overscan gets applied when window frame is outside of the display frame.
This is a natural situation for freeform windows, so they should not
receive the overscan inset. Applying overscan insets causes the
application content to get squashed, when we resize the freeform window
and part of it is outside of the display.

Bug: 26009343
Change-Id: Ib614fb8c7170c3b6d69614b813674853e1204eef
2016-01-28 18:28:18 -08:00
Jun Mukai
411228fec1 Merge "Reset gSystemIcons when accessibility large icon settings has changed." 2016-01-29 02:24:14 +00:00
Jeff Sharkey
344744b496 Exposing file:// beyond your app is bad, m'kay?
For several releases now we've told developers that sharing raw files
between apps is a recipe for trouble.  There are at least three major
problems with sending raw files:

-- Apps sending generic intents can't know who is at the other end,
so they may not have access to shared storage locations.  This is
more likely now that runtime permissions require apps to explicitly
ask users for permission.

-- Apps making files in their private storage world-readable has been
deprecated for several releases, and now in N it's fully blocked.  If
we let these intents through, the receiving app would fail to open
the file, when the real blame rests on the sending app.

-- Devices with user profiles can't share raw files when using
cross-profile intent filters, since filesystem access is fully
locked down between users.

The time has finally come to communicate clearly that if you're
sharing content between apps, you need to use content:// Uris.  We
added the simple FileProvider several years ago to give apps a clean
way to migrate with minimal work on their part.

Bug: 26860922, 9069185
Change-Id: I075f627f6a0d6c7fca2c090ca133b9aae9801c64
2016-01-28 19:20:12 -07:00
Jae Seo
03c75de39f Merge "TIF: Notify of a change to TvInputInfo regardless of service connection" 2016-01-29 02:15:56 +00:00
Andrei Stingaceanu
8861cb002f Keyboard Shortcuts UI - add shortcuts to dialog.
This is the first UI iteration which contains elements for
displaying the keyboard shortcuts. Is is by no means final,
the following items (and maybe more) still need to be actioned:

* no UI for phone
* no view for system shortcuts (which contain icons)
* the shortcut items container needs a custom layout which
  needs to wrap and right align elements (prototype done)
* find or build an util which can produce human readable
  names of the baseCharacter and the modifiers (so far I
  found a few functions, none of them good)
* not pixel-perfect
* the scrollbar does not show
* the last separator (before the DONE button) is not
  visible

Change-Id: I0d191e9516ab8f4728f40b3eefe9d854249ee7a8
2016-01-29 02:07:22 +00:00
Jae Seo
c2a89510dd TIF: Notify of a change to TvInputInfo regardless of service connection
Also removed unnecessary input ID in various methods

Change-Id: I50a2da924e9442312ccf16278e9123f837ec8942
2016-01-28 17:54:26 -08:00
Chong Zhang
f1fa7908f6 Merge "Enable logging for surface create/destroy." 2016-01-29 01:27:05 +00:00
Chong Zhang
a8975bd369 Enable logging for surface create/destroy.
bug: 26819496
Change-Id: I969b87122126df994c5bd5af177b672bcab5b7dd
2016-01-28 17:25:36 -08:00
Andy Hung
0ad99c0597 Add AudioRecord timestamps
API change

Bug: 13569372
Bug: 22886739
Change-Id: Ic250fd0c39901f4e99c58281e371f27c241b6bed
2016-01-28 17:19:11 -08:00
Donghyun Cho
b3c06c2f50 Merge "MediaSession: Define an extra field for staying paused after play" 2016-01-29 01:15:36 +00:00
Jim Miller
f3c491dcdc Merge "FBE notification improvements - change language for FBE "account locked" notification - use lock icon" 2016-01-29 01:08:42 +00:00
Yohei Yukawa
c67395256b Merge "Use LocaleList in KeyboardLayout." 2016-01-29 01:08:03 +00:00
Jim Miller
e6c28031ed FBE notification improvements
- change language for FBE "account locked" notification
- use lock icon

Fixes bug 26863154

Change-Id: I1cf2e230cf717cadd26879a90fdccbade59057a8
2016-01-28 17:03:16 -08:00
Chris Tate
d61c302bf8 Merge "Extract crop hint rect from source wallpaper image" 2016-01-29 00:38:57 +00:00
Yohei Yukawa
5660fad798 Use LocaleList in KeyboardLayout.
As an exercise for a new API candidate LocaleList class, this CL does a
mechanical refactoring to replace Locale[] with LocaleList in
KeyboardLayout class.  Note that what changed in this CL is just an
implementation details that is never exposed to application developers.

One take-away from this exercise is that finding the best-match locale from
an ordered locale list is really a common pattern.  Perhaps we may want
to have a guideline for this kind of situation.

Change-Id: I142379afbaf24d524ff09cf6c7ee7720150f7489
2016-01-29 00:30:00 +00:00
Christopher Tate
1e1e2e013f Extract crop hint rect from source wallpaper image
Setting the wallpaper is still synchronous: the caller blocks until any
backend cropping/manipulation has completed.  There is a timeout (currently
30 seconds) on that to avoid wedging the caller arbitrarily.

Bug 25454501

Change-Id: Idca2fe1b10e4fa34d6d54865903d9a1b9e305e3c
2016-01-28 16:18:21 -08:00
Amit Mahajan
dbb7d13ad5 Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev
am: ff62707130

* commit 'ff62707130e08785bbef1f13819d875d179df787':
  Add a null check before accessing int[] parameter in ModemActivityInfo
2016-01-28 23:59:49 +00:00
Amit Mahajan
ff62707130 Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev 2016-01-28 23:56:15 +00:00
Pavel Zhamaitsiak
ad2a71f722 Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
am: 8a688b2f36

* commit '8a688b2f36437ae4305130e2920e42ce546bdbbc':
  Add ITelephonyDebugSubscriber.aidl
2016-01-28 23:47:01 +00:00
Steve McKay
5a2120820a Merge "Files always visible, same for new window menu." 2016-01-28 23:42:34 +00:00
Pavel Zhamaitsiak
8a688b2f36 Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev 2016-01-28 23:42:26 +00:00