OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Add TelecomManager constructor for passing in TelecomServiceImpl override"
Hall Liu [Fri, 9 Oct 2015 23:33:13 +0000 (23:33 +0000)]
Merge "Add TelecomManager constructor for passing in TelecomServiceImpl override"

8 years agoAdd TelecomManager constructor for passing in TelecomServiceImpl
Hall Liu [Fri, 9 Oct 2015 22:58:37 +0000 (15:58 -0700)]
Add TelecomManager constructor for passing in TelecomServiceImpl
override

Bug: 24618535
Change-Id: I2dafcc9ab496de94eb6a6894916030ed4e7556f8

8 years agoMerge "Cleaning up stack layout."
Winson Chung [Fri, 9 Oct 2015 22:37:25 +0000 (22:37 +0000)]
Merge "Cleaning up stack layout."

8 years agoCleaning up stack layout.
Winson [Tue, 6 Oct 2015 00:24:00 +0000 (17:24 -0700)]
Cleaning up stack layout.

- Refactoring the layout to remove unused (and confusing) variables,
  reducing the number of calculations when updating min/max bounds, and
  allow more accurate tracking of stack positions (for attached views).
- Tweaking the transform for single-task stacks so that they behave
  better.
- Removing old, unused dismiss-all ui.

Change-Id: I8ec3bf062b0451543bd8a297aa810405f68c84cb

8 years agoam 467f6a4f: am 2aa403fe: Merge "LayoutLib: Fix android:dependency for preferences...
Deepanshu Gupta [Fri, 9 Oct 2015 22:09:56 +0000 (22:09 +0000)]
am 467f6a4f: am 2aa403fe: Merge "LayoutLib: Fix android:dependency for preferences." into mnc-ub-dev

* commit '467f6a4f0d788fa0bad86bb6545a8254912b99b0':
  LayoutLib: Fix android:dependency for preferences.

8 years agoam 2aa403fe: Merge "LayoutLib: Fix android:dependency for preferences." into mnc...
Deepanshu Gupta [Fri, 9 Oct 2015 22:04:16 +0000 (22:04 +0000)]
am 2aa403fe: Merge "LayoutLib: Fix android:dependency for preferences." into mnc-ub-dev

* commit '2aa403fe0c86291c6fd65317e93a72549e6e10de':
  LayoutLib: Fix android:dependency for preferences.

8 years agoMerge "LayoutLib: Fix android:dependency for preferences." into mnc-ub-dev
Deepanshu Gupta [Fri, 9 Oct 2015 21:58:05 +0000 (21:58 +0000)]
Merge "LayoutLib: Fix android:dependency for preferences." into mnc-ub-dev

8 years agoLayoutLib: Fix android:dependency for preferences.
Deepanshu Gupta [Fri, 9 Oct 2015 21:54:19 +0000 (14:54 -0700)]
LayoutLib: Fix android:dependency for preferences.

Bug: http://b.android.com/189314
Change-Id: I229632d11a2529e865f3f2e8eca3a78b47ad462c

8 years agoMerge "Allow apps in home workspace to have non-client-decor."
Wale Ogunwale [Fri, 9 Oct 2015 21:07:29 +0000 (21:07 +0000)]
Merge "Allow apps in home workspace to have non-client-decor."

8 years agoAllow apps in home workspace to have non-client-decor.
Wale Ogunwale [Fri, 9 Oct 2015 20:18:44 +0000 (13:18 -0700)]
Allow apps in home workspace to have non-client-decor.

Currently required for apps like recents to resize correctly
with the 2-render thread approach. Eventually we will want to
separate the functionality from the non-client-decor.

Bug: 24742523
Bug: 24810450
Change-Id: Id241bf8fe47dd8c4ec570c90149c859c45aa6285

8 years agoMerge "Encapsulate a11y gesture detection in an external class."
Svetoslav Ganov [Fri, 9 Oct 2015 19:41:03 +0000 (19:41 +0000)]
Merge "Encapsulate a11y gesture detection in an external class."

8 years agoam 66940eaa: am 073a1624: am 6b566ec5: Merge "Give Android Wear system apps default...
Anthony Hugh [Fri, 9 Oct 2015 18:50:23 +0000 (18:50 +0000)]
am 66940eaa: am 073a1624: am 6b566ec5: Merge "Give Android Wear system apps default permission" into cw-e-dev

