OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Revert "Revert "Fix optimizable package filter"""
Calin Juravle [Fri, 29 Jan 2016 18:35:05 +0000 (18:35 +0000)]
Merge "Revert "Revert "Fix optimizable package filter"""

8 years agoFix NPE when logging a WTF in unknown process
Adrian Roos [Fri, 29 Jan 2016 17:21:58 +0000 (09:21 -0800)]
Fix NPE when logging a WTF in unknown process

Bug: 26873463
Change-Id: I548c10b43f5784152b9227926aa37170fd9fd78f

8 years agoMerge "Incremental local builds for services"
Jorim Jaggi [Fri, 29 Jan 2016 18:25:47 +0000 (18:25 +0000)]
Merge "Incremental local builds for services"

8 years agoRevert "Revert "Fix optimizable package filter""
Calin Juravle [Fri, 29 Jan 2016 18:23:57 +0000 (18:23 +0000)]
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

8 years agoMerge "Notify NetworkStatsService of roaming status changes."
Jeff Davidson [Fri, 29 Jan 2016 18:16:09 +0000 (18:16 +0000)]
Merge "Notify NetworkStatsService of roaming status changes."

8 years agoMerge "Remove "updatecmds" feature."
Jeff Sharkey [Fri, 29 Jan 2016 18:15:34 +0000 (18:15 +0000)]
Merge "Remove "updatecmds" feature."

8 years agoNotify NetworkStatsService of roaming status changes.
Jeff Davidson [Wed, 20 Jan 2016 19:35:38 +0000 (11:35 -0800)]
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

8 years agoMerge "TIF: Unhide TvInputCallback.onInputUpdated()"
Jae Seo [Fri, 29 Jan 2016 18:06:09 +0000 (18:06 +0000)]
Merge "TIF: Unhide TvInputCallback.onInputUpdated()"

8 years agoMerge "TIF: Add Hardware prefix to method/member names for better readability"
Jae Seo [Fri, 29 Jan 2016 18:05:47 +0000 (18:05 +0000)]
Merge "TIF: Add Hardware prefix to method/member names for better readability"

8 years agoRemove "updatecmds" feature.
Jeff Sharkey [Fri, 29 Jan 2016 16:54:29 +0000 (09:54 -0700)]
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

8 years agoMerge "Fixed NullPointerException in SystemUI"
Steve Pfetsch [Fri, 29 Jan 2016 17:59:47 +0000 (17:59 +0000)]
Merge "Fixed NullPointerException in SystemUI"

8 years agoMerge "Enable work mode quick settings tile"
Rubin Xu [Fri, 29 Jan 2016 17:50:04 +0000 (17:50 +0000)]
Merge "Enable work mode quick settings tile"

8 years agoHack to get devices booting again.
Jeff Sharkey [Fri, 29 Jan 2016 17:45:45 +0000 (10:45 -0700)]
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

8 years agoMerge "Add API for IME control by Accessibility Services."
Anna Galusza [Fri, 29 Jan 2016 16:58:07 +0000 (16:58 +0000)]
Merge "Add API for IME control by Accessibility Services."

8 years agoMerge "Revert "Fix optimizable package filter""
Calin Juravle [Fri, 29 Jan 2016 16:38:55 +0000 (16:38 +0000)]
Merge "Revert "Fix optimizable package filter""

8 years agoMerge "Watch out for null pointers when getting profile owner info"
Rubin Xu [Fri, 29 Jan 2016 16:38:30 +0000 (16:38 +0000)]
Merge "Watch out for null pointers when getting profile owner info"

8 years agoRevert "Fix optimizable package filter"
Calin Juravle [Fri, 29 Jan 2016 16:38:11 +0000 (16:38 +0000)]
Revert "Fix optimizable package filter"

Bug: 26863668

This reverts commit 8aaaf138887355f218b5da3f0efe1c4610a6c31a.

Change-Id: I659e2de56afd729f36aa111772fec8c9c2ddf801

8 years agoMerge "Unhide @Repeatable" am: 31312ecfd2
Neil Fuller [Fri, 29 Jan 2016 16:33:00 +0000 (16:33 +0000)]
Merge "Unhide @Repeatable" am: 31312ecfd2
am: 833c9fcdf1

* commit '833c9fcdf155ba28d0b8a017376a6796c5d03806':
  Unhide @Repeatable

