OSDN Git Service
Eugene Susla [Tue, 20 Jun 2017 22:35:06 +0000 (22:35 +0000)]
Merge "[Companion] Fix notification access dialog being in new task" into oc-dev
am:
2eacbac8c3
Change-Id: I75825ebddce328d3afa5c213194f84f24da041eb
Sujith Ramakrishnan [Tue, 20 Jun 2017 22:32:11 +0000 (22:32 +0000)]
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
am:
59c6385bf9
Change-Id: Ie5c1a1ffe4c19d1053009ea901e410614ac7db9b
TreeHugger Robot [Tue, 20 Jun 2017 22:22:54 +0000 (22:22 +0000)]
Merge "[Companion] Fix notification access dialog being in new task" into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:17:33 +0000 (22:17 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev
am:
d523125679
Change-Id: I010d9c6008c35cac3d2b4e05caa8c3e9e2843ed6
TreeHugger Robot [Tue, 20 Jun 2017 22:13:09 +0000 (22:13 +0000)]
Merge "Add a new flag to check if provisioning is completed on ATV" into oc-dev
Bryce Lee [Tue, 20 Jun 2017 22:05:22 +0000 (22:05 +0000)]
Merge "Limit creating new surface for legacy apps to size changes." into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 20:04:59 +0000 (20:04 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev
am:
956ea5f09d
Change-Id: I30fd8dd0b5c221c067f978960832148484273a4c
Evan Laird [Tue, 20 Jun 2017 19:58:57 +0000 (19:58 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev
am:
2ca91661f0
Change-Id: Ibf1f7c4168be4303f7ba42bab0d665c60a355706
Mathieu Chartier [Tue, 20 Jun 2017 19:55:19 +0000 (19:55 +0000)]
Merge "Disable activity leak detection by default for userdebug" into oc-dev
Evan Laird [Tue, 20 Jun 2017 19:49:34 +0000 (19:49 +0000)]
Merge "Fix battery percent text not updating on Font size change" into oc-dev
Philip P. Moltmann [Tue, 20 Jun 2017 18:39:51 +0000 (18:39 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev
am:
c06746ce46
Change-Id: I5f40cab1b16e274aa6450478ded8c6e6b9a896e3
Philip P. Moltmann [Tue, 20 Jun 2017 18:28:03 +0000 (18:28 +0000)]
Merge "remove the lock-use for prunePrintService in case blocking main thread" into oc-dev
Andrii Kulian [Tue, 20 Jun 2017 18:10:45 +0000 (18:10 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev
am:
d883070267
Change-Id: Ib41733e6dd6150188d55316343dbfc311965f73a
Andrii Kulian [Tue, 20 Jun 2017 18:01:14 +0000 (18:01 +0000)]
Merge "Look on all displays if can't launch on a source secondary one" into oc-dev
Bryce Lee [Tue, 20 Jun 2017 17:47:55 +0000 (10:47 -0700)]
Limit creating new surface for legacy apps to size changes.
Creating the surface for every change (such as creation and
visibility) can lead to issues swapping buffers. This
changelist limits the action to only when the size changes.
Change-Id: Ic549d244613a93a43a9f4ddf284bbfb0c13300fa
Fixes:
62801621
Test: follow repro steps in bug, verified no crash.
Test: go/wm-smoke
Jason Monk [Tue, 20 Jun 2017 17:42:31 +0000 (17:42 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev
am:
accdadae9d
Change-Id: I23646de9448c62bc9b3bd0d57099a1b7328e5f18
Jason Monk [Tue, 20 Jun 2017 17:32:26 +0000 (17:32 +0000)]
Merge "Fix QS wifi accessibility announcements" into oc-dev
Jason Monk [Tue, 20 Jun 2017 17:16:05 +0000 (13:16 -0400)]
Fix QS wifi accessibility announcements
The state was being inverted in events to try to get clicks correct,
but events can occur at other times, so really we want to invert
the state between when the click happens and when the next state
change occurs. Also add a toString to fix equals checks on the content
description to make the announcements less noisy.
Test: manual
Change-Id: Ie4159664e9a81fd1719dbf7c06fba5e7b827cc6d
Fixes:
62679498
Philip P. Moltmann [Tue, 20 Jun 2017 15:48:55 +0000 (15:48 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev
am:
aed0c10d52
Change-Id: Ie3a9d1a6192c5f013fdd565df739dbd8e10474c1
Philip P. Moltmann [Tue, 20 Jun 2017 15:42:13 +0000 (15:42 +0000)]
Merge "Correct lastId on onCreate with unexpected state" into oc-dev
Josh Gao [Tue, 20 Jun 2017 04:31:35 +0000 (04:31 +0000)]
Merge "Hack around b/
36066697." into oc-dev
am:
e139434e3a
Change-Id: I2b0f8b94c86606f196755aaad9b0a532ad77c012
TreeHugger Robot [Tue, 20 Jun 2017 04:24:08 +0000 (04:24 +0000)]
Merge "Hack around b/
36066697." into oc-dev
Mathieu Chartier [Tue, 20 Jun 2017 01:42:57 +0000 (18:42 -0700)]
Disable activity leak detection by default for userdebug
Causes too many GCs and related slowdowns.
Verified that assistant launch from holding down home button is now
faster than N.
Test: make and flash
Bug:
62769566
Change-Id: Ib0c1f7a45831b241d3376d1e56db3c6937913b1b
Jakub Pawlowski [Tue, 20 Jun 2017 01:46:59 +0000 (01:46 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev
am:
271e0aa02a
Change-Id: I3a89ac2ddce65530ddf9abcd320f3d0706565fed
TreeHugger Robot [Tue, 20 Jun 2017 01:38:36 +0000 (01:38 +0000)]
Merge "Remove legacy advertiser from map after it's no longer used" into oc-dev
Adam Lesinski [Tue, 20 Jun 2017 01:11:19 +0000 (01:11 +0000)]
Merge "Fix potential race in Theme creation" into oc-dev
am:
b0a5fd0384
Change-Id: I953ef77d43502a13bb84737956808823e9b5e30a
Adam Lesinski [Tue, 20 Jun 2017 01:07:06 +0000 (01:07 +0000)]
Merge "Fix potential race in Theme creation" into oc-dev
Eugene Susla [Tue, 20 Jun 2017 00:27:23 +0000 (17:27 -0700)]
[Companion] Fix notification access dialog being in new task
Fixes:
62678460
Test: Tap recents while the dialog is shown and ensure it's not in a
separate task
Change-Id: I0572ddc84d76643ac8a373939273c221ff20676f
Felipe Leme [Tue, 20 Jun 2017 00:34:27 +0000 (00:34 +0000)]
Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev
am:
4eaba84065
Change-Id: Ic26bfe950de5459f9e5ab40feb6991e944a33249
TreeHugger Robot [Tue, 20 Jun 2017 00:27:32 +0000 (00:27 +0000)]
Merge "Fixed updateAutofillValue() when mText is not set." into oc-dev
Dianne Hackborn [Tue, 20 Jun 2017 00:00:39 +0000 (00:00 +0000)]
Merge "Fix issue #
62787070: restart due to NPE in JobServiceContext..." into oc-dev
am:
fa791d5e97
Change-Id: Idc23427cccf5d71e5e0f8d08db67a86a2b799e78
Siarhei Vishniakou [Mon, 19 Jun 2017 23:57:42 +0000 (23:57 +0000)]
Merge "Revive DeadZone" into oc-dev
am:
b278424fa6
Change-Id: Iaf5f2a3db830c8c33f5bebc51dcd686c13587494
Philip P. Moltmann [Mon, 19 Jun 2017 19:57:13 +0000 (12:57 -0700)]
Correct lastId on onCreate with unexpected state
onCreate might be called with a state not produced by
onSaveInstanceState. In this case the last autofill ID is not set, so we
incorrectly restore it to NO_ID instead of LAST_APP_AUTOFILL_ID
Change-Id: Id40c06bf223c0e3c6235b2d50779e3f4532898b5
Fixes:
62296699
Test: cts-tradefed run cts-dev -m CtsAutoFillServiceTestCases
(cherry picked from commit
1266d08be53c6ee2494d18363092c68825ef449e)
TreeHugger Robot [Mon, 19 Jun 2017 23:50:23 +0000 (23:50 +0000)]
Merge "Fix issue #
62787070: restart due to NPE in JobServiceContext..." into oc-dev
Siarhei Vishniakou [Mon, 19 Jun 2017 23:47:48 +0000 (23:47 +0000)]
Merge "Revive DeadZone" into oc-dev
Chet Haase [Mon, 19 Jun 2017 23:39:49 +0000 (23:39 +0000)]
Merge "Make --no-window-animation flag apply to animators, too" into oc-dev
am:
c36e3e7fff
Change-Id: I7ed0d41af3d3417988805373ae5ffc3eccf8de64
Jakub Pawlowski [Wed, 14 Jun 2017 01:59:07 +0000 (18:59 -0700)]
Remove legacy advertiser from map after it's no longer used
Test: manual
Bug:
62597369
Change-Id: Ief1e1b054f29b59b1ed72514b138d4f209f9847a
Wale Ogunwale [Mon, 19 Jun 2017 23:30:05 +0000 (23:30 +0000)]
Merge "Added back removed ctor from DisplayEventReceiver" into oc-dev
am:
113918f309
Change-Id: I2bb76c737aaeb14d8acc294891d7ede8f44fe599
TreeHugger Robot [Mon, 19 Jun 2017 23:29:04 +0000 (23:29 +0000)]
Merge "Make --no-window-animation flag apply to animators, too" into oc-dev
TreeHugger Robot [Mon, 19 Jun 2017 23:16:14 +0000 (23:16 +0000)]
Merge "Added back removed ctor from DisplayEventReceiver" into oc-dev
yangbingqian [Mon, 12 Jun 2017 14:45:50 +0000 (22:45 +0800)]
remove the lock-use for prunePrintService in case blocking main thread
As in the change: I4f4cdaba65132dc2ef054877cbb097b499a723f6
the lock object is removed when calling RemotePrintSpooler
and so as it in the method prunePrintService(). But in the
constructor of UserState, the mLock is still held when calling
prunePrintService(), it may also block the main thread
It is better to take it out of the synchronized block
Test: null
Fixes:
37481484
Change-Id: I21fe5380d5c6302f70e04eee7dac0050886ed4f0
Merged-In: I709b491d611dbcbf21a5fd493b879ed290dd0247
Signed-off-by: yangbingqian <yangbingqian@xiaomi.com>
Adam Lesinski [Mon, 12 Jun 2017 19:22:10 +0000 (12:22 -0700)]
Fix potential race in Theme creation
Bug:
38190555
Test: none
Change-Id: Id627bd6088dc469baffb1abb8310cd9e992996aa
Eugene Susla [Mon, 19 Jun 2017 22:02:17 +0000 (22:02 +0000)]
Merge "[Companion] Fix NPE in associate" into oc-dev
am:
ba003a97f8
Change-Id: Id9ba3368eda4c6d1d015f8f6073232aa6cb925ac
TreeHugger Robot [Mon, 19 Jun 2017 21:52:14 +0000 (21:52 +0000)]
Merge "[Companion] Fix NPE in associate" into oc-dev
Andrii Kulian [Fri, 16 Jun 2017 22:29:26 +0000 (15:29 -0700)]
Look on all displays if can't launch on a source secondary one
If an activity is launched from a secondary display but is not
allowed to land on it, then look for a topmost valid launch stack
across all displays.
Bug:
62544886
Test: go/wm-smoke
Test: android.server.cts.ActivityManagerDisplayTests
Test: #testLaunchNonResizeableActivityFromSecondaryDisplaySameTask
Test: #testLaunchNonResizeableActivityFromSecondaryDisplayNewTask
Change-Id: I57470e9ede317f7d492e2b7641a5cb02db13f1b0
Dianne Hackborn [Mon, 19 Jun 2017 21:24:51 +0000 (14:24 -0700)]
Fix issue #
62787070: restart due to NPE in JobServiceContext...
...handleOpTimeoutLocked
Don't try to print the running job if it is null.
Also, the timeout message should be scheduled with the actually
running job it is for, so we can ignore it if we happen to
dispatch one after the job is over.
Test: bit CtsJobSchedulerTestCases:*
Change-Id: I7bc55f55da645a9e116d3f0ee02f2ee115383ea9
Vladislav Kaznacheev [Mon, 19 Jun 2017 21:12:39 +0000 (21:12 +0000)]
Merge "Do not update currently open tooltip." into oc-dev
am:
139dbe5c1c
Change-Id: Idd4860d446987634a3ccf21989f032b72cd0aaef
Josh Gao [Mon, 19 Jun 2017 20:38:20 +0000 (13:38 -0700)]
Hack around b/
36066697.
Avoid calling libbinder's static destructors by calling _exit instead
of returning in main.
Bug: http://b/
36066697
Test: treehugger
Change-Id: I81dd50453f1ea64d97ec97d207fff732b3c62512
Siarhei Vishniakou [Sat, 3 Jun 2017 00:20:34 +0000 (17:20 -0700)]
Revive DeadZone
Override dispatchTouchEvent for the root FrameLayout
of NavigationBar to process ACTION_OUTSIDE MotionEvents
and dispatch directly to DeadZone to keep track of the
most recent outside tap.
Clarified documentation of ACTION_OUTSIDE behaviour.
Bug:
37552674
Test: open IME, tap any key, then quickly tap on top half
of the home button. The home button tap is ignored
and device does not go to homescreen.
Change-Id: Icb5cf6c76959f3514b8b94c09e38cc5434f31b23
TreeHugger Robot [Mon, 19 Jun 2017 21:01:42 +0000 (21:01 +0000)]
Merge "Do not update currently open tooltip." into oc-dev
Wale Ogunwale [Mon, 19 Jun 2017 20:53:32 +0000 (13:53 -0700)]
Added back removed ctor from DisplayEventReceiver
...because some app can't help but access hidden APIs...
Test: builds
Change-Id: Ia1d4a71b46a53b44e3ebe5844e446009785a90ac
Fixes:
62719884
Dan Sandler [Mon, 19 Jun 2017 20:45:05 +0000 (20:45 +0000)]
Merge "Reduce no-op notification log messages." into oc-dev
am:
5e3fb57af8
Change-Id: I6e45c94b21d0162b9050fcc076cab03e00650efc
TreeHugger Robot [Mon, 19 Jun 2017 20:32:13 +0000 (20:32 +0000)]
Merge "Reduce no-op notification log messages." into oc-dev
Felipe Leme [Mon, 19 Jun 2017 16:45:48 +0000 (09:45 -0700)]
Fixed updateAutofillValue() when mText is not set.
updateAutofillValue() was crashing some apps when the mText was not set at the
time it was called. One solution would be to not set mText at all - since the
Autofill Service should rely only on getAutofillValue() - but that could break
existing services.
Hence, a safer solution is to set that field if it's null.
Test: existing CtsAutoFillServiceTestCases tests pass
Test: manual verification using Fly Delta app
Fixes:
62751039
Change-Id: I91a8e0ed5db4148f5eb5729b8e254aa3531f15e4
Dianne Hackborn [Mon, 19 Jun 2017 17:13:16 +0000 (17:13 +0000)]
Merge "Maybe fix issue #
62199092: Alarm didn't ring, upcoming alarm..." into oc-dev
am:
8a95d49d8f
Change-Id: I7260e6e6ecf56883c95846d4fe479796e814e672
Dianne Hackborn [Mon, 19 Jun 2017 17:04:04 +0000 (17:04 +0000)]
Merge "Maybe fix issue #
62199092: Alarm didn't ring, upcoming alarm..." into oc-dev
Siyamed Sinir [Mon, 19 Jun 2017 17:03:08 +0000 (17:03 +0000)]
Merge "Fix crash during TextView.onCreateContextMenu" into oc-dev
am:
58df6ab93f
Change-Id: I0effa1b4d6d01d04a3cafa30fea0c6c477237616
Siyamed Sinir [Mon, 19 Jun 2017 16:53:11 +0000 (16:53 +0000)]
Merge "Fix crash during TextView.onCreateContextMenu" into oc-dev
Sujith Ramakrishnan [Sat, 17 Jun 2017 01:03:18 +0000 (18:03 -0700)]
Add a new flag to check if provisioning is completed on ATV
- This flag will be set once provisioning is completed
and reset when SetupWizard is re-enabled.
Test: None. Adding a static variable.
Bug:
62419382
Change-Id: Ie3e4c118d26f6bd035a451ed1914e73bdeda4e3f
Jason Monk [Mon, 19 Jun 2017 15:33:09 +0000 (15:33 +0000)]
Merge "Fix flash of ambient on fp unlock" into oc-dev
am:
c885c24e10
Change-Id: I71ec6332996262025d65099b92603719753d8fe2
TreeHugger Robot [Mon, 19 Jun 2017 15:26:11 +0000 (15:26 +0000)]
Merge "Fix flash of ambient on fp unlock" into oc-dev
Todd Kennedy [Sun, 18 Jun 2017 17:15:05 +0000 (17:15 +0000)]
Merge "Track both framework and app overlays per package" into oc-dev
am:
65ffdba7f7
Change-Id: I3884a8054f204c66a0b80f6c40a24ad10f466700
Todd Kennedy [Sun, 18 Jun 2017 17:06:17 +0000 (17:06 +0000)]
Merge "Track both framework and app overlays per package" into oc-dev
Bill Yi [Sat, 17 Jun 2017 06:05:17 +0000 (06:05 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am:
f0bdfbc508 -s ours
Change-Id: I89a65eb56977e6c830e9de776920c3458a885d0c
TreeHugger Robot [Sat, 17 Jun 2017 05:57:54 +0000 (05:57 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Philip P. Moltmann [Sat, 17 Jun 2017 02:55:34 +0000 (02:55 +0000)]
Merge "Only preload selected pages" into oc-dev
am:
314457a424
Change-Id: I20eca17bed3316f6a9cfdfa442a56a3db1da50e8
TreeHugger Robot [Sat, 17 Jun 2017 02:49:55 +0000 (02:49 +0000)]
Merge "Only preload selected pages" into oc-dev
Sundeep Ghuman [Sat, 17 Jun 2017 02:24:17 +0000 (02:24 +0000)]
Merge "APs from old scans should not have RSSI values set." into oc-dev
am:
65c00b2f4e
Change-Id: If282f64a86651a3b72a2bcfdf73792fd9c4d4844
TreeHugger Robot [Sat, 17 Jun 2017 02:15:02 +0000 (02:15 +0000)]
Merge "APs from old scans should not have RSSI values set." into oc-dev
Bill Yi [Sat, 17 Jun 2017 01:39:16 +0000 (18:39 -0700)]
Import translations. DO NOT MERGE
Change-Id: Id2e2ab20c78bfcf7ab82807c33466fed3116236b
Auto-generated-cl: translation import
Felipe Leme [Sat, 17 Jun 2017 01:03:23 +0000 (01:03 +0000)]
Merge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev
am:
215ebb941d
Change-Id: I38d4613677fe2fb07b1380b5d2f0337f33395619
Dianne Hackborn [Sat, 17 Jun 2017 00:59:35 +0000 (17:59 -0700)]
Maybe fix issue #
62199092: Alarm didn't ring, upcoming alarm...
...notification was stuck
Don't deliver to a ProcessRecord that has been killed, instead
go through creating a new process.
Test: manual
Change-Id: I74eb0843200b5b99d6496e4b3f6eef5ed38c926e
Phil Weaver [Sat, 17 Jun 2017 00:58:03 +0000 (00:58 +0000)]
Merge "Separate a11y and autofill view ids" into oc-dev
am:
c91290a6e9
Change-Id: Ie5c28e1fdcbb17aa71d192a31c999ff49a3ee4bc
TreeHugger Robot [Sat, 17 Jun 2017 00:52:57 +0000 (00:52 +0000)]
Merge "Revert "Trim text from autofillvalue when checking for empty."" into oc-dev
Casey Burkhardt [Sat, 17 Jun 2017 00:52:42 +0000 (00:52 +0000)]
Merge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detecting availability of the accessibility button - Ensure the initial visibility state is propagated to A11yMS - Ensure services only receive availability callbacks for changes" into oc-dev
am:
4ab690a50d
Change-Id: Ibd41ad85744f3e5cafbce4d94bad1e1f301c9bf5
Phil Weaver [Sat, 17 Jun 2017 00:45:59 +0000 (00:45 +0000)]
Merge "Separate a11y and autofill view ids" into oc-dev
Casey Burkhardt [Sat, 17 Jun 2017 00:40:57 +0000 (00:40 +0000)]
Merge "Resolve 3 inconsistencies in accessibility button API - Unify logic for detecting availability of the accessibility button - Ensure the initial visibility state is propagated to A11yMS - Ensure services only receive availability callbacks for changes" into oc-dev
Eugene Susla [Sat, 17 Jun 2017 00:20:41 +0000 (17:20 -0700)]
[Companion] Fix NPE in associate
The root cause of the exception was that the activity destroy listener was
reacting to any activity being destroyed instead of just the one used with
the CompanionDeviceManager
Fixes:
62549525
Test: Ensure the attached bug no longer reproduces
Change-Id: I2f977e9ac9176247f5be9d08d19b3875f2b4a703
Bryce Lee [Fri, 16 Jun 2017 23:24:21 +0000 (23:24 +0000)]
Merge "Create native Surface object on updateWindow for legacy apps." into oc-dev
am:
1e1c5d7b77
Change-Id: I82ad23dc9c53569d3672826a9daf54ea0f153e73
Bryce Lee [Fri, 16 Jun 2017 23:15:03 +0000 (23:15 +0000)]
Merge "Create native Surface object on updateWindow for legacy apps." into oc-dev
Felipe Leme [Fri, 16 Jun 2017 23:07:49 +0000 (23:07 +0000)]
Merge "Trim text from autofillvalue when checking for empty." into oc-dev
am:
b3b13ff62c
Change-Id: I85f87f690b022558b855c87426a0790b3c79251e
Tyler Freeman [Fri, 16 Jun 2017 23:02:09 +0000 (23:02 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility. am:
79613777df -s ours am:
cf82b09998 -s ours
am:
2c3ca52a91 -s ours
Change-Id: Ia6235af9ea582315ffe4affec9e6c177aaa18a3b
Felipe Leme [Fri, 16 Jun 2017 22:57:58 +0000 (22:57 +0000)]
Revert "Trim text from autofillvalue when checking for empty."
This reverts commit
c5d4e068f2a0c47dc69b72200f8a9fc4bd5a2c28.
Change-Id: I4027cf0f91ebb9032c21efad7025118891188bc6
TreeHugger Robot [Fri, 16 Jun 2017 22:50:42 +0000 (22:50 +0000)]
Merge "Trim text from autofillvalue when checking for empty." into oc-dev
Tyler Freeman [Fri, 16 Jun 2017 22:43:12 +0000 (22:43 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility. am:
79613777df -s ours
am:
cf82b09998 -s ours
Change-Id: I128c5a5b07fc2aef5ada9118e3cc491a87970758
Tyler Freeman [Fri, 16 Jun 2017 22:36:26 +0000 (22:36 +0000)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility.
am:
79613777df -s ours
Change-Id: I965bac24a8d62b44b08679bda58b8ba37dbed5b4
Wale Ogunwale [Fri, 16 Jun 2017 22:15:13 +0000 (22:15 +0000)]
Merge "Log last home activity and result we tried to start" into oc-dev
am:
e8f1a74361
Change-Id: I37edf8144bb11697d1db0375476a73706774c31c
Tony Mantler [Fri, 16 Jun 2017 22:12:04 +0000 (22:12 +0000)]
Merge "Disable notification sounds on TV" into oc-dev
am:
b5979092b8
Change-Id: Ie8a729e7d780b64900804cc3df03948ef5f99843
Felipe Leme [Fri, 16 Jun 2017 21:59:40 +0000 (21:59 +0000)]
Merge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into oc-dev
am:
a89414962d
Change-Id: Ibb6ab7381035c38ee744ede09629a99716d2433b
TreeHugger Robot [Fri, 16 Jun 2017 21:57:20 +0000 (21:57 +0000)]
Merge "Log last home activity and result we tried to start" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 21:55:28 +0000 (21:55 +0000)]
Merge "Disable notification sounds on TV" into oc-dev
TreeHugger Robot [Fri, 16 Jun 2017 21:45:39 +0000 (21:45 +0000)]
Merge "Use an optimized findViewNodeByAutofillId(id) to get just one node." into oc-dev
Winson Chung [Fri, 16 Jun 2017 21:41:38 +0000 (21:41 +0000)]
Merge changes I20bdab1b,Id82f9081 into oc-dev
am:
64b044680c
Change-Id: I1a0635a50b834053099abaeda6b0e4935730fb73
Phil Weaver [Thu, 15 Jun 2017 17:10:06 +0000 (10:10 -0700)]
Separate a11y and autofill view ids
Autofill seems to need IDs to be preserved across things
like configuration changes, while accessibility will not
function without views with unique ids. Separating out the
two types of IDs. We can re-combine them once it's clear
that both demands can be satisfied.
Bug:
62301218
Test: Run a11y and autofill CTS, and verify that the play
store app functions with TalkBack after a screen rotation.
Change-Id: I17a99de2874768fc0ade3aa354130dd1f6b4cd7e
Winson Chung [Fri, 16 Jun 2017 21:32:39 +0000 (21:32 +0000)]
Merge changes I20bdab1b,Id82f9081 into oc-dev
* changes:
Fix backwards flag causing crash.
Fixing issue with PiP aspect ratio being clobbered.
Bryce Lee [Fri, 16 Jun 2017 14:20:34 +0000 (07:20 -0700)]
Create native Surface object on updateWindow for legacy apps.
There are some apps that use the Surface object itself to indicate
changes. As a result, recycling the existing Surface object for
updates can lead to such apps ignoring events such as size changes.
This changelist restores the original behavior for legacy apps, where
the underlying native Surface object is recreated during updates.
Fixes:
62108743
Test: go/wm-smoke
Test: Open affected application, observe expansion to fullscreen when
nav bar disappears. Rotate to other orientation and observe
expansion to fullscreen.
Change-Id: I874602b6b8686c6ecb05cf7b1a04ec4b700ad3f9
Todd Kennedy [Fri, 16 Jun 2017 20:55:13 +0000 (13:55 -0700)]
Track both framework and app overlays per package
Always bundle framework and app overlays. The old implementation, where
framework and app overlays were tracked independently, lead to an error
in the following scenario:
1. Enable app overlay -> change reflected in app
2. Enable framework overlay -> error: no change reflected in app
3. Disable app overlay -> change reflected in app, including framework
overlay
This change also leads to better architecture since the package manager
no longer needs to know that an app's overlays consist of both framework
and app specific overlays. Instead, that knowledge is handled by the
overlay manager.
Also, correct indentation in "cmd package dump packages" output and
remove obsolete constant DUMP_ENABLED_OVERLAYS.
Test: Manual
Change-Id: I707fc00052a15b22fb8c17e6155732520e6b2e52
Bug:
62680061
Felipe Leme [Fri, 16 Jun 2017 20:24:32 +0000 (13:24 -0700)]
Trim text from autofillvalue when checking for empty.
Test: VirtualContainerActivityTest#testSaveDialogNotShownWhenBackIsPressed
Fixes:
62667931
Change-Id: I7e673eedd39fff7af89c694d0bfc5a495f14ea26
Tyler Freeman [Fri, 5 May 2017 00:23:35 +0000 (17:23 -0700)]
DO NOT MERGE ANYWHERE Vibrator: Allow priority vibrations in low-power mode for accessibility.
This is mainly for Wear devices that don't have speakers.
Bug:
37543478
Bug:
37257715
Merged-In: Ia6dffa7e528886e7c84390dbb33b44f298c7afa4
Change-Id: Ia6dffa7e528886e7c84390dbb33b44f298c7afa4
Rob Carr [Fri, 16 Jun 2017 20:08:40 +0000 (20:08 +0000)]
Merge "ViewRootImpl: More null checks for performTraversals." into oc-dev
am:
6f87503ed8
Change-Id: I3691c0b6f7058d182f647949d66a261113152bc1