OSDN Git Service

android-x86/frameworks-base.git
8 years agoAdd developer option for freeform window support (1/2)
Jorim Jaggi [Wed, 23 Dec 2015 11:04:39 +0000 (12:04 +0100)]
Add developer option for freeform window support (1/2)

Also disable default force-resizable on non-user builds.

Bug: 25276672
Bug: 24815256
Bug: 26294625
Bug: 26294534
Change-Id: I5b31e494c993d2d9dad175b94b4f30637e8f3718

8 years agoUse different asset when docked stack exists
Jorim Jaggi [Mon, 21 Dec 2015 12:22:31 +0000 (13:22 +0100)]
Use different asset when docked stack exists

- Add the ability to add a listener when the existence of the
docked stack changes.
- Register SystemUI as such a listener and switch the recents
button asset when docked stack exists.

Change-Id: I05350878c5adc7ad9f0399f0c42d8d1615d44d02

8 years agoFreeze task bounds when relaunching
Jorim Jaggi [Tue, 22 Dec 2015 15:29:16 +0000 (16:29 +0100)]
Freeze task bounds when relaunching

To make sure that task is only laid out with the size
that matches the current configuration, we have to "freeze"
the task bounds when we send a configuration change. Without this
change, it could happen that the app already laid out with the new
task bounds, but still had the old configuration, leading to
wrong layouts.

Bug: 26311778
Bug: 25015474

Change-Id: I8d3a3fdf3735f446a4affbbdb4986dafc97623a5

8 years agoAdd infrastructure to track activitiy relaunches
Jorim Jaggi [Tue, 22 Dec 2015 15:28:44 +0000 (16:28 +0100)]
Add infrastructure to track activitiy relaunches

As a preparation to start synchronizing task size
with activity relaunches, we need a infrastructure
so we know in AM/WM when an activity is relaunching
and when it's done relaunching.

Bug: 26311778
Bug: 25015474
Change-Id: Ied3795eddbcd112f6329494afbf13178ca49a799

8 years agoChange behavior when resizing docked stack
Jorim Jaggi [Tue, 15 Dec 2015 22:57:31 +0000 (14:57 -0800)]
Change behavior when resizing docked stack

- Add an API resizeDockedStack to resize the docked stack
and supply temporary task bounds, which can be different from
the stack bounds.
- Use that API in SystemUI to only switch task bounds when
crossing thresholds, so we have less flickering and more
predictable resizing.

Bug: 25015474
Bug: 26311778
Change-Id: Id5c9277dd908ccc28f95dab023efc914757a50d0

8 years agoMerge "Fix InCallService permission doc"
Sailesh Nepal [Tue, 5 Jan 2016 11:56:12 +0000 (11:56 +0000)]
Merge "Fix InCallService permission doc"

8 years agoAdded support for notifying listeners when an activity is pinned.
Wale Ogunwale [Wed, 30 Dec 2015 00:15:22 +0000 (16:15 -0800)]
Added support for notifying listeners when an activity is pinned.

Also, protected AMS#registerTaskStackListener call with
MANAGE_ACTIVITY_STACKS permission.

Bug: 26273032
Bug: 25928537
Change-Id: Ic5e663e373978e0429ecdcc6934a51a295c18268

8 years agoMerge "Refactored ActivityStarter#startActivityUnchecked to make it easier to follow"
Wale Ogunwale [Tue, 5 Jan 2016 03:21:45 +0000 (03:21 +0000)]
Merge "Refactored ActivityStarter#startActivityUnchecked to make it easier to follow"

8 years agoMerge "Removed outdated TODO for LocaleList"
Roozbeh Pournader [Tue, 5 Jan 2016 02:10:21 +0000 (02:10 +0000)]
Merge "Removed outdated TODO for LocaleList"

8 years agoRemoved outdated TODO for LocaleList
Roozbeh Pournader [Tue, 5 Jan 2016 02:03:36 +0000 (18:03 -0800)]
Removed outdated TODO for LocaleList

The suggested TODO is no longer deemed necessary (and is too
expensive to do for all LocaleLists). LocaleLists get (and will get)
passed down to the native level through strings that are the result
of calls to toLanguageTags(), which is pre-computed at construction
time. Users who need to interact with the native level can do their
own caching, such as in commit
cfc607cf57d453f977c9c4bf09b41ac481c4bbec.

