OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Fix MediaExtractor.getDrmInitData implementation for webm" into nyc-dev
Robert Shih [Mon, 4 Apr 2016 17:09:43 +0000 (17:09 +0000)]
Merge "Fix MediaExtractor.getDrmInitData implementation for webm" into nyc-dev

8 years agoMerge "Make a11y text navigation by page symmetric." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:37:04 +0000 (16:37 +0000)]
Merge "Make a11y text navigation by page symmetric." into nyc-dev

8 years agoMerge "Support SET_TEXT for editable text views." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:34 +0000 (16:36 +0000)]
Merge "Support SET_TEXT for editable text views." into nyc-dev

8 years agoMerge "Add accessibility window title and anchor." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:00 +0000 (16:36 +0000)]
Merge "Add accessibility window title and anchor." into nyc-dev

8 years agoMerge "Remove docs for removed a11y gesture methods." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:34:26 +0000 (16:34 +0000)]
Merge "Remove docs for removed a11y gesture methods." into nyc-dev

8 years agoMerge "Don't try to compress .mkv resources" into nyc-dev
Wonsik Kim [Mon, 4 Apr 2016 14:46:09 +0000 (14:46 +0000)]
Merge "Don't try to compress .mkv resources" into nyc-dev

8 years agoMerge "Fix intent filter priorities" into nyc-dev
Todd Kennedy [Mon, 4 Apr 2016 14:20:15 +0000 (14:20 +0000)]
Merge "Fix intent filter priorities" into nyc-dev

8 years agoMerge "Update Path and RenderNode delegates to new API" into nyc-dev
Diego Perez [Mon, 4 Apr 2016 12:22:20 +0000 (12:22 +0000)]
Merge "Update Path and RenderNode delegates to new API" into nyc-dev

8 years agoMerge "Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into...
Yi Kong [Mon, 4 Apr 2016 11:57:31 +0000 (11:57 +0000)]
Merge "Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into nyc-dev

8 years agoTrack libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)
Yi Kong [Mon, 4 Apr 2016 10:26:00 +0000 (11:26 +0100)]
Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)

Bug: 27960078
Change-Id: I74709bc8a2543ceb54ad3cf2c3018f175ff20e24
(cherry picked from commit c2a708596ff37cb01499a8a5a82af038baa85463)

8 years agoTrack libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787
Yi Kong [Fri, 1 Apr 2016 19:53:10 +0000 (20:53 +0100)]
Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787

Bug: 27960078
Change-Id: If89390ad1ddc3088a8552107bf27a51b1d3c6d02
(cherry picked from commit 2513fc3b7eb3a8b668fcf280cc8ed45bd20e1893)

8 years agoUpdate Path and RenderNode delegates to new API
Diego Perez [Mon, 4 Apr 2016 09:18:55 +0000 (10:18 +0100)]
Update Path and RenderNode delegates to new API

RenderNode_Delegate nCreate now takes a reference to this. In the
Path_Delegate, the native_offset call with a destination path has been
removed.

Change-Id: I6332bb4733974b817e8a29eab82e2218fcf942c4

8 years agoMerge "Grant NFC tag app default permissions." into nyc-dev
Martijn Coenen [Mon, 4 Apr 2016 08:05:14 +0000 (08:05 +0000)]
Merge "Grant NFC tag app default permissions." into nyc-dev

8 years agoMerge "MediaBrowser: Make EXTRA_PAGE zero-based" into nyc-dev
Sungsoo Lim [Mon, 4 Apr 2016 06:56:11 +0000 (06:56 +0000)]
Merge "MediaBrowser: Make EXTRA_PAGE zero-based" into nyc-dev

8 years agoDon't try to compress .mkv resources
Wonsik Kim [Mon, 4 Apr 2016 06:39:40 +0000 (15:39 +0900)]
Don't try to compress .mkv resources

Bug: 27987970
Change-Id: I58e920e81d1e79b7fbba479d8fb34afb3911f97d

8 years agoMerge "Don't broadcast <Standby> message during shutdown when setting is disabled...
Donghyun Cho [Mon, 4 Apr 2016 05:18:07 +0000 (05:18 +0000)]
Merge "Don't broadcast <Standby> message during shutdown when setting is disabled" into nyc-dev

