OSDN Git Service

android-x86/frameworks-base.git
8 years agoImprove logging in BluetoothHeadsetClientCall.
Bryce Lee [Thu, 21 Jan 2016 22:29:42 +0000 (14:29 -0800)]
Improve logging in BluetoothHeadsetClientCall.

Change-Id: I3b1b3946ca21c0bbc902a2c521938239a486d98a
(cherry picked from commit fe985fa7f0286df0317b139a375fa8ee36e6a304)

8 years agoMerge "Add metadata for car-mode in-call."
Santos Cordon [Thu, 21 Jan 2016 22:35:52 +0000 (22:35 +0000)]
Merge "Add metadata for car-mode in-call."

8 years agoMerge "Implement smarter locale resource selection"
Roozbeh Pournader [Thu, 21 Jan 2016 22:17:31 +0000 (22:17 +0000)]
Merge "Implement smarter locale resource selection"

8 years agoMerge "AAPT2: Accept empty zip files"
Adam Lesinski [Thu, 21 Jan 2016 22:13:15 +0000 (22:13 +0000)]
Merge "AAPT2: Accept empty zip files"

8 years agoAdd metadata for car-mode in-call.
Santos Cordon [Fri, 11 Dec 2015 01:29:54 +0000 (17:29 -0800)]
Add metadata for car-mode in-call.

Change-Id: Ic2d55889e0ab65195bee549837b51c581ce5076a

8 years agoMerge "Create SkCanvas on the stack to avoid leaking memeory"
Doris Liu [Thu, 21 Jan 2016 21:49:54 +0000 (21:49 +0000)]
Merge "Create SkCanvas on the stack to avoid leaking memeory"

8 years agoMerge "Fixes for broken saved surface"
Chong Zhang [Thu, 21 Jan 2016 21:48:55 +0000 (21:48 +0000)]
Merge "Fixes for broken saved surface"

8 years agoImplement smarter locale resource selection
Roozbeh Pournader [Fri, 15 Jan 2016 19:23:42 +0000 (11:23 -0800)]
Implement smarter locale resource selection

* Add support for determining script from language and region.
* Add support for determining special parents of locales.
* Add support for smart comparison of locales with only a difference
  in region, using the locale parentage tree.
* Fix LocaleData.matchScore() to not fallback to old locale matching
  behavior if we can't determine a script.
* Allow four-character variant codes. (Previously, only five- to
  eight-character variant codes were allowed.)

Bug: 7296673
Bug: 26589793
Change-Id: Ibde0a48c0564ff383b41068095a5cbacfe7b94bc

8 years agoMerge "Move delete support into FileOperationService."
Steve McKay [Thu, 21 Jan 2016 21:38:41 +0000 (21:38 +0000)]
Merge "Move delete support into FileOperationService."

8 years agoMerge "SUW shouldn't use hidden APIs."
Makoto Onuki [Thu, 21 Jan 2016 21:36:45 +0000 (21:36 +0000)]
Merge "SUW shouldn't use hidden APIs."

8 years agoMerge "Add missing system broadcast actions to the protected list."
Makoto Onuki [Thu, 21 Jan 2016 21:34:59 +0000 (21:34 +0000)]
Merge "Add missing system broadcast actions to the protected list."

8 years agoFixes for broken saved surface
Chong Zhang [Thu, 21 Jan 2016 03:52:22 +0000 (19:52 -0800)]
Fixes for broken saved surface

- Reset and restore the visibility flags and hasSurface states when
  surface is saved or restored. When the surface is in saved stated,
  we have to make the rest of the system believe that the window has
  no surface.

- Set app windows to 'mExiting' when we start a transistion because
  window manager changes the visibility of the app. We can't rely on
  receiving a relayoutWindow from the app to invisible. We need to
  mark it exiting so that when the transition is done, the surfaces
  get removed (or saved if possible) promptly.

- We need to save the surface if the app token is the last one in
  a task, regardless of whether it's visible, this means the whole
  task is going into background. But if the app has another visible
  token on top of it, we don't need to save it. For example one
  activity launches another activity, in this case we don't want to
  save the surface of the activity on the bottom.

