OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Show 'end now' in expanded volume panel."
Julia Reynolds [Tue, 5 Jan 2016 20:47:20 +0000 (20:47 +0000)]
Merge "Show 'end now' in expanded volume panel."

8 years agoMerge "DND visual interruptions: prevent screen on."
Julia Reynolds [Tue, 5 Jan 2016 20:45:45 +0000 (20:45 +0000)]
Merge "DND visual interruptions: prevent screen on."

8 years agoMerge "Fixing issue with exit animation due to incorrect visibility state."
Winson Chung [Tue, 5 Jan 2016 19:41:23 +0000 (19:41 +0000)]
Merge "Fixing issue with exit animation due to incorrect visibility state."

8 years agoMerge "Move Adapters to their own classes."
Steve McKay [Tue, 5 Jan 2016 19:29:46 +0000 (19:29 +0000)]
Merge "Move Adapters to their own classes."

8 years agoMerge "Move Language normalization code from Paint.cpp to Minikin."
Roozbeh Pournader [Tue, 5 Jan 2016 19:27:32 +0000 (19:27 +0000)]
Merge "Move Language normalization code from Paint.cpp to Minikin."

8 years agoMerge "Optimize locale negotiation when there's only one locale"
Roozbeh Pournader [Tue, 5 Jan 2016 19:23:42 +0000 (19:23 +0000)]
Merge "Optimize locale negotiation when there's only one locale"

8 years agoFixing issue with exit animation due to incorrect visibility state.
Winson [Tue, 5 Jan 2016 01:51:18 +0000 (17:51 -0800)]
Fixing issue with exit animation due to incorrect visibility state.

- This CL ensures that only Recents updates the SysUI visibility state
  for itself, ensuring that the visibility state reflects the state in
  Recents, and allows us to skip unnecessary work to close system
  dialogs when it is not required.

Bug: 26390248
Change-Id: Ib6301a8300cc3da6da75fcbbceceb0e1da3beab4

8 years agoMerge "Don't set replacing flag in starting windows."
Wale Ogunwale [Tue, 5 Jan 2016 19:16:29 +0000 (19:16 +0000)]
Merge "Don't set replacing flag in starting windows."

8 years agoMove Adapters to their own classes.
Steve McKay [Wed, 23 Dec 2015 02:15:31 +0000 (18:15 -0800)]
Move Adapters to their own classes.

Move section break support into a separate wrapper class.
Fix issue where intermediate directory updates were briefly showing hidden files.
Add a rudimentary test for ModelBackedDocumentsAdapter.

Bug: 26293561263832372629356126309025
Change-Id: I1fa489b110754d8801091b2009caebe9d2278701

8 years agoMerge "Avoid matching system locales in locale negotiation"
Roozbeh Pournader [Tue, 5 Jan 2016 18:45:29 +0000 (18:45 +0000)]
Merge "Avoid matching system locales in locale negotiation"

8 years agoDon't set replacing flag in starting windows.
Wale Ogunwale [Tue, 5 Jan 2016 18:43:25 +0000 (10:43 -0800)]
Don't set replacing flag in starting windows.

When ever an app is changing stacks we set replacing flag on all it's
windows. Starting windows can be part of an apps window list, but is
added by window manager not the app. So, when we set replacing flag
on the starting window it can cause the starting window never to be
cleaned up since we are expecting the client to replace it which will
never happen since it was added by window manager.
We shouldn't be setting replacing flag on starting windows since they
can never be replaced.

Bug: 26294740
Change-Id: I0a4f1e44188e96e73614130cbea02a3860850f58

8 years agoShow 'end now' in expanded volume panel.
Julia Reynolds [Tue, 5 Jan 2016 18:42:43 +0000 (13:42 -0500)]
Show 'end now' in expanded volume panel.

Bug: 26165288
Change-Id: I1e75a33f7745a7aa0b4740010cc554b4f1d924c6

8 years agoMerge "Support for stencil clipping in layers"
Chris Craik [Tue, 5 Jan 2016 18:33:54 +0000 (18:33 +0000)]
Merge "Support for stencil clipping in layers"

8 years agoSupport for stencil clipping in layers
Chris Craik [Mon, 4 Jan 2016 23:09:19 +0000 (15:09 -0800)]
Support for stencil clipping in layers

bug:22480459

Change-Id: Ic9e8652379524ccc46d8722ce49f9190b08a2abc

