OSDN Git Service

android-x86/frameworks-base.git
8 years agoCrop application windows to their stack bounds.
Filip Gruszczynski [Tue, 15 Sep 2015 01:16:19 +0000 (18:16 -0700)]
Crop application windows to their stack bounds.

We don't want applications to put their content outside of the area
designated by their stacks. However, we don't want to affect their
frames or task bounds. Instead, we crop their surfaces to the bounds
so they don't extend outside of the stack.

Change-Id: I7231c4baa437eefaa6bd7ba89dbc3d5038496c46

8 years agoMerge changes Id8d6f639,Iedc9e21b
Wale Ogunwale [Mon, 14 Sep 2015 22:56:33 +0000 (22:56 +0000)]
Merge changes Id8d6f639,Iedc9e21b

* changes:
  Support creating docked stack at top/left/bottom/right half of screen
  Display dim layer when task is dragged to screen edge

8 years agoam f274e325: am aae9c4ab: am 74c3a0e7: Merge "Add some constants for Wear MNC Perms...
Vinod Krishnan [Mon, 14 Sep 2015 22:43:51 +0000 (22:43 +0000)]
am f274e325: am aae9c4ab: am 74c3a0e7: Merge "Add some constants for Wear MNC Perms" into cw-e-dev

* commit 'f274e3252b263d9e001a8de9d55c065f353ad02f':
  Add some constants for Wear MNC Perms

8 years agoSupport creating docked stack at top/left/bottom/right half of screen
Wale Ogunwale [Mon, 14 Sep 2015 19:54:50 +0000 (12:54 -0700)]
Support creating docked stack at top/left/bottom/right half of screen

Change-Id: Id8d6f639ed67baadb856ce84a20af8929e04cb2e

8 years agoam aae9c4ab: am 74c3a0e7: Merge "Add some constants for Wear MNC Perms" into cw-e-dev
Vinod Krishnan [Mon, 14 Sep 2015 22:36:29 +0000 (22:36 +0000)]
am aae9c4ab: am 74c3a0e7: Merge "Add some constants for Wear MNC Perms" into cw-e-dev

* commit 'aae9c4ab35ac98e8106d6a57d9d094780fbb0189':
  Add some constants for Wear MNC Perms

8 years agoam d5749a8e: (-s ours) am c3504304: am 92a420eb: am efc03355: (-s ours) DO NOT MERGE...
Sridhar Vashist [Mon, 14 Sep 2015 22:32:19 +0000 (22:32 +0000)]
am d5749a8e: (-s ours) am c3504304: am 92a420eb: am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

* commit 'd5749a8eb926eed1045c7b8ef3ae4c2e9b2cab98':
  DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

8 years agoam 9044e8cd: am 31f01e2f: am 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn...
Filip Gruszczynski [Mon, 14 Sep 2015 22:32:12 +0000 (22:32 +0000)]
am 9044e8cd: am 31f01e2f: am 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t applied.

* commit '9044e8cd7847a2d2b172f434acc202a25e50b5c1':
  Don't animate burn-in return when it wasn't applied.

8 years agoam 74c3a0e7: Merge "Add some constants for Wear MNC Perms" into cw-e-dev
Vinod Krishnan [Mon, 14 Sep 2015 22:31:46 +0000 (22:31 +0000)]
am 74c3a0e7: Merge "Add some constants for Wear MNC Perms" into cw-e-dev

* commit '74c3a0e7b42e11ccd8f427660825bf6b3e3a4afc':
  Add some constants for Wear MNC Perms

8 years agoDisplay dim layer when task is dragged to screen edge
Wale Ogunwale [Sun, 13 Sep 2015 17:17:34 +0000 (10:17 -0700)]
Display dim layer when task is dragged to screen edge

Display a dim layer preview when a task/window is dragged to the
edge of the screen. The task is launched/moved into the docked
stack if the user lets go while the preview dim layer is up.

Change-Id: Iedc9e21b0bd23427512c319b4cc7514e64310813

8 years agoam c3504304: am 92a420eb: am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable...
Sridhar Vashist [Mon, 14 Sep 2015 22:23:57 +0000 (22:23 +0000)]
am c3504304: am 92a420eb: am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

* commit 'c350430490cce6b54a5c38f91e8a12d245332c18':
  DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

8 years agoam 31f01e2f: am 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn-in return when...
Filip Gruszczynski [Mon, 14 Sep 2015 22:23:52 +0000 (22:23 +0000)]
am 31f01e2f: am 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t applied.