bug: 26573100

Change-Id: Id845f87b30cda1cebcc12ad2ac8dbf19a068a86e

8 years agoMerge "Rework selection handling for items in the DirectoryFragment."
Ben Kwa [Thu, 21 Jan 2016 21:28:46 +0000 (21:28 +0000)]
Merge "Rework selection handling for items in the DirectoryFragment."

8 years agoMerge "Send ACTION_DRAG_LOCATION right after ACTION_DRAG_STARTED"
Vladislav Kaznacheev [Thu, 21 Jan 2016 21:26:11 +0000 (21:26 +0000)]
Merge "Send ACTION_DRAG_LOCATION right after ACTION_DRAG_STARTED"

8 years agoCreate SkCanvas on the stack to avoid leaking memeory
Doris Liu [Thu, 21 Jan 2016 20:55:54 +0000 (12:55 -0800)]
Create SkCanvas on the stack to avoid leaking memeory

Bug: 26447978
Change-Id: Ied022c103c3b08e9cfc3cb775a8c95fd5461e81d

8 years agoMerge "Added restriction if a user is allowed to change the icon. BUG: 25305966"
Oleksandr Peletskyi [Thu, 21 Jan 2016 20:25:46 +0000 (20:25 +0000)]
Merge "Added restriction if a user is allowed to change the icon. BUG: 25305966"

8 years agoRework selection handling for items in the DirectoryFragment.
Ben Kwa [Fri, 15 Jan 2016 18:43:24 +0000 (10:43 -0800)]
Rework selection handling for items in the DirectoryFragment.

- Remove the gesture detector from the MultiSelectManager, and
  consolidate gesture detection and event dispatch logic in
  DirectoryFragment.GestureListener.

- Route single-tap events through the DocumentHolder, so that it can
  apply view-specific logic, like making a tap on the item's icon
  select rather than activate.

- Consolidate event handling logic in the ItemEventListener.

- Add new unit tests for DocumentHandler.

BUG=24326546

Change-Id: Id15cdd11b13e4c063c1baff95aa8ee09c190d6c3

8 years agoAdd missing system broadcast actions to the protected list.
Makoto Onuki [Thu, 21 Jan 2016 20:17:14 +0000 (12:17 -0800)]
Add missing system broadcast actions to the protected list.

Bug 26697573

Change-Id: I39e6b90b38c6e1dbe4978be1cb2a10d72b015cba

8 years agoMove delete support into FileOperationService.
Steve McKay [Wed, 20 Jan 2016 23:09:35 +0000 (15:09 -0800)]
Move delete support into FileOperationService.

Refactor Jobs to work with files from multiple providers.
Don't shut down threadpool until service#onDestroy is called.

Bug: 2669679726462789265672052516280326714663
Change-Id: Id43e8e3dc2294cd07dcd6a3477b19efb298c260f

8 years agoMerge "Set WindowSession's touchmode when in local focus mode,"
Matt Wu [Thu, 21 Jan 2016 20:09:36 +0000 (20:09 +0000)]
Merge "Set WindowSession's touchmode when in local focus mode,"

8 years agoAdded restriction if a user is allowed to change the icon.
Oleksandr Peletskyi [Mon, 18 Jan 2016 14:40:21 +0000 (15:40 +0100)]
Added restriction if a user is allowed to change the icon.
BUG: 25305966

Change-Id: I3d527224f00087b2bd959879ebb143e2ecb9c914