8 years agoDon't broadcast <Standby> message during shutdown when setting is disabled
Donghyun Cho [Fri, 1 Apr 2016 05:31:11 +0000 (14:31 +0900)]
Don't broadcast <Standby> message during shutdown when setting is disabled

When the system is shutting down or the screen is going to be off, <Standby>
message will be broadcasted if and only if the setting variable,
Settings.Global#HDMI_CONTROL_AUTO_DEVICE_OFF_ENABLED, is enabled. This change
will make the shutdown case to be checked with the setting properly, too.

Bug: 27781559
Change-Id: Ia6605d6b5627ab1ff67285d72846b618a09548bc

8 years agoMerge "Use proper package name and UID when checking write settings access" into...
Svetoslav Ganov [Mon, 4 Apr 2016 05:15:20 +0000 (05:15 +0000)]
Merge "Use proper package name and UID when checking write settings access" into nyc-dev

8 years agoUse proper package name and UID when checking write settings access
Svet Ganov [Mon, 4 Apr 2016 05:04:22 +0000 (22:04 -0700)]
Use proper package name and UID when checking write settings access

bug:26941229

Change-Id: I338fe6dd7c1b97f273909672cdd7d4fa207185ce

8 years agoMerge "Turn on HDMI-related logs conditionally for better debugging" into nyc-dev
Donghyun Cho [Mon, 4 Apr 2016 05:04:04 +0000 (05:04 +0000)]
Merge "Turn on HDMI-related logs conditionally for better debugging" into nyc-dev

8 years agoMerge "Kill app if revoking a permission while resetting app prefs" into nyc-dev
Svetoslav Ganov [Mon, 4 Apr 2016 04:18:50 +0000 (04:18 +0000)]
Merge "Kill app if revoking a permission while resetting app prefs" into nyc-dev

8 years agoKill app if revoking a permission while resetting app prefs
Svet Ganov [Mon, 4 Apr 2016 04:16:13 +0000 (21:16 -0700)]
Kill app if revoking a permission while resetting app prefs

bug:25895994

Change-Id: I78616ab5f9addbd91d2f4d12a8161544f482ec43

8 years agoMerge "Make TextViewActivityTest stable by sleeping between clicks." into nyc-dev
Keisuke Kuroyanagi [Mon, 4 Apr 2016 03:39:18 +0000 (03:39 +0000)]
Merge "Make TextViewActivityTest stable by sleeping between clicks." into nyc-dev

8 years agoMerge "Make hasTransientState be true only if user created selection is active."...
Keisuke Kuroyanagi [Mon, 4 Apr 2016 03:12:30 +0000 (03:12 +0000)]
Merge "Make hasTransientState be true only if user created selection is active." into nyc-dev

8 years agoMediaBrowser: Make EXTRA_PAGE zero-based
Sungsoo Lim [Mon, 4 Apr 2016 01:09:30 +0000 (10:09 +0900)]
MediaBrowser: Make EXTRA_PAGE zero-based

Bug: 27948393
Change-Id: I97fb6b5f13ffb8e006ed4a7efc06e7f45fb5121a

8 years agoMerge "Support direct-boot tests." into nyc-dev
Jeff Sharkey [Sun, 3 Apr 2016 03:59:21 +0000 (03:59 +0000)]
Merge "Support direct-boot tests." into nyc-dev

8 years agoSupport direct-boot tests.
Jeff Sharkey [Sat, 2 Apr 2016 05:20:31 +0000 (23:20 -0600)]
Support direct-boot tests.

Add shell commands to check on current FBE status and system ready
status.  Mark variables without first-class locking as volatile.

Fix bug where UI automation would crash while device was locked by
marking it as forced direct-boot aware.

Bug: 26498834
Change-Id: Ib4dfb9350925e5413f93a09baacf84c62f2ba0ea

8 years agoMerge "Fix extra data in cache" into nyc-dev
Simranjit Kohli [Sat, 2 Apr 2016 06:09:25 +0000 (06:09 +0000)]
Merge "Fix extra data in cache" into nyc-dev

8 years agoFix extra data in cache
Simranjit Kohli [Thu, 10 Mar 2016 18:36:11 +0000 (18:36 +0000)]
Fix extra data in cache