8 years agoWatch out for null pointers when getting profile owner info
Rubin Xu [Fri, 29 Jan 2016 15:37:05 +0000 (15:37 +0000)]
Watch out for null pointers when getting profile owner info

Bug: 22776761
Change-Id: If9b7fe603c52b953633a81642b506c0b2fa8dc3a

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 16:28:22 +0000 (16:28 +0000)]
Merge "Unhide @Repeatable"
am: 31312ecfd2

* commit '31312ecfd2b701c6b9fdc34156e8a12df3022c25':
  Unhide @Repeatable

8 years agoMerge "Unhide @FunctionalInterface" am: 45a1ea33a4
Neil Fuller [Fri, 29 Jan 2016 16:23:33 +0000 (16:23 +0000)]
Merge "Unhide @FunctionalInterface" am: 45a1ea33a4
am: 79bd8e8815

* commit '79bd8e881510d62f0fd7198f21dba42a06bec7b8':
  Unhide @FunctionalInterface

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 16:19:36 +0000 (16:19 +0000)]
Merge "Unhide @Repeatable"

8 years agoMerge "Unhide @FunctionalInterface"
Neil Fuller [Fri, 29 Jan 2016 16:18:32 +0000 (16:18 +0000)]
Merge "Unhide @FunctionalInterface"
am: 45a1ea33a4

* commit '45a1ea33a4e0eb7f1204c03611caf4699ed91d47':
  Unhide @FunctionalInterface

8 years agoUnhide @Repeatable
Neil Fuller [Tue, 19 Jan 2016 00:34:04 +0000 (16:34 -0800)]
Unhide @Repeatable

Bug: 26623636
(cherry-picked from commit c98d6a4c19ab9d5620c05b0f5ccb3b91a9eaba15)

Change-Id: I6378d5780def3a26d340f213973a4094e97426f5

8 years agoMerge "Unhide @FunctionalInterface"
Neil Fuller [Fri, 29 Jan 2016 16:10:13 +0000 (16:10 +0000)]
Merge "Unhide @FunctionalInterface"

8 years agoUnhide @FunctionalInterface
Neil Fuller [Tue, 19 Jan 2016 00:20:56 +0000 (16:20 -0800)]
Unhide @FunctionalInterface

Bug: 26623636
(cherry-picked from commit c5064327eae625b67013736048e35388decce52b)
Change-Id: I05fc731356891c4fdba79701b1b87384841d56ca

8 years agoMerge "Unhide Method.isDefault" am: b05fa3e841
Neil Fuller [Fri, 29 Jan 2016 15:44:40 +0000 (15:44 +0000)]
Merge "Unhide Method.isDefault" am: b05fa3e841
am: 796da66012

* commit '796da660120fc692a1d721f7d105aa2dc72cb62f':
  Unhide Method.isDefault

8 years agoMerge "Unhide Method.isDefault"
Neil Fuller [Fri, 29 Jan 2016 15:40:21 +0000 (15:40 +0000)]
Merge "Unhide Method.isDefault"
am: b05fa3e841

* commit 'b05fa3e841c37ae8089cf3cffc28439ced56884b':
  Unhide Method.isDefault

8 years agoMerge "Unhide Method.isDefault"
Neil Fuller [Fri, 29 Jan 2016 15:31:38 +0000 (15:31 +0000)]
Merge "Unhide Method.isDefault"

8 years agoUnhide Method.isDefault
Neil Fuller [Sat, 23 Jan 2016 21:29:36 +0000 (13:29 -0800)]
Unhide Method.isDefault

Bug: 26623636
(cherry-picked from commit 20a4d572263cc288af4bd99849d1acc9e956ff06)
Change-Id: I5fd46b521d5098c72585b2acf06beaea4b9fa93f

8 years agoMerge "Consume AbsListView touch events following a successful long-press"
Alan Viverette [Fri, 29 Jan 2016 15:23:16 +0000 (15:23 +0000)]
Merge "Consume AbsListView touch events following a successful long-press"

8 years agoMerge "Fix floating toolbar rendering."
Abodunrinwa Toki [Fri, 29 Jan 2016 15:03:03 +0000 (15:03 +0000)]
Merge "Fix floating toolbar rendering."

8 years agoMerge "Replace broken UserHandle.SYSTEM check in LPU"
Robin Lee [Fri, 29 Jan 2016 13:27:25 +0000 (13:27 +0000)]
Merge "Replace broken UserHandle.SYSTEM check in LPU"