* commit '66940eaaabc007d839d17c71b21c914a1bbba2e0':
  Give Android Wear system apps default permission

8 years agoam 073a1624: am 6b566ec5: Merge "Give Android Wear system apps default permission...
Anthony Hugh [Fri, 9 Oct 2015 18:36:42 +0000 (18:36 +0000)]
am 073a1624: am 6b566ec5: Merge "Give Android Wear system apps default permission" into cw-e-dev

* commit '073a1624912a93da65b5e40b6ff434c4fd3ab0f2':
  Give Android Wear system apps default permission

8 years agoam 6b566ec5: Merge "Give Android Wear system apps default permission" into cw-e-dev
Anthony Hugh [Fri, 9 Oct 2015 18:32:07 +0000 (18:32 +0000)]
am 6b566ec5: Merge "Give Android Wear system apps default permission" into cw-e-dev

* commit '6b566ec5fd8751175bea4bb161cf78502f1a79e8':
  Give Android Wear system apps default permission

8 years agoMerge "Give Android Wear system apps default permission" into cw-e-dev
Anthony Hugh [Fri, 9 Oct 2015 18:26:56 +0000 (18:26 +0000)]
Merge "Give Android Wear system apps default permission" into cw-e-dev

8 years agoam 8f62f48f: am d5c27f5a: am 8550261a: am 1078942e: Safely handle interrupts during...
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:48:20 +0000 (17:48 +0000)]
am 8f62f48f: am d5c27f5a: am 8550261a: am 1078942e: Safely handle interrupts during Thread.join()

* commit '8f62f48f3bb97d27badd17ff5d0e77c48d9cd830':
  Safely handle interrupts during Thread.join()

8 years agoam f677c098: am 70bb3f3d: am bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:48:12 +0000 (17:48 +0000)]
am f677c098: am 70bb3f3d: am bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev

* commit 'f677c098c10ee473e45d31bf5042cc38024a4f8a':
  Retry if interrupted before mMessageThread has joined

8 years agoam d5c27f5a: am 8550261a: am 1078942e: Safely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:43:40 +0000 (17:43 +0000)]
am d5c27f5a: am 8550261a: am 1078942e: Safely handle interrupts during Thread.join()

* commit 'd5c27f5ab8e5e0ce8b40163df42c5fe522724138':
  Safely handle interrupts during Thread.join()

8 years agoam 70bb3f3d: am bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:43:34 +0000 (17:43 +0000)]
am 70bb3f3d: am bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev

* commit '70bb3f3d43b4e41aa09f085de6dccc00e57e7218':
  Retry if interrupted before mMessageThread has joined

8 years agoam 8550261a: am 1078942e: Safely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:37:50 +0000 (17:37 +0000)]
am 8550261a: am 1078942e: Safely handle interrupts during Thread.join()

* commit '8550261afb0ab39e0b84ba77d834b56fe45e590c':
  Safely handle interrupts during Thread.join()

8 years agoam bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:37:44 +0000 (17:37 +0000)]
am bc7391d8: resolved conflicts for 93db3d4b to cw-e-dev

* commit 'bc7391d81a0d224a52124fdc87c0ab0cca453917':
  Retry if interrupted before mMessageThread has joined

8 years agoam 1078942e: Safely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:35:23 +0000 (17:35 +0000)]
am 1078942e: Safely handle interrupts during Thread.join()

* commit '1078942ed8b4029665e950ae576baa024f69e782':
  Safely handle interrupts during Thread.join()

8 years agoresolved conflicts for 93db3d4b to cw-e-dev
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:29:03 +0000 (10:29 -0700)]
resolved conflicts for 93db3d4b to cw-e-dev

Change-Id: I264c09c2cc7e9f0e3b1a83a52c965238aab55aae

8 years agoMerge "Only request traversals if status bar visibility changed on reevaluation"
Wale Ogunwale [Fri, 9 Oct 2015 14:36:18 +0000 (14:36 +0000)]
Merge "Only request traversals if status bar visibility changed on reevaluation"

8 years agoMerge "Super-fast getLineWidth for BL"
John Reck [Fri, 9 Oct 2015 14:16:04 +0000 (14:16 +0000)]
Merge "Super-fast getLineWidth for BL"