Reverting the revert.
The original CL(commit a666d74d4bc7e1298314c516d1309571fb87c212) had a
bug in it. It was calling accountExistsCacheLocked(), while holding
accounts.cacheLock. The function accountExistsCacheLocked, was in turn
calling into getUserAccounts, which acquires mUsers. And this causes
trouble. mUsers is a a lock on all accounts, and hence calling it after
holding accounts.cachelock is calling for trouble. Since the locks are
acquired in other order, it causes a potential deadlock issue, which we
discovered later on.

That bug was fixed by commit 0e592733ecbde2b7e7f2aa92001656dfbcae9641.
We already have useraccount object and should reuse it.

This reverts commit 27d0e1fd660a7e92644ab6a2893ac1149f0c0488. This
commit was unneeded as the bug had been fixed by that time.

Change-Id: I5328c31fd485fd2c1c652cd0e7c2c4bded38a5fd

8 years agoMerge "Added handling apps query response from context hub" into nyc-dev
Ashutosh Joshi [Sat, 2 Apr 2016 04:18:37 +0000 (04:18 +0000)]
Merge "Added handling apps query response from context hub" into nyc-dev

8 years agoMerge "Fix suggestions in the language selector" into nyc-dev
Mihai Niță [Sat, 2 Apr 2016 03:24:52 +0000 (03:24 +0000)]
Merge "Fix suggestions in the language selector" into nyc-dev

8 years agoAdded handling apps query response from context hub
Ashutosh Joshi [Tue, 29 Mar 2016 16:19:56 +0000 (09:19 -0700)]
Added handling apps query response from context hub

Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.

Change-Id: Ie96a860774d005ad6ad72acc88dc79964835486b

8 years agoDo not clear INSCREEN and INSET_DECOR for resolver
Jorim Jaggi [Fri, 1 Apr 2016 23:55:54 +0000 (16:55 -0700)]
Do not clear INSCREEN and INSET_DECOR for resolver

Since we switched this activity to draw the system bar backgrounds,
and clearing these flags leads to that we don't get the insets
communicated, we need to remove the clearing of the flags.

Bug: 27914346
Change-Id: I72114ac7cec40933fa45891b3d1441bd30f883d4

8 years agoMerge "Don't performPendingDeferredStart on fragments that aren't added" into nyc-dev
Adam Powell [Sat, 2 Apr 2016 01:08:59 +0000 (01:08 +0000)]
Merge "Don't performPendingDeferredStart on fragments that aren't added" into nyc-dev

8 years agoMerge "AudioTrack.Builder: fix javadoc code sample" into nyc-dev
Jean-Michel Trivi [Sat, 2 Apr 2016 00:55:19 +0000 (00:55 +0000)]
Merge "AudioTrack.Builder: fix javadoc code sample" into nyc-dev

8 years agoAudioTrack.Builder: fix javadoc code sample
Jean-Michel Trivi [Sat, 2 Apr 2016 00:23:19 +0000 (17:23 -0700)]
AudioTrack.Builder: fix javadoc code sample

Fix sample rate in javadoc code sample.

Bug 24499652

Change-Id: I8d92ff34981cb4486e780d74213ed88fd3f74cc6

8 years agoMerge "Updating screenshot icon." into nyc-dev
Winson Chung [Sat, 2 Apr 2016 00:22:49 +0000 (00:22 +0000)]
Merge "Updating screenshot icon." into nyc-dev

8 years agoMerge "Disabling the nav bar scrim when Recents is docked." into nyc-dev
Winson Chung [Sat, 2 Apr 2016 00:22:36 +0000 (00:22 +0000)]
Merge "Disabling the nav bar scrim when Recents is docked." into nyc-dev

8 years agoFix flicker when unlocking
Jorim Jaggi [Fri, 1 Apr 2016 23:05:10 +0000 (16:05 -0700)]
Fix flicker when unlocking

When the device was locked the fullscreen stack was laid out
fulllscreen, even though the configuration was half-screen, which
lead to a race between the app drawing and the unlock animation
so sometimes you could see the fullscreen frame when the unlock
animation started.

Instead, only layout in fullscreen if the docked stack is fully
"hidden".

Bug: 27154882
Change-Id: I4ba0c396eb0312c2bf2d911903b68c88d28aae8c

8 years agoUpdating screenshot icon.
Winson [Fri, 1 Apr 2016 23:50:18 +0000 (16:50 -0700)]
Updating screenshot icon.

Bug: 27616556
Change-Id: I613f8914330e3ad86856fb2bbe60adb4df09973d