8 years agoFix floating toolbar rendering.
Abodunrinwa Toki [Wed, 27 Jan 2016 22:11:30 +0000 (22:11 +0000)]
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

8 years agoMerge "Add policy to set the organization name"
Benjamin Franz [Fri, 29 Jan 2016 11:38:54 +0000 (11:38 +0000)]
Merge "Add policy to set the organization name"

8 years agoAdd policy to set the organization name
Benjamin Franz [Mon, 25 Jan 2016 16:19:08 +0000 (16:19 +0000)]
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

8 years agoMerge "Unhide @Repeatable"
Neil Fuller [Fri, 29 Jan 2016 11:01:45 +0000 (11:01 +0000)]
Merge "Unhide @Repeatable"

8 years agoMerge "Revive drop shadow of SuggestionWindow."
Seigo Nonaka [Fri, 29 Jan 2016 09:53:54 +0000 (09:53 +0000)]
Merge "Revive drop shadow of SuggestionWindow."

8 years agoMerge "Return NULL available bytes when the MTP device is closed."
Daichi Hirono [Fri, 29 Jan 2016 09:17:07 +0000 (09:17 +0000)]
Merge "Return NULL available bytes when the MTP device is closed."

8 years agoReturn NULL available bytes when the MTP device is closed.
Daichi Hirono [Fri, 29 Jan 2016 08:37:36 +0000 (17:37 +0900)]
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

8 years agoMerge "Create the locale list with ICU4J's ListFormatter"
Mihai Niță [Fri, 29 Jan 2016 07:43:23 +0000 (07:43 +0000)]
Merge "Create the locale list with ICU4J's ListFormatter"

8 years agoMerge "MediaBrowser: Make support lib work properly"
Sungsoo Lim [Fri, 29 Jan 2016 07:19:14 +0000 (07:19 +0000)]
Merge "MediaBrowser: Make support lib work properly"

8 years agoTIF: Add Hardware prefix to method/member names for better readability
Jae Seo [Fri, 29 Jan 2016 06:20:41 +0000 (22:20 -0800)]
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

8 years agoRevive drop shadow of SuggestionWindow.
Seigo Nonaka [Thu, 28 Jan 2016 08:25:18 +0000 (17:25 +0900)]
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

8 years agoMediaBrowser: Make support lib work properly
Sungsoo Lim [Thu, 28 Jan 2016 10:10:39 +0000 (19:10 +0900)]
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

8 years agoTIF: Unhide TvInputCallback.onInputUpdated()
Jae Seo [Fri, 29 Jan 2016 04:48:07 +0000 (20:48 -0800)]
TIF: Unhide TvInputCallback.onInputUpdated()

Needed to load proper resources when the TV input app is updated

Bug: 26851344
Change-Id: If3d143a254a9585e90ab1d91abcdb68bf39eaa9f

8 years agoMerge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable"
Jae Seo [Fri, 29 Jan 2016 05:04:30 +0000 (05:04 +0000)]
Merge "TIF: Allow undefined reasons to be passed by notifyVideoUnavailable"

8 years agoTIF: Allow undefined reasons to be passed by notifyVideoUnavailable
Jae Seo [Thu, 28 Jan 2016 04:58:08 +0000 (20:58 -0800)]
TIF: Allow undefined reasons to be passed by notifyVideoUnavailable

Bug: 26819129
Change-Id: Ia3cbc8183b08e7431276795f74fcc6701de0a238

8 years agoIncremental local builds for services
Jorim Jaggi [Fri, 29 Jan 2016 03:56:20 +0000 (19:56 -0800)]
Incremental local builds for services

If INCREMENTAL_BUILDS is set to true. Speeds up incremental builds
by about 30%.

Change-Id: Ib0b385357e6e77e3596348e321d25944eef49bdb

8 years agoMerge "Add AudioRecord timestamps"
Andy Hung [Fri, 29 Jan 2016 03:23:19 +0000 (03:23 +0000)]
Merge "Add AudioRecord timestamps"

8 years agoMerge "Media notifications may not have an icon"
Selim Cinek [Fri, 29 Jan 2016 03:04:56 +0000 (03:04 +0000)]
Merge "Media notifications may not have an icon"