8 years agoMerge "Stencil support in new recorder/reorderer"
Chris Craik [Tue, 5 Jan 2016 17:54:47 +0000 (17:54 +0000)]
Merge "Stencil support in new recorder/reorderer"

8 years agoDND visual interruptions: prevent screen on.
Julia Reynolds [Tue, 5 Jan 2016 13:35:25 +0000 (08:35 -0500)]
DND visual interruptions: prevent screen on.

Bug: 25423508
Change-Id: Ie935a2051e1ae774fbeaf624f3599b2b1bb8666d

8 years agoMerge "Fix unnecessary relayouts"
Filip Gruszczynski [Tue, 5 Jan 2016 17:25:11 +0000 (17:25 +0000)]
Merge "Fix unnecessary relayouts"

8 years agoMerge "Fix ToolbarActionBar invalidating destroyed Activities"
Chris Banes [Tue, 5 Jan 2016 16:33:13 +0000 (16:33 +0000)]
Merge "Fix ToolbarActionBar invalidating destroyed Activities"

8 years agoDon't push IME above all app windows and dock divider.
Filip Gruszczynski [Mon, 4 Jan 2016 23:56:07 +0000 (15:56 -0800)]
Don't push IME above all app windows and dock divider.

The IME should only be pushed above the application that requested it.
There might be other windows that go above the IME, e.g. spinner dialog.

We used to need the IME to go above all app windows, because the dock
divider goes above all app windows and we want IME above the dock
divider. This is not necessary anymore, because the dock divider is now
aware of the IME and changes it's size to available space. The
transition is also graceful enough, that it looks correct even when the
IME goes away.

Bug: 26325071
Change-Id: I8c05f2d200c5bb92c5fdb0d252e277fbe43a60a5

8 years agoDo not pass invalid bounds for dim layer #2
Jorim Jaggi [Tue, 5 Jan 2016 14:40:17 +0000 (15:40 +0100)]
Do not pass invalid bounds for dim layer #2

Bug: 26396656
Change-Id: Icb0419489a1b7a756a4622383c4c2462ee0d8d90

8 years agoDo not pass invalid bounds for dim layer
Jorim Jaggi [Tue, 5 Jan 2016 14:32:34 +0000 (15:32 +0100)]
Do not pass invalid bounds for dim layer

Makes the entire system freeze.

Bug: 26396656
Change-Id: I9e9b0a297a351cd8ef72cdc8f5994df6c42567d9

8 years agoFix build
Jorim Jaggi [Tue, 5 Jan 2016 14:25:24 +0000 (15:25 +0100)]
Fix build

Change-Id: Ifd69818ca6d5dbf129f6c956c1a7dfae760e30d6

8 years agoCreate new Navigation Bar for the Theme Editor Preview am: 3b90b74cf9
Jerome Gaillard [Tue, 5 Jan 2016 14:21:04 +0000 (14:21 +0000)]
Create new Navigation Bar for the Theme Editor Preview am: 3b90b74cf9
am: 968ee5368b

* commit '968ee5368b7d626e7ac64b0befd212a04e9533cf':
  Create new Navigation Bar for the Theme Editor Preview

8 years agoCreate new Navigation Bar for the Theme Editor Preview
Jerome Gaillard [Tue, 5 Jan 2016 14:16:57 +0000 (14:16 +0000)]
Create new Navigation Bar for the Theme Editor Preview
am: 3b90b74cf9

* commit '3b90b74cf96c88267e20a410b639b68de84c3323':
  Create new Navigation Bar for the Theme Editor Preview

8 years agoFix unnecessary relayouts
Jorim Jaggi [Tue, 5 Jan 2016 13:43:25 +0000 (14:43 +0100)]
Fix unnecessary relayouts

Make sure mPendingBackDropFrame is always up-to-date.

Bug: 26396351
Change-Id: Icb61f3581ee75e94d45fc0f8ae0895535bb130ea

8 years agoAdd nice animation when touching the docked divider handle
Jorim Jaggi [Mon, 4 Jan 2016 12:06:34 +0000 (13:06 +0100)]
Add nice animation when touching the docked divider handle

To make the interaction more dynamic.

Change-Id: I8fc3e6240c229753dc26122ae0994d59c4f6486e

8 years agoImplement parallax when dismissing docked/fullscreen stack
Jorim Jaggi [Wed, 30 Dec 2015 12:54:32 +0000 (13:54 +0100)]
Implement parallax when dismissing docked/fullscreen stack

When moving the docked or the fullscreen task close to the side,
we add a nice parallax to indicate that this task will be dismissed.