Change-Id: I665f3b28eaf8df309bf1aec96f9d237aeb72865c

8 years agoFix build breakage.
Wale Ogunwale [Tue, 5 Jan 2016 01:54:26 +0000 (17:54 -0800)]
Fix build breakage.

Change-Id: I694a885e705d2543e671fd2809bbb518176c3804

8 years agoRefactored ActivityStarter#startActivityUnchecked to make it easier to follow
Wale Ogunwale [Tue, 29 Dec 2015 16:19:19 +0000 (08:19 -0800)]
Refactored ActivityStarter#startActivityUnchecked to make it easier to follow

Change-Id: I7566e69206753601fbc7b126da8b5db4891a955f

8 years agoMerge "Added hidden API for specifying launch stack in ActivityOptions"
Wale Ogunwale [Tue, 5 Jan 2016 01:48:34 +0000 (01:48 +0000)]
Merge "Added hidden API for specifying launch stack in ActivityOptions"

8 years agoMerge "Avoid calling invalidateSelf() from draw call"
Doris Liu [Tue, 5 Jan 2016 00:54:36 +0000 (00:54 +0000)]
Merge "Avoid calling invalidateSelf() from draw call"

8 years agoAvoid calling invalidateSelf() from draw call
Doris Liu [Mon, 4 Jan 2016 22:32:00 +0000 (14:32 -0800)]
Avoid calling invalidateSelf() from draw call

Bug: 26329675

Change-Id: Ieb76b6f63a5139f6033ca9baa9ba6fac36ae466c

8 years agoMerge "Remove FLASHLIGHT permission"
Svetoslav Ganov [Tue, 5 Jan 2016 00:06:03 +0000 (00:06 +0000)]
Merge "Remove FLASHLIGHT permission"

8 years agoAdded hidden API for specifying launch stack in ActivityOptions
Wale Ogunwale [Mon, 28 Dec 2015 00:18:19 +0000 (16:18 -0800)]
Added hidden API for specifying launch stack in ActivityOptions

Bug: 26273032
Change-Id: Ifb9c70e6783b0426613709693e11742d80ba2fc3

8 years agoMerge "Added support for android.R.attr#alwaysFocusable"
Wale Ogunwale [Mon, 4 Jan 2016 23:57:17 +0000 (23:57 +0000)]
Merge "Added support for android.R.attr#alwaysFocusable"

8 years agoMerge "Change Internal Storage icon from sdcard to smartphone"
Aga Wronska [Mon, 4 Jan 2016 23:25:51 +0000 (23:25 +0000)]
Merge "Change Internal Storage icon from sdcard to smartphone"

8 years agoMerge "Make BitmapFactory.Options API Changes"
Matt Sarett [Mon, 4 Jan 2016 22:55:38 +0000 (22:55 +0000)]
Merge "Make BitmapFactory.Options API Changes"

8 years agoAdded support for android.R.attr#alwaysFocusable
Wale Ogunwale [Sat, 26 Dec 2015 15:36:26 +0000 (07:36 -0800)]
Added support for android.R.attr#alwaysFocusable

Allows an activity to always be focusable regardless of if it is in a
stack whose activities are normally not focusable. For example, activities
in pinned stack aren't focusable. This flag allows them to be focusable.

Also, changed ActivityInfo.#{resizeable, supportsPip} to use flags.

Bug: 26273032
Bug: 26034613
Change-Id: I8c63e6d3256757e2e6931e08b8a65269f5169d35

8 years agoMerge "Don't allow unfocusable activity/stack to gain focus"
Wale Ogunwale [Mon, 4 Jan 2016 22:22:16 +0000 (22:22 +0000)]
Merge "Don't allow unfocusable activity/stack to gain focus"

8 years agoMake BitmapFactory.Options API Changes
Matt Sarett [Fri, 18 Dec 2015 18:07:01 +0000 (13:07 -0500)]
Make BitmapFactory.Options API Changes

This changes the documentation for inPreferQualityOverSpeed,
inDither, and requestCancelDecode().