* commit '31f01e2f2a4d322db9d25dc3b74da52f6851882f':
  Don't animate burn-in return when it wasn't applied.

8 years agoMerge "Add some constants for Wear MNC Perms" into cw-e-dev
Vinod Krishnan [Mon, 14 Sep 2015 22:23:25 +0000 (22:23 +0000)]
Merge "Add some constants for Wear MNC Perms" into cw-e-dev

8 years agoam 92a420eb: am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakel...
Sridhar Vashist [Mon, 14 Sep 2015 22:17:14 +0000 (22:17 +0000)]
am 92a420eb: am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

* commit '92a420eb184015f9bae2d189ef335f86af9cbcbb':
  DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

8 years agoam 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t...
Filip Gruszczynski [Mon, 14 Sep 2015 22:17:08 +0000 (22:17 +0000)]
am 4cc1553c: am 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t applied.

* commit '4cc1553c931e26efad17cc1a1b74b0a0d880f301':
  Don't animate burn-in return when it wasn't applied.

8 years agoam efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based...
Sridhar Vashist [Mon, 14 Sep 2015 22:05:14 +0000 (22:05 +0000)]
am efc03355: (-s ours) DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

* commit 'efc03355860359bb3edbb9573ba310f02742f416':
  DO NOT MERGE MediaPlayer: Disable acquiring wakelocks based on property.

8 years agoam 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t applied.
Filip Gruszczynski [Mon, 14 Sep 2015 22:05:09 +0000 (22:05 +0000)]
am 0b388d4a: (-s ours) Don\'t animate burn-in return when it wasn\'t applied.

* commit '0b388d4a368e8503411450504c6e3d39952bce16':
  Don't animate burn-in return when it wasn't applied.

8 years agoMerge "Stop using deprecated Connectivity changed broadcast."
Daniel Estrada Alva [Mon, 14 Sep 2015 21:42:19 +0000 (21:42 +0000)]
Merge "Stop using deprecated Connectivity changed broadcast."

8 years agoMerge "Not showing hover menu for trivial selections."
Vadim Tryshev [Mon, 14 Sep 2015 21:34:48 +0000 (21:34 +0000)]
Merge "Not showing hover menu for trivial selections."

8 years agoam 638aad08: am 9902b3bc: am 699a5376: am 6b04e3a6: Merge "Fix light status bar trans...
Adrian Roos [Mon, 14 Sep 2015 21:25:01 +0000 (21:25 +0000)]
am 638aad08: am 9902b3bc: am 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '638aad08a04fd260246f8c0de7598f7262d4ae66':
  Fix light status bar transitions

8 years agoam d04c6d19: resolved conflicts for 693e11e5 to mnc-dr-dev-plus-aosp
Alex Hills [Mon, 14 Sep 2015 21:24:53 +0000 (21:24 +0000)]
am d04c6d19: resolved conflicts for 693e11e5 to mnc-dr-dev-plus-aosp

* commit 'd04c6d19a589a2a0f60650675438c59ac6900f45':
  Cherry-pick system theme rebase to fix square UI on round watches

8 years agoam 9902b3bc: am 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into...
Adrian Roos [Mon, 14 Sep 2015 21:19:14 +0000 (21:19 +0000)]
am 9902b3bc: am 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '9902b3bc8d11fd3ef33644315a87436b7a48c78b':
  Fix light status bar transitions

8 years agoresolved conflicts for 693e11e5 to mnc-dr-dev-plus-aosp
Alex Hills [Mon, 14 Sep 2015 20:37:12 +0000 (16:37 -0400)]
resolved conflicts for 693e11e5 to mnc-dr-dev-plus-aosp

Change-Id: I701841759a80f434a09b086492e817ca23a6a2e6

8 years agoMerge "Include window type in relevant BadTokenExceptions"
Alan Viverette [Mon, 14 Sep 2015 20:55:22 +0000 (20:55 +0000)]
Merge "Include window type in relevant BadTokenExceptions"

8 years agoMerge "Adding recyclerview and activity transition to UiBench"
Chris Craik [Mon, 14 Sep 2015 20:38:27 +0000 (20:38 +0000)]
Merge "Adding recyclerview and activity transition to UiBench"

8 years agoMerge "Fix implicit lineTo issue"
Tenghui Zhu [Mon, 14 Sep 2015 20:32:23 +0000 (20:32 +0000)]
Merge "Fix implicit lineTo issue"