Change-Id: Ide195876942c1614c186fd5f3ff3e86f6fdfec61

8 years agoDim stack while dismissing
Jorim Jaggi [Tue, 29 Dec 2015 16:54:12 +0000 (17:54 +0100)]
Dim stack while dismissing

When dismissing the docked or fullscreen stack, a dim layer is
introduced for a nicer visual effect.

Change-Id: I9f12e331e978208aa9fd9e9883b3c8a36d4da3a0

8 years agoRefine snap position behavior
Jorim Jaggi [Mon, 21 Dec 2015 13:45:18 +0000 (14:45 +0100)]
Refine snap position behavior

- Use the stable insets to communicate the system insets to the
docked divider view.
- When calculating the sizes for the snap positions, exclude the
system insets.
- Add 3 snap position modes: 16:9 in one window, 1:1, 16:9 in the
other (phone portrait). Only 1:1 (phone landscape). Fixed relation,
1:1, 1 - fixed relation (tablet portrait/landscape).

Change-Id: If2166c5fb99f12535eeab5de18e9f5aaf433d77c

8 years agoAdd am command for CTS tests for resizedDockedStack (1/2)
Jorim Jaggi [Tue, 29 Dec 2015 13:28:32 +0000 (14:28 +0100)]
Add am command for CTS tests for resizedDockedStack (1/2)

Bug: 25015474
Bug: 26311778
Change-Id: Ia2b1f8ffc5c777d8199409041090a0106503c2e4

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 agoMove Language normalization code from Paint.cpp to Minikin.
Seigo Nonaka [Tue, 15 Dec 2015 18:03:36 +0000 (10:03 -0800)]
Move Language normalization code from Paint.cpp to Minikin.

This is 2nd attempt of I277a08b5a17d45c3edb8fb597fdf6786bbe9f83b

The language code to BCP47 conversion is done by Minikin.

Also this CL addresses the signature changes by
I8df992a6851021903478972601a9a5c9424b100c

Bug: 26168983
Change-Id: Id106e9bb5c3eaa6652b44a1735f427accaca1368

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 agoOptimize locale negotiation when there's only one locale
Roozbeh Pournader [Tue, 5 Jan 2016 01:38:17 +0000 (17:38 -0800)]
Optimize locale negotiation when there's only one locale

Previously, we were finding the list of locales supported by the
system in all cases, costing us a JNI call, which was not necessary
when there was only one locale (which is expected to be quite
common).

Change-Id: I2f752a71a46b66ac2abb553a5939eddf0f761698

8 years agoStencil support in new recorder/reorderer
Chris Craik [Wed, 23 Dec 2015 00:32:23 +0000 (16:32 -0800)]
Stencil support in new recorder/reorderer

bug:22480459
bug:26358504

Adds complex (non-rectangular) clipping support, and overdraw
visualization. Doesn't support stencil clipping in layers.

Change-Id: I8d10c7f1d2769ab5756774ca672344cc09901f87

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 agoAvoid matching system locales in locale negotiation
Roozbeh Pournader [Fri, 18 Dec 2015 22:22:14 +0000 (14:22 -0800)]
Avoid matching system locales in locale negotiation

Also:
1. Add AssetManager method for finding non-system locales: This is
used in per-app locale negotiation. (Normally,
AssetManager#getLocales() returns both system and non-system
locales.)

2. Match pseudolocales correctly in locale negotiation.

Bug: 25800576
Bug: 26236938
Change-Id: I116caf3a91c290deb4ad68b291c65b7035b18dd4

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 agoFix ToolbarActionBar invalidating destroyed Activities
Chris Banes [Mon, 4 Jan 2016 20:41:59 +0000 (20:41 +0000)]
Fix ToolbarActionBar invalidating destroyed Activities

BUG: 26375399
Change-Id: Ieae13890896b1082b51a81317760b4975aeb5dff

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 agoCreate new Navigation Bar for the Theme Editor Preview
Jerome Gaillard [Fri, 18 Dec 2015 18:13:39 +0000 (18:13 +0000)]
Create new Navigation Bar for the Theme Editor Preview

The standard navigation bar was not working well in the Theme Editor preview
when in a wide configuration. The bar then did not fit entirely inside the display.
So we created a new Navigation Bar to use in the Theme Editor preview, that fixes
the size problem.

Bug: http://b.android.com/198179
Change-Id: Ifb1fa7b8f399f17392934de89078696337eca3e1

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"