8 years agoDocumentation of EXTRA_PROVISIONING_WIFI_SECURITY_TYPE
Mahaver Chopra [Thu, 8 Oct 2015 16:58:45 +0000 (17:58 +0100)]
Documentation of EXTRA_PROVISIONING_WIFI_SECURITY_TYPE

Valid values for EXTRA_PROVISIONING_WIFI_SECURITY_TYPE in the documentation

Bug: 23379302
Change-Id: I039432d81de6834c01bbe6ca0fc668afec38d040

8 years agoMerge "Log UID and PID of legacy route requests."
Lorenzo Colitti [Fri, 9 Oct 2015 06:35:51 +0000 (06:35 +0000)]
Merge "Log UID and PID of legacy route requests."

8 years agoMerge "Update dock divider display info. whenever it changes."
Wale Ogunwale [Fri, 9 Oct 2015 06:04:35 +0000 (06:04 +0000)]
Merge "Update dock divider display info. whenever it changes."

8 years agoMerge "Fixed NPE when getting stack for dock divider."
Wale Ogunwale [Fri, 9 Oct 2015 06:03:43 +0000 (06:03 +0000)]
Merge "Fixed NPE when getting stack for dock divider."

8 years agoOnly request traversals if status bar visibility changed on reevaluation
Wale Ogunwale [Fri, 9 Oct 2015 03:18:14 +0000 (20:18 -0700)]
Only request traversals if status bar visibility changed on reevaluation

Reduces the amount of churn in the system.

Change-Id: Ic1e93f1ed511fe95c551c08a06e239f0e5de93a0

8 years agoUpdate dock divider display info. whenever it changes.
Wale Ogunwale [Fri, 9 Oct 2015 05:01:06 +0000 (22:01 -0700)]
Update dock divider display info. whenever it changes.

The docked divider display info. was set on object creation and never
changed. This can hang the dock divider if the device rotation is
changed and the user moves the divider rapidly in and out of the
screen edge closer to the right. We now update the display info.
whenever it changes.

Change-Id: Ie5f0c7ebdafedb156d04eceee00fc7e4176d9bf8

8 years agoMerge "Connect the DHCP UDP socket to the server."
Lorenzo Colitti [Fri, 9 Oct 2015 04:36:02 +0000 (04:36 +0000)]
Merge "Connect the DHCP UDP socket to the server."

8 years agoConnect the DHCP UDP socket to the server.
Lorenzo Colitti [Thu, 10 Sep 2015 09:12:18 +0000 (18:12 +0900)]
Connect the DHCP UDP socket to the server.

This makes it so that the socket cannot receive datagrams from
anybody except the DHCP server. This does not improve security,
because we never read from the UDP socket anyway, but it does
make ListeningPortsTest pass.

Bug: 23906864
Bug: 23933386
Change-Id: I82fe9d6c6c520536ffd6422bcc60fab664999e6f

8 years agoLog UID and PID of legacy route requests.
Lorenzo Colitti [Fri, 4 Sep 2015 04:12:42 +0000 (13:12 +0900)]
Log UID and PID of legacy route requests.

Bug: 23801105
Change-Id: I1722af0424f5b9bbd7276b77ce1571842fa541b3

8 years agoMerge "Add a null check to hasIPv4AddressOnInterface."
Lorenzo Colitti [Fri, 9 Oct 2015 04:04:27 +0000 (04:04 +0000)]
Merge "Add a null check to hasIPv4AddressOnInterface."

8 years agoAdd a null check to hasIPv4AddressOnInterface.
Lorenzo Colitti [Thu, 30 Jul 2015 14:41:43 +0000 (23:41 +0900)]
Add a null check to hasIPv4AddressOnInterface.

Change-Id: Ie38505ec0a93f4060348d92db341c536b7d60ed0

8 years agoSafely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 2 Oct 2015 23:38:08 +0000 (16:38 -0700)]
Safely handle interrupts during Thread.join()

Bug: 24342101

Interrupt current thread if InterruptedException is received during
Thread.join().  Also, log the interruption.

Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2
(cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)

8 years agoRetry if interrupted before mMessageThread has joined
Pirama Arumuga Nainar [Fri, 2 Oct 2015 19:06:10 +0000 (12:06 -0700)]
Retry if interrupted before mMessageThread has joined

