OSDN Git Service
Olivier Gaillard [Tue, 22 Jan 2019 15:03:41 +0000 (15:03 +0000)]
Add pullers for debugging.
These pullers return deterministic values so we'll be able to confirm
to validate the data easily server side locally.
For instance,
- the diff of the elapsed_clock_millis field should always be equal to the bucket size
- the diff of pull_count should always be one unless we hit the cache
Test: manual
Change-Id: I4fab30df287e90f8691740d90d87b67022b9c420
Joel Fernandes [Fri, 25 Jan 2019 18:14:17 +0000 (10:14 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am:
9c4b6532b2 am:
1f90d94383
am:
0ed2ad08f9
Change-Id: Iaef1c7ffb34cd3b9a76a6eb10bc0db633c3f4e78
Joel Fernandes [Fri, 25 Jan 2019 18:07:11 +0000 (10:07 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am:
8a52fda1fa am:
187fcc9fad
am:
b199e12fe5
Change-Id: I90ff44942114da48426286ad36d58b7ff1379e41
Colin Cross [Fri, 25 Jan 2019 18:00:16 +0000 (18:00 +0000)]
Merge "Mark session as ready on APEXd after verification"
Joel Fernandes [Fri, 25 Jan 2019 17:57:50 +0000 (09:57 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests" am:
9c4b6532b2
am:
1f90d94383
Change-Id: Ic714757588429fb0ef97b6c1967e1768a773e847
Joel Fernandes [Fri, 25 Jan 2019 17:52:35 +0000 (09:52 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark" am:
8a52fda1fa
am:
187fcc9fad
Change-Id: I6ce4a5a92e5ec90521d20d9a32d14556c32163ff
Suren Baghdasaryan [Fri, 25 Jan 2019 17:42:19 +0000 (09:42 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""" am:
113fbed900 -s ours am:
a2052d9f7d -s ours
am:
70650f9bc0 -s ours
am skip reason: subject contains skip directive
Change-Id: I0466abc8bda771981e65ab79e63896140f59880f
Joel Fernandes [Fri, 25 Jan 2019 17:40:21 +0000 (09:40 -0800)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests"
am:
9c4b6532b2
Change-Id: I4b085d22ae316b8308f9b4173c73fd55c1ed1c7f
Joel Fernandes [Fri, 25 Jan 2019 17:36:27 +0000 (09:36 -0800)]
Merge "JankBench: Fix execution of incorrect benchmark"
am:
8a52fda1fa
Change-Id: I2032004ccf5e57a0ebb785e9adc0a871750529c4
Suren Baghdasaryan [Fri, 25 Jan 2019 17:30:02 +0000 (09:30 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""" am:
113fbed900 -s ours
am:
a2052d9f7d -s ours
am skip reason: subject contains skip directive
Change-Id: I2e606e75c6e75860b19e3e4f25d9a9ee13bc81af
TreeHugger Robot [Fri, 25 Jan 2019 17:28:34 +0000 (17:28 +0000)]
Merge "Fix GetResourceName for shared libraries"
Mady Mellor [Fri, 25 Jan 2019 17:26:38 +0000 (17:26 +0000)]
Merge "BubbleMetadata flags: suppress initial notif & auto expand when posted"
Suren Baghdasaryan [Fri, 25 Jan 2019 17:19:52 +0000 (09:19 -0800)]
[automerger skipped] Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"""
am:
113fbed900 -s ours
am skip reason: subject contains skip directive
Change-Id: I068ed1b928689e97c24ac0f48a28c05e6a0c7c09
TreeHugger Robot [Fri, 25 Jan 2019 17:16:38 +0000 (17:16 +0000)]
Merge "Rename PERSON_USER_LOCAL and PERSON_USER_REMOTE"
Joel Fernandes [Fri, 25 Jan 2019 17:14:44 +0000 (17:14 +0000)]
Merge "JankBench: Add Bitmap Upload to list of runnable tests"
Joel Fernandes [Fri, 25 Jan 2019 17:14:15 +0000 (17:14 +0000)]
Merge "JankBench: Fix execution of incorrect benchmark"
Suren Baghdasaryan [Fri, 25 Jan 2019 17:09:02 +0000 (17:09 +0000)]
Merge "DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include"""
TreeHugger Robot [Fri, 25 Jan 2019 17:00:03 +0000 (17:00 +0000)]
Merge "Allow multiple tasks when reviewing permissions"
Josh Tsuji [Fri, 25 Jan 2019 16:04:51 +0000 (16:04 +0000)]
Merge "Adds DynamicAnimation-based movement to the bubbles."
Aaron Heuckroth [Fri, 25 Jan 2019 15:19:07 +0000 (15:19 +0000)]
Merge "Creates a new grid-based global actions menu on power button hold."
Dario Freni [Fri, 25 Jan 2019 14:27:13 +0000 (14:27 +0000)]
Mark session as ready on APEXd after verification
APEXd will now only verify packages when submitStagedSession is called,
and wait for an extra call from StagingManager when other verification
such us APK-container signature verification is performed.
Bug:
118865310
Bug:
123360647
Test: atest apex_e2e_tests; manual testing with packages with mismatched
APK signature
Change-Id: Ifa4d20b7d8ecbc25c8a6d9a41f92953cee374d35
Dario Freni [Fri, 25 Jan 2019 14:21:56 +0000 (14:21 +0000)]
Merge "Add an error message to staged install session."
TreeHugger Robot [Fri, 25 Jan 2019 14:21:24 +0000 (14:21 +0000)]
Merge "Remove MediaController2 usages in MediaSessionServiceImpl"
TreeHugger Robot [Fri, 25 Jan 2019 14:09:11 +0000 (14:09 +0000)]
Merge "Store SkFont in android::Paint"
Mark Renouf [Fri, 25 Jan 2019 14:07:10 +0000 (14:07 +0000)]
Merge "Only call ActivityView.startActivity once per bubble"
Tarandeep Singh [Fri, 11 Jan 2019 03:41:30 +0000 (19:41 -0800)]
Animate Insets controller (IME transitions 2/n)
Add animations to InsetsController.show()/hide()
Bug:
118599175
Bug:
118118435
Test: atest InsetsControllerTest
Test: atest InsetSourceConsumerTest
Change-Id: Ife224de9762361e60ca4d11c0e39ad0376cf1e35
TreeHugger Robot [Fri, 25 Jan 2019 13:40:41 +0000 (13:40 +0000)]
Merge "Add color space params to webview gl functor"
Tony Mak [Thu, 24 Jan 2019 16:00:28 +0000 (16:00 +0000)]
Rename PERSON_USER_LOCAL and PERSON_USER_REMOTE
Test: atest TextClassificationManagerTest.java
Bug:
123223181
Change-Id: I077d06aabf96d824942b99dd6ab95fe8adc2641f
Yohei Yukawa [Fri, 25 Jan 2019 10:47:32 +0000 (02:47 -0800)]
Remove an unused param from InputMethodSettings constructor
"methodList" parameter in the constructor of InputMethodSettings is
not used. This CL removes it in favor of simplicity.
This is a mechanical refactoring. There should be no behavior change.
Bug:
123379418
Test: make -j checkbuild
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Ifd987bf57d6ed5622e9091157b1933f6da3ff181
Yohei Yukawa [Fri, 25 Jan 2019 10:44:00 +0000 (02:44 -0800)]
Adjust method access levels in InputMethodUtils
This is a mechanical refactoring that adjusts access levels for
methods in InputMethodUtils.
With a recent CL [1], which moved InputMethodUtils to services.jar,
some of methods in InputMethodUtils can now have strict access level
than before.
[1]: I37594096151d77adb6741a41d7985a4506f96ccb
e6b6e0e7853500d6d1aaf3326d487037dff1d2a8
Bug:
123379418
Test: make -j checkbuild
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Iaf737787426d3a67df8ad6595c2b094fad139619
Yohei Yukawa [Fri, 25 Jan 2019 10:26:54 +0000 (02:26 -0800)]
Remove unnecesary final keyword from method params in InputMethodUtils
This is a mechanical refactoring to remove "final" keyboard from
method parameters in InputMethodUtils.
There should be no behavior change.
Bug:
123379418
Test: atest CtsInputMethodTestCases CtsInputMethodServiceHostTestCases
Change-Id: Ic33e94f2bdedaa2c573be0857727d901800e5bbf
Dario Freni [Fri, 25 Jan 2019 09:55:16 +0000 (09:55 +0000)]
Add an error message to staged install session.
The enum itself might be a bit opaque when trying to debug what failed
during the staged session flow. Add an error message field so that the
caller can learn more about the failure, and also log this message on
logcat.
Bug:
118865310
Bug:
123360647
Test: atest PackageInstallerSessionTest; verified that error message is
written to install_sessions.xml and in logcat.
Change-Id: I45c8633f36d490c17c751a9037b90d3fd413c506
Hyundo Moon [Thu, 24 Jan 2019 09:43:28 +0000 (18:43 +0900)]
Remove MediaController2 usages in MediaSessionServiceImpl
Bug:
123336670
Test: Passed below tests
MediaSessionManagerTest#testNotifySession2Created/Destroyed*
Change-Id: I25a20bf9e8a78920f2219d22b81b899af665ed32
Suren Baghdasaryan [Fri, 25 Jan 2019 05:23:40 +0000 (05:23 +0000)]
DO NOT MERGE: Revert "Revert "Add libprocessgroup dependency and fix sched_policy include""
This reverts commit
c5e0fdab2c7ff039db26e4d6512bd3d69bdd71d6.
Reason for revert: AOSP is fixed with new vendor image
Change-Id: Iae858f743fbd7e4f58f89b8ba0498f10f6ae0e81
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:28:54 +0000 (22:28 -0800)]
Merge "Fix IpClientTest" am:
5e823ab263 am:
3d212804df
am:
3b37567d12
Change-Id: If84e339670087d4484542801c361c7e70ee01793
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:19:45 +0000 (22:19 -0800)]
Merge "Fix IpClientTest" am:
5e823ab263
am:
3d212804df
Change-Id: Iaf861221325d914202f4d9d7f7d584b7bba7a774
Remi NGUYEN VAN [Fri, 25 Jan 2019 06:07:26 +0000 (22:07 -0800)]
Merge "Fix IpClientTest"
am:
5e823ab263
Change-Id: I25077d83d0821b9ba1449b7c1c716a44a71f7287
Jeff Chang [Fri, 25 Jan 2019 06:03:35 +0000 (06:03 +0000)]
Merge "Fix a deadlock symptom between AM/WM"
TreeHugger Robot [Fri, 25 Jan 2019 05:55:41 +0000 (05:55 +0000)]
Merge "Add PermissionControllerManager.isApplicationQualifiedForRole()."
Remi NGUYEN VAN [Fri, 25 Jan 2019 05:55:08 +0000 (05:55 +0000)]
Merge "Fix IpClientTest"
TreeHugger Robot [Fri, 25 Jan 2019 05:27:31 +0000 (05:27 +0000)]
Merge "Add a no-op animation for non-changing apps during change transition"
TreeHugger Robot [Fri, 25 Jan 2019 05:19:33 +0000 (05:19 +0000)]
Merge "Always show battery percentage on AOD"
Jeff Sharkey [Fri, 25 Jan 2019 04:20:27 +0000 (04:20 +0000)]
Merge "Verify permissions are only held by media stack."
Chenjie Yu [Fri, 25 Jan 2019 04:07:07 +0000 (04:07 +0000)]
Merge "rework BinaryPushStateChanged atom"
Lucas Dupin [Fri, 25 Jan 2019 04:00:05 +0000 (04:00 +0000)]
Merge "Invert custom views in dark mode"
TreeHugger Robot [Fri, 25 Jan 2019 03:59:27 +0000 (03:59 +0000)]
Merge "Hide content on all displays when the device is locked."
TreeHugger Robot [Fri, 25 Jan 2019 03:57:36 +0000 (03:57 +0000)]
Merge "Add test for display configuration listener"
TreeHugger Robot [Fri, 25 Jan 2019 03:56:47 +0000 (03:56 +0000)]
Merge "Moving the device provisioned callback to the correct thread."
Mathieu Chartier [Fri, 25 Jan 2019 03:36:10 +0000 (03:36 +0000)]
Merge "[view compilation] Add separate compilation property"
Mathieu Chartier [Thu, 24 Jan 2019 19:13:35 +0000 (11:13 -0800)]
[view compilation] Add separate compilation property
Add separate compilation pm.precompile_layouts property for
precompiled layouts that controls compilation. Previously
this was controlled by view.precompiled_layout_enabled.
Movitation:
Enable view compilation without loading to get extra coverage.
Exempt-From-Owner-Approval: Cherry-pick from AOSP
Bug:
111895153
Test: manual
Change-Id: Ica79ec076714f76d6ae75d398a2f62d7dd85a6a6
Lucas Dupin [Fri, 18 Jan 2019 00:34:22 +0000 (16:34 -0800)]
Always show battery percentage on AOD
Fixes:
123362085
Test: visual
Change-Id: Ib94efbb9b84bad75ba0a485fff827acb397a8b5f
Christian Wailes [Fri, 25 Jan 2019 02:40:54 +0000 (18:40 -0800)]
[automerger skipped] Merge "Enables the use of the blastula pool." am:
33a09948e5 am:
b649fda0ef
am:
a6fc60e47c -s ours
am skip reason: change_id I46c32ad09400591e866b6c6121d5a9b0332092f3 with SHA1
ba4c2eb189 is in history
Change-Id: Id829a7772c49e928d648ff3537f321a1b162561d
Tarandeep Singh [Fri, 25 Jan 2019 02:36:52 +0000 (02:36 +0000)]
Merge "Pre-render input method (IME transitions 1/n)"
Android Build Merger (Role) [Fri, 25 Jan 2019 02:33:22 +0000 (02:33 +0000)]
Merge "[automerger skipped] Merge "Added Java Language methods for blastula management." am:
0d9156a9c0 am:
8a2facfa4c am:
3763cc1859 -s ours am skip reason: change_id Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d with SHA1
cb0b37fc26 is in history"
Christian Wailes [Fri, 25 Jan 2019 02:32:51 +0000 (18:32 -0800)]
[automerger skipped] Merge "Added Java Language methods for blastula management." am:
0d9156a9c0 am:
8a2facfa4c
am:
3763cc1859 -s ours
am skip reason: change_id Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d with SHA1
cb0b37fc26 is in history
Change-Id: I4fdb0d59329f8f2fd8684c9476c4097b30cd6ac4
Christian Wailes [Fri, 25 Jan 2019 02:31:37 +0000 (18:31 -0800)]
Merge "Enables the use of the blastula pool." am:
33a09948e5
am:
b649fda0ef
Change-Id: I489ce1f3a9aa072d9627376448bb6bf25b026d5e
TreeHugger Robot [Fri, 25 Jan 2019 02:30:51 +0000 (02:30 +0000)]
Merge "QSFooterImpl shows multiple carriers"
Lucas Dupin [Fri, 25 Jan 2019 00:42:52 +0000 (16:42 -0800)]
Invert custom views in dark mode
Invert custom view colors (in Y'UV space) if its background isn't dark,
we're in dark mode, and app doesn't target Q.
Change-Id: I74f557315c5e7e91ee7ec01d1535dac40f921524
Fixes:
112767229
Test: send custom notification from pre Q app with black background
Test: send custom notification from pre Q app with white background
Test: send custom notification from pre Q app with green background
Test: send custom notification from Q app with white background
Christian Wailes [Fri, 25 Jan 2019 02:23:22 +0000 (18:23 -0800)]
Merge "Added Java Language methods for blastula management." am:
0d9156a9c0
am:
8a2facfa4c
Change-Id: Iec674c1318ae87310ff3327fc5f10d48e3191af5
Christian Wailes [Fri, 25 Jan 2019 02:22:15 +0000 (18:22 -0800)]
Merge "Enables the use of the blastula pool."
am:
33a09948e5
Change-Id: Ibe2aa45a1df74674b82127f0c8588694c39461cf
Christian Wailes [Fri, 25 Jan 2019 02:14:40 +0000 (18:14 -0800)]
Merge "Added Java Language methods for blastula management."
am:
0d9156a9c0
Change-Id: I7833c149e1aac2b0621da6d4f33b4fe800fb0a3e
Christian Wailes [Fri, 25 Jan 2019 02:06:47 +0000 (02:06 +0000)]
Merge "Enables the use of the blastula pool."
Christian Wailes [Fri, 25 Jan 2019 02:06:28 +0000 (02:06 +0000)]
Merge "Added Java Language methods for blastula management."
TreeHugger Robot [Fri, 25 Jan 2019 02:00:45 +0000 (02:00 +0000)]
Merge "Fixes an issue where the ambient layout could be null"
Felipe Leme [Fri, 25 Jan 2019 01:57:15 +0000 (01:57 +0000)]
Merge "Fixed View.getContentCaptureSession(ContentCaptureManager)."
Yunfan Chen [Thu, 24 Jan 2019 08:30:33 +0000 (17:30 +0900)]
Add test for display configuration listener
To test process controller register and unregister to ActivityDisplay as
a listener.
Test: atest WindowProcessControllerTests
Bug:
113253755
Change-Id: Ife9aeed22b9d8b5faf6cbddb12b28c6b76d4bf87
Hai Zhang [Thu, 24 Jan 2019 00:48:40 +0000 (16:48 -0800)]
Add PermissionControllerManager.isApplicationQualifiedForRole().
Settings DefaultAppShortcutPreference needs this info to determine
whether to show the shortcut to default apps on the app info page.
Bug:
110557011
Bug:
123238935
Test: manual
Change-Id: I3ffa62eb199ba9c761bf09a556443f685f6b6b50
Jackal Guo [Fri, 25 Jan 2019 01:21:40 +0000 (01:21 +0000)]
Merge "Using actual display id"
Chad Brubaker [Fri, 25 Jan 2019 01:15:33 +0000 (01:15 +0000)]
Merge "Add temp debug logging for app ops"
wilsonshih [Tue, 11 Dec 2018 08:10:16 +0000 (16:10 +0800)]
Hide content on all displays when the device is locked.
Currently we cannot show Keyguard on private display. To prevent
security regression, we should hide the content when device is locked.
Bug:
120669490
Test: atest ActivityManagerMultiDisplayTests
Test: atest ActivityManagerDisplayLockedKeyguardTests
Test: atest ActivityManagerDisplayKeyguardTests
Change-Id: I94a5099b91f15b3871da497a8bc7cb66713d9b64
Pengquan Meng [Fri, 25 Jan 2019 01:13:20 +0000 (17:13 -0800)]
[automerger skipped] Merge "A get method for NR status in ServiceState" am:
c09b41cada am:
145fc05417
am:
690885cb6b -s ours
am skip reason: change_id I07749ff00fc9d53796208ca78721b498ed4c16fd with SHA1
bbcd9123aa is in history
Change-Id: Idd05448f5b712787496d1077beb2d1cc9cd20618
Johnson Lu [Fri, 25 Jan 2019 01:05:30 +0000 (01:05 +0000)]
Merge "Enable Wi-Fi connectivity features"
Lorenzo Colitti [Fri, 25 Jan 2019 01:04:27 +0000 (17:04 -0800)]
Merge changes If54fa3a8,Ie7bd1459 am:
166c3aa030 am:
dab15ff5f8
am:
4461bd8f0f
Change-Id: I0641072657f0d190a7e6780242cd5fd594baf865
Pengquan Meng [Fri, 25 Jan 2019 01:03:41 +0000 (17:03 -0800)]
Merge "A get method for NR status in ServiceState" am:
c09b41cada
am:
145fc05417
Change-Id: I36d4378149959c7d4c04b0b90a070d8b6686f8a7
Chalard Jean [Fri, 25 Jan 2019 00:55:28 +0000 (16:55 -0800)]
Merge "Fix IPMS tests timeout." am:
1f9d80f6ee am:
618ff5185a
am:
d7bb3192af
Change-Id: I3c27bb789b8c44d6e2c46dabe65bf19452453257
Lorenzo Colitti [Fri, 25 Jan 2019 00:54:10 +0000 (16:54 -0800)]
Merge changes If54fa3a8,Ie7bd1459 am:
166c3aa030
am:
dab15ff5f8
Change-Id: If68ce4578c30fdb1e5d87f67bcaaec125f647b2c
Pengquan Meng [Fri, 25 Jan 2019 00:53:22 +0000 (16:53 -0800)]
Merge "A get method for NR status in ServiceState"
am:
c09b41cada
Change-Id: Ifc6f7ef34c6e84c361c02493a1afb3dcaa6ae25a
Chris Wailes [Sat, 12 Jan 2019 01:13:00 +0000 (17:13 -0800)]
Enables the use of the blastula pool.
This commit adds the code necessar to initialize and use the blastula
pool during application launching. Highlights include:
* Modifying ZygoteState to allow the creation of blastula session
sockets
* Modified application startup to track if a web view process is being
created.
* Initialization of the blastula pool during Zygote initialization.
* Blastula lifecycle management via reporting pipes and event FDs.
* Launching of applications via the blastula pool.
The creation, maintenance, and use of the blastula pool can be disabled
by setting Zygote.BLASTULA_POOL_ENABLED to false. When this feature is
disabled applications will launch as they did before this patch.
Topic: zygote-prefork
Test: make & flash & launch app & check log message
Bug:
68253328
Change-Id: I46c32ad09400591e866b6c6121d5a9b0332092f3
Merged-In: I46c32ad09400591e866b6c6121d5a9b0332092f3
Chris Wailes [Sat, 12 Jan 2019 01:04:41 +0000 (17:04 -0800)]
Added Java Language methods for blastula management.
This commit adds Java Language wrappers for native blastula management
functions. No changes are made to the application lifecycle.
Topic: zygote-prefork
Test: make & flash & launch apps & check log for messages
Bug:
68253328
Change-Id: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Merged-In: Ie9fd0aea2952dbd3baaca22c820e9af700f5e89d
Lorenzo Colitti [Fri, 25 Jan 2019 00:46:51 +0000 (16:46 -0800)]
Merge changes If54fa3a8,Ie7bd1459
am:
166c3aa030
Change-Id: I492f9fab4b7e69d214911820f7d4c0a00540bac7
Chalard Jean [Fri, 25 Jan 2019 00:46:01 +0000 (16:46 -0800)]
Merge "Fix IPMS tests timeout." am:
1f9d80f6ee
am:
618ff5185a
Change-Id: Ie8d1934205810586812714e5a63f10dc5fa01841
TreeHugger Robot [Fri, 25 Jan 2019 00:45:37 +0000 (00:45 +0000)]
Merge "Unhide APIs of Android HDMI Framework for Q."
Pengquan Meng [Fri, 25 Jan 2019 00:40:48 +0000 (00:40 +0000)]
Merge "A get method for NR status in ServiceState"
Mehdi Alizadeh [Fri, 25 Jan 2019 00:37:26 +0000 (00:37 +0000)]
Merge "Use old API only if no share targets are published"
Chalard Jean [Fri, 25 Jan 2019 00:36:27 +0000 (16:36 -0800)]
Merge "Fix IPMS tests timeout."
am:
1f9d80f6ee
Change-Id: Ia73f410da8c42e9933dd290deacb82909b4348a6
TreeHugger Robot [Fri, 25 Jan 2019 00:26:53 +0000 (00:26 +0000)]
Merge changes I841d2621,I456f6695
* changes:
Fix a couple of issues with insets
Implement WindowInsets.isVisible
Lorenzo Colitti [Fri, 25 Jan 2019 00:25:51 +0000 (00:25 +0000)]
Merge changes If54fa3a8,Ie7bd1459
* changes:
Extract network observer code from NetworkManagementService.
Change the signature of notifyInterfaceClassActivity.
Joshua Tsuji [Wed, 16 Jan 2019 23:43:12 +0000 (15:43 -0800)]
Adds DynamicAnimation-based movement to the bubbles.
See go/bubble-stack-design for a high level overview of these changes. This is a large CL, but required in order to allow continued development and team testing without breaking functionality over the course of multiple CL submissions.
To integrate the new animations, the following changes have been made to existing code:
* (BubbleStackView) The bubble container (and thus, the stack view) are MATCH_PARENT to allow the bubbles to independently translate anywhere on the screen.
* (BubbleStackView) Start position is set by the stack controller, not BubbleStackView.
* (BubbleStackView) Expand positon is set by the expansion controller, not BubbleStackView.
* (BubbleStackView/BubbleTouchHandler) Added the methods onDragStart/onDragged/onDragFinish, and onBubbleDragStart/onBubbleDragged/onBubbleDragFinish, for cleaner dispatch of touch events to the appropriate animation controller.
* (BubbleStackView/BubbleController) The stack view's getBoundsOnScreen returns the first bubble's bounds, if the stack is not expanded.
* (BubbleStackView) applyCurrentState no longer manages translation of bubbles, or the expanded view, these are controlled by animation.
* (BubbleMovementHelper) Deleted, no longer needed.
* (Everywhere) Changed uses of Point to PointF, since translation values are floats anyway.
Known issues to be fixed in subsequent, far smaller CLs:
* (b/
123022862) Bubble dragging out/dismissing is not animated, and the bubbles can be deposited anywhere. Tap outside the stack to collapse them back to normal.
* (b/
123023502) New bubbles added while the stack is expanded are not positioned properly.
* (b/
123022982) Expanded view arrow is sometimes in the wrong position.
* (b/
123023410) If the stack is expanded while animating, it collapses to its original position even if not along the edge of the screen.
* (b/
123023904) The expanded view doesn't animate out, it disappears instantly.
* (b/
123026584) Bounds in landscape are a bit wonky.
Bug:
111236845
Test: atest SystemUITests
Test: physics-animation-testing.md
Change-Id: Icaca09e5db89c635c9bb7ca82d7d2714362e344e
Jeff Sharkey [Fri, 25 Jan 2019 00:19:16 +0000 (00:19 +0000)]
Merge "Define DeviceConfig for storage features."
Jeff Sharkey [Fri, 25 Jan 2019 00:17:44 +0000 (17:17 -0700)]
Verify permissions are only held by media stack.
The WRITE_MEDIA_STORAGE permission is a very powerful permission that
grants raw storage access to all devices, and as such it's only
appropriate to be granted to the media stack. Any apps with a
user-visible component (such as Camera or Gallery apps) must go
through public MediaStore APIs, to ensure that users have meaningful
permission controls.
For example, if the end user revokes the "Music" permission from an
app, but that app still has raw access to music via
WRITE_MEDIA_STORAGE, that would be a privacy incident.
Bug:
118402224
Test: atest android.permission.cts.ProviderPermissionTest
Change-Id: Iaf649689ff9e6d4eabbdb242852c179500654b56
Treehugger Robot [Fri, 25 Jan 2019 00:15:50 +0000 (00:15 +0000)]
Merge "Fix IPMS tests timeout."
Selim Cinek [Fri, 25 Jan 2019 00:09:41 +0000 (16:09 -0800)]
Fixes an issue where the ambient layout could be null
Change-Id: I0dd190b2349445fbaafe4a5b612619e2dd002539
Fixes:
123247127
Evan Rosky [Tue, 15 Jan 2019 18:33:58 +0000 (10:33 -0800)]
Add a no-op animation for non-changing apps during change transition
Without this, other closing apps during a change transition would
immediately turn invisible because they had no animation. By adding
a no-op, it basically keeps everything visible and stationary until
the transition finishes.
Bug:
113252739
Test: Manual, wallpaper remains visible while maximizing freeform app
Change-Id: I968280ae2915eb571b33a73a1f182228bc8fec74
Anil Admal [Thu, 24 Jan 2019 23:52:22 +0000 (23:52 +0000)]
Merge "Non-framework location access visibility and control (framework3)"
Mady Mellor [Thu, 24 Jan 2019 23:31:48 +0000 (15:31 -0800)]
BubbleMetadata flags: suppress initial notif & auto expand when posted
Test: atest NotificationTest
Bug:
111236845
Change-Id: Idd1d23a91f2bf45454d1598637c8d7979b7f5287
TreeHugger Robot [Thu, 24 Jan 2019 23:47:33 +0000 (23:47 +0000)]
Merge "Convert PrivacyItemController to Dependency"
Tarandeep Singh [Fri, 9 Nov 2018 17:15:57 +0000 (18:15 +0100)]
Pre-render input method (IME transitions 1/n)
Pre-render input method views and window when EditText receives focus.
This is a pre-requisite for implementing better IME transitions.
Strategy:
Once EditText receives focus, startInput is called. If optimization is
available, IME views and window (SoftInputWindow) are created and
rendered. Until user taps on EditText or showSoftInput() is called, IME
window remains invisible. This pre-rendered window is kept around until
EditorInfo changes or new connection is started (onStartInput).
IME window's visibility will be set using new Insets controller API
rather than conventional client-side dialog.show().
Behavior:
- This is just IME side preparation CL. No performance improvements yet.
- There should be no user perceptible behavior change.
- As long as IME developers were following official lifecycle, they
shouldn't perceive any behavior change.
Availability:
This optimization, once fully implemented, will be available when:
- Device is not "Low memory"
- AND Master flag DebugFlags.FLAG_PRE_RENDER_IME_VIEWS is set.
- ViewRootImpl.USE_NEW_INSETS_API is enabled
Bug:
118599175
Bug:
111084606
Test: atest CtsInputMethodTestCases
Test: atest CtsInputMethodServiceHostTestCases
Test: atest ActivityManagerMultiDisplayTests
Test: Tested with 4 IMEs and didn't preceive any behavior change.
Scenarios tested:
1. With and without hardware keyboard
2. Screen rotation w/ fullscreen mode.
3. split-screen
Change-Id: I1a6300fe167eb205ee2b4214a6e270a52ebae062
Ryan Mitchell [Thu, 24 Jan 2019 00:56:51 +0000 (16:56 -0800)]
Fix GetResourceName for shared libraries
GetResourceName used GetPAckageById which only works when the compile
time package id is eqal to the runtime package id. This change resolves
resource names correctly using the ruuntime package id.
Bug:
79666085
Test: libandroidfw_tests
Change-Id: Ic60cb2416329c5cb34e925991cd689ca7574b483
Jordan Liu [Thu, 24 Jan 2019 23:45:08 +0000 (15:45 -0800)]
Merge "Fix NPE in parcel constructor" am:
23a6598fe4 am:
12b8ba1667
am:
94b6f9771a
Change-Id: I4ca46815212716392ce1128bd6da432f0d3984af
Brad Stenning [Thu, 24 Jan 2019 20:33:10 +0000 (12:33 -0800)]
Moving the device provisioned callback to the correct thread.
Test: manual
Bug:
116479940
Change-Id: I4cfdfac7d949ac177b7bc9da066e7497506c971c
(cherry picked from commit
2f6f9984aba0516f3a665d8ad98c79168e05a1b6)