OSDN Git Service

android-x86/frameworks-base.git
8 years agoLayer user restrictions
Makoto Onuki [Tue, 13 Oct 2015 21:34:03 +0000 (14:34 -0700)]
Layer user restrictions

- Now DPMS remembers user restrictions set by DO / PO in their ActiveAdmin.

- User restrictions set by DO/PO will no longer be saved by UserManger.  Instead,
when needed, UMS will consult DPMS to build "effective" user restrictions.

- UM.getUserRestrictions() will now always return "effective" user restrictions.

- DPMS migrates existing user restrictions per the eng spec.

- Also now UM.setUserRestrictions() will crash.  UMS.setUserRestrictions() has
been removed.
This was needed because UM.setUserRestrctions(UM.getUserRestrictions()) will no
longer be a valid use like it used to be.

- Also introduced a fined-grained lock for user restrictions in UM to avoid
deadlock between DPMS and also for better performance.

Bug 23902097

Change-Id: If0e1e49344e2f3e9226532d00777976d1eaa7df3

8 years agoMerge "Stop populating RemoteViews in Notifications."
Julia Reynolds [Tue, 27 Oct 2015 20:36:31 +0000 (20:36 +0000)]
Merge "Stop populating RemoteViews in Notifications."

8 years agoFixing minor regression with system bar scrims.
Winson [Tue, 27 Oct 2015 19:50:29 +0000 (12:50 -0700)]
Fixing minor regression with system bar scrims.

Change-Id: I0cf508c26b3a71c604a3061b05abb47cac5a9bb2

8 years agoMerge "clean up USER_OWNER in Pm command"
Xiaohui Chen [Tue, 27 Oct 2015 18:43:22 +0000 (18:43 +0000)]
Merge "clean up USER_OWNER in Pm command"

8 years agoMerge "Fixing regression with launch target task."
Winson Chung [Tue, 27 Oct 2015 18:41:20 +0000 (18:41 +0000)]
Merge "Fixing regression with launch target task."

8 years agoFixing regression with launch target task.
Winson [Wed, 14 Oct 2015 00:21:42 +0000 (17:21 -0700)]
Fixing regression with launch target task.

Change-Id: I7e3ed55081a90309290aba290b4acbadb172283d

8 years agoMerge "Add missing OpenGLES 3.1 bitfield constants."
Pablo Ceballos [Tue, 27 Oct 2015 17:57:28 +0000 (17:57 +0000)]
Merge "Add missing OpenGLES 3.1 bitfield constants."

8 years agoMerge "Add traces when windows are animating"
Jorim Jaggi [Tue, 27 Oct 2015 17:04:50 +0000 (17:04 +0000)]
Merge "Add traces when windows are animating"

8 years agoMerge "Delete TestDocumentsProvider."
Steve McKay [Tue, 27 Oct 2015 16:51:43 +0000 (16:51 +0000)]
Merge "Delete TestDocumentsProvider."

8 years agoAdd traces when windows are animating
Jorim Jaggi [Tue, 27 Oct 2015 16:38:16 +0000 (09:38 -0700)]
Add traces when windows are animating

Change-Id: If52f72c27c88060f7a0e2ff53adb1579bf181f59

8 years agoMerge "Refactoring the focus state to be independent of view focus."
Winson Chung [Tue, 27 Oct 2015 16:33:37 +0000 (16:33 +0000)]
Merge "Refactoring the focus state to be independent of view focus."

8 years agoMerge "Coalesce layout traversal when resizing stacks"
Jorim Jaggi [Tue, 27 Oct 2015 16:28:15 +0000 (16:28 +0000)]
Merge "Coalesce layout traversal when resizing stacks"

8 years agoCoalesce layout traversal when resizing stacks
Jorim Jaggi [Thu, 22 Oct 2015 14:43:34 +0000 (16:43 +0200)]
Coalesce layout traversal when resizing stacks

When resizing the docked stack, the other stacks are also resized,
leading to multiple layout traversals. Coalesce these by
introducing the concept of layout traversal coalscing.

In addition, don't cause layout refreshs for the stacks that are
currently not visible.

Bug: 25015474
Change-Id: I5692d00c044572a1bbb3ea218b0c31572585f5bd