8 years agoAdd some constants for Wear MNC Perms
Vinod Krishnan [Tue, 1 Sep 2015 02:30:20 +0000 (19:30 -0700)]
Add some constants for Wear MNC Perms

- Add an API for getting list of apps that has runtime perms

Change-Id: I4ebfc01033ea96efaac062fd34982fbd0d081073

8 years agoNot showing hover menu for trivial selections.
Vadim Tryshev [Mon, 14 Sep 2015 20:12:13 +0000 (13:12 -0700)]
Not showing hover menu for trivial selections.

Got a product decision today: if there are <= 1 running tasks,
don't show hover menu. This makes its invocation conditions
identical to the right-click case; unifying the code with that case.

Bug: 20024603
Change-Id: I485c364a5aed85beb49548ef388401624f32089f

8 years agoInclude window type in relevant BadTokenExceptions
Alan Viverette [Mon, 14 Sep 2015 20:01:19 +0000 (16:01 -0400)]
Include window type in relevant BadTokenExceptions

Bug: 23980921
Change-Id: Idb0f2d1fd0fd0c8525c6566c538c4cc6b5bb148b

8 years agoMerge "Keeping pinned apps to the left from unpinned ones."
Vadim Tryshev [Mon, 14 Sep 2015 19:57:09 +0000 (19:57 +0000)]
Merge "Keeping pinned apps to the left from unpinned ones."

8 years agoMerge "Move texture upload behavior to TextureState"
Chris Craik [Mon, 14 Sep 2015 19:46:13 +0000 (19:46 +0000)]
Merge "Move texture upload behavior to TextureState"

8 years agoam 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev
Adrian Roos [Mon, 14 Sep 2015 19:03:06 +0000 (19:03 +0000)]
am 699a5376: am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '699a5376c695b8e7570dfc83123fbfbfcba5da12':
  Fix light status bar transitions

8 years agoam 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev
Adrian Roos [Mon, 14 Sep 2015 18:54:28 +0000 (18:54 +0000)]
am 6b04e3a6: Merge "Fix light status bar transitions" into mnc-dr-dev

* commit '6b04e3a6ea042be0e012f7501fadb461b3d772a7':
  Fix light status bar transitions

8 years agoMerge "Fix light status bar transitions" into mnc-dr-dev
Adrian Roos [Mon, 14 Sep 2015 18:47:59 +0000 (18:47 +0000)]
Merge "Fix light status bar transitions" into mnc-dr-dev

8 years agoam 6a261fd6: Merge "Cherry-pick system theme rebase to fix square UI on round watches...
Alexander Hills [Mon, 14 Sep 2015 18:39:35 +0000 (18:39 +0000)]
am 6a261fd6: Merge "Cherry-pick system theme rebase to fix square UI on round watches" into cw-e-dev

* commit '6a261fd653eab7c8071290b71e3bfb3fe3598a49':
  Cherry-pick system theme rebase to fix square UI on round watches

8 years agoMerge "Cherry-pick system theme rebase to fix square UI on round watches" into cw...
Alexander Hills [Mon, 14 Sep 2015 18:34:32 +0000 (18:34 +0000)]
Merge "Cherry-pick system theme rebase to fix square UI on round watches" into cw-e-dev

8 years agoAdding recyclerview and activity transition to UiBench
Md Haque [Tue, 1 Sep 2015 19:00:34 +0000 (12:00 -0700)]
Adding recyclerview and activity transition to UiBench

Change-Id: Ief31c6ed7f6b798893256f79b41e8a6ccbc3f3c7

8 years agoMerge "Ensure entering and exiting views don't match in Fragment Transitions."
George Mount [Mon, 14 Sep 2015 18:16:54 +0000 (18:16 +0000)]
Merge "Ensure entering and exiting views don't match in Fragment Transitions."

8 years agoMerge "Ensure feature flags are set prior to checking Activity Transition."
George Mount [Mon, 14 Sep 2015 18:16:18 +0000 (18:16 +0000)]
Merge "Ensure feature flags are set prior to checking Activity Transition."

8 years agoKeeping pinned apps to the left from unpinned ones.
Vadim Tryshev [Fri, 11 Sep 2015 14:46:22 +0000 (07:46 -0700)]
Keeping pinned apps to the left from unpinned ones.

This is how it was in CrOS, and we just keep it in Andromeda.