8 years agoMerge "Animating the work profile button location now"
Selim Cinek [Fri, 29 Jan 2016 03:04:40 +0000 (03:04 +0000)]
Merge "Animating the work profile button location now"

8 years agoMerge "Fixed a bug with the media notication template"
Selim Cinek [Fri, 29 Jan 2016 03:04:22 +0000 (03:04 +0000)]
Merge "Fixed a bug with the media notication template"

8 years agoMedia notifications may not have an icon
Selim Cinek [Thu, 28 Jan 2016 04:04:27 +0000 (20:04 -0800)]
Media notifications may not have an icon

Change-Id: Ie47bf144f4add49ec5ed92bb19db39ad116f0678

8 years agoAnimating the work profile button location now
Selim Cinek [Thu, 28 Jan 2016 02:38:31 +0000 (18:38 -0800)]
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

8 years agoFixed a bug with the media notication template
Selim Cinek [Wed, 27 Jan 2016 02:26:19 +0000 (18:26 -0800)]
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

8 years agoMerge "Optionally support accessibility with UiAutomator"
Svetoslav Ganov [Fri, 29 Jan 2016 02:57:46 +0000 (02:57 +0000)]
Merge "Optionally support accessibility with UiAutomator"

8 years agoMerge "Exposing file:// beyond your app is bad, m'kay?"
Jeff Sharkey [Fri, 29 Jan 2016 02:43:28 +0000 (02:43 +0000)]
Merge "Exposing file:// beyond your app is bad, m'kay?"

8 years agoFixed NullPointerException in SystemUI
Steve Pfetsch [Fri, 29 Jan 2016 02:41:19 +0000 (18:41 -0800)]
Fixed NullPointerException in SystemUI

NullPointerException occurred on some devices during boot if no user
listener is attached to MultiUserSwitch.

Change-Id: Id6aabf81e0e982a4a6d88d78dcae639a7cbedee4

8 years agoMerge "Don't apply overscan insets to freeform windows."
Filip Gruszczynski [Fri, 29 Jan 2016 02:29:09 +0000 (02:29 +0000)]
Merge "Don't apply overscan insets to freeform windows."

8 years agoDon't apply overscan insets to freeform windows.
Filip Gruszczynski [Fri, 29 Jan 2016 02:14:27 +0000 (18:14 -0800)]
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

8 years agoMerge "Reset gSystemIcons when accessibility large icon settings has changed."
Jun Mukai [Fri, 29 Jan 2016 02:24:14 +0000 (02:24 +0000)]
Merge "Reset gSystemIcons when accessibility large icon settings has changed."

8 years agoExposing file:// beyond your app is bad, m'kay?
Jeff Sharkey [Fri, 29 Jan 2016 02:03:30 +0000 (19:03 -0700)]
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: 268609229069185
Change-Id: I075f627f6a0d6c7fca2c090ca133b9aae9801c64

8 years agoMerge "TIF: Notify of a change to TvInputInfo regardless of service connection"
Jae Seo [Fri, 29 Jan 2016 02:15:56 +0000 (02:15 +0000)]
Merge "TIF: Notify of a change to TvInputInfo regardless of service connection"

8 years agoKeyboard Shortcuts UI - add shortcuts to dialog.
Andrei Stingaceanu [Wed, 20 Jan 2016 16:48:30 +0000 (16:48 +0000)]
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

8 years agoTIF: Notify of a change to TvInputInfo regardless of service connection
Jae Seo [Thu, 28 Jan 2016 18:38:11 +0000 (10:38 -0800)]
TIF: Notify of a change to TvInputInfo regardless of service connection

Also removed unnecessary input ID in various methods

Change-Id: I50a2da924e9442312ccf16278e9123f837ec8942

8 years agoMerge "Enable logging for surface create/destroy."
Chong Zhang [Fri, 29 Jan 2016 01:27:05 +0000 (01:27 +0000)]
Merge "Enable logging for surface create/destroy."

8 years agoEnable logging for surface create/destroy.
Chong Zhang [Fri, 29 Jan 2016 01:13:47 +0000 (17:13 -0800)]
Enable logging for surface create/destroy.

bug: 26819496
Change-Id: I969b87122126df994c5bd5af177b672bcab5b7dd

8 years agoAdd AudioRecord timestamps
Andy Hung [Sat, 16 Jan 2016 01:53:47 +0000 (17:53 -0800)]
Add AudioRecord timestamps

API change