8 years agoMerge "Add development option to force everything resizable"
Jorim Jaggi [Tue, 27 Oct 2015 16:21:14 +0000 (16:21 +0000)]
Merge "Add development option to force everything resizable"

8 years agoMerge "Add long press on recents to dock top most task"
Jorim Jaggi [Tue, 27 Oct 2015 16:20:30 +0000 (16:20 +0000)]
Merge "Add long press on recents to dock top most task"

8 years agoMerge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a am: 6c8b91d8c2
Wale Ogunwale [Tue, 27 Oct 2015 15:35:07 +0000 (15:35 +0000)]
Merge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a am: 6c8b91d8c2
am: 7dafc74fda

* commit '7dafc74fda1b4333d9035892502657e1015f91c6':
  [ActivityManager] Fix IndexOutOfBoundsException

8 years agoMerge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a
Wale Ogunwale [Tue, 27 Oct 2015 15:27:16 +0000 (15:27 +0000)]
Merge "[ActivityManager] Fix IndexOutOfBoundsException" am: a61515720a
am: 6c8b91d8c2

* commit '6c8b91d8c2c657eb8a5b0afa00a3b93044447f56':
  [ActivityManager] Fix IndexOutOfBoundsException

8 years agoMerge "[ActivityManager] Fix IndexOutOfBoundsException"
Wale Ogunwale [Tue, 27 Oct 2015 15:19:56 +0000 (15:19 +0000)]
Merge "[ActivityManager] Fix IndexOutOfBoundsException"
am: a61515720a

* commit 'a61515720ab95f6aa307c1fa4337c5c2078bad26':
  [ActivityManager] Fix IndexOutOfBoundsException

8 years agoAdd development option to force everything resizable
Jorim Jaggi [Thu, 22 Oct 2015 10:50:31 +0000 (12:50 +0200)]
Add development option to force everything resizable

Add a development setting to force all activites to be
resizable. Currently, a restart is required after changing
this setting. Also remove all the code that forced a single
task to be resizable, as we have a global option now.

Bug: 24815256
Change-Id: I3237c9b6ce96ff9aa9819592ab0c2807fde88dc4

8 years agoAdd long press on recents to dock top most task
Jorim Jaggi [Wed, 21 Oct 2015 12:51:10 +0000 (14:51 +0200)]
Add long press on recents to dock top most task

- Change the gesture to unpin a locked task into long pressing
the back button.
- When long pressing recents, dock top most task.

Change-Id: I1386151e781f4034cfb97d3c8d46c709d19fe779

8 years agoMerge "[ActivityManager] Fix IndexOutOfBoundsException"
Wale Ogunwale [Tue, 27 Oct 2015 15:12:56 +0000 (15:12 +0000)]
Merge "[ActivityManager] Fix IndexOutOfBoundsException"

8 years agoStop populating RemoteViews in Notifications.
Julia Reynolds [Tue, 20 Oct 2015 14:37:27 +0000 (10:37 -0400)]
Stop populating RemoteViews in Notifications.

Builder now stores its parameters directly in the
Notification object itself, reducing the amount of copying
needed to construct the final Notification as well as
converging the two data structures. All Builder data is now
captured in Notification, so it is easy to reconstruct
a Builder for any Notification object.

This obviates all stripping/unstripping operations because
all Notification objects start life "stripped" of their
RemoteViews, which must be constructed explicitly by clients
(presumably listeners wishing to show the notification to
the user in its conventional form).

Note: While contentView, bigContentView, and
headsUpContentView are being @Deprecated in this CL,
specifying custom RemoteViews is definitely still supported!
You just have to use Builder methods to do so.

Bug: 20153922
Change-Id: I81f8ffed0eb76084b2f2b25b97e325858f0a1d05

8 years agoMerge "Add null check for MotionEvent#getDevice."
Keisuke Kuroyanagi [Tue, 27 Oct 2015 11:08:38 +0000 (11:08 +0000)]
Merge "Add null check for MotionEvent#getDevice."

8 years agoMerge "Stop making a reversed selection with mice."
Keisuke Kuroyanagi [Tue, 27 Oct 2015 09:45:32 +0000 (09:45 +0000)]
Merge "Stop making a reversed selection with mice."