These changes are a result of modifying the backends of
BitmapFactory and BitmapRegionDecoder to be faster, higher quality,
and to use standard libraries.

BUG:26266063
BUG:25556965
Change-Id: I9008fd276a38c737e242bcc6930ffe4e36d9fd1d

8 years agoMerge "fix ActivityMetricsLogger counter names"
Chris Wren [Mon, 4 Jan 2016 21:33:46 +0000 (21:33 +0000)]
Merge "fix ActivityMetricsLogger counter names"

8 years agoProtect android.bluetooth.intent.DISCOVERABLE_TIMEOUT
Andre Eisenbach [Tue, 29 Dec 2015 22:58:53 +0000 (14:58 -0800)]
Protect android.bluetooth.intent.DISCOVERABLE_TIMEOUT

Bug: 26347910
Change-Id: I61b211c3f32c9e79c40c2b07798dd9cb6d82df22

8 years agoMerge "More work towards triaging missing app behavior."
Jeff Sharkey [Mon, 4 Jan 2016 21:20:49 +0000 (21:20 +0000)]
Merge "More work towards triaging missing app behavior."

8 years agofix ActivityMetricsLogger counter names
Chris Wren [Mon, 4 Jan 2016 21:20:17 +0000 (16:20 -0500)]
fix ActivityMetricsLogger counter names

Change-Id: I49e4785fdecfdbb60fc168539e654bcb7847d1dd

8 years agoMerge "Tests for DatePicker keyboard interaction."
George Mount [Mon, 4 Jan 2016 21:14:38 +0000 (21:14 +0000)]
Merge "Tests for DatePicker keyboard interaction."

8 years agoMerge "implement assistant service connection"
Chris Wren [Mon, 4 Jan 2016 21:07:24 +0000 (21:07 +0000)]
Merge "implement assistant service connection"

8 years agoMerge "Return USER_OP_SUCCESS when force stopping a user"
Fyodor Kupolov [Mon, 4 Jan 2016 20:59:12 +0000 (20:59 +0000)]
Merge "Return USER_OP_SUCCESS when force stopping a user"

8 years agoMerge "Add 'more settings' and 'done' to guts."
Julia Reynolds [Mon, 4 Jan 2016 20:56:59 +0000 (20:56 +0000)]
Merge "Add 'more settings' and 'done' to guts."

8 years agoMerge "Add ConfigNetworkSecurityPolicy" am: 2786002bd5
Chad Brubaker [Mon, 4 Jan 2016 20:54:00 +0000 (20:54 +0000)]
Merge "Add ConfigNetworkSecurityPolicy" am: 2786002bd5
am: a35d617cce

* commit 'a35d617cce6c9b1b1cba7e7c786849d21ea42d3e':
  Add ConfigNetworkSecurityPolicy

8 years agoChange Internal Storage icon from sdcard to smartphone
Aga Wronska [Mon, 4 Jan 2016 20:53:18 +0000 (12:53 -0800)]
Change Internal Storage icon from sdcard to smartphone

Bug:26143658
Change-Id: I7663a477c8e90e89f8f5dbed1b6f2c1f83e929d1

8 years agoMerge "Add ConfigNetworkSecurityPolicy"
Chad Brubaker [Mon, 4 Jan 2016 20:49:29 +0000 (20:49 +0000)]
Merge "Add ConfigNetworkSecurityPolicy"
am: 2786002bd5

* commit '2786002bd51b229d9a4672e3c43f835796de06ea':
  Add ConfigNetworkSecurityPolicy

8 years agoReturn USER_OP_SUCCESS when force stopping a user
Fyodor Kupolov [Mon, 4 Jan 2016 20:47:22 +0000 (12:47 -0800)]
Return USER_OP_SUCCESS when force stopping a user

Bug: 26379502
Change-Id: I08dc18eec5b8dccf63a806acc9b3bfda890ceedb

8 years agoDon't allow unfocusable activity/stack to gain focus
Wale Ogunwale [Fri, 25 Dec 2015 14:30:31 +0000 (06:30 -0800)]
Don't allow unfocusable activity/stack to gain focus