8 years agoFix suggestions in the language selector
Mihai Nita [Fri, 1 Apr 2016 18:50:59 +0000 (11:50 -0700)]
Fix suggestions in the language selector

The current implementation makes the decision based on the
list of locales translated in frameworks/base

It will break if we remove country from the resource locale IDs
(e.g. fr-FR => fr)
It also offers no flexibility in case we want to suggest a country
based on other criteria.

Bug: 27378061
Change-Id: I3d8514e8abff83a4c98c5658533738611cf12576

8 years agoMerge "Fixing issue with transition jump due to wrong insets." into nyc-dev
Winson Chung [Fri, 1 Apr 2016 23:52:19 +0000 (23:52 +0000)]
Merge "Fixing issue with transition jump due to wrong insets." into nyc-dev

8 years agoMerge "Removed get-metered-network command." into nyc-dev
Felipe Leme [Fri, 1 Apr 2016 23:43:37 +0000 (23:43 +0000)]
Merge "Removed get-metered-network command." into nyc-dev

8 years agoFix MediaExtractor.getDrmInitData implementation for webm
Robert Shih [Fri, 1 Apr 2016 22:00:01 +0000 (15:00 -0700)]
Fix MediaExtractor.getDrmInitData implementation for webm

Should lookup "crypto-key" in individual track formats instead of file format.

Bug: 26070802
Change-Id: I1a0f59e7bca1d311631e7ad90b9a403ac20d319b

8 years agoMerge "ShortcutManager: implement backup & restore" into nyc-dev
Makoto Onuki [Fri, 1 Apr 2016 23:18:41 +0000 (23:18 +0000)]
Merge "ShortcutManager: implement backup & restore" into nyc-dev

8 years agoMerge "Removed improper check on mCalledExitCoordinator." into nyc-dev
George Mount [Fri, 1 Apr 2016 23:06:57 +0000 (23:06 +0000)]
Merge "Removed improper check on mCalledExitCoordinator." into nyc-dev

8 years agoGet name and address without enabling Bluetooth
Ajay Panicker [Thu, 31 Mar 2016 21:14:27 +0000 (14:14 -0700)]
Get name and address without enabling Bluetooth

Bug: 27665077
Change-Id: I2a06c1a65f22b2f9095a859f5bdd39d4626da165

8 years agoAllow app to force orientation if dock minimized
Jorim Jaggi [Fri, 1 Apr 2016 22:32:28 +0000 (15:32 -0700)]
Allow app to force orientation if dock minimized

Change-Id: I4bf1346de83922f866095465470e1a1c305b71a1
Fixes: 27437129

8 years agoRemoved get-metered-network command.
Felipe Leme [Wed, 30 Mar 2016 23:14:54 +0000 (16:14 -0700)]
Removed get-metered-network command.

The behavior of this command was not well specified in case of errors,
so it's better to remove it and let clients use 'list wifi-networks'
instead, checking for the value of the 'metered' column.

BUG: 27808364

Change-Id: I3f4216c143b4b2a803b99002585fafe0e3885665

8 years agofix build break
Chong Zhang [Fri, 1 Apr 2016 22:31:46 +0000 (15:31 -0700)]
fix build break

bug: 27834014
Change-Id: Ib5d03818d285c50d220c45ebace635faf6771ff3

8 years agoDisabling the nav bar scrim when Recents is docked.
Winson [Wed, 30 Mar 2016 18:59:22 +0000 (11:59 -0700)]
Disabling the nav bar scrim when Recents is docked.

Bug: 27869246

Change-Id: I554b299c7e577f40811fc02d6ff4a46313ff1622

8 years agoDon't performPendingDeferredStart on fragments that aren't added
Adam Powell [Fri, 1 Apr 2016 22:29:04 +0000 (15:29 -0700)]
Don't performPendingDeferredStart on fragments that aren't added

Framework edition

When setting a user visibility hint on a fragment it was possible to
have a FragmentManager already set due to a transaction being composed
but before the commit, so only checking that we have one isn't
sufficient for determining whether we should perform a pending
deferred start. This could happen easily with ViewPager adapters. Use
isAdded() instead.

Also fix a bug where we could set our internal tracking of fragments
that need a deferred start incorrectly.

Bug 27814550

Change-Id: I3be65728650c48d27a3a9dd4ca15f52006d14ab9