Added code to keep this predicate on dragging and pinning/unpinning via
menu.

Bug: 20024603
Change-Id: I49f78c240a94df5530185dcb46376dd561d7cdd6

8 years agoam e8c98b77: am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore...
Chris Manton [Mon, 14 Sep 2015 17:54:26 +0000 (17:54 +0000)]
am e8c98b77: am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'e8c98b77854d39606960b0b6f5b5332c61e9a3d9':
  Add capability to ignore carrier entitlement checks

8 years agoam f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitl...
Chris Manton [Mon, 14 Sep 2015 17:46:23 +0000 (17:46 +0000)]
am f40365f1: am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'f40365f17a2f01612139e909039a09308001fdde':
  Add capability to ignore carrier entitlement checks

8 years agoam ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks...
Chris Manton [Mon, 14 Sep 2015 17:39:31 +0000 (17:39 +0000)]
am ae0b7ca9: am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'ae0b7ca9ad2e21853af06a68c02da068f748f8bd':
  Add capability to ignore carrier entitlement checks

8 years agoam c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc...
Chris Manton [Mon, 14 Sep 2015 17:29:09 +0000 (17:29 +0000)]
am c9180528: Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

* commit 'c9180528452d67359618eda4aa2edd39112c83ca':
  Add capability to ignore carrier entitlement checks

8 years agoMerge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev
Chris Manton [Mon, 14 Sep 2015 17:23:42 +0000 (17:23 +0000)]
Merge "Add capability to ignore carrier entitlement checks" into mnc-dr-dev

8 years agoMerge "Showing hover menu."
Vadim Tryshev [Mon, 14 Sep 2015 17:18:22 +0000 (17:18 +0000)]
Merge "Showing hover menu."

8 years agoMerge "Revert "Use floating-point value for Drawable level""
Alan Viverette [Mon, 14 Sep 2015 17:04:09 +0000 (17:04 +0000)]
Merge "Revert "Use floating-point value for Drawable level""

8 years agoMerge "Implement EventStreamTrasformations for autoclick on mouse stop"
Toni Barzic [Mon, 14 Sep 2015 17:03:53 +0000 (17:03 +0000)]
Merge "Implement EventStreamTrasformations for autoclick on mouse stop"

8 years agoRevert "Use floating-point value for Drawable level"
Alan Viverette [Mon, 14 Sep 2015 16:59:49 +0000 (16:59 +0000)]
Revert "Use floating-point value for Drawable level"

This reverts commit 3da32b768899e7dabe3a16333edf5eca2b9ebe93.

Change-Id: Ie75ce0c285e0f59a7a086f64c0cfe088edb5df04

8 years agoMerge "Cleanup USER_OWNER in backup service"
Xiaohui Chen [Mon, 14 Sep 2015 16:31:48 +0000 (16:31 +0000)]
Merge "Cleanup USER_OWNER in backup service"

8 years agoam 84ba0725: am 3a86b41f: Add a textual hint as to where aidl has gone
Christopher Wiley [Mon, 14 Sep 2015 16:14:26 +0000 (16:14 +0000)]
am 84ba0725: am 3a86b41f: Add a textual hint as to where aidl has gone

* commit '84ba072538612accd775da2902afa33a3fbb7d09':
  Add a textual hint as to where aidl has gone

8 years agoam 3a86b41f: Add a textual hint as to where aidl has gone
Christopher Wiley [Mon, 14 Sep 2015 16:06:52 +0000 (16:06 +0000)]
am 3a86b41f: Add a textual hint as to where aidl has gone

* commit '3a86b41f8414193e05c27284d434b07992e164ce':
  Add a textual hint as to where aidl has gone

8 years agoam 026cbbfb: am 27a0be36: resolved conflicts for ddf53180 to stage-aosp-master
Christopher Wiley [Mon, 14 Sep 2015 15:55:57 +0000 (15:55 +0000)]
am 026cbbfb: am 27a0be36: resolved conflicts for ddf53180 to stage-aosp-master

* commit '026cbbfbda2d3db388bcaf7d8c3897f7856af1f8':
  Remove the aidl tool

8 years agoAdd a textual hint as to where aidl has gone
Christopher Wiley [Mon, 14 Sep 2015 15:54:23 +0000 (08:54 -0700)]
Add a textual hint as to where aidl has gone

Bug: 23691099
Change-Id: I3fb917b4c0e66a83c6299add02869a7088010adc

