OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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

8 years agoIncrease post launch idle timeout to 60 secs
Gopinath [Fri, 1 Apr 2016 17:09:41 +0000 (10:09 -0700)]
Increase post launch idle timeout to 60 secs

Bug 27944664

Change-Id: Ibc57923f1b49414b27b0738e005c278749c3f17a

8 years agoRefactor DatePickerDialog constructors to avoid early callback
Alan Viverette [Fri, 1 Apr 2016 17:22:10 +0000 (13:22 -0400)]
Refactor DatePickerDialog constructors to avoid early callback

Bug: 27475444
Change-Id: I2536f969ca734f3977163305c1d33ee0e2e222fc

8 years agoAdd metrics for menu actions
Aga Wronska [Wed, 30 Mar 2016 20:55:19 +0000 (13:55 -0700)]
Add metrics for menu actions

Change-Id: Ic20802730e6068cfe49c277c3378c15ee0ba09fe
Fixed: 27921699

8 years agoAudio recording activity notification: change callback name
Jean-Michel Trivi [Fri, 1 Apr 2016 16:56:28 +0000 (09:56 -0700)]
Audio recording activity notification: change callback name

Rename AudioRecordingCallback.onRecordConfigChanged() to
  onRecordingConfigChanged() after API council review

Bug 27952000

Change-Id: I362a973781e029bca921181934599dcf60e13136

8 years agoMerge "Add metrics for drag and drop. Add metrics for search." into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 16:51:50 +0000 (16:51 +0000)]
Merge "Add metrics for drag and drop. Add metrics for search." into nyc-dev

8 years agoTIF: Add setLabel(CharSequence) in TvInputInfo.Builder
Dongwon Kang [Fri, 1 Apr 2016 16:29:31 +0000 (09:29 -0700)]
TIF: Add setLabel(CharSequence) in TvInputInfo.Builder

Bug: 25726241
Change-Id: I8b7cf157dffd0df2b04af0386e448b23409be1e5

8 years agoMerge "Make sure PrinterCapabilitiesInfo always have sane values." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:49:41 +0000 (16:49 +0000)]
Merge "Make sure PrinterCapabilitiesInfo always have sane values." into nyc-dev

8 years agoMerge "Make sure PrintDocumentInfo is always sane." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:49:29 +0000 (16:49 +0000)]
Merge "Make sure PrintDocumentInfo is always sane." into nyc-dev

8 years agoMerge "Make sure PrintAttributes have sane values." into nyc-dev
Philip P. Moltmann [Fri, 1 Apr 2016 16:48:55 +0000 (16:48 +0000)]
Merge "Make sure PrintAttributes have sane values." into nyc-dev

8 years agoMerge "Make sure to update the selected pages when needed in the right order." into...
Philip P. Moltmann [Fri, 1 Apr 2016 16:46:19 +0000 (16:46 +0000)]
Merge "Make sure to update the selected pages when needed in the right order." into nyc-dev

8 years agoMerge "Do not rely on documentInfo.pageCount when selecting which pages to scrap...
Philip P. Moltmann [Fri, 1 Apr 2016 16:46:05 +0000 (16:46 +0000)]
Merge "Do not rely on documentInfo.pageCount when selecting which pages to scrap" into nyc-dev

8 years agoMerge "When we update slow we override the current state. Make sure to reset the...
Philip P. Moltmann [Fri, 1 Apr 2016 16:45:50 +0000 (16:45 +0000)]
Merge "When we update slow we override the current state. Make sure to reset the state the operation finishes." into nyc-dev

8 years agoMerge "Add new permission for am.updateLockTaskPackages()" into nyc-dev
Russell Brenner [Fri, 1 Apr 2016 16:23:24 +0000 (16:23 +0000)]
Merge "Add new permission for am.updateLockTaskPackages()" into nyc-dev

8 years agoMerge "Add new protection level for setup wizard" into nyc-dev
Russell Brenner [Fri, 1 Apr 2016 16:22:48 +0000 (16:22 +0000)]
Merge "Add new protection level for setup wizard" into nyc-dev

8 years agoMerge "Remove unused import for KeyboardShortcutGroup" into nyc-dev
Clara Bayarri [Fri, 1 Apr 2016 16:18:27 +0000 (16:18 +0000)]
Merge "Remove unused import for KeyboardShortcutGroup" into nyc-dev