Prevents them from being resumed since we always want to resumed
activity to be a focusable acitvity.

Bug: 26273032
Change-Id: Ied832e100d9a2d8915762db53c9230774be21d1c

8 years agoMerge "Consolidate resume activity code around focused stack."
Wale Ogunwale [Mon, 4 Jan 2016 20:35:53 +0000 (20:35 +0000)]
Merge "Consolidate resume activity code around focused stack."

8 years agoMerge "Show indeterminate progress bar when job is queued or started and the progress...
Philip P. Moltmann [Mon, 4 Jan 2016 20:28:27 +0000 (20:28 +0000)]
Merge "Show indeterminate progress bar when job is queued or started and the progress is not known."

8 years agoMerge "Add ConfigNetworkSecurityPolicy"
Chad Brubaker [Mon, 4 Jan 2016 20:26:56 +0000 (20:26 +0000)]
Merge "Add ConfigNetworkSecurityPolicy"

8 years agoAdd 'more settings' and 'done' to guts.
Julia Reynolds [Mon, 4 Jan 2016 20:24:01 +0000 (15:24 -0500)]
Add 'more settings' and 'done' to guts.

Change-Id: I0499869b1a40653ff1b179a95c55a22d8e12e718

8 years agoRemove FLASHLIGHT permission
Svetoslav Ganov [Mon, 4 Jan 2016 20:15:16 +0000 (12:15 -0800)]
Remove FLASHLIGHT permission

This permissions is not protecting access to the flashlight.
Anyone can use the latter via CameraManager.setTorchMode().

bug:26383626

Change-Id: I44c6395b5a0f80c1c539cffe61715b29b401a775

8 years agoMore work towards triaging missing app behavior.
Jeff Sharkey [Mon, 21 Dec 2015 21:16:43 +0000 (14:16 -0700)]
More work towards triaging missing app behavior.

Many places across the platform query package details without
gracefully handling packages or components that go missing for
various reasons.  This can cause annoying user data loss, such as
resetting back to built-in apps or dropping of accounts, etc.

This change verifies that system callers have thought about these
edge cases by logging if they use default matching behaviors without
explicitly marking themselves as being "triaged."  (The logging is
currently disabled by default.)

Also creates explicit definitions of supported flags for various
incoming PackageManager calls, and defines a clear distinction
between flag types:

-- GET-style flags are used to request additional data that may have
been elided to save wire space.

-- MATCH-style flags are used to include components or packages that
would have otherwise been omitted from a result set by current system
state.

There are a handful of existing GET flags that better fit under the
MATCH definition, so this change clones them to new constants and
marks the old ones as deprecated.

Fixes bug in JobSchedulerService to consider jobs from apps on
external storage.  Revert some dialer behavior back to being
untriaged.

Change-Id: I9b6ab0968241e3479bddbd78de0c51e3b9917318