8 years agoam 27a0be36: resolved conflicts for ddf53180 to stage-aosp-master
Christopher Wiley [Mon, 14 Sep 2015 15:47:38 +0000 (15:47 +0000)]
am 27a0be36: resolved conflicts for ddf53180 to stage-aosp-master

* commit '27a0be36eeee9d1d03076727977dfb1e725fcd77':
  Remove the aidl tool

8 years agoMerge "Sync current volume on device change."
Julia Reynolds [Mon, 14 Sep 2015 15:36:53 +0000 (15:36 +0000)]
Merge "Sync current volume on device change."

8 years agoSync current volume on device change.
Julia Reynolds [Mon, 14 Sep 2015 15:12:42 +0000 (11:12 -0400)]
Sync current volume on device change.

Bug: 22720663
Change-Id: I24fced623522f5ea417b71bca502e519a6718185

8 years agoCherry-pick system theme rebase to fix square UI on round watches
Alan Viverette [Tue, 11 Aug 2015 21:27:04 +0000 (17:27 -0400)]
Cherry-pick system theme rebase to fix square UI on round watches

Our system themes were based on configurations that were added post-
init of the system theme.

I96e695441543379e4d5fdf3cc6f18d9e6cf953b4 broke this, because there
was a race condition in the code for rebasing themes

If8fecde76d62738a8e55eddf898eafc468afdba2 (the cherry-picked commit)
fixes the race condition and adds the rebasing back in.

This change cherry picks If8fecde76d62738a8e55eddf898eafc468afdba2.

Bug:23387146
Change-Id: I0725028e48599fc6cd9731ae16c71474dd5827e5

8 years agoAvoid OOBE when AbsListView layout is out of sync with adapter
Alan Viverette [Mon, 14 Sep 2015 14:49:25 +0000 (10:49 -0400)]
Avoid OOBE when AbsListView layout is out of sync with adapter

Views are not synchronized with adapter state until a layout pass
occurs, which may cause an OOBE if a list item is removed and an
accessibility node is obtained before the next layout pass.

This CL caches the item's enabled state on the bound view's layout
params, which allows us to avoid relying on the adapter to populate
accessibility nodes. It also aborts actions if the target position
is no longer valid.

Updates the documentation on AdapterView to reflect that the result
of getPositionForView() may not be synchronized with the adapter.

Bug: 23943664
Change-Id: Ic79eaa2e26bec9cd8d90fdab434271bc4f3d8a68

8 years agoresolved conflicts for ddf53180 to stage-aosp-master
Christopher Wiley [Mon, 14 Sep 2015 14:34:50 +0000 (07:34 -0700)]
resolved conflicts for ddf53180 to stage-aosp-master

Change-Id: I265ab876ef29dc731e6abb6f964c10f2e71324be

8 years agoMerge "Remove the aidl tool"
Christopher Wiley [Mon, 14 Sep 2015 14:11:19 +0000 (14:11 +0000)]
Merge "Remove the aidl tool"

8 years agoMerge "Don't consider non-enabled users for cross-profile intents."
Nicolas Prévot [Mon, 14 Sep 2015 11:03:41 +0000 (11:03 +0000)]
Merge "Don't consider non-enabled users for cross-profile intents."

8 years agoMerge "Mechanical merge of nested if statements."
Yohei Yukawa [Mon, 14 Sep 2015 03:50:22 +0000 (03:50 +0000)]
Merge "Mechanical merge of nested if statements."

8 years agoMerge "Remove redundant casts."
Yohei Yukawa [Mon, 14 Sep 2015 03:42:37 +0000 (03:42 +0000)]
Merge "Remove redundant casts."

8 years agoMerge "Fixed bug with activity behind non-fullscreen activity not displaying"
Wale Ogunwale [Sun, 13 Sep 2015 17:22:07 +0000 (17:22 +0000)]
Merge "Fixed bug with activity behind non-fullscreen activity not displaying"

8 years agoFix build break with startMovingTask API
Chong Zhang [Sat, 12 Sep 2015 22:16:36 +0000 (15:16 -0700)]
Fix build break with startMovingTask API

Change-Id: I4dc44ca04c75a9dfed079338e4906d317f50a1e3

8 years agoFixed bug with activity behind non-fullscreen activity not displaying
Wale Ogunwale [Sat, 12 Sep 2015 16:18:07 +0000 (09:18 -0700)]
Fixed bug with activity behind non-fullscreen activity not displaying