8 years agoMerge "Let MtpDatabase add device name to storage root."
Daichi Hirono [Tue, 27 Oct 2015 08:34:34 +0000 (08:34 +0000)]
Merge "Let MtpDatabase add device name to storage root."

8 years agoAdd null check for MotionEvent#getDevice.
Keisuke Kuroyanagi [Tue, 27 Oct 2015 08:29:53 +0000 (17:29 +0900)]
Add null check for MotionEvent#getDevice.

MotionEvent#getDevice can return null when the device is
unknown.

Change-Id: I902a96300307e3b2d3b324a2998e470254388e27

8 years agoLet MtpDatabase add device name to storage root.
Daichi Hirono [Tue, 27 Oct 2015 08:22:13 +0000 (17:22 +0900)]
Let MtpDatabase add device name to storage root.

We have added device name to storage root by ag/790395.
But the change was not added to MtpDatabase class.

BUG=25162822

Change-Id: I019a9cf770a91c43b4e2f4e81e74b40175fd4872

8 years agoMerge "Remove fullpath from MtpDatabase."
Daichi Hirono [Tue, 27 Oct 2015 08:26:45 +0000 (08:26 +0000)]
Merge "Remove fullpath from MtpDatabase."

8 years agoStop making a reversed selection with mice.
Keisuke Kuroyanagi [Tue, 27 Oct 2015 08:26:07 +0000 (17:26 +0900)]
Stop making a reversed selection with mice.

Bug: 24889605
Bug: 24475013
Change-Id: I6d39e050656dc28e523fab862c84054169e6300b

8 years agoRemove fullpath from MtpDatabase.
Daichi Hirono [Tue, 27 Oct 2015 07:41:06 +0000 (16:41 +0900)]
Remove fullpath from MtpDatabase.

If the remote MTP device is backed by typical file system, the file name
is unique among files in a directory. However, MTP protocol itself does
not guarantee the uniqueness of name so we cannot use fullpath as ID.

Instead of fullpath, we use artifical ID generated by MtpDatabase
itself. So we don't need to store fullpath in the database.

BUG=25162822

Change-Id: I06598ce631a3221ed72e11734dbdaefef4c6349c

8 years agoMerge "Move TestResources class to the outside of MtpDocumentProviderTest."
Daichi Hirono [Tue, 27 Oct 2015 08:09:25 +0000 (08:09 +0000)]
Merge "Move TestResources class to the outside of MtpDocumentProviderTest."

8 years agoMove TestResources class to the outside of MtpDocumentProviderTest.
Daichi Hirono [Tue, 27 Oct 2015 07:29:18 +0000 (16:29 +0900)]
Move TestResources class to the outside of MtpDocumentProviderTest.

TestResources class will be used in MtpDatabaseTest.

BUG=25162822

Change-Id: I4f51b517532bbc111e95e7ebd96787a2e6f0f87a

8 years agoMerge "Fix: Last char can be excluded from mouse selection."
Keisuke Kuroyanagi [Tue, 27 Oct 2015 05:46:47 +0000 (05:46 +0000)]
Merge "Fix: Last char can be excluded from mouse selection."