8 years agoMerge "Remove warning" into nyc-dev
John Reck [Fri, 1 Apr 2016 16:09:20 +0000 (16:09 +0000)]
Merge "Remove warning" into nyc-dev

8 years agoMerge "Add carrier config option to determine if "wifi-only" is supported." into...
Tyler Gunn [Fri, 1 Apr 2016 15:43:08 +0000 (15:43 +0000)]
Merge "Add carrier config option to determine if "wifi-only" is supported." into nyc-dev

8 years agoMerge "Revert "Only call Drawable.setVisible(false) for visible outgoing drawables...
Adam Powell [Fri, 1 Apr 2016 15:41:03 +0000 (15:41 +0000)]
Merge "Revert "Only call Drawable.setVisible(false) for visible outgoing drawables"" into nyc-dev

8 years agoMerge "Add hidden capability to indicate account supports emergency video calls....
Tyler Gunn [Fri, 1 Apr 2016 15:36:07 +0000 (15:36 +0000)]
Merge "Add hidden capability to indicate account supports emergency video calls." into nyc-dev

8 years agoMerge "Allow PO to check if it is in a managed profile." into nyc-dev
Kenny Guy [Fri, 1 Apr 2016 14:23:50 +0000 (14:23 +0000)]
Merge "Allow PO to check if it is in a managed profile." into nyc-dev

8 years agoMerge "Allow retrieving info /system components" into nyc-dev
Todd Kennedy [Fri, 1 Apr 2016 14:21:19 +0000 (14:21 +0000)]
Merge "Allow retrieving info /system components" into nyc-dev

8 years agoClean up ArrayAdapter lint warnings and annotations
Alan Viverette [Fri, 1 Apr 2016 14:11:25 +0000 (10:11 -0400)]
Clean up ArrayAdapter lint warnings and annotations

Refactoring only, no code changes.

Change-Id: Ia384a6597c9af84d23aed481f84d67ae817b4ac7

8 years agoRemove unused import for KeyboardShortcutGroup
Clara Bayarri [Thu, 24 Mar 2016 16:57:38 +0000 (16:57 +0000)]
Remove unused import for KeyboardShortcutGroup

Left it in accidentally when removing default method.

Change-Id: I6af0712624ffaefff4cb4ad2a9e5a86d7104d2e7

8 years agoAdd system api to reach WebViewUpdateService Binder interface.
Gustav Sennton [Tue, 29 Mar 2016 19:43:11 +0000 (20:43 +0100)]
Add system api to reach WebViewUpdateService Binder interface.

Instead of using reflection in XTS tests we add some system-apis to
enable fetching information about webview packages.

Bug: 26381867
Change-Id: If983a01b6855e4a4c08ef0b5873304918d499b76

8 years agoMerge "Update system API to match current code." into nyc-dev
Richard Coles [Fri, 1 Apr 2016 11:31:10 +0000 (11:31 +0000)]
Merge "Update system API to match current code." into nyc-dev

8 years agoUpdate system API to match current code.
Torne (Richard Coles) [Fri, 1 Apr 2016 11:24:36 +0000 (12:24 +0100)]
Update system API to match current code.

Somehow a change got submitted which added a system API that doesn't
match system-current.txt - regenerate it to match the current code.

Bug: 27957736
Change-Id: I37e1fffbdb060de3e6a399ee75872468d6d25465

8 years agoMerge "Keyboard Shortcuts Helper: Include all System shortcuts" into nyc-dev
Clara Bayarri [Fri, 1 Apr 2016 11:17:24 +0000 (11:17 +0000)]
Merge "Keyboard Shortcuts Helper: Include all System shortcuts" into nyc-dev

8 years agoKeyboard shortcuts: disable toggling from lockscreen
Andrei Stingaceanu [Wed, 30 Mar 2016 11:22:05 +0000 (12:22 +0100)]
Keyboard shortcuts: disable toggling from lockscreen

Do not allow toggling the keyboard shortcuts dialog
if the keyguard is locked.

Bug: 27717058
Change-Id: I4a16a863ed1a4d3cefa7ca41c1361592ef3c5b3c

8 years agoMerge "ExifInterface: Code clean up" into nyc-dev
Insun Kang [Fri, 1 Apr 2016 08:55:00 +0000 (08:55 +0000)]
Merge "ExifInterface: Code clean up" into nyc-dev

8 years agoMerge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev
Jaewan Kim [Fri, 1 Apr 2016 06:19:52 +0000 (06:19 +0000)]
Merge "PIP: Apply the animation spec for the PIP in Recents" into nyc-dev