8 years agoMerge "Teach keyguard about PASSWORD_QUALITY_MANAGED" into nyc-dev
Toni Barzic [Fri, 1 Apr 2016 22:28:56 +0000 (22:28 +0000)]
Merge "Teach keyguard about PASSWORD_QUALITY_MANAGED" into nyc-dev

8 years agoFixing issue with transition jump due to wrong insets.
Winson [Thu, 31 Mar 2016 22:36:07 +0000 (15:36 -0700)]
Fixing issue with transition jump due to wrong insets.

Bug: 27921362
Change-Id: I4139be85253451a70bedbf3b860fc7d652704b0b

8 years agoMerge "Fix NPE in AlarmManager.cancel(...)" into nyc-dev
Joe LaPenna [Fri, 1 Apr 2016 22:22:44 +0000 (22:22 +0000)]
Merge "Fix NPE in AlarmManager.cancel(...)" into nyc-dev

8 years agoMerge "Adds Soundtrigger Stub HAL Fuzz Test" into nyc-dev
Ryan Bavetta [Fri, 1 Apr 2016 22:20:42 +0000 (22:20 +0000)]
Merge "Adds Soundtrigger Stub HAL Fuzz Test" into nyc-dev

8 years agoFixing regression in drawing thumbnail background.
Winson [Fri, 1 Apr 2016 19:17:02 +0000 (12:17 -0700)]
Fixing regression in drawing thumbnail background.

- Between the time that the task view is bound and the thumbnail is
  loaded, we should still draw the background color instead of nothing.

Bug: 27971061
Change-Id: I5b7a607b86a0da20fc6ca183b1d7bc4e9db9e377

8 years agoAdds Soundtrigger Stub HAL Fuzz Test
Ryan Bavetta [Mon, 28 Mar 2016 19:52:02 +0000 (12:52 -0700)]
Adds Soundtrigger Stub HAL Fuzz Test

Change-Id: I7035a6332c93f2630b0114dc6930e66f89cc86cd

8 years agoLaunch everything from the shade in full-screen stack
Jorim Jaggi [Mon, 28 Mar 2016 20:38:45 +0000 (13:38 -0700)]
Launch everything from the shade in full-screen stack

Bug: 27864383
Change-Id: I2925661f1c325f4385876188a5866ab6b57a8f19

8 years agoMerge "Avoid extra relaunch when rotating side-by-side apps" into nyc-dev
Chong Zhang [Fri, 1 Apr 2016 21:56:44 +0000 (21:56 +0000)]
Merge "Avoid extra relaunch when rotating side-by-side apps" into nyc-dev

8 years agoMerge "AudioTrack.Builder: fix javadoc code sample" into nyc-dev
Jean-Michel Trivi [Fri, 1 Apr 2016 21:53:22 +0000 (21:53 +0000)]
Merge "AudioTrack.Builder: fix javadoc code sample" into nyc-dev

8 years agoAudioTrack.Builder: fix javadoc code sample
Jean-Michel Trivi [Fri, 1 Apr 2016 18:17:25 +0000 (11:17 -0700)]
AudioTrack.Builder: fix javadoc code sample

Code sample in javadoc for AudioTrack.Builder didn't compile.

Bug 24499652

Change-Id: Ib881052bdebd74a25bb86ab73f9679b17c3ce62b

8 years agoMerge "Audio recording activity notification: change callback name" into nyc-dev
Jean-Michel Trivi [Fri, 1 Apr 2016 21:48:39 +0000 (21:48 +0000)]
Merge "Audio recording activity notification: change callback name" into nyc-dev

8 years agoMerge "Add metrics for keyboard shortcuts" into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 21:45:15 +0000 (21:45 +0000)]
Merge "Add metrics for keyboard shortcuts" into nyc-dev

8 years agoMerge "Change UCE permissions from dangerous to signatureOrSystem" into nyc-dev
Pavel Zhamaitsiak [Fri, 1 Apr 2016 21:27:30 +0000 (21:27 +0000)]
Merge "Change UCE permissions from dangerous to signatureOrSystem" into nyc-dev

8 years agoFix NPE in AlarmManager.cancel(...)
Joe LaPenna [Fri, 1 Apr 2016 20:37:37 +0000 (13:37 -0700)]
Fix NPE in AlarmManager.cancel(...)