8 years agoMerge "Add mouse interaction UI test for TextView."
Keisuke Kuroyanagi [Tue, 27 Oct 2015 05:46:00 +0000 (05:46 +0000)]
Merge "Add mouse interaction UI test for TextView."

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded -s ours am...
Geoff Mendal [Tue, 27 Oct 2015 04:51:39 +0000 (04:51 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded  -s ours am: 515e97a52c  -s ours
am: ff20c28c38  -s ours

* commit 'ff20c28c3813f412379c03457c6b3f31e53d81c4':
  Import translations. DO NOT MERGE

8 years ago[ActivityManager] Fix IndexOutOfBoundsException
louis_chang [Tue, 27 Oct 2015 02:45:53 +0000 (10:45 +0800)]
[ActivityManager] Fix IndexOutOfBoundsException

Symptom:
The stack was deleted during cleanup, so the stack
list size has reduced by one and cause this issue.

IndexOutOfBoundsException: Invalid index 1, size is 1

Change-Id: Ic6722aed98a0ad789b331d00e89cb74bf3b36d4c

8 years agoRefactoring the focus state to be independent of view focus.
Winson [Tue, 27 Oct 2015 00:05:04 +0000 (17:05 -0700)]
Refactoring the focus state to be independent of view focus.

- This allows us to ensure that a task is always focused in the stack,
  which simplified focus logic, and allows us to unify the accessibility
  focus and normal view focus handling.
- Refactoring some focus actions to events
- Adding flags to experiment with fast-toggle.

Change-Id: I5623f2a5584994033f1ebf1760b55e8bd019944b

8 years agoMerge "Bring back the sensing alarm. We need it!"
Dianne Hackborn [Tue, 27 Oct 2015 00:15:02 +0000 (00:15 +0000)]
Merge "Bring back the sensing alarm.  We need it!"

8 years agoMerge "Use saved window surface to start entering animation"
Chong Zhang [Mon, 26 Oct 2015 23:57:13 +0000 (23:57 +0000)]
Merge "Use saved window surface to start entering animation"

8 years agoMerge "Fix TimeUtils.formatDuration for exactly one of a unit"
Mitchell Wills [Mon, 26 Oct 2015 23:53:57 +0000 (23:53 +0000)]
Merge "Fix TimeUtils.formatDuration for exactly one of a unit"

8 years agoUse saved window surface to start entering animation
Chong Zhang [Fri, 23 Oct 2015 21:01:43 +0000 (14:01 -0700)]
Use saved window surface to start entering animation

When app is paused, keep the window surface around. Use it to start
enter animation if size remains unchanged on next launch.

bug: 19940527
Change-Id: Icf88d81f08b59e8bd946e410611f5098b253eb10

8 years agoMerge "Initial version of clipped saveLayer in new pipeline"
Chris Craik [Mon, 26 Oct 2015 23:12:46 +0000 (23:12 +0000)]
Merge "Initial version of clipped saveLayer in new pipeline"

8 years agoDelete TestDocumentsProvider.
Steve McKay [Mon, 26 Oct 2015 21:21:05 +0000 (14:21 -0700)]
Delete TestDocumentsProvider.

We can use StubProvider.

Change-Id: I8a38acd86e2ce57ff50f05710cb7f7f4c1fec63d

8 years agoInitial version of clipped saveLayer in new pipeline
Chris Craik [Fri, 23 Oct 2015 21:33:42 +0000 (14:33 -0700)]
Initial version of clipped saveLayer in new pipeline

Additionally disables usage of FBO cache, so FBO destruction safely
interacts with renderstate caching.

Change-Id: I25c277cb7afec2ca33bf226445d6c8867a15a915

8 years agoClean up and document app transition animation loading.
Filip Gruszczynski [Mon, 26 Oct 2015 00:15:06 +0000 (17:15 -0700)]
Clean up and document app transition animation loading.

We had three different sources of information about where the
animated window will start/end: appFrame, containingFrame,
containingWidth/Height. We can merge these into one, because
containingWidth/Height can be calculated from containingFrame and
appFrame is actually used only once and the containingFrame is not
used in the same scenario.

Also, documentation about the frames and insets. The rest is fairly
simple, but frames and insets need explanation of how they are used.

Finally, simplify naming.

Bug: 25246833

Change-Id: I0accc2f23792bca4e1b9941007c6249745e023ce

8 years agoMerge "Improve infrastructure for replacing windows."
Filip Gruszczynski [Mon, 26 Oct 2015 21:48:30 +0000 (21:48 +0000)]
Merge "Improve infrastructure for replacing windows."

8 years agoMerge "eglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW"
John Reck [Mon, 26 Oct 2015 21:32:52 +0000 (21:32 +0000)]
Merge "eglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW"

8 years agoBring back the sensing alarm. We need it!
Dianne Hackborn [Mon, 26 Oct 2015 21:31:07 +0000 (14:31 -0700)]
Bring back the sensing alarm.  We need it!

Change-Id: I9f42dc19b99b7550189449d0a5100caa140810c1

8 years agoImprove infrastructure for replacing windows.
Filip Gruszczynski [Sun, 25 Oct 2015 23:05:27 +0000 (16:05 -0700)]
Improve infrastructure for replacing windows.

We need to be more precise when removing the window that is being
replaced. We used to depend on the fact that we can remove it after
the first draw of the new added window. However, due to resizing the
old window might reset its draw state and that will trigger a removal
of that window.

We need to add an information about the window that is replacing the
old one and only when this new window draws itself, we remove the old
one.

This improves the transition after maximizing docked window. This is
a situation where first resize operation finishes and immediately
after we have a replacement operation.

Bug: 24914011
Change-Id: Ia8e5bb7872787e663ba23f26588f9c4db1a5e574

8 years agoMerge "Align the freeform to docking animation."
Filip Gruszczynski [Mon, 26 Oct 2015 21:09:27 +0000 (21:09 +0000)]
Merge "Align the freeform to docking animation."

8 years agoAlign the freeform to docking animation.
Filip Gruszczynski [Sun, 25 Oct 2015 20:40:47 +0000 (13:40 -0700)]
Align the freeform to docking animation.

It was not aligned, because we didn't take into account that the
docked window will be cropped by the status bar and navigation
bar. We need to account for that when creating the animation.

Bug: 24913915
Change-Id: Idb82eefa14d65fe3bf6b25a9bd94c12dc8cbe648

8 years agoeglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW
John Reck [Mon, 26 Oct 2015 20:52:52 +0000 (13:52 -0700)]
eglSwapBuffers can also return EGL_BAD_NATIVE_WINDOW

Bug: 25017107
Change-Id: I545a746ba89d577de5769bc3e7dd335a100638c0

8 years agoMerge "Address followup comments from 793838."
Steve McKay [Mon, 26 Oct 2015 20:51:09 +0000 (20:51 +0000)]
Merge "Address followup comments from 793838."

8 years agoAddress followup comments from 793838.
Steve McKay [Fri, 23 Oct 2015 16:04:09 +0000 (09:04 -0700)]
Address followup comments from 793838.

Change-Id: Ie77112ea38796f970a8f688c1c94aeb05f46ab78

8 years agoMerge "MIDI docs: add missing bracket"
Phil Burk [Mon, 26 Oct 2015 20:26:11 +0000 (20:26 +0000)]
Merge "MIDI docs: add missing bracket"

8 years agoMerge "Scan package with null user context."
Xiaohui Chen [Mon, 26 Oct 2015 20:01:51 +0000 (20:01 +0000)]
Merge "Scan package with null user context."

8 years agoScan package with null user context.
Xiaohui Chen [Mon, 26 Oct 2015 18:36:39 +0000 (11:36 -0700)]
Scan package with null user context.

Bug: 25185277
Change-Id: Ib15c04b55b10e315f186dd58a9489bbfcd527061

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a -s ours am...
Geoff Mendal [Mon, 26 Oct 2015 19:59:46 +0000 (19:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a  -s ours am: ad3bd48dfe  -s ours
am: dd21740d6b  -s ours

* commit 'dd21740d6b6ec56e812cd2845c85fe3efd3e3e6a':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825 -s ours am...
Geoff Mendal [Mon, 26 Oct 2015 19:58:17 +0000 (19:58 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825  -s ours am: fe4a48c010  -s ours
am: 4604e75970  -s ours

* commit '4604e7597041f17dce0f9469ab5dcaae32426cf4':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:52:50 +0000 (19:52 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 337495bded  -s ours
am: 515e97a52c  -s ours

* commit '515e97a52c0b15d3e7a2d629d3faa821fa4f285e':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:51:18 +0000 (19:51 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: db4f28692a  -s ours
am: ad3bd48dfe  -s ours

* commit 'ad3bd48dfe219ac6cb8531f7a7750437c75b0fa3':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825 -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:49:00 +0000 (19:49 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 9865051825  -s ours
am: fe4a48c010  -s ours

* commit 'fe4a48c01056f539f041572c5b685fa44eddb9f4':
  Import translations. DO NOT MERGE

8 years agoMerge "Fix drag and drop URI permission grants"
Vladislav Kaznacheev [Mon, 26 Oct 2015 19:46:21 +0000 (19:46 +0000)]
Merge "Fix drag and drop URI permission grants"

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:44:27 +0000 (19:44 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 337495bded  -s ours

* commit '337495bded9c4035a922274143c1ab119e692bdd':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:42:59 +0000 (19:42 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: db4f28692a  -s ours

* commit 'db4f28692aacccb57d64f86b3dfd4205bafebf9b':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:40:56 +0000 (19:40 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 9865051825  -s ours

* commit '9865051825fbc709510deefa129c4210fadf057a':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:36:01 +0000 (19:36 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:35:20 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:35:02 +0000 (19:35 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoMerge changes I8ac518ce,I8392b4c3,I3bef3f75
Wale Ogunwale [Mon, 26 Oct 2015 19:27:57 +0000 (19:27 +0000)]
Merge changes I8ac518ce,I8392b4c3,I3bef3f75

* changes:
  Support for activity to opt-in/out of PiP form of multi-window.
  API for moving top activity in a stack to pinned stack.
  Added support for pinned stack.

8 years agoMerge "Removed use of leanback mode in ActivityManager."
Wale Ogunwale [Mon, 26 Oct 2015 19:27:32 +0000 (19:27 +0000)]
Merge "Removed use of leanback mode in ActivityManager."

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 8961b24ff2 -s ours am...
Geoff Mendal [Mon, 26 Oct 2015 19:25:11 +0000 (19:25 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 8961b24ff2  -s ours am: 7976a3fbf4  -s ours
am: cc7abc5edd  -s ours

* commit 'cc7abc5eddf9c2a47456103a720d28609e94b658':
  Import translations. DO NOT MERGE

8 years agoSupport for activity to opt-in/out of PiP form of multi-window.
Wale Ogunwale [Sat, 24 Oct 2015 19:35:56 +0000 (12:35 -0700)]
Support for activity to opt-in/out of PiP form of multi-window.

While it makes sense to be able to resize most activities types
in multi-window mode. It only makes sense to put specific types
of activities in Picture-in-Picture (PiP) form of multi-window.
For example, activities that play video will be good candidates
while the Settings activity isn't.

The new flag allows the system to differentiate between resizeable
activities that can go into PiP mode and those that can't.

Bug: 25006507
Change-Id: I8ac518cec2fa3c8fb88be40c266b3751fb88f1ce

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 4917e9dd1c -s ours am...
Geoff Mendal [Mon, 26 Oct 2015 19:23:46 +0000 (19:23 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 4917e9dd1c  -s ours am: e8be87e96f  -s ours
am: b45b5ee1ca  -s ours

* commit 'b45b5ee1ca8c014f41e2aba6186285f573437aae':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 82b5276866 -s ours am...
Geoff Mendal [Mon, 26 Oct 2015 19:22:19 +0000 (19:22 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 82b5276866  -s ours am: 76941becab  -s ours
am: 5f4f059440  -s ours

* commit '5f4f059440f1d438280a829c6f1db42a2f432372':
  Import translations. DO NOT MERGE

8 years agoMerge "Adding flag for disabling search bar."
Winson Chung [Mon, 26 Oct 2015 19:20:30 +0000 (19:20 +0000)]
Merge "Adding flag for disabling search bar."

8 years agoAdding flag for disabling search bar.
Winson [Mon, 26 Oct 2015 17:56:59 +0000 (10:56 -0700)]
Adding flag for disabling search bar.

Change-Id: I988912c8209f1e49c71e4db2a7b926c808dbc975

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 8961b24ff2 -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:16:11 +0000 (19:16 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 8961b24ff2  -s ours
am: 7976a3fbf4  -s ours

* commit '7976a3fbf4581b7b9ef531e8dcd7e6e889d08d76':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 4917e9dd1c -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:14:46 +0000 (19:14 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 4917e9dd1c  -s ours
am: e8be87e96f  -s ours

* commit 'e8be87e96f7c9e854e7ac57475f38fedb8e1cac8':
  Import translations. DO NOT MERGE

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev am: 82b5276866 -s ours
Geoff Mendal [Mon, 26 Oct 2015 19:13:04 +0000 (19:13 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev am: 82b5276866  -s ours
am: 76941becab  -s ours

* commit '76941becab388c347577dfc60d6fae4b190b684a':
  Import translations. DO NOT MERGE

8 years agoMerge "Fix a DocsUI crash due to a misnamed xml reference."
Ben Kwa [Mon, 26 Oct 2015 19:12:50 +0000 (19:12 +0000)]
Merge "Fix a DocsUI crash due to a misnamed xml reference."

8 years agoMerge "Add functional tests for FilesActivity."
Steve McKay [Mon, 26 Oct 2015 19:11:18 +0000 (19:11 +0000)]
Merge "Add functional tests for FilesActivity."

8 years agoAdd functional tests for FilesActivity.
Steve McKay [Fri, 23 Oct 2015 18:46:01 +0000 (11:46 -0700)]
Add functional tests for FilesActivity.

Adds a bare bones test provider with dummy data.
This is basically just the bones of a test at this point.
Has just one simple test...switch list/grid modes.
Will add more tests (like manipulating the dummy data) in future CLs.

Bug: 24988170
Change-Id: Icc25718a416bc804874835c74a6d7862a52c9861

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:08:26 +0000 (19:08 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 8961b24ff2  -s ours

* commit '8961b24ff2541fc246e275ae3cc4cdda64934462':
  Import translations. DO NOT MERGE

8 years agoAPI for moving top activity in a stack to pinned stack.
Wale Ogunwale [Sat, 24 Oct 2015 18:44:07 +0000 (11:44 -0700)]
API for moving top activity in a stack to pinned stack.

* AMS.moveTopStackActivityToPinnedStack can be used to move the top
activity in a stack to the pinned stack and also specify the bounds
the pinned stack should be sized to.
* 'am stack move-top-activity-to-pinned-stack' command for testing
AMS.moveTopStackActivityToPinnedStack API

Bug: 25006507
Change-Id: I8392b4c39d8542153e691be7a627b7f35fd44884

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:06:53 +0000 (19:06 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 4917e9dd1c  -s ours

* commit '4917e9dd1c727a003e9636e4c78c3f5c1aad7402':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 19:06:21 +0000 (12:06 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 19:04:39 +0000 (19:04 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev
am: 82b5276866  -s ours

* commit '82b52768667a16a6ef02b2d9aa9cd171f547331a':
  Import translations. DO NOT MERGE

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 19:04:18 +0000 (12:04 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 19:02:09 +0000 (12:02 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 18:59:41 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 18:59:25 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoMerge "Import translations. DO NOT MERGE" into cw-e-dev
Geoff Mendal [Mon, 26 Oct 2015 18:59:13 +0000 (18:59 +0000)]
Merge "Import translations. DO NOT MERGE" into cw-e-dev

8 years agoFix a DocsUI crash due to a misnamed xml reference.
Ben Kwa [Mon, 26 Oct 2015 18:54:41 +0000 (11:54 -0700)]
Fix a DocsUI crash due to a misnamed xml reference.

BUG=25266394

Change-Id: I06bd3283e52467af3ebb43396d4166b3c25620a9

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 18:49:23 +0000 (11:49 -0700)]
Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 18:43:00 +0000 (11:43 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMIDI docs: add missing bracket
Phil Burk [Mon, 26 Oct 2015 18:41:11 +0000 (11:41 -0700)]
MIDI docs: add missing bracket

The example code for openDevice() was missing a close bracket.

Bug: 25283941
Change-Id: I8fac6a6dee2393125ad4e057cb857fe21e43b491
Signed-off-by: Phil Burk <philburk@google.com>
8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 26 Oct 2015 18:40:53 +0000 (11:40 -0700)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Move some app methods to AppUtils in SettingsLib"
Tony Mantler [Mon, 26 Oct 2015 18:39:15 +0000 (18:39 +0000)]
Merge "Move some app methods to AppUtils in SettingsLib"

8 years agoAdded support for pinned stack.
Wale Ogunwale [Sat, 24 Oct 2015 03:08:22 +0000 (20:08 -0700)]
Added support for pinned stack.

Used to support picture-in-picture use case for multi-window

Bug: 25006507
Change-Id: I3bef3f75e0c003f5974274294f1250171d424625