Bug: 24342101

If interrupted during mMessageThread.join(), retry the join instead of
assuming the thread has joined and continuing.  Continuing to destroy
the context will cause a segfault when the message thread attempts to
use the destroyed context.

Change-Id: I3213091a0e996449bceb403dffca3063786d5a65
(cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)

8 years agoFixed NPE when getting stack for dock divider.
Wale Ogunwale [Fri, 9 Oct 2015 01:09:02 +0000 (18:09 -0700)]
Fixed NPE when getting stack for dock divider.

Also, don't try to resize non-existing stack when transitioning
docked stack to fullscreen.

Change-Id: Ie8b0e1ef7f4265f9133ce9b47e6f9a5db27dbad7

8 years agoMerge "Schedule traversal instead performing it directly."
Wale Ogunwale [Fri, 9 Oct 2015 00:43:42 +0000 (00:43 +0000)]
Merge "Schedule traversal instead performing it directly."

8 years agoSchedule traversal instead performing it directly.
Filip Gruszczynski [Fri, 9 Oct 2015 00:24:11 +0000 (17:24 -0700)]
Schedule traversal instead performing it directly.

Performing layout traversal directly while evaluating status bar
visibility causes a recursive entry into layout traversal. We should
instead schedule another pass.

Change-Id: Ieb19a53f409863a45032a876d0b2bd2dfe8c30c6

8 years agoam e76aa227: am 0b45c2f8: am 21b37a5f: Merge "Make accessing mInputMethodTarget threa...
Filip Gruszczynski [Fri, 9 Oct 2015 00:08:39 +0000 (00:08 +0000)]
am e76aa227: am 0b45c2f8: am 21b37a5f: Merge "Make accessing mInputMethodTarget thread-safe"

* commit 'e76aa2275b63ec6502beedcf70e318563a126136':
  Make accessing mInputMethodTarget thread-safe

8 years agoam 0b45c2f8: am 21b37a5f: Merge "Make accessing mInputMethodTarget thread-safe"
Filip Gruszczynski [Fri, 9 Oct 2015 00:01:09 +0000 (00:01 +0000)]
am 0b45c2f8: am 21b37a5f: Merge "Make accessing mInputMethodTarget thread-safe"

* commit '0b45c2f87c0285b42eef96bbb8950d225334c60e':
  Make accessing mInputMethodTarget thread-safe

8 years agoam 21b37a5f: Merge "Make accessing mInputMethodTarget thread-safe"
Filip Gruszczynski [Thu, 8 Oct 2015 23:54:13 +0000 (23:54 +0000)]
am 21b37a5f: Merge "Make accessing mInputMethodTarget thread-safe"

* commit '21b37a5fb46f3dcd20bba0c621d8859e1c8dc32e':
  Make accessing mInputMethodTarget thread-safe

8 years agoMerge "Make accessing mInputMethodTarget thread-safe"
Filip Gruszczynski [Thu, 8 Oct 2015 23:50:17 +0000 (23:50 +0000)]
Merge "Make accessing mInputMethodTarget thread-safe"

8 years agoGive Android Wear system apps default permission
Anthony Hugh [Tue, 29 Sep 2015 23:50:35 +0000 (16:50 -0700)]
Give Android Wear system apps default permission

This change grants Android Wear system components default
permission.

I have also added a new Intent category to help identify
the main Home handler on Wear.

BUG: 23419042
Change-Id: Ie669a9908bd3b03498f75c5ca22c0fddf52a5203

8 years agoMerge "Synchronize critical sections in NonClientDecorView.ResizeFrameThread"
Wale Ogunwale [Thu, 8 Oct 2015 23:33:10 +0000 (23:33 +0000)]
Merge "Synchronize critical sections in NonClientDecorView.ResizeFrameThread"

8 years agoMerge "Added rules for status/nav bar customization when in multi-window mode"
Wale Ogunwale [Thu, 8 Oct 2015 23:04:23 +0000 (23:04 +0000)]
Merge "Added rules for status/nav bar customization when in multi-window mode"

8 years agoMerge "Remove rename automatic zen rule."
Julia Reynolds [Thu, 8 Oct 2015 22:27:10 +0000 (22:27 +0000)]
Merge "Remove rename automatic zen rule."