If AlarmManager.cancel is called before any component has had a chance
to register an alarm, sWrappers will not have been set, as it is only
initialized in setImpl.

When cancelling an alarm and sWrappers does not exist, log a warning and
return early.

BUG: 27972657
Change-Id: Ied10719ba1d154f97eecfc32f429fd9ce39bf747

8 years agoShortcutManager: implement backup & restore
Makoto Onuki [Wed, 30 Mar 2016 15:30:36 +0000 (08:30 -0700)]
ShortcutManager: implement backup & restore

Also:
- Fix cross profile pinning.  Now ShortcutLauncher correctly keeps
track of target package user IDs.

- Add performance stats for package manager calls and show them on
dumpsys.

Bug 27548047

Change-Id: I2472980b2955b6c70947aaaa9b76f75d0616db6e

8 years agoAvoid extra relaunch when rotating side-by-side apps
Chong Zhang [Thu, 31 Mar 2016 16:44:34 +0000 (09:44 -0700)]
Avoid extra relaunch when rotating side-by-side apps

Update configuration with WM first and check if the stacks need to be
resized due to the update. If so, let activity manager resize the stacks
inline, instead of letting WM schedule another pass of resizeStack. This
way the configuration will be updated to the latest before ensureActivity-
ConfigurationLocked, and we don't need another relaunch there.

bug: 27834014

Change-Id: Ib761a96cada0c3247b0480f18370670c593159da

8 years agoRevert "Added handling apps query response from context hub"
Ashutosh Joshi [Fri, 1 Apr 2016 20:48:13 +0000 (20:48 +0000)]
Revert "Added handling apps query response from context hub"

This reverts commit adf75e31f52a7a935a66a884fb55631c7309ee75.

Change-Id: I8391eb57c3a53e686bd817d27860fa6f785113f1

8 years agoMerge "Revert "Ensuring builds compile for both 32 bit and 64 bit targets."" into...
Ashutosh Joshi [Fri, 1 Apr 2016 20:48:41 +0000 (20:48 +0000)]
Merge "Revert "Ensuring builds compile for both 32 bit and 64 bit targets."" into nyc-dev

8 years agoRevert "Ensuring builds compile for both 32 bit and 64 bit targets."
Ashutosh Joshi [Fri, 1 Apr 2016 20:47:28 +0000 (20:47 +0000)]
Revert "Ensuring builds compile for both 32 bit and 64 bit targets."

This reverts commit 85e093bc03d747f69b3ada658c9e82f442cda334.

Change-Id: I9346929e6016e36beb3b6949ccec9fce73da91c4

8 years agoAdd metrics for keyboard shortcuts
Aga Wronska [Thu, 31 Mar 2016 22:08:43 +0000 (15:08 -0700)]
Add metrics for keyboard shortcuts

Change-Id: I3a63efd856f25cc33d61b734970675b77645a26d
Fixed: 27942360

8 years agoRemoved improper check on mCalledExitCoordinator.
George Mount [Fri, 1 Apr 2016 20:19:35 +0000 (13:19 -0700)]
Removed improper check on mCalledExitCoordinator.

Bug 27969302

mCalledExitCoordinator can be nulled before the onResume is called,
so it cannot be used to determine whether or not the Activity is
a caller or called.

Change-Id: Ie3696ed59b89cfc8c6145d22bc230111f0813701

8 years agoChange UCE permissions from dangerous to signatureOrSystem
Pavel Zhamaitsiak [Fri, 1 Apr 2016 20:19:34 +0000 (13:19 -0700)]
Change UCE permissions from dangerous to signatureOrSystem

Bug: 27812202
Change-Id: Icf9d97e4d3f802bc0b3ea26d61835e6471082118

8 years agoMerge "Clean up Dialog annotations, lint warnings, and declarations" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 20:17:15 +0000 (20:17 +0000)]
Merge "Clean up Dialog annotations, lint warnings, and declarations" into nyc-dev

8 years agoMerge "introduce GET_PASSWORD_PRIVILEDGED permission." into nyc-dev
Carlos Valdivia [Fri, 1 Apr 2016 20:01:58 +0000 (20:01 +0000)]
Merge "introduce GET_PASSWORD_PRIVILEDGED permission." into nyc-dev

