OSDN Git Service
TreeHugger Robot [Sat, 10 Feb 2018 04:30:30 +0000 (04:30 +0000)]
Merge "Register for fallback vibration's death"
TreeHugger Robot [Sat, 10 Feb 2018 03:42:41 +0000 (03:42 +0000)]
Merge changes from topic "revert-assetmanager2-02-09-2018"
* changes:
Revert "Replace AssetManager with AssetManager2 implementation"
Revert "libandroidfw: Make sure to set the 'app as lib' flag"
Revert "Make idiomatic use of ApkAssets and AssetManager"
Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
Revert "libandroidfw: Improve performance of AssetManager2"
Revert "AssetManager2: Allow out of order type/type spec"
Revert "AssetManager2: Fix list function"
Revert "AssetManager2: Fix issue with native cast"
TreeHugger Robot [Sat, 10 Feb 2018 03:33:20 +0000 (03:33 +0000)]
Merge "Benchmark: stats_write"
TreeHugger Robot [Sat, 10 Feb 2018 03:28:03 +0000 (03:28 +0000)]
Merge "Fix MediaDrm security level APIs"
TreeHugger Robot [Sat, 10 Feb 2018 02:45:25 +0000 (02:45 +0000)]
Merge "AOD font sizes"
TreeHugger Robot [Sat, 10 Feb 2018 02:31:46 +0000 (02:31 +0000)]
Merge "MediaPlayer2: hook up srcId."
Tyler Gunn [Sat, 10 Feb 2018 02:26:52 +0000 (02:26 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am:
6a3031713c am:
07545d18a2
am:
a5627cd0e2
Change-Id: I8b423fba0e10abffc757e8d5ad4feb3b01732e01
TreeHugger Robot [Sat, 10 Feb 2018 02:20:30 +0000 (02:20 +0000)]
Merge "Add clear method to ProtoOutputStream so it is reusable by just rewinding its internal pointer."
Tyler Gunn [Sat, 10 Feb 2018 02:11:17 +0000 (02:11 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app." am:
6a3031713c
am:
07545d18a2
Change-Id: I040613717aef7626dff3eafb2f49c943255d5795
nharold [Sat, 10 Feb 2018 02:11:15 +0000 (02:11 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am:
43699e90f3 am:
e736f83caf
am:
0f7857e587
Change-Id: Ib33ccecfe2fc600c05a208d24df10a474addb0e5
TreeHugger Robot [Sat, 10 Feb 2018 02:05:28 +0000 (02:05 +0000)]
Merge "Remove unnecessary interactive check from alarm dumpsys"
TreeHugger Robot [Sat, 10 Feb 2018 01:59:36 +0000 (01:59 +0000)]
Merge "[3rd try] JobScheduler to use UID active state for job exemption"
nharold [Sat, 10 Feb 2018 01:57:50 +0000 (01:57 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode" am:
43699e90f3
am:
e736f83caf
Change-Id: If7330b4fdf5d2ccbddb590ab81a4b19c1f612b66
Tyler Gunn [Sat, 10 Feb 2018 01:52:07 +0000 (01:52 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."
am:
6a3031713c
Change-Id: I08fb54de452d6f334232d24caf8f89caba85c515
nharold [Sat, 10 Feb 2018 01:46:00 +0000 (01:46 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
am:
43699e90f3
Change-Id: I1f286f0215ce88f947775ded0ddfbc8e0cd7bc55
TreeHugger Robot [Sat, 10 Feb 2018 01:35:48 +0000 (01:35 +0000)]
Merge "Declare a WTF if setting an alarm fails"
Jeff Tinker [Mon, 5 Feb 2018 23:31:02 +0000 (15:31 -0800)]
Fix MediaDrm security level APIs
During development of the vendor/widevine HAL module, the newly added
MediaDrm.setSecurityLevel method was found to be difficult to
implement efficiently since the security level is needed at the time
a session is opened. This CL moves the security level parameter to
openSession to resolve this problem.
bug:
72831697
bug:
64001680
test: GTS media tests
Change-Id: I74b3d1013405805c18b9794bbf7c46348e0ccda9
Lucas Dupin [Sat, 10 Feb 2018 00:54:36 +0000 (16:54 -0800)]
AOD font sizes
Rebalanced font size so keyguard message isn't bigger
than the clock.
Test: visual
Change-Id: I0d24c44616b2b1a0787fa9e55ccb439b30a152ac
TreeHugger Robot [Sat, 10 Feb 2018 00:54:55 +0000 (00:54 +0000)]
Merge "MediaFrameworkTest: Configure video snapshot framerate"
TreeHugger Robot [Sat, 10 Feb 2018 00:49:02 +0000 (00:49 +0000)]
Merge "Update internal ViewPager's SavedState to match Support Library version"
Tyler Gunn [Sat, 10 Feb 2018 00:25:05 +0000 (00:25 +0000)]
Merge "Add Connection Event for supplementary service notifications." am:
efccc1babe am:
4d2dae8f0c
am:
cb64e33660
Change-Id: I782179c6a96d7a953c3201943726ae1e34735ca8
Makoto Onuki [Sat, 10 Feb 2018 00:14:26 +0000 (16:14 -0800)]
Remove unnecessary interactive check from alarm dumpsys
Test: boot && dumpsys alarm
Change-Id: I1fa564917cd7631090219f9df99286ccb83069ff
Tyler Gunn [Sat, 10 Feb 2018 00:11:19 +0000 (00:11 +0000)]
Merge "Add Connection Event for supplementary service notifications." am:
efccc1babe
am:
4d2dae8f0c
Change-Id: Ide105970d9c91f2fa5e2ec14410da011918d92ec
TreeHugger Robot [Sat, 10 Feb 2018 00:09:23 +0000 (00:09 +0000)]
Merge "Send package to permission check"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:44 +0000 (00:07 +0000)]
Merge "Honor INSTANT_APPS_ENABLED only for web intents"
TreeHugger Robot [Sat, 10 Feb 2018 00:07:19 +0000 (00:07 +0000)]
Merge "use writepixels on surface, the canvas version is deprecated"
Winson Chung [Sat, 10 Feb 2018 00:00:49 +0000 (00:00 +0000)]
Merge "Fix issue with quick switch animation not running."
Tyler Gunn [Sat, 10 Feb 2018 00:00:04 +0000 (00:00 +0000)]
Merge "Add InCallService docs to state prerequisites for be being a dialer app."
Tyler Gunn [Fri, 9 Feb 2018 23:59:33 +0000 (23:59 +0000)]
Merge "Add Connection Event for supplementary service notifications."
am:
efccc1babe
Change-Id: Ia8f03045830032e42d2518e97fe74fd55734d524
Makoto Onuki [Tue, 6 Feb 2018 19:30:15 +0000 (11:30 -0800)]
[3rd try] JobScheduler to use UID active state for job exemption
JobScheduler used to use procstate foreground state to decide whether
to exempt jobs, but it should use UID's active state instead, so that
if apps in the temp-whitelist schedule jobs, they run immediately.
Test: Boot
Test: atest CtsAlarmManagerTestCases
Test: atest CtsJobSchedulerTestCases
Test: atest CtsBatterySavingTestCases
Test: atest $ANDROID_BUILD_TOP/frameworks/base/services/tests/servicestests/src/com/android/server/AppStateTrackerTest.java
Bug:
72125364
Change-Id: I7a5628e76121199f3a5299e2a5576e1481574a6e
nharold [Fri, 9 Feb 2018 23:36:59 +0000 (23:36 +0000)]
Merge "Require NETWORK_STACK Permission for IpSec Tunnel Mode"
Nick Butcher [Fri, 9 Feb 2018 23:11:17 +0000 (23:11 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev am:
35e1410551
am:
0ac5791e9e
Change-Id: Idbcf3a51211a87574bd4aff8d01fb49e504b3981
TreeHugger Robot [Fri, 9 Feb 2018 22:57:27 +0000 (22:57 +0000)]
Merge "Add AttributeSet.getAttributeNamespace()."
TreeHugger Robot [Fri, 9 Feb 2018 22:55:39 +0000 (22:55 +0000)]
Merge "The volume dialog window size should match content"
Siyamed Sinir [Fri, 9 Feb 2018 22:47:41 +0000 (22:47 +0000)]
Merge "Fix imports in text related graphics classes"
Nick Butcher [Fri, 9 Feb 2018 22:42:26 +0000 (22:42 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
am:
35e1410551
Change-Id: If9f28bfe12d75fca6b8f07c15b77f78267ef6292
Adam Lesinski [Fri, 9 Feb 2018 22:42:19 +0000 (22:42 +0000)]
Merge "Remove redundant final modifiers from api" am:
0ac66edaea am:
42b86e3dec
am:
ca8b6fdf1b -s ours
Change-Id: I4bb87d7ab1c3b4d01c4d76ed42e06b338bba97a0
Alan Viverette [Fri, 9 Feb 2018 22:38:45 +0000 (17:38 -0500)]
Update internal ViewPager's SavedState to match Support Library version
Fixes:
71992105
Test: no
Change-Id: Ic4569b21d8a26a62bba91742b442f0c3ea8bcc9e
Andreas Gampe [Fri, 9 Feb 2018 22:33:03 +0000 (22:33 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible" am:
2bd33a69d9 am:
0bc85c4e4d
am:
a2671a8bb8
Change-Id: I1eed8502f81fcecd9a295ee8f121ae44c046d72b
TreeHugger Robot [Fri, 9 Feb 2018 22:27:53 +0000 (22:27 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags." into oc-mr1-dev
Adam Lesinski [Fri, 9 Feb 2018 22:21:21 +0000 (22:21 +0000)]
Merge "Remove redundant final modifiers from api" am:
0ac66edaea
am:
42b86e3dec
Change-Id: If8366b5803f9d063d7c8131272a398983e93fde6
Yi Jin [Sat, 3 Feb 2018 00:25:11 +0000 (16:25 -0800)]
Add clear method to ProtoOutputStream so it is reusable by just
rewinding its internal pointer.
Bug:
72319159
Test: atest incidentd_test and atest statsd_test
Change-Id: Id046b987a7460d68300e5d4d46ae56aec1eba2d0
Android Build Merger (Role) [Fri, 9 Feb 2018 22:20:39 +0000 (22:20 +0000)]
Merge "Merge "Pass calling package for invocations of endCall API." am:
44289caa11 am:
e05da7e86b am:
654b7fc322"
Tyler Gunn [Fri, 9 Feb 2018 22:19:49 +0000 (22:19 +0000)]
Merge "Pass calling package for invocations of endCall API." am:
44289caa11 am:
e05da7e86b
am:
654b7fc322
Change-Id: Id7c74fa539b7e7e26dfdc8b612d9299d8c20c19b
TreeHugger Robot [Fri, 9 Feb 2018 22:17:41 +0000 (22:17 +0000)]
Merge "Clean up usage of COWArrayList in a11y code"
Tyler Gunn [Fri, 9 Feb 2018 22:10:50 +0000 (22:10 +0000)]
Merge "Add Connection Event for supplementary service notifications."
Andreas Gampe [Fri, 9 Feb 2018 22:09:07 +0000 (22:09 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible" am:
2bd33a69d9
am:
0bc85c4e4d
Change-Id: I88e72448c88e6948de3f6d2e6f0f20d1a39a31a1
Patrick Baumann [Thu, 8 Feb 2018 22:21:15 +0000 (14:21 -0800)]
Honor INSTANT_APPS_ENABLED only for web intents
Bug:
65959668
Test: manual - toggle setting with test app and verify behavior
Test: atest EphemeralTest
Change-Id: I379a17027abd337610243c1f7c55e9ba733d03fe
Adam Lesinski [Fri, 9 Feb 2018 22:00:21 +0000 (22:00 +0000)]
Merge "Remove redundant final modifiers from api"
am:
0ac66edaea
Change-Id: I69d90dc2869943544e88ed01391d4a6b1107aa90
Tyler Gunn [Fri, 9 Feb 2018 21:57:39 +0000 (21:57 +0000)]
Merge "Pass calling package for invocations of endCall API." am:
44289caa11
am:
e05da7e86b
Change-Id: If051e7875ba1863bc67dd029fa9b5cc0c858d103
Christopher Tate [Fri, 9 Feb 2018 19:13:19 +0000 (11:13 -0800)]
Declare a WTF if setting an alarm fails
This doesn't crash, but does trigger incident reporting.
Also adjust the dumpsys output to be a bit more sensible, and to include
not only last-wakeup but also last-trigger breadcrumbs.
Bug:
65489393
Test: manual
Change-Id: Ifb11f673ad5242b0320092731c9d8311a29f1170
Siyamed Sinir [Fri, 9 Feb 2018 21:57:14 +0000 (21:57 +0000)]
Merge "Fix Editor ActionMode content rectangle"
Andreas Gampe [Fri, 9 Feb 2018 21:46:16 +0000 (21:46 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible"
am:
2bd33a69d9
Change-Id: I618fcab94211da7b259b4761faeb26daea658a48
Siyamed Sinir [Fri, 9 Feb 2018 21:44:35 +0000 (21:44 +0000)]
Merge "Add checkstyle check to graphics package"
Tyler Gunn [Fri, 9 Feb 2018 21:42:29 +0000 (21:42 +0000)]
Merge "Pass calling package for invocations of endCall API."
am:
44289caa11
Change-Id: Ifc44839a3235755e9f231f37dd99f22bb96b39a9
Eric Enslen [Fri, 9 Feb 2018 21:40:42 +0000 (21:40 +0000)]
fix isActiveNetworkMetered with VPNs am:
c81ef19954
am:
351b45873d
Change-Id: I177eff1237dd59514ccf91397a3d307148bc37b1
TreeHugger Robot [Fri, 9 Feb 2018 21:33:22 +0000 (21:33 +0000)]
Merge "Add "uses-sdk" to AndroidManifest for ActivityManagerPerfTests"
Eric Enslen [Fri, 9 Feb 2018 21:26:09 +0000 (21:26 +0000)]
fix isActiveNetworkMetered with VPNs
am:
c81ef19954
Change-Id: I8d59bc23e9153c54e64af59816d11301b490c9eb
Dianne Hackborn [Fri, 9 Feb 2018 01:47:53 +0000 (17:47 -0800)]
Add AttributeSet.getAttributeNamespace().
Why not.
Bug:
73101753
Test: Build and booted
Change-Id: I8f712ce9d7ed06eceef04d50a733a9471429b94c
Julia Reynolds [Fri, 9 Feb 2018 20:40:20 +0000 (15:40 -0500)]
The volume dialog window size should match content
So tapping outside the panel taps on underlying windows
Test: manual
Change-Id: Ie90567d6f1c16657b33f932fb95804f8b26383f9
Fixes:
73165559
Amith Yamasani [Fri, 9 Feb 2018 20:49:32 +0000 (20:49 +0000)]
Merge "Add missing callback to StatusBarService for inline reply"
Adam Lesinski [Fri, 9 Feb 2018 20:48:28 +0000 (20:48 +0000)]
Merge "Remove redundant final modifiers from api"
Adam Lesinski [Fri, 9 Feb 2018 19:12:22 +0000 (11:12 -0800)]
Revert "Replace AssetManager with AssetManager2 implementation"
This reverts commit
1187590da38457809dd368d4901c9c47ac5a6958.
Bug:
73134570
Change-Id: I59b4d714e447478ea124f086356f127f42251fb7
Adam Lesinski [Fri, 9 Feb 2018 19:02:13 +0000 (11:02 -0800)]
Revert "libandroidfw: Make sure to set the 'app as lib' flag"
This reverts commit
9ad287c828a116f844e5c03346c618d83727e4ae.
Bug:
73134570
Change-Id: If930d3a7c17fc2f7ffaebd31281ad5a5d120144f
Adam Lesinski [Fri, 9 Feb 2018 19:02:04 +0000 (11:02 -0800)]
Revert "Make idiomatic use of ApkAssets and AssetManager"
This reverts commit
633085456e5047e16e53da6c95e193e2a0189633.
Bug:
73134570
Change-Id: I7c5171e752dd178dcd64497a780ba0f97d03b7a0
Adam Lesinski [Fri, 9 Feb 2018 19:01:55 +0000 (11:01 -0800)]
Revert "libandroidfw: Add ApplyStyle and SetConfiguration benchmark"
This reverts commit
59f63bd801f10336c9f0499b7a0bc0bccb0fad2e.
Bug:
73134570
Change-Id: I6ace34b0d6545ff001664792b0bb1bbff5b5cbbe
Adam Lesinski [Fri, 9 Feb 2018 19:01:45 +0000 (11:01 -0800)]
Revert "libandroidfw: Improve performance of AssetManager2"
This reverts commit
88c9959e5b417320bbc2484fab42ab4b12379533.
Bug:
73134570
Change-Id: I012643d2b4212cef5aef68feb4146add34f9ecfc
Adam Lesinski [Fri, 9 Feb 2018 19:01:36 +0000 (11:01 -0800)]
Revert "AssetManager2: Allow out of order type/type spec"
This reverts commit
78695c354342bd95ba5f63937b4e789139b50072.
Bug:
73134570
Change-Id: I6acc35372d9071d067d2fb7caa775ee9ba689811
Adam Lesinski [Fri, 9 Feb 2018 19:01:26 +0000 (11:01 -0800)]
Revert "AssetManager2: Fix list function"
This reverts commit
adc0b87ec235a71d722fb8d6aad50ceaeac8c6d5.
Bug:
73134570
Change-Id: I9e652245e7661eb7a34dadb5f363a08bc8c9e57e
Adam Lesinski [Fri, 9 Feb 2018 19:01:13 +0000 (11:01 -0800)]
Revert "AssetManager2: Fix issue with native cast"
This reverts commit
93811532096a2d0d822f64d6271dca4f1147841d.
Bug:
73134570
Change-Id: I5a63ed4b79d5c249ff77059783d9c9d56f0dcf93
Amith Yamasani [Fri, 9 Feb 2018 20:41:59 +0000 (20:41 +0000)]
Merge "Update Inactive Apps to show standby buckets"
Winson Chung [Fri, 9 Feb 2018 01:53:26 +0000 (17:53 -0800)]
Fix issue with quick switch animation not running.
- We were intercepting touch before the quickscrub controller had a chance
to handle the touch, which meant that we canceled the recents animation
before passing the quick switch event to launcher. Instead, just move
the cancel recents animation logic to the key button view (before
handling up) and ensure that we intercept from the button only in the
cases we desire (a quick switch/scrub, recents animation start, or if
it's a dock drag (not currently enabled).
Test: Fling on the nav button to quickswitch, ensure recents animation
runs
Change-Id: Id89fda56f2996a38a9aea99179b5e2870b531003
Siyamed Sinir [Fri, 9 Feb 2018 20:10:34 +0000 (12:10 -0800)]
Fix imports in text related graphics classes
Test: atest CanvasTest
Test: atest TypefaceTest
Test: atest PaintTest
Change-Id: I0d022e39a68be1b22d3036e928eaec1929789261
TreeHugger Robot [Fri, 9 Feb 2018 19:49:15 +0000 (19:49 +0000)]
Merge "ByteStringUtils: fix hex parsing to include lowercase input."
TreeHugger Robot [Fri, 9 Feb 2018 19:44:55 +0000 (19:44 +0000)]
Merge "Refactor ZygoteProcess to deal in LocalSocketAddress."
Siyamed Sinir [Fri, 9 Feb 2018 19:34:57 +0000 (11:34 -0800)]
Add checkstyle check to graphics package
Test: None
Change-Id: I1c8342dda2678917e245e48ab141b2953a522197
Tyler Gunn [Fri, 2 Feb 2018 21:18:02 +0000 (13:18 -0800)]
Add InCallService docs to state prerequisites for be being a dialer app.
The InCallService documentation does not clearly state that an app which
wants to become the default dialer app also needs to handle the DIAL
intent. This change updates the documentation to make this clear.
Test: Built documentation and verified its contents.
Bug:
72857373
Change-Id: I738a8475df37035a0a7f4ad1639df76d967f81dc
TreeHugger Robot [Fri, 9 Feb 2018 19:25:21 +0000 (19:25 +0000)]
Merge "Simplify method management for IAudioService"
Siyamed Sinir [Fri, 9 Feb 2018 19:24:16 +0000 (11:24 -0800)]
Fix Editor ActionMode content rectangle
We have made a mistake in a previous change and change the single cursor
selection bounds in a wrong way.
Test: atest CtsWidgetTestCases:TextViewTest
Bug:
72244890
Change-Id: Ie597ff5a9f82e04d673534e35c49da513132cd5b
Treehugger Robot [Fri, 9 Feb 2018 19:24:03 +0000 (19:24 +0000)]
Merge "Watchdog: Print annotated stack trace, if possible"
Eugene Susla [Thu, 8 Feb 2018 22:00:03 +0000 (14:00 -0800)]
Clean up usage of COWArrayList in a11y code
The single usage we had was already mostly guarded by lock -
replaced with a regular list to prevent confusion
Fixes:
71795155
Test: atest CtsAccessibilityServiceTestCases
Change-Id: I1c3235aadb0db4907cbe92a17cc58d2c8a8b5564
TreeHugger Robot [Fri, 9 Feb 2018 19:08:29 +0000 (19:08 +0000)]
Merge "Fixed bug with turnScreenOn window flag."
TreeHugger Robot [Fri, 9 Feb 2018 18:54:31 +0000 (18:54 +0000)]
Merge "Shore up dividing by zero protections."
TreeHugger Robot [Fri, 9 Feb 2018 18:53:23 +0000 (18:53 +0000)]
Merge "Prevent AAPT from versioning <animated-selector> tags."
Tyler Gunn [Fri, 9 Feb 2018 18:49:08 +0000 (18:49 +0000)]
Merge "Pass calling package for invocations of endCall API."
Bryce Lee [Fri, 9 Feb 2018 18:45:55 +0000 (18:45 +0000)]
Merge "Restrict DisplayContent creation."
Michael Wright [Fri, 9 Feb 2018 18:43:22 +0000 (18:43 +0000)]
Register for fallback vibration's death
If we don't link the fallback vibration's death then when we go to
unlink the vibration when it's done we crash with a NoSuchElement
exception. This way if the process that sent us the vibration dies then
the vibration also stops.
Bug:
73134668
Test: Trigger fallback vibration, doesn't crash
Change-Id: I8d8987773eaf45d7989ae46305a9f1558a73c5da
TreeHugger Robot [Fri, 9 Feb 2018 18:44:43 +0000 (18:44 +0000)]
Merge "Don't propagate unrequested permissions"
Lucas Dupin [Fri, 9 Feb 2018 18:31:40 +0000 (18:31 +0000)]
Merge "Interrupt blanking callback when diplay turns on"
TreeHugger Robot [Fri, 9 Feb 2018 18:20:41 +0000 (18:20 +0000)]
Merge "Follow up to ambient brightness stats change"
TreeHugger Robot [Fri, 9 Feb 2018 18:05:05 +0000 (18:05 +0000)]
Merge "Improve temporary logging around activity destruction."
Lucas Dupin [Fri, 9 Feb 2018 17:50:37 +0000 (17:50 +0000)]
Merge "Remove black frame when pulsing"
Jeff Sharkey [Fri, 9 Feb 2018 17:06:59 +0000 (10:06 -0700)]
Shore up dividing by zero protections.
We're already trying to protect against zero elsewhere in this file,
but we've seen evidence of it still happening, so add last-ditch
protections.
Test: builds, boots
Bug:
73060623
Change-Id: I0549ed08f906521a8dbd9ff6162f80fa9b388434
Mike Reed [Thu, 8 Feb 2018 21:28:53 +0000 (16:28 -0500)]
use writepixels on surface, the canvas version is deprecated
Test: make
Change-Id: I6af16bf4a8c9952d2e493cbd34b6db58d581a694
chaviw [Wed, 7 Feb 2018 17:37:16 +0000 (09:37 -0800)]
Fixed bug with turnScreenOn window flag.
The test
ActivityManagerActivityVisibilityTests#testTurnScreenOnActivity_withRelayout
was failing due to issues with how the turnScreenOn flag was handled.
This change centralizes the logic about when to turn the screen on. The
check for whether the screen should be turned on will happen on each
relayout but is guarded by a flag set in resume. This way the screen can only
have the chance to turn on if a resume was just called.
Change-Id: I0a6e4a11de92fa41c8a49cbfd1b78bd8b38a1b4a
Fixes:
68091612
Test: WindowStateTests
Test: ActivityManagerActivityVisibilityTests
Mikhail Naganov [Wed, 31 Jan 2018 18:28:49 +0000 (10:28 -0800)]
Simplify method management for IAudioService
Move all the methods called from native to the beginning,
so adding new Java-only methods does not affect transaction IDs
of methods called from native.
Also, remove unused imports from IAudioService.aidl
Bug:
72256604
Test: Loopback test in Java, OpenSL ES, and AAudio modes
Change-Id: Icc89e3ed7a052c26eb0e72ba31e3a4a973bcfd35
TreeHugger Robot [Fri, 9 Feb 2018 16:36:13 +0000 (16:36 +0000)]
Merge "Add support for vibrator HAL 1.2 effects."
Peeyush Agarwal [Thu, 8 Feb 2018 12:39:39 +0000 (12:39 +0000)]
Follow up to ambient brightness stats change
- Add docs to public methods of the API
- Use single variable for scheduling write from brightness tracker
Test: atest com.android.server.display.AmbientBrightnessStatsTrackerTest
&& atest android.hardware.display.AmbientBrightnessDayStatsTest
Bug:
69406079
Change-Id: I828e3bde4691240a2c0e0443e60b30665b65b8de
Anton Hansson [Fri, 9 Feb 2018 16:15:08 +0000 (16:15 +0000)]
Merge "Upload tombstone with the system_server_native_crash tag."
Bryce Lee [Fri, 2 Feb 2018 23:09:21 +0000 (15:09 -0800)]
Restrict DisplayContent creation.
This changelist limits DisplayContent the display
container/controller creation. All other callpoints now can only
retrieve existing DisplayContents. This removes the chances of
arbitrary calls generating a DisplayContent without the related
ActivityDisplay on the ActivityManager side.
Since display creation is now driven on the ActivityManager side,
the ActivityManagerService must be initialized and associated with
the WindowManagerService before the WindowManagerService can be fully
initialized. This is reflected in changes to SystemServer.
Fixes:
72228411
Test: go/wm-smoke-auto
Change-Id: I8dddb5fc109be4363de5ba87faff9d9885009042