8 years agoMerge "Format the Javadoc using <p>"
Hui Shu [Thu, 8 Oct 2015 22:23:03 +0000 (22:23 +0000)]
Merge "Format the Javadoc using <p>"

8 years agoMerge "Fix ValueAnimator.getCurrentPlayTime()"
Chet Haase [Thu, 8 Oct 2015 21:07:30 +0000 (21:07 +0000)]
Merge "Fix ValueAnimator.getCurrentPlayTime()"

8 years agoam b2fae9bf: am 4e33c1c3: am 3a409081: am 29433f70: Merge "Actually apply after no...
Jason Monk [Thu, 8 Oct 2015 20:44:52 +0000 (20:44 +0000)]
am b2fae9bf: am 4e33c1c3: am 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev

* commit 'b2fae9bf2aeb682ce55a3ceb33f91da5f6b5bcc6':
  Actually apply after no sims change.

8 years agoam 4e33c1c3: am 3a409081: am 29433f70: Merge "Actually apply after no sims change...
Jason Monk [Thu, 8 Oct 2015 20:38:03 +0000 (20:38 +0000)]
am 4e33c1c3: am 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev

* commit '4e33c1c312be549ca155b35b24938076ef30f414':
  Actually apply after no sims change.

8 years agoam 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
Jason Monk [Thu, 8 Oct 2015 20:31:51 +0000 (20:31 +0000)]
am 3a409081: am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev

* commit '3a40908185f7db6488f773fe2060a10c00db74db':
  Actually apply after no sims change.

8 years agoam 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
Jason Monk [Thu, 8 Oct 2015 20:28:10 +0000 (20:28 +0000)]
am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev

* commit '29433f701f6722e1f175dd3b735ed025309907b0':
  Actually apply after no sims change.

8 years agoMerge "Actually apply after no sims change." into mnc-dr-dev
Jason Monk [Thu, 8 Oct 2015 20:21:00 +0000 (20:21 +0000)]
Merge "Actually apply after no sims change." into mnc-dr-dev

8 years agoMerge "Revert "Reduce CascadingMenuPopup's reliance on internal ListView state""
Alan Viverette [Thu, 8 Oct 2015 19:54:49 +0000 (19:54 +0000)]
Merge "Revert "Reduce CascadingMenuPopup's reliance on internal ListView state""

8 years agoRevert "Reduce CascadingMenuPopup's reliance on internal ListView state"
Alan Viverette [Thu, 8 Oct 2015 19:54:16 +0000 (19:54 +0000)]
Revert "Reduce CascadingMenuPopup's reliance on internal ListView state"

Introduced some regressions. Reverting until we can do better testing.

This reverts commit 8375d639986529969ea5e118de548d29db16ec97.

Change-Id: I9b15d63e52c814ef8985b86f8a50359e39355d39

8 years agoFix ValueAnimator.getCurrentPlayTime()
Chet Haase [Wed, 7 Oct 2015 02:32:57 +0000 (19:32 -0700)]
Fix ValueAnimator.getCurrentPlayTime()

Return a valid value for the current play time if the animator has
been seeked to a play time or fraction, but not yet started.

Issue #24717972 animator.getCurrentPlayTime() is all messed up

Change-Id: I15f1329b65410b4b0366a23a3419b5987305a865

8 years agoSynchronize critical sections in NonClientDecorView.ResizeFrameThread
Wale Ogunwale [Thu, 8 Oct 2015 17:09:28 +0000 (10:09 -0700)]
Synchronize critical sections in NonClientDecorView.ResizeFrameThread

Prevents multiple-threads from accessing/changing member variables at
the same time that can lead to the app crashing.

Also, setName on ResizeFrameThread so we can easily find it in systrace.

Bug: 24745288
Change-Id: Ic2fc7d661db5360c13314197c40e8b2315d2b7e5

8 years agoMerge "Fix leak of decor view children."
Filip Gruszczynski [Thu, 8 Oct 2015 19:42:18 +0000 (19:42 +0000)]
Merge "Fix leak of decor view children."

8 years agoMerge "Don't remove task from recents if closed by caption button."
Filip Gruszczynski [Thu, 8 Oct 2015 19:36:50 +0000 (19:36 +0000)]
Merge "Don't remove task from recents if closed by caption button."

