OSDN Git Service
Jason Monk [Wed, 10 May 2017 13:52:10 +0000 (09:52 -0400)]
Fix the status icon colors in QS
Requires lots of theming magic
Test: visual
Change-Id: I1cd28b570f30989b496065c0e06a5aca461deb41
Fixes:
37619734
Jason Monk [Tue, 9 May 2017 17:50:47 +0000 (13:50 -0400)]
More QS theme fixes for contrast
Test: visual
Merged-In: I4494e92ebf79bbc20c30a18f5ac13228801a3e54
Change-Id: Ifb03403042561ec23e67159eb51387a460d4f90b
Fixes:
37443237
Julia Reynolds [Fri, 12 May 2017 12:14:07 +0000 (12:14 +0000)]
Merge "Show misc channel with pre-upgrade fields" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 11:54:32 +0000 (11:54 +0000)]
Merge "TRON: Count smart selection events." into oc-dev
TreeHugger Robot [Fri, 12 May 2017 11:21:30 +0000 (11:21 +0000)]
Merge "Disable font test temporarily" into oc-dev
Jorim Jaggi [Fri, 12 May 2017 11:02:27 +0000 (11:02 +0000)]
Merge "Fix all issues with SystemUI visibility and transitions" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 04:40:21 +0000 (04:40 +0000)]
Merge changes from topic 'onarevert' into oc-dev
* changes:
Create a NotificationChannel for ONA.
Revert "Delete old WifiNotificationController strings."
TreeHugger Robot [Fri, 12 May 2017 03:47:17 +0000 (03:47 +0000)]
Merge "Allow Recents to rotate freely." into oc-dev
TreeHugger Robot [Fri, 12 May 2017 03:46:54 +0000 (03:46 +0000)]
Merge "System/root/shell need to explicitly ask for static libs to get them" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 02:31:14 +0000 (02:31 +0000)]
Merge "Reduce impact of RenderThread in system_server" into oc-dev
Chris Wren [Fri, 12 May 2017 01:49:01 +0000 (01:49 +0000)]
Merge changes from topic 'b/
36021111' into oc-dev
* changes:
add a global control for badging
extend TestableSettingsProvider to multiuser
TreeHugger Robot [Fri, 12 May 2017 01:40:39 +0000 (01:40 +0000)]
Merge "Fix #
38218977 : NPE restoring widget mappings" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 01:38:11 +0000 (01:38 +0000)]
Merge "Minor tweak, defer building PiP notification until after transition ends" into oc-dev
Eric Laurent [Fri, 12 May 2017 01:35:37 +0000 (01:35 +0000)]
Merge "PhoneWindowManager: allow volume keys in VoIP calls and screen off" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 01:23:12 +0000 (01:23 +0000)]
Merge "Accommodate service disconnect / package update race" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 00:56:10 +0000 (00:56 +0000)]
Merge "OtaDexopt: Ensure float format for progress command" into oc-dev
Jorim Jaggi [Thu, 11 May 2017 21:50:34 +0000 (23:50 +0200)]
Reduce impact of RenderThread in system_server
- Don't try to persist snapshots during window animations. It can
wait and doing it later while decrease the load during window
animations, leading to less jank.
- Lower RT priority to 130 from system_server. It's only used for
background things.
Bug:
37631016
Bug:
36631902
Change-Id: I4fc21b53f257d0194a7f64c3064756ab2426ff17
TreeHugger Robot [Fri, 12 May 2017 00:22:40 +0000 (00:22 +0000)]
Merge "AAPT: Include empty locale in getLocales" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 00:20:42 +0000 (00:20 +0000)]
Merge "BatteryStats: Stop reading kernel memory stats when unvailable" into oc-dev
Jorim Jaggi [Fri, 12 May 2017 00:16:26 +0000 (02:16 +0200)]
Fix all issues with SystemUI visibility and transitions
- Use win.isVisible again to determine top opaque full screen
window. !goneForLayout isn't really correct as windows that are
just about to draw can already influence SystemUI flags
- Don't coalesce messages in CommandQueue. This messes up ordering!
Bad!
Test: Unlock to Settings
Test: Navigate around in settings, make sure no flashes
Test: Cold launch United app
Test: Go to recents <-> settings 10 times
Change-Id: I15d37b35344d955c45591386182c5266bba74f01
Fixes:
37926053
Fixes:
37433095
Fixes:
37923474
TreeHugger Robot [Fri, 12 May 2017 00:15:51 +0000 (00:15 +0000)]
Merge "Make batterystats less chatty" into oc-dev
TreeHugger Robot [Fri, 12 May 2017 00:13:51 +0000 (00:13 +0000)]
Merge "Cleanup API that is already @removed" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 23:59:49 +0000 (23:59 +0000)]
Merge "Suppress AppCacheTest tests that cause am instrument failure." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 23:38:19 +0000 (23:38 +0000)]
Merge "Fix app bounds for pinned stack" into oc-dev
Christopher Tate [Sat, 6 May 2017 00:37:43 +0000 (17:37 -0700)]
Accommodate service disconnect / package update race
Ordering of delivery of package monitoring messages and service
disconnect callbacks is indeterminate, but we need to make decisions
about service disconnect based on the package update state. We
address the race by explicitly deferring our reset/timeout logic by
a short time to allow the package monitor to process any pending
updates on the same looper thread before we take action.
Bug
34356215
Test: manual
Change-Id: Icffedbaf19b8eac8830c22fc05f299eb96b54acd
Svet Ganov [Thu, 11 May 2017 21:36:50 +0000 (14:36 -0700)]
System/root/shell need to explicitly ask for static libs to get them
Test: manual - settings no longer shows static shared libs
all shared lib CTS tests pass
bug:
36632271
Change-Id: If3363059b5f5300e309b61899af8c2559af317fe
TreeHugger Robot [Thu, 11 May 2017 22:40:34 +0000 (22:40 +0000)]
Merge "AudioCapabilities: handle non-standard codec max input channels" into oc-dev
Christopher Tate [Thu, 11 May 2017 22:39:34 +0000 (15:39 -0700)]
Fix #
38218977 : NPE restoring widget mappings
Remember that we might not be able to resolve historical
widget provider references, so don't access them unchecked.
Test: manual
Change-Id: I01c6c68461b6d15aa8fee402a4bfb0f21bf1ddbb
TreeHugger Robot [Thu, 11 May 2017 22:37:42 +0000 (22:37 +0000)]
Merge "Decrease default number of partitions from 64 to 10." into oc-dev
Evan Rosky [Thu, 11 May 2017 22:26:09 +0000 (22:26 +0000)]
Merge "Only save focus in keyboard navigation clusters when appropriate" into oc-dev
Martijn Coenen [Thu, 11 May 2017 22:07:31 +0000 (22:07 +0000)]
Merge "Only spawn one binder thread for screencap." into oc-dev
Abodunrinwa Toki [Mon, 8 May 2017 15:03:01 +0000 (16:03 +0100)]
TRON: Count smart selection events.
Logs:
- Smart selection occured
- TextView menu item activated on smart selection
- Smart selection reset
- Smart selection modified
Test: Manually checked logging happens as per go/tron-howto and verified
nothing is broken in related classes by running:
bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug:
32572232
Change-Id: Ia9081d92ae9aea50d863455be770eecd0c73be1a
TreeHugger Robot [Thu, 11 May 2017 21:55:19 +0000 (21:55 +0000)]
Merge "Fix support for @empty in style resolution" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 21:37:59 +0000 (21:37 +0000)]
Merge "Finish issue #
37815224: DeviceManagementService is incorrectly..." into oc-dev
Aurimas Liutikas [Thu, 11 May 2017 21:30:27 +0000 (21:30 +0000)]
Suppress AppCacheTest tests that cause am instrument failure.
These tests runs a command to clear application data and by
doing so causes the application that is being instrumented
to restart, which in turn "am instrument' thinks is an app
crash, thus aborting the rest of the tests.
Bug:
38238448
Change-Id: Ida69b828a9950a83d790a3a7628e32c14a04a772
Test: bit FrameworksCoreTests:android.content.pm.AppCacheTest
Chris Wren [Fri, 5 May 2017 22:05:56 +0000 (18:05 -0400)]
add a global control for badging
Content observer callbacks don't specify the user,
so scan all the users we know about. User switches
will also trigger an update which will explicitly
check the setting for the (now) current user.
Migrate tests to TestableContext to allow the test
to safely override secure settings.
Bug:
36021111
Test: runtest systemui-notification
Change-Id: I588068382912955da114cc351df7a1e7b4f0733f
TreeHugger Robot [Thu, 11 May 2017 21:18:28 +0000 (21:18 +0000)]
Merge "AOD: Fix wakeup animation duration" into oc-dev
Chris Wren [Wed, 10 May 2017 19:08:36 +0000 (15:08 -0400)]
extend TestableSettingsProvider to multiuser
Bug:
36021111
Test: runtest -x frameworks/base/tests/testables
Change-Id: I13dc2b33a39a01954034fa3d69ae9645d23c3304
Julia Reynolds [Thu, 11 May 2017 20:55:23 +0000 (20:55 +0000)]
Merge "Lock relevant fields on channel update" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 20:38:23 +0000 (20:38 +0000)]
Merge "Detect isVisibleToUser post layout" into oc-dev
Andreas Gampe [Thu, 11 May 2017 20:36:30 +0000 (13:36 -0700)]
OtaDexopt: Ensure float format for progress command
The progress value will be forwarded to update_engine, which expects
a "."-based float representation. Use Locale.ROOT when printing.
Bug:
37760573
Test: m
Test: adb root && adb shell cmd otadexopt prepare && \
adb shell cmd otadexopt progress | grep 0.00
Test: Switch to German, reboot, \
adb root && adb shell cmd otadexopt prepare && \
adb shell cmd otadexopt progress | grep 0.00
Change-Id: I99ffdd3aefa77d77b73fb7b94accefc0f2eb3c0a
TreeHugger Robot [Thu, 11 May 2017 20:30:55 +0000 (20:30 +0000)]
Merge "Ensure remote calls to a fill service timeout." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 20:25:48 +0000 (20:25 +0000)]
Merge "Relax the sharedpreference check to look at StorageManager.isUserKeyUnlocked" into oc-dev
Winson Chung [Thu, 11 May 2017 20:07:10 +0000 (13:07 -0700)]
Allow Recents to rotate freely.
Bug:
37550022
Test: Switch between landscape apps while the device is in landscape
Change-Id: Ic035a1e929f7da0b0a01b11c219a7146aa36f811
Bryce Lee [Thu, 11 May 2017 20:06:20 +0000 (20:06 +0000)]
Merge "Allow for SDK 26 Activities to specify orientation when not fullscreen." into oc-dev
Adam Lesinski [Thu, 11 May 2017 20:05:46 +0000 (13:05 -0700)]
BatteryStats: Stop reading kernel memory stats when unvailable
Bug:
37689111
Test: manual
Change-Id: Ib14e4db14870a47da4f4d72bee613486fb976b78
Robert Shih [Thu, 11 May 2017 19:32:59 +0000 (12:32 -0700)]
AudioCapabilities: handle non-standard codec max input channels
Bug:
34073927
Change-Id: Id9b99e572bf9c90fa236b762620fb7f6eb284f1e
Adam Lesinski [Thu, 11 May 2017 19:15:26 +0000 (12:15 -0700)]
AAPT: Include empty locale in getLocales
AAPT dump badging relies on the empty locale being
present when there are no locales.
Bug:
38192121
Test: manual
Change-Id: I2f5c431d4fd07c525a2318e7b93be0e93c32448f
Amith Yamasani [Thu, 11 May 2017 19:17:07 +0000 (19:17 +0000)]
Merge "Fix a security exception when unbinding services" into oc-dev
Dianne Hackborn [Thu, 11 May 2017 19:14:31 +0000 (12:14 -0700)]
Finish issue #
37815224: DeviceManagementService is incorrectly...
...starting services from jobs
Remove dmagent from whitelist.
Test: manual
Change-Id: Id13b95b9ca4f8fa890f4e20cf133a6f4bc0e3cc5
Andrii Kulian [Thu, 11 May 2017 19:11:53 +0000 (19:11 +0000)]
Merge "Organize multi-window enabling" into oc-dev
Adrian Roos [Thu, 11 May 2017 18:46:59 +0000 (11:46 -0700)]
AOD: Fix wakeup animation duration
Wakeup animation duration was introduced in one CL, but was not
visible to the other CL, now that both CLs have been merged fix up
the duration.
Fixes:
34716110
Test: Trigger Ambient Display, turn on device, observe that both the clock and panel animation take the same time.
Change-Id: I310ba9c5be2e6ddd4fdf0a793eadb687e100aacd
Adam Lesinski [Thu, 11 May 2017 18:39:00 +0000 (18:39 +0000)]
Merge "AAPT2: Add option to disable PNG crunching" into oc-dev
Adam Lesinski [Thu, 11 May 2017 18:36:38 +0000 (18:36 +0000)]
Merge "AAPT: Allow including dependencies in dump command" into oc-dev
Winson Chung [Thu, 11 May 2017 18:30:36 +0000 (11:30 -0700)]
Minor tweak, defer building PiP notification until after transition ends
Bug:
38117789
Test: Enter PIP, ensure the notification is not shown until after transition
Change-Id: Iea4df55a6e9ac86f21fbbf2f967381406920b241
Dianne Hackborn [Thu, 11 May 2017 18:28:31 +0000 (18:28 +0000)]
Merge "Fix issue #
37360626: Apps can schedule alarms (and other things) with temp whitelist" into oc-dev
Adam Lesinski [Tue, 9 May 2017 22:25:37 +0000 (15:25 -0700)]
Fix support for @empty in style resolution
If @empty is encountered in XML, do not fallback
to searching through the theme.
Bug:
36891052
Test: make aapt2_tests
Test: bit CtsContentTestCases:android.content.res.cts.TypedArrayTest
Change-Id: Ie3bf7b70af9c7913513a1092afd95d26bec5e635
Amith Yamasani [Thu, 11 May 2017 18:13:52 +0000 (11:13 -0700)]
Fix a security exception when unbinding services
Clear calling identity before calling oom adjust.
Bug:
38183641
Test: manual
Change-Id: Ia3cc7bb83a94d1bb280a43912a250bddc9ef2c11
Makoto Onuki [Thu, 11 May 2017 17:52:37 +0000 (10:52 -0700)]
Make batterystats less chatty
Fix
36869686
Test: manual
Change-Id: Ia5092222acd508e5539cd64ffe015a18036c9d83
TreeHugger Robot [Thu, 11 May 2017 17:49:46 +0000 (17:49 +0000)]
Merge "Fixes divider position after minimizing and unminimizing with ime open" into oc-dev
Martijn Coenen [Thu, 11 May 2017 16:40:45 +0000 (09:40 -0700)]
Only spawn one binder thread for screencap.
To work around race conditions in libbinder when
spawning new threads while being shut down.
Bug:
36066697
Test: screencap still works
Change-Id: I774d3dc2491bb578a12dede90cc7fcded976f13f
Julia Reynolds [Tue, 9 May 2017 15:46:06 +0000 (11:46 -0400)]
Show misc channel with pre-upgrade fields
- for apps that don't target O but use channges
- Rename misc channel if it already exists
- Add method so settings can tell if it needs to show legacy config
Bug:
38120923
Test: runtest systemui-notification
Change-Id: I5c7c077321f1792851b003b9d9e42505dddd50f0
Julia Reynolds [Mon, 8 May 2017 16:55:24 +0000 (12:55 -0400)]
Lock relevant fields on channel update
This is safe for O as all updates come from a trusted
source.
Change-Id: Iab8ec1e68f8f9f9e345ebf4d5e44718191cc49e6
Fixes:
37986254
Test: runtest systemui-notification
Felipe Leme [Wed, 10 May 2017 21:37:06 +0000 (14:37 -0700)]
Decrease default number of partitions from 64 to 10.
...and also added shell cmds to set it so it can be CTS-tested.
Bug:
37997043
Test: manual verification
Test: PartitionedActivityTest.testNoMorePartitionsAfterLimitReached()
Test: CtsAutoFillServiceTestCases pass
Change-Id: I783bd2d3ed248484adeeebd2df425a6304362ad9
Steven Thomas [Thu, 11 May 2017 17:16:45 +0000 (17:16 +0000)]
Merge "Add vr platform lib" into oc-dev
Phil Weaver [Thu, 11 May 2017 17:12:40 +0000 (17:12 +0000)]
Merge "Removed obsolete a11y support for ClickableSpan" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 15:54:12 +0000 (15:54 +0000)]
Merge "Avoid NPE when getting last shutdown reason." into oc-dev
Bryce Lee [Thu, 11 May 2017 14:59:41 +0000 (07:59 -0700)]
Allow for SDK 26 Activities to specify orientation when not fullscreen.
Change-Id: I9137a7ba7593dcd6031e1fcbcd6dcc0a287d707b
Fixes:
38221413
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testNonfullscreenAppOrientationRequests
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerAppConfigurationTests#testLegacyNonFullscreenActivityPermitted
Albert Chaulk [Thu, 11 May 2017 15:19:21 +0000 (15:19 +0000)]
Merge "Propagate UIDs for all SurfaceControl instances" into oc-dev
Derek Sollenberger [Fri, 5 May 2017 19:44:04 +0000 (15:44 -0400)]
Add an O-release targetAPI check for Canvas.setBitmap.
For apps targeting releases earlier than O setBitmap will attempt
to preserve the matrix from the previous bitmap. It does not however
attempt to reconstruct the save/restore stack or the clip.
Test: manual test of messenger app referenced in the bug
Bug:
37589964
Change-Id: I67f0928a3f84a8be41da38ef1868e79bdeb03e46
Jason Monk [Thu, 11 May 2017 13:21:32 +0000 (13:21 +0000)]
Merge "Don't show wifi in status bar in QS DO NOT MERGE" into oc-dev
Julia Reynolds [Thu, 11 May 2017 13:03:42 +0000 (13:03 +0000)]
Merge "Fix notification_alert logging" into oc-dev
Kenny Guy [Thu, 11 May 2017 11:40:25 +0000 (12:40 +0100)]
Cleanup API that is already @removed
EVICT_CE_KEY was @removed before API freeze
now removing it entirely.
Bug:
37663081
Test: compiles
Change-Id: I9ab318196cfe2da601be65b26a3b579f2f4bad82
Nicolas Geoffray [Fri, 5 May 2017 13:30:02 +0000 (14:30 +0100)]
Remove obsolete DEXOPT_SAFEMODE.
PackageManager side of the change.
bug:
37929796
Test: build
Change-Id: Iae830bb4060b448b4b4e54d3e0fe03ebee39d3fa
(cherry picked from commit
56123bacff220e6ac77a1179197578d3a62ecdd2)
Nicolas Geoffray [Thu, 11 May 2017 09:43:44 +0000 (09:43 +0000)]
Merge "Handle safe mode in PackageManager." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:15:10 +0000 (08:15 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:07:40 +0000 (08:07 +0000)]
Merge "Remove system properties that gates virtual displays in VR." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 08:01:49 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Jaewan Kim [Thu, 11 May 2017 07:15:00 +0000 (07:15 +0000)]
Merge "Don't ignore remote media sessions when sending media key events" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 06:02:40 +0000 (06:02 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Thu, 11 May 2017 05:59:58 +0000 (22:59 -0700)]
Import translations. DO NOT MERGE
Change-Id: If1143ee1e19bd5c141d5d776cd86e936ced2a1a2
Auto-generated-cl: translation import
Santos Cordon [Tue, 9 May 2017 18:36:53 +0000 (11:36 -0700)]
Remove system properties that gates virtual displays in VR.
Bug:
38165337
Test: Manual - Run VR and ensure that secondary display is
listed in 'adb shell dumpsys displays'.
Change-Id: Icf19b7da87bbc89a68f1d77e42c02a93674f7990
Bill Yi [Thu, 11 May 2017 04:38:49 +0000 (21:38 -0700)]
Import translations. DO NOT MERGE
Change-Id: I45ac4cb992313e5eecd6c1af90b8c4181738e4c7
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 11 May 2017 03:55:34 +0000 (03:55 +0000)]
Merge "Add uniqueId to Virtual Display and pass through to inputflinger (1/2)" into oc-dev
Bill Yi [Thu, 11 May 2017 03:29:50 +0000 (20:29 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia752d5c70fe95b9228ec77d69a8c9b5dd1a0e71f
Auto-generated-cl: translation import
TreeHugger Robot [Thu, 11 May 2017 03:22:17 +0000 (03:22 +0000)]
Merge "Speed up structure update before OnFillRequest" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 03:19:49 +0000 (03:19 +0000)]
Merge "Added isUserNameSet" into oc-dev
Svet Ganov [Thu, 11 May 2017 03:06:04 +0000 (20:06 -0700)]
Detect isVisibleToUser post layout
Test: MiltipleFragmentsLogin test no longer fails.
All auto fill CTS tests pass.
bug:
38173625
Change-Id: I6e36229bc9517c7339c77cbc5f236e8399ef4283
TreeHugger Robot [Thu, 11 May 2017 02:27:16 +0000 (02:27 +0000)]
Merge "Remove outdated security note from A11yEvent" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:24:44 +0000 (02:24 +0000)]
Merge "Use buffered DataInputStream vs RandomAccessFile" into oc-dev
Jean-Michel Trivi [Thu, 11 May 2017 02:19:52 +0000 (02:19 +0000)]
Merge "Audio focus: fix focus loss notification for older SDKs" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:19:00 +0000 (02:19 +0000)]
Merge "Change Wifi Picker icons to colorControlNormal." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:15:12 +0000 (02:15 +0000)]
Merge "Hiding text from obscured text fields." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:14:52 +0000 (02:14 +0000)]
Merge "Fixed that the shelf was animating the icons" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 02:08:42 +0000 (02:08 +0000)]
Merge "Move Phags-pa and Yi fonts to the end of fallback chain" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:59:25 +0000 (01:59 +0000)]
Merge "Add a check to investigate b/
37893215." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:57:04 +0000 (01:57 +0000)]
Merge "Clarify documentation for notification a11y events" into oc-dev
Santos Cordon [Wed, 5 Apr 2017 17:31:15 +0000 (10:31 -0700)]
Add uniqueId to Virtual Display and pass through to inputflinger (1/2)
This CL adds:
1) Adds uniqueId (protected via system/sig permission) to virtual
displays.
2) Add support for N virtual display viewports into inputflinger.
3) Set the virtual display's viewports in inputflinger if it has the
uniqueId value set to non-null. (a) Moving the new viewport from java to
native inputflinger and (b) adding "uniqueId" value to viewports makes
up the great majority of this change.
4) From the inputflinger side, we also read in a new value from the
input device configuration files called 'touch.displayId'.
5) When touch.displayId and the virtual display's uniqueId match,
inputflinger links the two.
Test: Start VR and ensure that the virtual viewport shows up when running
'adb shell dump input". Run a VR app, and ensure that the virtual input
device is associated with the new virtual viewport.
Test: com.android.server.display.DisplayManagerServiceTest
Bug:
36051620
Change-Id: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12
Merged-In: Ic2117eb8e19f7f3c59687160591f8bc6692c1f12
TreeHugger Robot [Thu, 11 May 2017 01:48:46 +0000 (01:48 +0000)]
Merge "Lock out ResolverDrawerLayout dismissals during animations" into oc-dev
TreeHugger Robot [Thu, 11 May 2017 01:38:11 +0000 (01:38 +0000)]
Merge "Properly position dataset picker UI" into oc-dev