Regression introduced in I5bf77063252a5abae4e327f6fc42e607091749f9
where some policy for visiblity of tasks in freeform stacks was
added which ended up applying to other types of stacks. We now limit
the policy to just freeform tasks.

Bug: 23957523
Change-Id: Ib6fad5a89e22d64adf0e52b9e8ed5f2239488245

8 years agoMerge "Don't relayout app contents when just changing app position"
Wale Ogunwale [Sat, 12 Sep 2015 16:00:53 +0000 (16:00 +0000)]
Merge "Don't relayout app contents when just changing app position"

8 years agoMerge "TIF: Unbind the service only when it is bound"
Dongwon Kang [Sat, 12 Sep 2015 05:40:59 +0000 (05:40 +0000)]
Merge "TIF: Unbind the service only when it is bound"

8 years agoam 0e950707: am 12e273fe: am f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI...
Jorim Jaggi [Sat, 12 Sep 2015 05:08:13 +0000 (05:08 +0000)]
am 0e950707: am 12e273fe: am f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager

* commit '0e95070766dc499f66706c12253dda11d31ab014':
  Dump Keyguard state in SystemUI and PhoneWindowManager

8 years agoam ced9ab11: am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notif...
Selim Cinek [Sat, 12 Sep 2015 05:08:03 +0000 (05:08 +0000)]
am ced9ab11: am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."

* commit 'ced9ab11a1ffbaf066859122603e9d22a4bdc344':
  Fix scrolling of QS panel when no notification is present.

8 years agoam f9a75e1a: (-s ours) am 7914680e: am 58c483fc: am 62b94c35: Merge "Avoid OOBE when...
Alan Viverette [Sat, 12 Sep 2015 02:57:02 +0000 (02:57 +0000)]
am f9a75e1a: (-s ours) am 7914680e: am 58c483fc: am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

* commit 'f9a75e1a8402ce628eaa0471b35367f6055cbaa8':
  Avoid OOBE when AbsListView layout is out of sync with adapter

8 years agoam 12e273fe: am f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindo...
Jorim Jaggi [Sat, 12 Sep 2015 01:53:16 +0000 (01:53 +0000)]
am 12e273fe: am f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager

* commit '12e273fe76f1f0e6b5cffb687da7411d73dfe7c6':
  Dump Keyguard state in SystemUI and PhoneWindowManager

8 years agoam f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager
Jorim Jaggi [Sat, 12 Sep 2015 01:45:43 +0000 (01:45 +0000)]
am f66e4979: am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager

* commit 'f66e4979c579bde5031c8e6f29e5163246fc54ee':
  Dump Keyguard state in SystemUI and PhoneWindowManager

8 years agoTIF: Unbind the service only when it is bound
Dongwon Kang [Fri, 11 Sep 2015 22:24:25 +0000 (15:24 -0700)]
TIF: Unbind the service only when it is bound

Bug: 23718447
Change-Id: I3189dbea193b3d8247e29168564f894323fb4886

8 years agoam 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager
Jorim Jaggi [Sat, 12 Sep 2015 01:34:26 +0000 (01:34 +0000)]
am 84dc08a2: Dump Keyguard state in SystemUI and PhoneWindowManager

* commit '84dc08a208eea7a4ddf043cadbb28987cf90ae22':
  Dump Keyguard state in SystemUI and PhoneWindowManager

8 years agoRemove redundant casts.
Yohei Yukawa [Sat, 12 Sep 2015 01:33:33 +0000 (18:33 -0700)]
Remove redundant casts.

This Cl is just a mechanical removal of redundant casts.
Nothing is changed logically.

Bug: 22285167
Change-Id: I460b781753553c002b6cd232ae5918b7acd616d9

8 years agoam 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notification is...
Selim Cinek [Sat, 12 Sep 2015 01:30:14 +0000 (01:30 +0000)]
am 19694a0e: am 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."

* commit '19694a0eeffd224189615ed761a5f8e4f912b343':
  Fix scrolling of QS panel when no notification is present.

8 years agoDump Keyguard state in SystemUI and PhoneWindowManager
Jorim Jaggi [Sat, 12 Sep 2015 00:45:22 +0000 (17:45 -0700)]
Dump Keyguard state in SystemUI and PhoneWindowManager

Bug: 23970549
Change-Id: Iec1e8ac507268086e0e2935847eda606ea1fb700