8 years agoFix leak of decor view children.
Filip Gruszczynski [Thu, 8 Oct 2015 19:24:02 +0000 (12:24 -0700)]
Fix leak of decor view children.

When activity doesn't have a non client decor view but we preserve its
windows, we need to remove the children directly from the decor view
instead.

Bug: 24750271
Change-Id: I50e83ef61deba92e668ee165c4a297547a56071f

8 years agoDon't remove task from recents if closed by caption button.
Filip Gruszczynski [Thu, 8 Oct 2015 18:08:44 +0000 (11:08 -0700)]
Don't remove task from recents if closed by caption button.

When the user clicks X in non client decor of a freeform task, we
don't want it to be removed from recents. The task gets finished,
but it will remain in recents.

Bug: 24718309

Change-Id: I8f47e310903ee7f839ec92f5c8ff3a9f1e09118c

8 years agoMerge "Continue inline reply prototype"
Adrian Roos [Thu, 8 Oct 2015 19:09:04 +0000 (19:09 +0000)]
Merge "Continue inline reply prototype"

8 years agoMerge "Fix flash due to not freezing screen when start/end resizing"
Chong Zhang [Thu, 8 Oct 2015 18:42:24 +0000 (18:42 +0000)]
Merge "Fix flash due to not freezing screen when start/end resizing"

8 years agoMerge "Allow WebView to startActivity and receive results"
Hui Shu [Thu, 8 Oct 2015 18:29:40 +0000 (18:29 +0000)]
Merge "Allow WebView to startActivity and receive results"

8 years agoAdded rules for status/nav bar customization when in multi-window mode
Wale Ogunwale [Wed, 7 Oct 2015 22:35:49 +0000 (15:35 -0700)]
Added rules for status/nav bar customization when in multi-window mode

Status & nav bars are always visible and opaque when freeform or docked
stack is visible

We still need to refactor the code to allow force opaque to be updated
independently for the status bar and nav. bar. Once that is done, the
status bar should be transcluent if freeform stack is visible and
docked stack isn't and the status bar should be opaque if freeform
& docked stack are both visible.

Bug: 24365214
Change-Id: I48ecc6067c9b0f7239c12c98eb46f3fcefacd4f9

8 years agoFix flash due to not freezing screen when start/end resizing
Chong Zhang [Wed, 7 Oct 2015 23:01:23 +0000 (16:01 -0700)]
Fix flash due to not freezing screen when start/end resizing

Instead of freezing the entire screen, preserve the window's old
surface and put it on a layer that's above other windows (while
still below the screen rotation freeze layer). Only remove the
surface when animation starts after the new drawing is received.

bug: 24715185

Change-Id: I1d2b873d339d672cea0f18679b5622cea69bd449

8 years agoMerge "Set device orientation for tests."
Abodunrinwa Toki [Thu, 8 Oct 2015 18:12:19 +0000 (18:12 +0000)]
Merge "Set device orientation for tests."

8 years agoContinue inline reply prototype
Adrian Roos [Wed, 7 Oct 2015 19:20:42 +0000 (12:20 -0700)]
Continue inline reply prototype

Adds IME focus management, prevents HUNs with active
RemoteInput from disappearing and fixes a few issues
with adding RemoteInputs from WearableExtenders.

Bug: 22452379
Change-Id: Ie3bd8e5d4635bd1e967afe2b894ad617dbc4ed10

8 years agoMerge "Do not read bounds from intent"
Chong Zhang [Thu, 8 Oct 2015 17:44:30 +0000 (17:44 +0000)]
Merge "Do not read bounds from intent"

8 years agoDo not read bounds from intent
Chong Zhang [Thu, 8 Oct 2015 17:39:23 +0000 (10:39 -0700)]
Do not read bounds from intent

Private intents can have data we can't parse. Only read bounds from
ActivityOptions.

bug: 24759242
Change-Id: I612f9892c174bc2078eec077a2389e3203a92e68

8 years agoam 386d7900: am e0210648: am a0ef1048: am d473a144: Merge "Hold wake-lock during...
Jeff Sharkey [Thu, 8 Oct 2015 17:29:50 +0000 (17:29 +0000)]
am 386d7900: am e0210648: am a0ef1048: am d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev

* commit '386d7900467ca52d48daf70d07498f10ae48aa80':
  Hold wake-lock during copy operations.

8 years agoam e0210648: am a0ef1048: am d473a144: Merge "Hold wake-lock during copy operations...
Jeff Sharkey [Thu, 8 Oct 2015 17:23:11 +0000 (17:23 +0000)]
am e0210648: am a0ef1048: am d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev

* commit 'e0210648d82a4816218e057a6bf52ee946ee9530':
  Hold wake-lock during copy operations.

8 years agoFormat the Javadoc using <p>
Hui Shu [Thu, 8 Oct 2015 17:23:08 +0000 (10:23 -0700)]
Format the Javadoc using <p>

Change-Id: I3c1ecf2f381e227cd413d6f3760a105ec521f807

8 years agoAllow WebView to startActivity and receive results
Hui Shu [Thu, 8 Oct 2015 17:07:13 +0000 (10:07 -0700)]
Allow WebView to startActivity and receive results

This CL makes webview override View#onActivityResult and gives webview
itnernals the access to View#startActivityForResult.

BUG: 24416313
Change-Id: Ia49db1348a1f5ee0c648a8b16551d9becc7caddd

8 years agoam a0ef1048: am d473a144: Merge "Hold wake-lock during copy operations." into mnc...
Jeff Sharkey [Thu, 8 Oct 2015 17:09:29 +0000 (17:09 +0000)]
am a0ef1048: am d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev

* commit 'a0ef104882b1a0edd79badb2f327cc8722f76bb2':
  Hold wake-lock during copy operations.

8 years agoam d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev
Jeff Sharkey [Thu, 8 Oct 2015 17:02:38 +0000 (17:02 +0000)]
am d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev

* commit 'd473a1446e520616c4079594bbcf3c6fbe88ed4f':
  Hold wake-lock during copy operations.

8 years agoMerge "setDeviceOwner() now requires a full component name."
Makoto Onuki [Thu, 8 Oct 2015 17:01:07 +0000 (17:01 +0000)]
Merge "setDeviceOwner() now requires a full component name."

8 years agoMerge "Hold wake-lock during copy operations." into mnc-dr-dev
Jeff Sharkey [Thu, 8 Oct 2015 16:58:54 +0000 (16:58 +0000)]
Merge "Hold wake-lock during copy operations." into mnc-dr-dev

8 years agoSet device orientation for tests.
Abodunrinwa Toki [Thu, 8 Oct 2015 11:01:35 +0000 (12:01 +0100)]
Set device orientation for tests.

Some tests were failing in the lab based on device orientation:
In landscape mode, the TextView goes into ExtractEditTextMode.
This mode behaves a bit differently from typical TextView mode
and doesn't support accelerated drag selection (e.g. longpress+drag).

This CL adds OrientationUtil that allows test to specify the
orientation (portrait/landscape) that the test should run in.
This CL also fixes the failing tests.

Bug: 24495166
Change-Id: I2f9372997f8301d800109981c6e1a6d4419b641d

8 years agoActually apply after no sims change.
Jason Monk [Thu, 8 Oct 2015 14:09:21 +0000 (10:09 -0400)]
Actually apply after no sims change.

Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e

8 years agoActually apply after no sims change.
Jason Monk [Thu, 8 Oct 2015 14:09:21 +0000 (10:09 -0400)]
Actually apply after no sims change.

Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e

8 years agoam f975a26b: am d621ee11: am edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel...
Puneet Kumar [Thu, 8 Oct 2015 09:26:20 +0000 (09:26 +0000)]
am f975a26b: am d621ee11: am edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

* commit 'f975a26bfe5ac83cc10cae766f2bd1fbc3c50b83':
  Add ESC mapping for Pixel C keyboard

8 years agoam 2a370c49: am 0068ea5b: am 8810285f: am 06d1254c: Merge "Add layout and keymap...
Puneet Kumar [Thu, 8 Oct 2015 09:26:10 +0000 (09:26 +0000)]
am 2a370c49: am 0068ea5b: am 8810285f: am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

* commit '2a370c4932ef27f1382f35b8d0be285027e4c563':
  Add layout and keymap for Pixel C Bluetooth keyboard