8 years agoMerge "Remove unnecessary @inheritDoc, add missing @Override to ViewGroup"
Alan Viverette [Thu, 21 Jan 2016 19:49:00 +0000 (19:49 +0000)]
Merge "Remove unnecessary @inheritDoc, add missing @Override to ViewGroup"

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:30:43 +0000 (19:30 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e am: c151cec56e am: 4831ef3872 am: d877135d61
am: caf53acdd7  -s ours

* commit 'caf53acdd7d4d1c2ec4d5678aa9b6a1c5c1340f8':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:25:51 +0000 (19:25 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e am: c151cec56e am: 4831ef3872
am: d877135d61

* commit 'd877135d616321b4b3013b302e8615a8f8b04ffa':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:20:31 +0000 (19:20 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e am: c151cec56e
am: 4831ef3872

* commit '4831ef3872f7f5c5d2ea0838f0958412e3833aeb':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Init child fragments consistently with activity fragments"
Adam Powell [Thu, 21 Jan 2016 19:19:01 +0000 (19:19 +0000)]
Merge "Init child fragments consistently with activity fragments"

8 years agoMerge "Pass drawing order information to accessibility."
Phil Weaver [Thu, 21 Jan 2016 19:17:48 +0000 (19:17 +0000)]
Merge "Pass drawing order information to accessibility."

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:13:32 +0000 (19:13 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d am: 08d7e9608e
am: c151cec56e

* commit 'c151cec56ec3666b5bb20e8cf7c3dca2500ea353':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Sort the result of SpannableStringBuilder.getSpans"
Siyamed Sinir [Thu, 21 Jan 2016 19:12:28 +0000 (19:12 +0000)]
Merge "Sort the result of SpannableStringBuilder.getSpans"

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:08:07 +0000 (19:08 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours am: 5cb2597a9d
am: 08d7e9608e

* commit '08d7e9608ea822815b15be15a66f26be664ce541':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoAAPT2: Accept empty zip files
Adam Lesinski [Thu, 21 Jan 2016 19:04:46 +0000 (11:04 -0800)]
AAPT2: Accept empty zip files

The libziparchive returns an error on empty zip files.
Work around this by checking for that error condition and
returning an empty ZipFileCollection.

Change-Id: I9edaf2e089456b6ccb4bb099b20ede10331bd352

8 years agoMerge "Update PackageMonitor and LauncherApps for suspended apps."
Kenny Guy [Thu, 21 Jan 2016 19:04:20 +0000 (19:04 +0000)]
Merge "Update PackageMonitor and LauncherApps for suspended apps."

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 19:01:02 +0000 (19:01 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2 am: 1f6dbd910b  -s ours
am: 5cb2597a9d

* commit '5cb2597a9da3202229fdbc91c12b8e172b2b5667':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Introduce BackupManager#requestBackup & BackupObserver API"
Sergey Poromov [Thu, 21 Jan 2016 18:55:28 +0000 (18:55 +0000)]
Merge "Introduce BackupManager#requestBackup & BackupObserver API"

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:54:44 +0000 (18:54 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4 am: 9e52b29fe2
am: 1f6dbd910b  -s ours

* commit '1f6dbd910bf9bf93df8a708209e92add61fbff44':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:48:55 +0000 (18:48 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours am: a76208d4e4
am: 9e52b29fe2

* commit '9e52b29fe27035df4720db582637157ce9ce268d':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoSuspend apps - block
Andrei Stingaceanu [Thu, 14 Jan 2016 19:10:08 +0000 (19:10 +0000)]
Suspend apps - block

* kill app when suspending
* block starting ONLY activities for suspended apps
* do not allow suspending the device admin package

Bug: 22776761
Change-Id: I3ee5fcb2d6828f363ce0f024dbc662ab29275192

8 years agoMerge "Commandeer full screen user switcher for auto."
Rakesh Iyer [Thu, 21 Jan 2016 18:47:07 +0000 (18:47 +0000)]
Merge "Commandeer full screen user switcher for auto."

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:41:55 +0000 (18:41 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a am: 9c841923df  -s ours
am: a76208d4e4

* commit 'a76208d4e4f7f690f5fde4210a00a5c3022721bd':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Don't allow user creation intent to work on non-admin users"
Amith Yamasani [Thu, 21 Jan 2016 18:40:40 +0000 (18:40 +0000)]
Merge "Don't allow user creation intent to work on non-admin users"

8 years agoInit child fragments consistently with activity fragments
Adam Powell [Thu, 14 Jan 2016 20:58:23 +0000 (12:58 -0800)]
Init child fragments consistently with activity fragments

Fragments contained within an activity are restored from instance
state in FragmentActivity.onCreate, but fragments contained within
another fragment were previously restored from instance state in
performCreate after onCreate returned. This meant that developers
couldn't consistently rely on being able to control when this happens
with a call to super.onCreate, and calls to findFragmentByTag to
reconnect with a restored child fragment would fail in ways that
succeed when the fragment is directly added to an activity.

Change child fragment instance state restore to happen during
Fragment.onCreate instead of in performCreate to be consistent with
activity behavior. Preserve the old behavior for apps targeting
an SDK version < N.

Change-Id: I9c88d5554da9a32219d64c70ca638f75ecb233ed

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:37:01 +0000 (18:37 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours am: 0d3e46391a
am: 9c841923df  -s ours

* commit '9c841923dfc36db046909e388b8a2fda3b694be1':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoPass drawing order information to accessibility.
Phil Weaver [Fri, 8 Jan 2016 19:49:32 +0000 (11:49 -0800)]
Pass drawing order information to accessibility.

Bug: 22721935
Change-Id: I45a2be7c174c8b5a469b68a45dec0eb536825d92

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0...
Matthew Williams [Thu, 21 Jan 2016 18:29:33 +0000 (18:29 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0 am: 5fc753acaf  -s ours
am: 0d3e46391a

* commit '0d3e46391a0ffa0c428b8c8082195d1cbc4b1efa':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Stopped closing State FDs in AccountSyncSettingsBackupHelper"
Ritesh Reddy [Thu, 21 Jan 2016 18:20:56 +0000 (18:20 +0000)]
Merge "Stopped closing State FDs in AccountSyncSettingsBackupHelper"

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0
Matthew Williams [Thu, 21 Jan 2016 18:19:53 +0000 (18:19 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93 am: 06ef7dfdf0
am: 5fc753acaf  -s ours

* commit '5fc753acaf9731742957db256b2818376fe8c4a4':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "sysui: refactor PhoneStatusBar"
Xiaohui Chen [Thu, 21 Jan 2016 18:17:54 +0000 (18:17 +0000)]
Merge "sysui: refactor PhoneStatusBar"

8 years agoIntroduce BackupManager#requestBackup & BackupObserver API
Sergey Poromov [Tue, 15 Dec 2015 15:26:23 +0000 (16:26 +0100)]
Introduce BackupManager#requestBackup & BackupObserver API

Introduces a way to request immediate backup for list of packages
and receive callbacks on backup progress.

Bug: 25688526
Change-Id: Ib826933d44f4ebf2b981f8be366215b2d37847e2

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93
Matthew Williams [Thu, 21 Jan 2016 18:14:32 +0000 (18:14 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs am: a5cafd2a93
am: 06ef7dfdf0

* commit '06ef7dfdf0a3efb44326228c55309ec6df134376':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs
Matthew Williams [Thu, 21 Jan 2016 18:07:55 +0000 (18:07 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs
am: a5cafd2a93

* commit 'a5cafd2a93ce1c481328e2ce25c3bf2a19b81601':
  DO NOT MERGE Redact Account info from getCurrentSyncs

8 years agoMerge "Data call retry refactoring" into mm-wireless-dev
Jack Yu [Thu, 21 Jan 2016 18:07:50 +0000 (18:07 +0000)]
Merge "Data call retry refactoring" into mm-wireless-dev
am: 599f62562b

* commit '599f62562b6102f9e3830d5b32a282d23c59e2fd':
  Data call retry refactoring

8 years agoMerge "Fix missing clear identity in AMS.AppTaskImpl#moveToFront"
Clara Bayarri [Thu, 21 Jan 2016 17:45:59 +0000 (17:45 +0000)]
Merge "Fix missing clear identity in AMS.AppTaskImpl#moveToFront"

8 years agoMerge "Work on QS layouts"
Jason Monk [Thu, 21 Jan 2016 17:45:04 +0000 (17:45 +0000)]
Merge "Work on QS layouts"

8 years agoMerge "Data call retry refactoring" into mm-wireless-dev
Jack Yu [Thu, 21 Jan 2016 17:43:19 +0000 (17:43 +0000)]
Merge "Data call retry refactoring" into mm-wireless-dev

8 years agoFix missing clear identity in AMS.AppTaskImpl#moveToFront
Clara Bayarri [Thu, 21 Jan 2016 17:13:15 +0000 (17:13 +0000)]
Fix missing clear identity in AMS.AppTaskImpl#moveToFront

Bug: 26683257
Change-Id: Ic70864aa3e33a5362278b498e2763ce8a70e8fe4

8 years agosysui: refactor PhoneStatusBar
Xiaohui Chen [Tue, 19 Jan 2016 21:52:07 +0000 (13:52 -0800)]
sysui: refactor PhoneStatusBar

Change-Id: I4177d1d02fbafc88ad522bc483e22a68ede075ff

8 years agoMerge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNam...
Sergio Giro [Thu, 21 Jan 2016 17:25:12 +0000 (17:25 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser" am: eb93182dfb
am: e2296d490d

* commit 'e2296d490dba8dad4d3d0831d94c4194c9ed37f3':
  org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

8 years agoMerge "Ensure Texture always binds to self"
John Reck [Thu, 21 Jan 2016 17:21:05 +0000 (17:21 +0000)]
Merge "Ensure Texture always binds to self"

8 years agoMerge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNam...
Sergio Giro [Thu, 21 Jan 2016 17:20:41 +0000 (17:20 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"
am: eb93182dfb

* commit 'eb93182dfb862df27e479d30c7b8e12f13e5def5':
  org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

8 years agoMerge "Remove NanumGothic and DroidSansFallback from fonts.xml."
Ben Wagner [Thu, 21 Jan 2016 17:13:05 +0000 (17:13 +0000)]
Merge "Remove NanumGothic and DroidSansFallback from fonts.xml."

8 years agoEnsure Texture always binds to self
John Reck [Thu, 21 Jan 2016 17:08:42 +0000 (09:08 -0800)]
Ensure Texture always binds to self

Bug: 26584230

In the event that Texture decides it doesn't
need to actually call glTexImage2D/glSubTexImage2D
it needs to still activateTexture(0) and bindTexture(mId)
as this is the expected state after Texture::upload()
is called.

Change-Id: I62d689a9057907a10dda2bc8f40c3113e43b93b2

8 years agoMerge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNam...
Sergio Giro [Thu, 21 Jan 2016 17:08:21 +0000 (17:08 +0000)]
Merge "org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser"

8 years agoMerge "Close picture-in-picture when a fullscreen app starts to play a video"
Youngsang Cho [Thu, 21 Jan 2016 17:08:05 +0000 (17:08 +0000)]
Merge "Close picture-in-picture when a fullscreen app starts to play a video"

8 years agoClose picture-in-picture when a fullscreen app starts to play a video
Youngsang Cho [Sat, 16 Jan 2016 00:59:27 +0000 (16:59 -0800)]
Close picture-in-picture when a fullscreen app starts to play a video

Bug: 26549507
Change-Id: I27e8f7b1847bf0e34e7c47bf6303c425c3eb9127

8 years agoorg.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser
Sergio Giro [Thu, 21 Jan 2016 15:25:01 +0000 (15:25 +0000)]
org.apache.conn.ssl: rename DistinguishedNameParser to AndroidDistinguishedNameParser

The name DistinguishedNameParser is used by other libraries having the
same package, and some apps incorrectly include packages that are
present in the boot classpath. This relatively newly introduced
DistinguishedNameParser ends up hiding the ones in the libraries.

Bug: 26647082
Change-Id: I735aef3c1e5dd04e5a8e2eda6da6d9c9179f1c70

8 years agoRemove NanumGothic and DroidSansFallback from fonts.xml.
Ben Wagner [Thu, 21 Jan 2016 16:45:13 +0000 (11:45 -0500)]
Remove NanumGothic and DroidSansFallback from fonts.xml.

These two fonts are no longer installed on a device.
This leaves the fonts themselves in place for the sdk build.

Change-Id: Ib69e73a6682d7eedd7b824f1dadc79cbccf07605

8 years agoMerge "Treat empty strings similar to null-strings when composing the subtitle in...
Philip P. Moltmann [Thu, 21 Jan 2016 16:06:45 +0000 (16:06 +0000)]
Merge "Treat empty strings similar to null-strings when composing the subtitle in the SelectPrinterActivity."

8 years agoMerge "Shorten LOG_TAGs to fit in 23 characters as commented on by lint."
Philip P. Moltmann [Thu, 21 Jan 2016 16:06:17 +0000 (16:06 +0000)]
Merge "Shorten LOG_TAGs to fit in 23 characters as commented on by lint."

8 years agoRemove unnecessary @inheritDoc, add missing @Override to ViewGroup
Alan Viverette [Thu, 21 Jan 2016 15:50:10 +0000 (10:50 -0500)]
Remove unnecessary @inheritDoc, add missing @Override to ViewGroup

No functional changes. The default behavior for overridden methods is
@inheritDoc, so a standalone annotation is not necessary.

Change-Id: I3ace1989e9035ecf3cf8f7acc5391de1c1ff7c65

8 years agoWork on QS layouts
Jason Monk [Wed, 20 Jan 2016 21:33:46 +0000 (16:33 -0500)]
Work on QS layouts

Better layouts, less work, more columns... sometimes.

Also fix some bugs.

Bug: 26705136

Change-Id: Ia368791259a1a91522a3efb70729919da79e37ea

8 years agoMerge "Move alert dialog title into date picker header"
Alan Viverette [Thu, 21 Jan 2016 15:24:27 +0000 (15:24 +0000)]
Merge "Move alert dialog title into date picker header"

8 years agoUpdate PackageMonitor and LauncherApps for suspended apps.
Kenny Guy [Fri, 15 Jan 2016 13:29:06 +0000 (13:29 +0000)]
Update PackageMonitor and LauncherApps for suspended apps.

Allow launchers to read ApplicationInfo from LauncherApps
to support suspended flag.
Provide callback to launchers via LauncherApps for suspend
/unsuspend broadcasts.

Change-Id: I772a121c45f60f926e8343bb6f181bef4e8929d3

8 years agoMerge "Add a guard against NullPointerException in RestrictedLockUtils."
Sudheer Shanka [Thu, 21 Jan 2016 14:22:50 +0000 (14:22 +0000)]
Merge "Add a guard against NullPointerException in RestrictedLockUtils."

8 years agoDO NOT MERGE Redact Account info from getCurrentSyncs
Matthew Williams [Tue, 19 Jan 2016 23:04:04 +0000 (23:04 +0000)]
DO NOT MERGE Redact Account info from getCurrentSyncs

BUG:26094635
If the caller to ContentResolver#getCurrentSyncs does not hold the
GET_ACCOUNTS permission, return a SyncInfo object that does not
contain any Account information.

Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314
(cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)

8 years agoAdd a guard against NullPointerException in RestrictedLockUtils.
Sudheer Shanka [Thu, 21 Jan 2016 13:47:51 +0000 (13:47 +0000)]
Add a guard against NullPointerException in RestrictedLockUtils.

Change-Id: I1eb7852cf58a4435a2c7627a569ade5f44855bf7

8 years agoDeals with translation and scaling in layoutlib am: ded4d14e33
Jerome Gaillard [Thu, 21 Jan 2016 13:19:57 +0000 (13:19 +0000)]
Deals with translation and scaling in layoutlib am: ded4d14e33
am: cc90965d8f

* commit 'cc90965d8f3b8779fc477ec8a43b16306e5da535':
  Deals with translation and scaling in layoutlib

8 years agoDeals with translation and scaling in layoutlib
Jerome Gaillard [Thu, 21 Jan 2016 13:16:02 +0000 (13:16 +0000)]
Deals with translation and scaling in layoutlib
am: ded4d14e33

* commit 'ded4d14e3348ebb0cdfa3498a53d3fbfc58b2043':
  Deals with translation and scaling in layoutlib

8 years agoMerge "Log app process start from ActivityManagerService"
Rubin Xu [Thu, 21 Jan 2016 12:49:11 +0000 (12:49 +0000)]
Merge "Log app process start from ActivityManagerService"

8 years agoLog app process start from ActivityManagerService
Rubin Xu [Mon, 11 Jan 2016 12:19:44 +0000 (12:19 +0000)]
Log app process start from ActivityManagerService

Information about app process start is logged to the security buffer
as part of the device owner process logging feature.

Bug: 22860162
Change-Id: I752fd3196845577c7c39d9d6b109e7d18b197322

8 years agoMerge "Fix admin check in Settings."
Sudheer Shanka [Thu, 21 Jan 2016 12:32:06 +0000 (12:32 +0000)]
Merge "Fix admin check in Settings."

8 years agoDeals with translation and scaling in layoutlib
Jerome Gaillard [Thu, 21 Jan 2016 11:21:47 +0000 (11:21 +0000)]
Deals with translation and scaling in layoutlib

Layoutlib now correctly interprets the translation and scaling
xml attributes of views, by implementing what the Android platform
does in native code.

Change-Id: Ie8465f40ef4508d3c31796200800f12cb8f883a4

8 years agoMerge "Added new password quality constant PASSWORD_QUALITY_MANAGED to make it possib...
Oleksandr Peletskyi [Thu, 21 Jan 2016 11:03:54 +0000 (11:03 +0000)]
Merge "Added new password quality constant PASSWORD_QUALITY_MANAGED to make it possible to prevent user from unlock modification. BUG: 25549437"

8 years agoExtract APKs on install or OTA
David Brazdil [Wed, 20 Jan 2016 14:04:40 +0000 (14:04 +0000)]
Extract APKs on install or OTA

ART will unzip APKs in memory during launch if an OAT file is not
present. To save the time and memory, this patch will invoke dex2oat
with '--compiler-filter=verify-at-runtime' to unzip the APK during
install or after an OTA.

Change-Id: I16583f9450ad60356123a29f7a6a649b2ab9999f

8 years agoMerge "Ensure EditorInfo#locales is set before return."
Yohei Yukawa [Thu, 21 Jan 2016 06:06:49 +0000 (06:06 +0000)]
Merge "Ensure EditorInfo#locales is set before return."

8 years agoFix admin check in Settings.
Ruben Brunk [Thu, 21 Jan 2016 05:59:09 +0000 (21:59 -0800)]
Fix admin check in Settings.

- This check is broken when there are no Admins on the device.
- Blocks enabling NotificationListenerServices in Settings.

Change-Id: I2c30daf2fc4632d55e84f0e499e3ceedbe162b98

8 years agoMerge "Accessibility services can turn themselves off b/22514381 Added disableSelf...
Jinsong Mu [Thu, 21 Jan 2016 06:01:22 +0000 (06:01 +0000)]
Merge "Accessibility services can turn themselves off b/22514381 Added disableSelf() method to AccessibilityService This newly added api used used in https://googleplex-android-review.git.corp.google.com/#/c/833857/"

8 years agoAccessibility services can turn themselves off b/22514381
Jinsong Mu [Mon, 14 Dec 2015 23:58:41 +0000 (15:58 -0800)]
Accessibility services can turn themselves off b/22514381
Added disableSelf() method to AccessibilityService
This newly added api used used in
https://googleplex-android-review.git.corp.google.com/#/c/833857/

Change-Id: I5fe60181058ef90dd496318cf270e0825bcc411a

8 years agoFix SystemUI animator leak am: 3c988197fa am: 7a1c656269
Jorim Jaggi [Thu, 21 Jan 2016 05:43:17 +0000 (05:43 +0000)]
Fix SystemUI animator leak am: 3c988197fa am: 7a1c656269
am: 8867fbdd8d

* commit '8867fbdd8d9a76ea31485f40822e6f77cb89725e':
  Fix SystemUI animator leak

8 years agoFix SystemUI animator leak am: 3c988197fa
Jorim Jaggi [Thu, 21 Jan 2016 05:38:53 +0000 (05:38 +0000)]
Fix SystemUI animator leak am: 3c988197fa
am: 7a1c656269

* commit '7a1c6562694faaee4bf30a3b06573e96e93034ff':
  Fix SystemUI animator leak

8 years agoFix SystemUI animator leak
Jorim Jaggi [Thu, 21 Jan 2016 05:34:13 +0000 (05:34 +0000)]
Fix SystemUI animator leak
am: 3c988197fa

* commit '3c988197fac989e4cca7fd1a96f6489e8ed4a05b':
  Fix SystemUI animator leak

8 years agoMerge "Do not launch a quick viewer unless it's whitelisted."
Tomasz Mikolajewski [Thu, 21 Jan 2016 05:13:33 +0000 (05:13 +0000)]
Merge "Do not launch a quick viewer unless it's whitelisted."

8 years agoEnsure EditorInfo#locales is set before return.
Yohei Yukawa [Thu, 21 Jan 2016 05:09:33 +0000 (21:09 -0800)]
Ensure EditorInfo#locales is set before return.

This is a follow up CL for the previous CL [1], which mistakenly put
the initialization code of EditorInfo#locales after return statement.

  [1]: I77db5b99a7cf745d800db75baf135bb60ad04820
       8d6eeb01df72891acd3aa75e64aa1595a41cc96e

With this CL, the IME starts receiving correctly initialized LocaleList
as expected.

Bug: 22859862
Change-Id: I738ffaaf07091d8b980f8bfc6e16227fcb85a96a

8 years agoMerge "Support for CEA-708 closed caption"
Jaesung Chung [Thu, 21 Jan 2016 03:41:01 +0000 (03:41 +0000)]
Merge "Support for CEA-708 closed caption"

8 years agoDo not launch a quick viewer unless it's whitelisted.
Tomasz Mikolajewski [Thu, 21 Jan 2016 03:38:03 +0000 (12:38 +0900)]
Do not launch a quick viewer unless it's whitelisted.

Bug: 26697917
Change-Id: Ibe2c7c462380c219d6ce5b5c69af6dac0df62d41

8 years agoMerge "Ensure to release local reference in AppFuse JNI."
Daichi Hirono [Thu, 21 Jan 2016 03:34:17 +0000 (03:34 +0000)]
Merge "Ensure to release local reference in AppFuse JNI."

8 years agoMerge "Fix copying virtual files."
Tomasz Mikolajewski [Thu, 21 Jan 2016 03:32:53 +0000 (03:32 +0000)]
Merge "Fix copying virtual files."

8 years agoCommandeer full screen user switcher for auto.
Rakesh Iyer [Thu, 14 Jan 2016 21:37:15 +0000 (13:37 -0800)]
Commandeer full screen user switcher for auto.

The full screen user switcher wasn't needed by the original
author so adapt it for the auto use case because it fits
really well. This change adds in some legal text (TBR - legal)
and tweaks the layout a bit.

Bug: 26559008
Change-Id: Ib78d0ec8a8d4ec8411dbbffe5852c5307c2cf42f

8 years agoMerge "Record bytes transferred for bluetooth"
Adam Lesinski [Thu, 21 Jan 2016 02:22:04 +0000 (02:22 +0000)]
Merge "Record bytes transferred for bluetooth"

8 years agoEnsure to release local reference in AppFuse JNI.
Daichi Hirono [Wed, 20 Jan 2016 10:01:57 +0000 (19:01 +0900)]
Ensure to release local reference in AppFuse JNI.

Previously get_object_bytes() leaked local reference of Java buffer
array.

BUG=None

Change-Id: Ic27e57281f984fee4aa285ad21de522ccb0fe4ed

8 years agoMerge "Fix race in AppFuseTest."
Daichi Hirono [Thu, 21 Jan 2016 02:05:29 +0000 (02:05 +0000)]
Merge "Fix race in AppFuseTest."