Bug: 13569372
Bug: 22886739
Change-Id: Ic250fd0c39901f4e99c58281e371f27c241b6bed

8 years agoMerge "MediaSession: Define an extra field for staying paused after play"
Donghyun Cho [Fri, 29 Jan 2016 01:15:36 +0000 (01:15 +0000)]
Merge "MediaSession: Define an extra field for staying paused after play"

8 years agoMerge "FBE notification improvements - change language for FBE "account locked" notif...
Jim Miller [Fri, 29 Jan 2016 01:08:42 +0000 (01:08 +0000)]
Merge "FBE notification improvements - change language for FBE "account locked" notification - use lock icon"

8 years agoMerge "Use LocaleList in KeyboardLayout."
Yohei Yukawa [Fri, 29 Jan 2016 01:08:03 +0000 (01:08 +0000)]
Merge "Use LocaleList in KeyboardLayout."

8 years agoFBE notification improvements
Jim Miller [Fri, 29 Jan 2016 00:43:44 +0000 (16:43 -0800)]
FBE notification improvements
- change language for FBE "account locked" notification
- use lock icon

Fixes bug 26863154

Change-Id: I1cf2e230cf717cadd26879a90fdccbade59057a8

8 years agoMerge "Extract crop hint rect from source wallpaper image"
Chris Tate [Fri, 29 Jan 2016 00:38:57 +0000 (00:38 +0000)]
Merge "Extract crop hint rect from source wallpaper image"

8 years agoUse LocaleList in KeyboardLayout.
Yohei Yukawa [Thu, 28 Jan 2016 06:04:09 +0000 (22:04 -0800)]
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

8 years agoExtract crop hint rect from source wallpaper image
Christopher Tate [Mon, 25 Jan 2016 23:34:36 +0000 (15:34 -0800)]
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

8 years agoMerge "Add a null check before accessing int[] parameter in ModemActivityInfo" into...
Amit Mahajan [Thu, 28 Jan 2016 23:59:49 +0000 (23:59 +0000)]
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

8 years agoMerge "Add a null check before accessing int[] parameter in ModemActivityInfo" into...
Amit Mahajan [Thu, 28 Jan 2016 23:56:15 +0000 (23:56 +0000)]
Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev

8 years agoMerge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
Pavel Zhamaitsiak [Thu, 28 Jan 2016 23:47:01 +0000 (23:47 +0000)]
Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
am: 8a688b2f36

* commit '8a688b2f36437ae4305130e2920e42ce546bdbbc':
  Add ITelephonyDebugSubscriber.aidl

8 years agoMerge "Files always visible, same for new window menu."
Steve McKay [Thu, 28 Jan 2016 23:42:34 +0000 (23:42 +0000)]
Merge "Files always visible, same for new window menu."

8 years agoMerge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev
Pavel Zhamaitsiak [Thu, 28 Jan 2016 23:42:26 +0000 (23:42 +0000)]
Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev

8 years agoAdd a null check before accessing int[] parameter in ModemActivityInfo
Amit Mahajan [Thu, 28 Jan 2016 23:30:39 +0000 (15:30 -0800)]
Add a null check before accessing int[] parameter in ModemActivityInfo

Bug: 26842468
Change-Id: I3a5f7c8e454e7b9ace20f8082ee3fd1d0a24eb64

8 years agoMerge "Add manual VectorDrawable tests for CSL related issue"
Tenghui Zhu [Thu, 28 Jan 2016 23:23:01 +0000 (23:23 +0000)]
Merge "Add manual VectorDrawable tests for CSL related issue"

8 years agoMerge "Create new windows on *other* side in multi-window mode."
Steve McKay [Thu, 28 Jan 2016 22:32:29 +0000 (22:32 +0000)]
Merge "Create new windows on *other* side in multi-window mode."

8 years agoMerge "Add foreground status to crash report"
Adrian Roos [Thu, 28 Jan 2016 22:30:44 +0000 (22:30 +0000)]
Merge "Add foreground status to crash report"

8 years agoMerge "Flipping the bit on the HIC"
Adrian Roos [Thu, 28 Jan 2016 22:30:28 +0000 (22:30 +0000)]
Merge "Flipping the bit on the HIC"

8 years agoMerge "Context hub API for applications"
Ashutosh Joshi [Thu, 28 Jan 2016 22:24:39 +0000 (22:24 +0000)]
Merge "Context hub API for applications"