8 years agoam 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."
Selim Cinek [Sat, 12 Sep 2015 01:21:49 +0000 (01:21 +0000)]
am 4140a21e: Merge "Fix scrolling of QS panel when no notification is present."

* commit '4140a21e2ec69089de916e240fd606a3daf09896':
  Fix scrolling of QS panel when no notification is present.

8 years agoMechanical merge of nested if statements.
Yohei Yukawa [Sat, 12 Sep 2015 01:17:11 +0000 (18:17 -0700)]
Mechanical merge of nested if statements.

This is just a mechanical merge of nested if statements with a dead code
removal.  Nothing is changed logically.

Bug: 22285167
Change-Id: I28c1de84635b68108b25ec32ec58de2128758512

8 years agoMerge "Fix scrolling of QS panel when no notification is present."
Selim Cinek [Sat, 12 Sep 2015 01:10:10 +0000 (01:10 +0000)]
Merge "Fix scrolling of QS panel when no notification is present."

8 years agoFix light status bar transitions
Adrian Roos [Fri, 11 Sep 2015 19:38:43 +0000 (12:38 -0700)]
Fix light status bar transitions

Bug: 23971926
Change-Id: Ia3c6fb18d38fb7479028191ad3df8389adb830ec

8 years agoMerge "Clean up unit tests."
Ben Kwa [Sat, 12 Sep 2015 00:19:44 +0000 (00:19 +0000)]
Merge "Clean up unit tests."

8 years agoMove window moving and resizing handling to WindowManager
Chong Zhang [Wed, 9 Sep 2015 22:09:30 +0000 (15:09 -0700)]
Move window moving and resizing handling to WindowManager

- add a startMoving API to initiate a window move from app, once
  the move starts WindowManager will take over the event handling.

- detect touch events along window's outside border and start
  a resize if necessary

Change-Id: Ic7e8baba34e0aa27a43173e044ffb46e93e219e0

8 years agoMerge "Adding user resizability by dragging shadow outsets"
Stefan Kuhne [Fri, 11 Sep 2015 23:49:42 +0000 (23:49 +0000)]
Merge "Adding user resizability by dragging shadow outsets"

8 years agoam 7914680e: am 58c483fc: am 62b94c35: Merge "Avoid OOBE when AbsListView layout...
Alan Viverette [Fri, 11 Sep 2015 23:30:34 +0000 (23:30 +0000)]
am 7914680e: am 58c483fc: am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

* commit '7914680e1ec319f50cb99b6c761aace56fc6e3ed':
  Avoid OOBE when AbsListView layout is out of sync with adapter

8 years agoam 58c483fc: am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync...
Alan Viverette [Fri, 11 Sep 2015 23:22:07 +0000 (23:22 +0000)]
am 58c483fc: am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

* commit '58c483fcff4608ead41f8af9b2b1e2d5ae92561c':
  Avoid OOBE when AbsListView layout is out of sync with adapter

8 years agoam 4eaef9a7: am b9b5d86b: resolved conflicts for b15e1ff5 to stage-aosp-master
Shawn Willden [Fri, 11 Sep 2015 22:43:41 +0000 (22:43 +0000)]
am 4eaef9a7: am b9b5d86b: resolved conflicts for b15e1ff5 to stage-aosp-master

* commit '4eaef9a79173336047cc662a51729437ac4a130d':
  Update KeymasterDefs

8 years agoam b9b5d86b: resolved conflicts for b15e1ff5 to stage-aosp-master
Shawn Willden [Fri, 11 Sep 2015 22:36:21 +0000 (22:36 +0000)]
am b9b5d86b: resolved conflicts for b15e1ff5 to stage-aosp-master

* commit 'b9b5d86b0e2a7e32259f2606024745439ebb43e1':
  Update KeymasterDefs

8 years agoam 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter...
Alan Viverette [Fri, 11 Sep 2015 22:25:29 +0000 (22:25 +0000)]
am 62b94c35: Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

* commit '62b94c353a8748ef10691da4844bf894e1155870':
  Avoid OOBE when AbsListView layout is out of sync with adapter

8 years agoClean up unit tests.
Ben Kwa [Fri, 11 Sep 2015 22:15:45 +0000 (15:15 -0700)]
Clean up unit tests.

- Rework unit tests to eliminate some null checks from production code.
- Fix some flakiness in the tests resulting from a coupling between
  DirectoryFragment.Model and the application View.