8 years agoMerge "actually cancel sounds when we get a quiet update" into nyc-dev
Chris Wren [Fri, 1 Apr 2016 19:58:44 +0000 (19:58 +0000)]
Merge "actually cancel sounds when we get a quiet update" into nyc-dev

8 years agoMerge "Ensuring builds compile for both 32 bit and 64 bit targets." into nyc-dev
Ashutosh Joshi [Fri, 1 Apr 2016 19:55:16 +0000 (19:55 +0000)]
Merge "Ensuring builds compile for both 32 bit and 64 bit targets." into nyc-dev

8 years agoMerge "Add metrics for menu actions" into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 19:50:07 +0000 (19:50 +0000)]
Merge "Add metrics for menu actions" into nyc-dev

8 years agoFix intent filter priorities
Todd Kennedy [Tue, 29 Mar 2016 20:07:01 +0000 (13:07 -0700)]
Fix intent filter priorities

There are now three rules that guard intent filter priorities:
1) Only privileged applications will be granted a >0 priority
   filter [previously, _all_ system applications could do this]
2) There are certain actions that are considered protected [eg
   ACTION_VIEW, ACTION_SEND, ...] and even privileged applications
   will NOT be granted a >0 priority filter. There is one, and
   only one, exception for the SetupWizard.
3) Updates will NOT be granted a priority greater than the priority
   defined on the system image.

Bug: 27450489
Change-Id: Ifcec4d7a59e684331399abc41eea1bd6876155a4

8 years agoEnsuring builds compile for both 32 bit and 64 bit targets.
Ashutosh Joshi [Fri, 1 Apr 2016 19:45:47 +0000 (12:45 -0700)]
Ensuring builds compile for both 32 bit and 64 bit targets.

Fixing print formats for pointers.
Fixing a dangerous memory free.

Change-Id: I7c53bdaeceed80845ef002ed6a8a783ecb0378dc

8 years agoMerge "TIF: Add setLabel(CharSequence) in TvInputInfo.Builder" into nyc-dev
Dongwon Kang [Fri, 1 Apr 2016 19:42:39 +0000 (19:42 +0000)]
Merge "TIF: Add setLabel(CharSequence) in TvInputInfo.Builder" into nyc-dev

8 years agoFix Print CTS tests.
Philip P. Moltmann [Fri, 1 Apr 2016 19:17:10 +0000 (12:17 -0700)]
Fix Print CTS tests.

Fixes: 27971210
Change-Id: Ied11b2f1c528fe5e204e683d988b4efbd2562ef0

8 years agoClean up Dialog annotations, lint warnings, and declarations
Alan Viverette [Fri, 1 Apr 2016 19:00:10 +0000 (15:00 -0400)]
Clean up Dialog annotations, lint warnings, and declarations

No functional changes.

Change-Id: If38c9d829d83e762f8c2d05c2fe060c56804b38f

8 years agoMerge "ResourcesManager: Fix a cache issue" into nyc-dev
Adam Lesinski [Fri, 1 Apr 2016 18:53:21 +0000 (18:53 +0000)]
Merge "ResourcesManager: Fix a cache issue" into nyc-dev

8 years agoResourcesManager: Fix a cache issue
Adam Lesinski [Fri, 1 Apr 2016 18:48:10 +0000 (11:48 -0700)]
ResourcesManager: Fix a cache issue

Forgot to cache the creating of ResourcesImpl during an Activity
override config update.

Bug:27644297
Change-Id: I65d9086f6d32f5adc7231aa3a1797d4f00c4b9a9

8 years agoMerge "Increase post launch idle timeout to 60 secs" into nyc-dev
Gopinath Elanchezhian [Fri, 1 Apr 2016 18:37:22 +0000 (18:37 +0000)]
Merge "Increase post launch idle timeout to 60 secs" into nyc-dev

8 years agoFixing issue where affiliated task last-active-times were inconsistent.
Winson [Fri, 1 Apr 2016 01:04:56 +0000 (18:04 -0700)]
Fixing issue where affiliated task last-active-times were inconsistent.

- We rely on the last-active-times of the task records to order tasks
  in Recents, but for affiliated tasks, their last-active-time was never
  set until the task was launched.  This change just ensures that all
  tasks have a valid last-active-time, and for affiliated tasks, ensures
  that the task that they were launched behind always has a later
  last-active-time.

Bug: 27597746
Change-Id: I9692c2b48ac6d12266de90bdf423f689402a94c2