8 years agoContext hub API for applications
Ashutosh Joshi [Tue, 19 Jan 2016 01:19:27 +0000 (17:19 -0800)]
Context hub API for applications

Adding a System API for applications to access a context hub.

The API is not expected to be exposed to third party Android
applications in the medium term.

Change-Id: Ia2222317c913de6901f3912e4c89b5cfa398be85

8 years agoMerge "Initial Commit of a Horizontal Grid View based recents UI for TV."
Sid Soundararajan [Thu, 28 Jan 2016 21:16:51 +0000 (21:16 +0000)]
Merge "Initial Commit of a Horizontal Grid View based recents UI for TV."

8 years agoMerge "RestrictedLockUtils - introduce check for suspended apps"
Andrei Stingaceanu [Thu, 28 Jan 2016 21:01:52 +0000 (21:01 +0000)]
Merge "RestrictedLockUtils - introduce check for suspended apps"

8 years agoRestrictedLockUtils - introduce check for suspended apps
Andrei Stingaceanu [Thu, 28 Jan 2016 20:03:41 +0000 (20:03 +0000)]
RestrictedLockUtils - introduce check for suspended apps

Used in Settings for restricting preferences.

Bug: 22776761
Change-Id: I6aad4400981cee00c734060ea3d6cf2641a721d9

8 years agoMerge "Fix activity-alias encryption awareness bug."
Jeff Sharkey [Thu, 28 Jan 2016 20:32:15 +0000 (20:32 +0000)]
Merge "Fix activity-alias encryption awareness bug."

8 years agoFix activity-alias encryption awareness bug.
Jeff Sharkey [Thu, 28 Jan 2016 19:32:10 +0000 (12:32 -0700)]
Fix activity-alias encryption awareness bug.

Since the activity-alias is backed by the same code as the original
activity definition, they should both have an identical encryption
awareness.  This fixes a bug where we accidentally dropped that value.

Bug: 26731340
Change-Id: I6ad615332df7d16542893a49e6997c88fc24334b

8 years agoMerge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS."
Yohei Yukawa [Thu, 28 Jan 2016 20:17:00 +0000 (20:17 +0000)]
Merge "Add ACTION_KEYBOARD_LAYOUT_SETTINGS."

8 years agoCreate new windows on *other* side in multi-window mode.
Steve McKay [Thu, 28 Jan 2016 20:02:57 +0000 (12:02 -0800)]
Create new windows on *other* side in multi-window mode.

Bug:26831180
Change-Id: Ie3fb22847e70cd78998d467a8af9bf20642304e5

8 years agoConsume AbsListView touch events following a successful long-press
Alan Viverette [Thu, 28 Jan 2016 19:56:07 +0000 (14:56 -0500)]
Consume AbsListView touch events following a successful long-press

This prevents the user from accidentally scrolling the list following a
long-press that, for example, opens a modal window.

Bug: 26799074
Change-Id: I9e4bce9f9fc3edd0a5b0908a868fbf7cdcb73f8c

8 years agoMerge commit '5142a2d5b3f70c2017792ce04d3f254221ab3d21' into manual_merge_5142a2d5b3
Adam Lesinski [Thu, 28 Jan 2016 19:55:58 +0000 (11:55 -0800)]
Merge commit '5142a2d5b3f70c2017792ce04d3f254221ab3d21' into manual_merge_5142a2d5b3

Change-Id: I6681b0e132e95bd7e861e183e7369b4da07738eb

8 years agoMerge "Add padlocks to more qs tiles."
Sudheer Shanka [Thu, 28 Jan 2016 19:51:38 +0000 (19:51 +0000)]
Merge "Add padlocks to more qs tiles."

8 years agoAdd padlocks to more qs tiles.
Sudheer Shanka [Wed, 27 Jan 2016 19:59:03 +0000 (19:59 +0000)]
Add padlocks to more qs tiles.

Bug: 26764485
Bug: 26765645
Change-Id: I89bb1b3b9a507772299778a1b3611884441408c9

8 years agoFiles always visible, same for new window menu.
Steve McKay [Thu, 28 Jan 2016 19:42:08 +0000 (11:42 -0800)]
Files always visible, same for new window menu.

Remove "productivity_device" bit.

Change-Id: I28ee3e210fc5f8c367d45a74edab0e04667ddd5e