8 years agoPIP: Apply the animation spec for the PIP in Recents
Jaewan Kim [Thu, 31 Mar 2016 04:37:10 +0000 (13:37 +0900)]
PIP: Apply the animation spec for the PIP in Recents

Bug: 27540465
Change-Id: Ibdd4a4e3fd194978ccbc29235a1c620ebddff942

8 years agoMerge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev
Keisuke Kuroyanagi [Fri, 1 Apr 2016 05:27:35 +0000 (05:27 +0000)]
Merge "Fix: doRunAdvance returns wrong value when offset == count." into nyc-dev

8 years agoMerge "Sanitize app op service inputs" into nyc-dev
Svetoslav Ganov [Fri, 1 Apr 2016 03:05:13 +0000 (03:05 +0000)]
Merge "Sanitize app op service inputs" into nyc-dev

8 years agoSanitize app op service inputs
Svetoslav Ganov [Tue, 29 Mar 2016 01:07:06 +0000 (01:07 +0000)]
Sanitize app op service inputs

bug:26587386

This reverts commit 9888e00b7a36cd03821001a58e4ff86224e3d858.

Change-Id: I37069b6eb50ee1a1b29d6f116e96ad9f226883c9

8 years agoExifInterface: Code clean up
Insun Kang [Fri, 1 Apr 2016 02:12:06 +0000 (11:12 +0900)]
ExifInterface: Code clean up

Replaces deprecated constants with newly added constants in the actual
implementation.

Bug: 27932489
Change-Id: Id54236a05127cd7ce3bf0668c002635fb86489a9

8 years agoMerge "Fix a few known issue in sensor framework" into nyc-dev
Peng Xu [Fri, 1 Apr 2016 01:54:37 +0000 (01:54 +0000)]
Merge "Fix a few known issue in sensor framework" into nyc-dev

8 years agoMerge "Make display brightness ramp rate fast configurable" into nyc-dev
Prashant Malani [Fri, 1 Apr 2016 00:59:00 +0000 (00:59 +0000)]
Merge "Make display brightness ramp rate fast configurable" into nyc-dev

8 years agoMerge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev
Aga Wronska [Fri, 1 Apr 2016 00:58:24 +0000 (00:58 +0000)]
Merge "Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928" into nyc-dev

8 years agoAdd comment for FLAG_TRANSLUCENT_STATUS added in CL 898928
Aga Wronska [Fri, 1 Apr 2016 00:54:27 +0000 (17:54 -0700)]
Add comment for FLAG_TRANSLUCENT_STATUS added in CL 898928

Change-Id: I8f4ad4e00c6ce46e61afc087daa890eb90ed18a1

8 years agoMerge "Honour the DHCP MTU option." into nyc-dev
Lorenzo Colitti [Fri, 1 Apr 2016 00:55:06 +0000 (00:55 +0000)]
Merge "Honour the DHCP MTU option." into nyc-dev

8 years agoMerge "AAPT2: Change how we generate Java classes" into nyc-dev
Adam Lesinski [Fri, 1 Apr 2016 00:44:19 +0000 (00:44 +0000)]
Merge "AAPT2: Change how we generate Java classes" into nyc-dev

8 years agoMerge "Added CloseGuard for BaseObj" into nyc-dev
Yang Ni [Fri, 1 Apr 2016 00:33:57 +0000 (00:33 +0000)]
Merge "Added CloseGuard for BaseObj" into nyc-dev

8 years agoAdd new permission for am.updateLockTaskPackages()
Russell Brenner [Fri, 25 Mar 2016 19:18:07 +0000 (12:18 -0700)]
Add new permission for am.updateLockTaskPackages()

Adds android.permission.UPDATE_LOCK_TASK_PACKAGES, available only to
the system and setup wizard, providing access to
updateLockTaskPackages() without registering with the device policy
manager as a device owner.

Bug: 20016740
Change-Id: I6eceb5cece9407c84eabf3a818bb908f95989b91

8 years agoAdd new protection level for setup wizard
Russell Brenner [Wed, 23 Mar 2016 17:16:39 +0000 (10:16 -0700)]
Add new protection level for setup wizard

Adds PROTECTION_LEVEL_SETUP, a privileged permission for use only by
the setup wizard.

Bug: 20016740

Change-Id: Ib95e349c54d5d12465bf43162975dfb628ef2434