8 years agoam d621ee11: am edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard...
Puneet Kumar [Thu, 8 Oct 2015 09:20:01 +0000 (09:20 +0000)]
am d621ee11: am edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

* commit 'd621ee11fa76d7dd803a802bf000baa591c84fbe':
  Add ESC mapping for Pixel C keyboard

8 years agoam 0068ea5b: am 8810285f: am 06d1254c: Merge "Add layout and keymap for Pixel C Bluet...
Puneet Kumar [Thu, 8 Oct 2015 09:19:55 +0000 (09:19 +0000)]
am 0068ea5b: am 8810285f: am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

* commit '0068ea5bf7c9988174b0991eb87bb09f5838c39c':
  Add layout and keymap for Pixel C Bluetooth keyboard

8 years agoam edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 09:15:31 +0000 (09:15 +0000)]
am edc3585f: am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

* commit 'edc3585ffd1ce17f12b808f0473ebc582e159132':
  Add ESC mapping for Pixel C keyboard

8 years agoam 8810285f: am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard...
Puneet Kumar [Thu, 8 Oct 2015 09:15:25 +0000 (09:15 +0000)]
am 8810285f: am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

* commit '8810285fa54f788cc78ae7777db8ccfe57436e30':
  Add layout and keymap for Pixel C Bluetooth keyboard

8 years agoam 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 09:08:30 +0000 (09:08 +0000)]
am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

* commit '0a1f0e56b4ea8c78a1fac3218cfa4efa4cbe3117':
  Add ESC mapping for Pixel C keyboard

8 years agoam 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc...
Puneet Kumar [Thu, 8 Oct 2015 09:08:26 +0000 (09:08 +0000)]
am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

* commit '06d1254c9b63f0f3304ef4dd1de8602655ef9a3f':
  Add layout and keymap for Pixel C Bluetooth keyboard

8 years agoImplement pause/resume functionality to MediaRecorder
Wonsik Kim [Mon, 31 Aug 2015 08:49:21 +0000 (17:49 +0900)]
Implement pause/resume functionality to MediaRecorder

Bug: 20092236
Change-Id: I02b9f11e210d15f6efe52d44f64ad8a3bc566d96

8 years agoMerge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:17:38 +0000 (08:17 +0000)]
Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

8 years agoMerge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:17:23 +0000 (08:17 +0000)]
Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

8 years agoFix build.
Filip Gruszczynski [Thu, 8 Oct 2015 00:28:14 +0000 (17:28 -0700)]
Fix build.

Change-Id: I69daaf2de679cb97609430051f18f7badc4d1e8a

8 years agoRemove rename automatic zen rule.
Julia Reynolds [Tue, 6 Oct 2015 20:23:41 +0000 (16:23 -0400)]
Remove rename automatic zen rule.

Use zen rule id as key when finding matching rule to update.

Bug: 22977552
Change-Id: I7beeb5688aabe409a9a72aaa3aa27932d590c489

8 years agoMerge "Don't have NavigationBarApps::AppHoverListener mark events as consumed"
Toni Barzic [Wed, 7 Oct 2015 23:56:06 +0000 (23:56 +0000)]
Merge "Don't have NavigationBarApps::AppHoverListener mark events as consumed"

8 years agoam b2387e65: am 6c271b89: am f3acc630: am 01356906: Merge "Ensure SurfaceView request...
Tim Murray [Wed, 7 Oct 2015 23:42:57 +0000 (23:42 +0000)]
am b2387e65: am 6c271b89: am f3acc630: am 01356906: Merge "Ensure SurfaceView requests WM relayout when size changes." into mnc-dr-dev

* commit 'b2387e650b3ddd0c2045de66307c4362326363f1':
  Ensure SurfaceView requests WM relayout when size changes.

8 years agoam 6c271b89: am f3acc630: am 01356906: Merge "Ensure SurfaceView requests WM relayout...
Tim Murray [Wed, 7 Oct 2015 23:39:16 +0000 (23:39 +0000)]
am 6c271b89: am f3acc630: am 01356906: Merge "Ensure SurfaceView requests WM relayout when size changes." into mnc-dr-dev

* commit '6c271b898c080303c24e524022dd6e4552bda5f5':
  Ensure SurfaceView requests WM relayout when size changes.