8 years agoAlways force update the transform when calling from RecentsImpl.
Winson [Fri, 1 Apr 2016 18:25:35 +0000 (11:25 -0700)]
Always force update the transform when calling from RecentsImpl.

- Workaround for crash in RecentsImpl where we could be retrieving the
  transform for a task that is not at the front of the stack (can happen
  if time changes, etc.)  However, since we only use the size for the
  transition, we can always force-update the transform.

Bug: 27849282
Change-Id: I86eee4c158748e4f13a2daeac5cf040c0874f967

8 years agoMerge "Fix default gravity value for FrameLayout.LayoutParams" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 18:26:49 +0000 (18:26 +0000)]
Merge "Fix default gravity value for FrameLayout.LayoutParams" into nyc-dev

8 years agoMerge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 18:22:19 +0000 (18:22 +0000)]
Merge "Refactor DatePickerDialog constructors to avoid early callback" into nyc-dev

8 years agoactually cancel sounds when we get a quiet update
Chris Wren [Tue, 29 Mar 2016 18:35:05 +0000 (14:35 -0400)]
actually cancel sounds when we get a quiet update

Also add some tests to the notification manager service
to make the refactor more palatable.

Bug: 27742532
Change-Id: I745915299aa2b92ab077e0c801d47864cb562325

8 years agomedia: update dolby vision CodecProfileLevel
Ronghua Wu [Tue, 29 Mar 2016 21:37:42 +0000 (14:37 -0700)]
media: update dolby vision CodecProfileLevel

Bug: 25684127
Change-Id: I3d35e31b34cc0d23c68eded87d5e443c74833685

8 years agoMerge "Fix GATT Characteristic write type serialization" into nyc-dev
Andre Eisenbach [Fri, 1 Apr 2016 17:59:30 +0000 (17:59 +0000)]
Merge "Fix GATT Characteristic write type serialization" into nyc-dev

8 years agoFix GATT Characteristic write type serialization
Jakub Pawlowski [Fri, 1 Apr 2016 14:17:15 +0000 (07:17 -0700)]
Fix GATT Characteristic write type serialization

Default writeType for GATT characteristic was not being
serialized into Parcel. This cause errors when trying to
write into Characteristic.

Bug: 27910548
Change-Id: Ib2f88cf991123eaea244f16fa36deb0d773c5a33

8 years agoAdded handling apps query response from context hub
Ashutosh Joshi [Tue, 29 Mar 2016 16:19:56 +0000 (09:19 -0700)]
Added handling apps query response from context hub

Added handling of app query reponse from context hub.
Exposed the maximum message size to clients.

Change-Id: I8d8ecaa2e75f6ef86ee65a3a050538cbbadc32eb

8 years agointroduce GET_PASSWORD_PRIVILEDGED permission.
Carlos Valdivia [Wed, 30 Mar 2016 20:44:28 +0000 (13:44 -0700)]
introduce GET_PASSWORD_PRIVILEDGED permission.

That will be used to filter in passwords for Session based
AccountManager flows.

Bug: 27590532
Change-Id: I4a6d0540bcff186e416351a6f719600ce35d86a0

8 years agoFix default gravity value for FrameLayout.LayoutParams
Alan Viverette [Thu, 31 Mar 2016 20:55:06 +0000 (16:55 -0400)]
Fix default gravity value for FrameLayout.LayoutParams

Sets default gravity value to the aptly-named DEFAULT_CHILD_GRAVITY.

Also cleans up FrameLayout lint warnings, annotations, and whitespace.

Bug: 27576632
Change-Id: I457b13791ff85f2228e61e85e44a502a28439e01

8 years agosysui: refactored for extensibility.
Muyuan Li [Tue, 29 Mar 2016 23:22:05 +0000 (16:22 -0700)]
sysui: refactored for extensibility.

refactored button inflate code and add a logic to handle selected style update.

Change-Id: I61f9c77396bea63a24fc78bf02ebad54a426a3ed
(cherry picked from commit b865ae2a4c892e2ffd83947e40ebd27d35b18fa6)

8 years agoMerge "Clean up ArrayAdapter lint warnings and annotations" into nyc-dev
Alan Viverette [Fri, 1 Apr 2016 17:24:16 +0000 (17:24 +0000)]
Merge "Clean up ArrayAdapter lint warnings and annotations" into nyc-dev