8 years agoMerge "Use GregorianCalendar.add() when searching for next alarm." am: b52de8248f
Dan Sandler [Mon, 4 Jan 2016 20:12:24 +0000 (20:12 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm." am: b52de8248f
am: 65a35016c1

* commit '65a35016c1f22805c2e70b49ff2b121b9f7dc739':
  Use GregorianCalendar.add() when searching for next alarm.

8 years agoFixed the incorrect cdma RAT detection logic.
Jack Yu [Mon, 4 Jan 2016 20:10:01 +0000 (20:10 +0000)]
Fixed the incorrect cdma RAT detection logic.
am: fa530b4a10

* commit 'fa530b4a10e8553afd58b827dfd7dcd8726126b4':
  Fixed the incorrect cdma RAT detection logic.

8 years agoMerge "Use GregorianCalendar.add() when searching for next alarm."
Dan Sandler [Mon, 4 Jan 2016 20:07:38 +0000 (20:07 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm."
am: b52de8248f

* commit 'b52de8248f8e5f95f7984967e646eb9b3a641526':
  Use GregorianCalendar.add() when searching for next alarm.

8 years agoFixed the incorrect cdma RAT detection logic.
Jack Yu [Mon, 4 Jan 2016 18:04:34 +0000 (10:04 -0800)]
Fixed the incorrect cdma RAT detection logic.

Used the correct CDMA bitmask to determine if the bearer services
are based on 3GPP2 radio technologies.

bug: 26318528
Change-Id: Ic30c25aa7b67372898a041dd1f3a08a3abede394

8 years agoMerge "Use GregorianCalendar.add() when searching for next alarm."
Dan Sandler [Mon, 4 Jan 2016 19:58:42 +0000 (19:58 +0000)]
Merge "Use GregorianCalendar.add() when searching for next alarm."

8 years agoMerge "Remove UserBoolean"
Jason Monk [Mon, 4 Jan 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Remove UserBoolean"

8 years agoRefactoring lock-to-task state out of Task
Winson Chung [Thu, 17 Dec 2015 22:08:55 +0000 (17:08 -0500)]
Refactoring lock-to-task state out of Task

- Moving the logic out of Task to the stack view which is more logical
  and easier to manage
- This also includes a fix for the issue of the screen pinning not
  showing up immediately after toggling it in Settings

Change-Id: I0357d59fc30b0327bbe6eeca10b310911aba3cc4

8 years agoMerge "Better service management for QS 3rd party tiles"
Jason Monk [Mon, 4 Jan 2016 19:54:40 +0000 (19:54 +0000)]
Merge "Better service management for QS 3rd party tiles"

8 years agoRemove UserBoolean
Jason Monk [Mon, 21 Dec 2015 19:27:00 +0000 (14:27 -0500)]
Remove UserBoolean

Animate when the view is visible because its much simpler

Change-Id: I18598faae643124ad014f77a2e8a9229ccb726ce

8 years agoBetter service management for QS 3rd party tiles
Jason Monk [Mon, 21 Dec 2015 13:50:01 +0000 (08:50 -0500)]
Better service management for QS 3rd party tiles

Better wrapper around the service that will handle rebinding
when it dies, binding when it becomes available, and forwarding
along all messages to the service once it binds.

Also better handling of too many services at a time.  Will only
ever bind to at most 3 tiles and will manage which ones are most
important to show based on pending clicks, last update, etc.

Change-Id: I5f4da0bc751f7eb25baa32e5c0bb9f1bc418f5bb

8 years agoTests for DatePicker keyboard interaction.
George Mount [Fri, 18 Dec 2015 15:43:42 +0000 (07:43 -0800)]
Tests for DatePicker keyboard interaction.

Bug 26187865

Change-Id: I26e990ef140d129f716eec0dff705e5f78b6608e

8 years agoMerge "Clean up date picker, add simple constructors and setter for listener"
Alan Viverette [Mon, 4 Jan 2016 18:47:55 +0000 (18:47 +0000)]
Merge "Clean up date picker, add simple constructors and setter for listener"

8 years agoMerge "Fix popup window position calculation in multiwindow mode"
Chong Zhang [Mon, 4 Jan 2016 18:32:16 +0000 (18:32 +0000)]
Merge "Fix popup window position calculation in multiwindow mode"

8 years agoConsolidate resume activity code around focused stack.
Wale Ogunwale [Thu, 24 Dec 2015 21:05:59 +0000 (13:05 -0800)]
Consolidate resume activity code around focused stack.

Cleaned up the code to make it obvious that only the top
activity in the focused stack should be in the resumes state.

Bug: 26273032
Change-Id: I8d60270f707fe022007c59d25f5678b33a005acf

8 years agoMerge "Experimental: verify cached constructors before use."
Mathew Inwood [Mon, 4 Jan 2016 18:09:57 +0000 (18:09 +0000)]
Merge "Experimental: verify cached constructors before use."

8 years agoMerge "cleanup some confusing comments"
Xiaohui Chen [Mon, 4 Jan 2016 17:21:45 +0000 (17:21 +0000)]
Merge "cleanup some confusing comments"

8 years agoMerge "Minor improvements on 'Take bug report' Action."
Felipe Leme [Mon, 4 Jan 2016 17:06:18 +0000 (17:06 +0000)]
Merge "Minor improvements on 'Take bug report' Action."

8 years agoMerge "Fix capability/property checking methods to handle multi-bit capabilities."
Tyler Gunn [Mon, 4 Jan 2016 16:33:37 +0000 (16:33 +0000)]
Merge "Fix capability/property checking methods to handle multi-bit capabilities."

8 years agoimplement assistant service connection
Chris Wren [Tue, 15 Dec 2015 20:34:46 +0000 (15:34 -0500)]
implement assistant service connection

Added a guest-mode to ManagedServices.
Like system services, the lifecycle of a guest is not managed.
Unlike system services, guests are not considered privledged.

The Assistant gets all the usual listener events.
Implemented adjustImportance.
Future work: enqueued, clicked, visibility, removed, annotations

Bug: 22455414
Change-Id: Ic41c0bf625b5e98cb577b49098bba23a539bb507

8 years agoMerge "Add some options to macrobench"
John Reck [Mon, 4 Jan 2016 15:26:18 +0000 (15:26 +0000)]
Merge "Add some options to macrobench"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 4 Jan 2016 13:53:33 +0000 (05:53 -0800)]
Import translations. DO NOT MERGE

Change-Id: I86141e2b59f4b3fd5adf1beb3a848d2dae49e871
Auto-generated-cl: translation import

8 years agoMerge "Return null on getPrivateKey failure not exception"
Robin Lee [Mon, 4 Jan 2016 10:05:13 +0000 (10:05 +0000)]
Merge "Return null on getPrivateKey failure not exception"

8 years agoExperimental: verify cached constructors before use.
Mathew Inwood [Thu, 31 Dec 2015 12:28:54 +0000 (12:28 +0000)]
Experimental: verify cached constructors before use.

Caching constructors can cause problems for dynamically loaded code if
the same class name appears in more than on classloader. Before using
cached constructors, verifty that they come from a valid classloader, i.e.
one that appears in the classloader chain of the current contexts
classloader. Remove ones that do not from the map to allow the associated
classes to be unloaded in case they're no longer in use.

Bug: 21690610
Change-Id: I84f2894cd03a5dc0c33aed9cd710e4a1f6d9515f

8 years agoUse GregorianCalendar.add() when searching for next alarm.
Dan Sandler [Tue, 29 Dec 2015 20:45:39 +0000 (15:45 -0500)]
Use GregorianCalendar.add() when searching for next alarm.

Never attribute to malice that which is adequately explained
by a bug, particularly one involving date math.

Bug: 26326394
Change-Id: I3483ac102c678a8852565c8ea94c06e19b3f26d8

8 years agoReduced the radio log
Jack Yu [Wed, 30 Dec 2015 22:34:12 +0000 (22:34 +0000)]
Reduced the radio log
am: d2cf0ce9c1

* commit 'd2cf0ce9c17cd37a12827882b3a10512d2904103':
  Reduced the radio log

8 years agoReduced the radio log
Jack Yu [Wed, 30 Dec 2015 20:06:01 +0000 (12:06 -0800)]
Reduced the radio log

Reduced the radio log by moving some to VDBG or merging few lines
into one.

bug: 25956251
Change-Id: I290d894e95c9fdd664db35fd0cee3536c37dbd20

8 years agocleanup some confusing comments
Xiaohui Chen [Wed, 30 Dec 2015 19:32:05 +0000 (11:32 -0800)]
cleanup some confusing comments

Change-Id: I21fe6fb2ea37a811f69278058277dd595866ae9b

8 years agoMerge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or...
Doris Liu [Wed, 30 Dec 2015 19:17:06 +0000 (19:17 +0000)]
Merge "VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew."

8 years agoVectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.
Doris Liu [Tue, 29 Dec 2015 22:57:49 +0000 (14:57 -0800)]
VectorDrawable: Use the matrix scale only if the matrix has no rotation or skew.

When canvas is rotated or skewed, the scale factor is affected.
Conservatively reset the scale used to modify path stroke size to 1 in these
cases, since the image will be somewhat blurry anyway with rotation / skew..

b/25418943

Change-Id: I6dff1bca5fac5500fa688c68f8b81b6212526b6b

8 years agoMerge "Update an error message."
Sudheer Shanka [Wed, 30 Dec 2015 18:17:30 +0000 (18:17 +0000)]
Merge "Update an error message."

8 years agoUpdate an error message.
Sudheer Shanka [Wed, 30 Dec 2015 17:45:40 +0000 (17:45 +0000)]
Update an error message.

Change-Id: Ifc32120ccccd14e8e821770995de91008ed518d7

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 30 Dec 2015 14:12:49 +0000 (14:12 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Dec 2015 14:06:22 +0000 (06:06 -0800)]
Import translations. DO NOT MERGE

Change-Id: I8272ade26943091694be6ce0b8d7e8bbbc1e4ac6
Auto-generated-cl: translation import

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Dec 2015 14:02:31 +0000 (06:02 -0800)]
Import translations. DO NOT MERGE

Change-Id: I0e4698739718df41ce8fc1237bcb41fa87dd4b8a
Auto-generated-cl: translation import

8 years agoresolve merge conflicts of 8c79fe5dc4 to master.
Randy Pan [Tue, 29 Dec 2015 23:09:09 +0000 (15:09 -0800)]
resolve merge conflicts of 8c79fe5dc4 to master.

Change-Id: Id331e763f64ecbf8ed23764a487e32b94c4d3c09

8 years agoFix popup window position calculation in multiwindow mode
Chong Zhang [Tue, 29 Dec 2015 22:50:05 +0000 (14:50 -0800)]
Fix popup window position calculation in multiwindow mode

When adjusting the popup's layout param to clip it to screen, we
have to convert x, y into screen coords to make any comparision
to the display frame, which is in screen coords.

bug: 25346252
Change-Id: I996286dec83ef2a1782dd2a66435eab45abf1bae

8 years agoNotify client when the window is moved because of a resize
Chong Zhang [Mon, 28 Dec 2015 23:18:29 +0000 (15:18 -0800)]
Notify client when the window is moved because of a resize

We need to notify the client that the window has moved if a resize
results in a move without size change. This makes sure that relevent
info on client side (such as mAttachInfo.mWindowLeft/Top) gets updated
to the new frame. Things like View.getLocationOnScreen() may depend
on these to function.

Bug: 25565385
Change-Id: I5b9ded0b16243c14494f9a69257d56570ee8996d

8 years agoMerge "Crop to stack bounds during animation if docked task is non-resizeable"
Chong Zhang [Tue, 29 Dec 2015 21:40:08 +0000 (21:40 +0000)]
Merge "Crop to stack bounds during animation if docked task is non-resizeable"

8 years agoCorrect WiFi exponential back off scan
Randy Pan [Thu, 17 Dec 2015 21:07:07 +0000 (13:07 -0800)]
Correct WiFi exponential back off scan

Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614

8 years agoMerge "DPM Test: DA and PO cannot call DPM.reboot()"
Mahaver Chopra [Tue, 29 Dec 2015 15:46:15 +0000 (15:46 +0000)]
Merge "DPM Test: DA and PO cannot call DPM.reboot()"

8 years agoDPM Test: DA and PO cannot call DPM.reboot()
Mahaver Chopra [Wed, 23 Dec 2015 14:42:18 +0000 (14:42 +0000)]
DPM Test: DA and PO cannot call DPM.reboot()

Bug: 25304994
Change-Id: Ifaccf3625314f4bfcd7f99413abc9067cc3dd2f9

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:24:49 +0000 (15:24 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66 am: 19c7ad05f7
am: 5211f9bcbb

* commit '5211f9bcbb2faba350e044c7d19f7af4e167b525':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:20:39 +0000 (15:20 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3 am: b805bb8b66
am: 19c7ad05f7

* commit '19c7ad05f7bc950ffe23dcb3d01668229b4735c1':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev am:...
Gus Prevas [Tue, 29 Dec 2015 15:16:23 +0000 (15:16 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev am: 1d3bac82b3
am: b805bb8b66

* commit 'b805bb8b660c5897e7a379fb2d79815269039271':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev
Gus Prevas [Tue, 29 Dec 2015 15:12:10 +0000 (07:12 -0800)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev
am: 1d3bac82b3

* commit '1d3bac82b3bc59fd7225a3c27b32db2fc90b0308':
  Defines task to front/back animations in styles_micro.

8 years agoMerge "Defines task to front/back animations in styles_micro." into cw-e-dev
Gus Prevas [Tue, 29 Dec 2015 15:09:26 +0000 (15:09 +0000)]
Merge "Defines task to front/back animations in styles_micro." into cw-e-dev

8 years agoMerge "Add reply text section to notifications"
Adrian Roos [Tue, 29 Dec 2015 13:05:46 +0000 (13:05 +0000)]
Merge "Add reply text section to notifications"

8 years agoMerge "VectorDrawable native rendering - Step 3 of MANY"
Doris Liu [Tue, 29 Dec 2015 01:45:03 +0000 (01:45 +0000)]
Merge "VectorDrawable native rendering - Step 3 of MANY"

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock" am: 60d142c54b
Pavlin Radoslavov [Tue, 29 Dec 2015 01:35:29 +0000 (01:35 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock" am: 60d142c54b
am: 91fc6d1f9c

* commit '91fc6d1f9cd5e83eec5753ef92960d03367c33a6':
  Use GID "wakelock" to control access to kernel wakelock

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:31:16 +0000 (01:31 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"
am: 60d142c54b

* commit '60d142c54b16be08d8352c7fd1510538014839f7':
  Use GID "wakelock" to control access to kernel wakelock

8 years agoMerge "Use GID "wakelock" to control access to kernel wakelock"
Pavlin Radoslavov [Tue, 29 Dec 2015 01:24:14 +0000 (01:24 +0000)]
Merge "Use GID "wakelock" to control access to kernel wakelock"

8 years agoMerge "Avoid byte[] allocations in writePackageListLPr"
Fyodor Kupolov [Tue, 29 Dec 2015 00:30:23 +0000 (00:30 +0000)]
Merge "Avoid byte[] allocations in writePackageListLPr"

8 years agoFix InCallService permission doc
Sailesh Nepal [Tue, 29 Dec 2015 00:20:56 +0000 (16:20 -0800)]
Fix InCallService permission doc

Small typo in the docs for InCallService.

Change-Id: I551248858723047d30061d164976fb2e3418ed67

8 years agoVectorDrawable native rendering - Step 3 of MANY
Doris Liu [Wed, 2 Dec 2015 01:59:40 +0000 (17:59 -0800)]
VectorDrawable native rendering - Step 3 of MANY

- Refactored VPathRenderer & VectorDrawableState
- Moved all the VD rendering into native
- Set up hooks for VD's property changes in JNI for animated VD

TODO: JNI calls can be further reduced when we convert the animation
in AVD to use RenderNodeAnimator, in which case animation will be
driven from native and therefore most of the JNI hooks for changing
VD's properties during animation will no longer be needed.

Change-Id: I52021f4d7bea057b83ace54085d870dd45acae0f

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 01:13:25 +0000 (17:13 -0800)]
Use GID "wakelock" to control access to kernel wakelock

 * Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e

8 years agoDefines task to front/back animations in styles_micro.
Gus Prevas [Mon, 28 Dec 2015 20:02:13 +0000 (15:02 -0500)]
Defines task to front/back animations in styles_micro.

Bug: 26112737
Change-Id: I9f8c1da21580d525c32a76f25e223dc24d012837

8 years agoUse GID "wakelock" to control access to kernel wakelock
Pavlin Radoslavov [Tue, 24 Nov 2015 01:13:25 +0000 (17:13 -0800)]
Use GID "wakelock" to control access to kernel wakelock

 * Added GID "wakelock" (3010) to the list of groups the System Server
   belongs to.

 * Added GID "wakelock" to the list of assigned groups for the
   "android.permission.BLUETOOTH_STACK" Android permission.

 * Grant CAP_BLOCK_SUSPEND to processes that belong to GID "wakelock"

Bug: 25864142
Change-Id: I8a9a5f11e4a9ecd1abf2d4f4b90ec89b3101332e

8 years agoresolve merge conflicts of 94ab88228e to master.
Mark Salyzyn [Tue, 22 Dec 2015 21:02:39 +0000 (13:02 -0800)]
resolve merge conflicts of 94ab88228e to master.

Bug: 26178938
Change-Id: I1ec3421f4bb501942a0c06032d56cdaf06f56b45