Change-Id: I6b23774a5b4897f33d8641e677bda9e66d86cb96

8 years agoImplement EventStreamTrasformations for autoclick on mouse stop
Toni Barzic [Wed, 2 Sep 2015 17:33:08 +0000 (10:33 -0700)]
Implement EventStreamTrasformations for autoclick on mouse stop

The event stream transformer (AutoclickControlelr) observes motion
events from mouse in order to detect mouse movement. Once movement
is detected, a click event sequence gets scheduled with a delay. The
scheduled click gets rescheduled on every further detected mouse
movement, so the click is performed only when mouse movement stops.

Mouse movement detection has tolerance to jitter that may be caused
by user's poor motor control (that may prevent click ever being triggered
when mouse gets to target, or unwanted clicks when mouse is stationary).

Clicks are scheduled by posting delayed tasks to main loop. When
rescheduling click, previous tasks is not always removed and a new
created. Instead, if possible, new task is scheduled when previous,
delayed task is run. In order to do this, click scheduler keeps track
of scheduled click time and, when scheduled task is run, checks that
scheduled time is not greater than the current time (if it is, a new
delayed task is scheduled).

Detecting events from other input source types, or mouse events other
than movement (like clicks, scroll) cancels the scheduled click.

BUG=23113412

Change-Id: I8a72e768cd45cccb93c19476fe6e2c23e8e84f27

8 years agoRemove the aidl tool
Christopher Wiley [Fri, 11 Sep 2015 21:24:24 +0000 (14:24 -0700)]
Remove the aidl tool

This has been moved into its own repository at

//system/tools/aidl

Test: Built aosp_arm-eng from scratch.
Bug: 23691099

Change-Id: Ic45d55682b9dcafe894efe0a6317792f9c1236c6

8 years agoAdd capability to ignore carrier entitlement checks
Chris Manton [Tue, 1 Sep 2015 20:56:46 +0000 (13:56 -0700)]
Add capability to ignore carrier entitlement checks

Boolean to check to ignore carrier entitlement check.
API to follow later.

Carrier configuration manager has an option
to override tethering entitlement checks.
Ignore entitlement checks if overridden by
the carrier configuration flag.

bug:23712807

Change-Id: I6c9b3b9994279e592db304debef54809338fe9cf

8 years agoMerge "Handle single-choice ChooserActivities and bound ChooserTargetServices"
Adam Powell [Fri, 11 Sep 2015 21:32:27 +0000 (21:32 +0000)]
Merge "Handle single-choice ChooserActivities and bound ChooserTargetServices"

8 years agoMerge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev
Alan Viverette [Fri, 11 Sep 2015 21:28:59 +0000 (21:28 +0000)]
Merge "Avoid OOBE when AbsListView layout is out of sync with adapter" into mnc-dr-dev

8 years agoMerge "Refactor DocsUI to break out a new ManageRootActivity."
Ben Kwa [Fri, 11 Sep 2015 21:04:00 +0000 (21:04 +0000)]
Merge "Refactor DocsUI to break out a new ManageRootActivity."

8 years agoRefactor DocsUI to break out a new ManageRootActivity.
Ben Kwa [Tue, 8 Sep 2015 14:31:19 +0000 (07:31 -0700)]
Refactor DocsUI to break out a new ManageRootActivity.

- Split all ACTION_MANAGE-related functionality off from
  DocumentsActivity, into a new activity.
- Create new full-screen layouts for said activity.
- Fix some styling issues in {Documents,Files}Activity.

Change-Id: I0384715ad3c7d70a3a3daf510f1a09e8c5732348

8 years agoMake sure DO user is running even if caller is shell/root.
Makoto Onuki [Fri, 11 Sep 2015 20:38:22 +0000 (13:38 -0700)]
Make sure DO user is running even if caller is shell/root.

Bug 23827706
Bug 23994401

Change-Id: Ie2fbc3ab07901e3d0a9898c910c69d993583084e

8 years agoShowing hover menu.
Vadim Tryshev [Fri, 11 Sep 2015 01:00:31 +0000 (18:00 -0700)]
Showing hover menu.

This menu is shown when the user hovers the mouse over the app icon for 1 sec.
Then we show the task selection (launch) menu for all apps.
It's not yet clear what should be in that menu; currently I'm just making sure it's not empty.

Bug: 20024603
Change-Id: I5d2b2a4c80d0996ee43b3e1c20ca57d95a58f1ad