Julia Reynolds
318b49c2ab
Merge "Log interruptive notifications" into pi-dev
...
am: dcf12d4a39
Change-Id: Id22e93e6777b956721425a434adb3c270ddc8b57
2018-03-12 23:05:40 +00:00
Winson Chung
8f819832c0
Merge "Expose whether a snapshot is a real snapshot" into pi-dev
...
am: 4aee38fd01
Change-Id: Ib94f0ca6e741bbb8495c33803516ffb94227ae2b
2018-03-12 21:47:35 +00:00
Andrew Grieve
60491925d3
Merge "Add Application.getProcessName()" into pi-dev
...
am: 44662a157e
Change-Id: I90a6d1dce5b504e578161e365f9efa74935779c6
2018-03-12 21:25:28 +00:00
Julia Reynolds
dcf12d4a39
Merge "Log interruptive notifications" into pi-dev
2018-03-12 21:10:59 +00:00
Bryce Lee
95aa518a2c
Merge "Update documentation for Activity#onCreate." into pi-dev
...
am: 2b9620cc71
Change-Id: Ida3fd0947d97a6e26547d4182691ae8c66f5705c
2018-03-12 20:50:19 +00:00
Winson Chung
4aee38fd01
Merge "Expose whether a snapshot is a real snapshot" into pi-dev
2018-03-12 20:34:07 +00:00
Bookatz
fda0144579
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
...
am: 81cacb274c
Change-Id: I4a74e97d84db573c98d4fbb3645ad0662c153aea
2018-03-12 19:49:31 +00:00
TreeHugger Robot
44662a157e
Merge "Add Application.getProcessName()" into pi-dev
2018-03-12 19:43:22 +00:00
Bryce Lee
2b9620cc71
Merge "Update documentation for Activity#onCreate." into pi-dev
2018-03-12 19:18:36 +00:00
TreeHugger Robot
81cacb274c
Merge "Statsd BroadcastSubscribers can receive 'cookies'" into pi-dev
2018-03-12 18:27:02 +00:00
Bryce Lee
476edc8148
Update documentation for Activity#onCreate.
...
The current description incorrectly states #onDestroy will be called
immediately when invoking #finish during #onCreate.
Change-Id: I816a54457d7aca0b40feac9a5656d94f7e712c76
Fixes: 69144863
Test: comment update.
2018-03-12 10:06:23 -07:00
Julia Reynolds
1fac86e6cd
Log interruptive notifications
...
First pass only logs audibly interruptive notfications; visually
interruptive notifications will be added in a future CL
Test: runtest systemui-notification, cts
Bug: 74318867
Change-Id: I604495bd4af9741ec52c38e4faa17cc87e2a522b
2018-03-12 09:34:48 -04:00
Winson Chung
f3e412e502
Expose whether a snapshot is a real snapshot
...
- This allows launcher to distinguish between a real snapshot and an app
theme snapshot, which it will decorate differently.
Bug: 72809891
Test: atest com.android.server.wm.TaskSnapshotPersisterLoaderTest
Change-Id: Ia94591ab83ef312556f138cf11398cc5680ad798
2018-03-09 13:34:41 -08:00
Jason Monk
ad39c00c64
Merge "Add intent category for slices to help identify them" into pi-dev
...
am: d8bc0026e0
Change-Id: Ic4098e99ba93781be13862ae4b06b0fe320c4309
2018-03-09 20:02:40 +00:00
Bookatz
058d869826
Statsd BroadcastSubscribers can receive 'cookies'
...
Subscribers can now provide additional Strings that will be passed back to
it when an anomaly is detected. This way, the Subscriber can be informed
about anomaly-specific information has meaning to it.
Statsd itself does not use these strings and doesn't care what they are
- it simply passes them back to the subscriber.
Change-Id: If269872397c4ed2c67e41d54d850cdc664d4f73e
Fixes: 74012329
Test: run cts-dev -m CtsStatsdHostTestCases -t android.cts.statsd.alert.BroadcastSubscriberTests
2018-03-09 10:44:48 -08:00
Jason Monk
5e676a22a0
Add intent category for slices to help identify them
...
Test: cts, testMapIntentToSlice
Bug: 73123733
Change-Id: I75c3e132861d04301f5c856c235eadfc4be8f9bc
2018-03-09 10:56:01 -05:00
Julia Reynolds
02cac6c94f
Expand the visual effects that DND can suppress.
...
am: ccc6ae64ff
Change-Id: I216d9ffcbe4fe1876ba9e40063714aeae1f3add3
2018-03-09 15:10:14 +00:00
Jorim Jaggi
c5f88e6872
Merge changes I46e93397,Ie0a157a9 into pi-dev
...
am: 3a78ec6ae4
Change-Id: Iab137d16d15e47fa63016d3f3f4702aa727d7ccd
2018-03-09 14:38:38 +00:00
Julia Reynolds
0b4626aa23
Merge changes from topic "jr-viseffects" into pi-dev
...
* changes:
Make systemui obey new visual effect flags
Expand the visual effects that DND can suppress.
2018-03-09 13:38:06 +00:00
Jorim Jaggi
3a78ec6ae4
Merge changes I46e93397,Ie0a157a9 into pi-dev
...
* changes:
Also set calling pid when registering for next activity start
Revert "Revert "Elevate remote/recents animation priority""
2018-03-09 12:05:01 +00:00
Jason Monk
06cf512cb7
Merge "Don't use android namespaces in docs" into pi-dev
...
am: 526973aebb
Change-Id: Ic765f6aca9c22017fd55410c054b45d1795a4d99
2018-03-08 18:39:58 +00:00
TreeHugger Robot
526973aebb
Merge "Don't use android namespaces in docs" into pi-dev
2018-03-08 18:28:39 +00:00
Jorim Jaggi
bc2aabe845
Revert "Revert "Elevate remote/recents animation priority""
...
This reverts commit a8b48ab733 .
Original issue has been fixed in follow up CL.
Bug: 73555925
Change-Id: Ie0a157a91c3c66df52370adad7b188f59c4749ea
2018-03-08 18:04:21 +01:00
Jason Monk
ad594516b6
Don't use android namespaces in docs
...
We don't want to encourage devs to do that.
Test: none
Change-Id: I5633fc2a5b9bddddcc67daaff43798c9b66d036c
Fixes: 73123987
2018-03-08 11:35:55 -05:00
Jason Monk
1e4188caba
Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev
...
am: 8d15ff047d
Change-Id: If8eb4ea7aafcbf926fbcd62465c2606c36d08840
2018-03-08 15:20:29 +00:00
Jason Monk
8d15ff047d
Merge "Remove registerSliceCallback and formalize setCallerNeeded" into pi-dev
2018-03-08 15:02:26 +00:00
Julia Reynolds
ccc6ae64ff
Expand the visual effects that DND can suppress.
...
Additionally default to disabling all visual effects when DND is on,
to gather dogfood feedback.
The 'dnd has changed' notification will be reposted after this
CL and has updated text.
Test: runtest systemui-notification
Bug: 74075050
Change-Id: I5bec8ccc6456d98112907b0264ecd52734983984
2018-03-08 09:48:16 -05:00
Felipe Leme
502fb3a8f0
Merge "DO NOT MERGE - Disable warning on blocking one-way call from autofill server." into pi-dev
...
am: 8c55e8c306
Change-Id: Id7dbe84b8b33d94b7d60d2c8ae404e8dc5701e13
2018-03-07 21:36:39 +00:00
TreeHugger Robot
8c55e8c306
Merge "DO NOT MERGE - Disable warning on blocking one-way call from autofill server." into pi-dev
2018-03-07 21:24:46 +00:00
Felipe Leme
385ee5393d
DO NOT MERGE - Disable warning on blocking one-way call from autofill server.
...
This behavior existed since autofill was introduced on O and it won't be fixed
on P, so there's no point on warning. In fact, the warning is often a red
herring for other issues, not to mention a big logcat spammer.
Bug: 35708678
Test: manual verification looking at logcat
Change-Id: I40be4ce25abc5b097ea67e5cb34bb9c4237f0826
2018-03-07 19:24:45 +00:00
Makoto Onuki
80cd503cf3
Merge "Avoid service wrapper initialization deadlock." into pi-dev
...
am: 1e36211a96
Change-Id: I1413c9f37c6ae189292def463e1621983e2f87f2
2018-03-07 18:33:12 +00:00
TreeHugger Robot
1e36211a96
Merge "Avoid service wrapper initialization deadlock." into pi-dev
2018-03-07 18:11:15 +00:00
Beverly
dd333ffb28
Merge "System sounds get its own dnd toggle" into pi-dev
...
am: 5a169cf2f6
Change-Id: Ie4b15e59d2f9ab16842af48ef07fc85191330a1a
2018-03-07 16:53:11 +00:00
TreeHugger Robot
5a169cf2f6
Merge "System sounds get its own dnd toggle" into pi-dev
2018-03-07 16:39:40 +00:00
Rubin Xu
9dc058ba9f
Merge "Clarify javadoc for DevicePolicyManager.setTrustAgentConfiguration" into pi-dev
...
am: a3e2d2fed8
Change-Id: I9020605036fbb994c33724e60f324167cd9aaccd
2018-03-07 16:37:49 +00:00
Rubin Xu
50ac241221
Clarify javadoc for DevicePolicyManager.setTrustAgentConfiguration
...
Fixes: 36887130
Test: builds
Change-Id: Ieccd3edc0122c9ae49903a3c5fc9fb0aba6c08a2
2018-03-07 14:21:35 +00:00
Scott Main
6cf55a5332
Merge "Fix javadoc typo causing broken links" into oc-mr1-dev am: ac2cdc0dba
...
am: 655d98bdb5
Change-Id: I267705cb7dc4ea6696058f1b3051e5f1c6ef5f7e
2018-03-07 03:11:26 +00:00
Scott Main
655d98bdb5
Merge "Fix javadoc typo causing broken links" into oc-mr1-dev
...
am: ac2cdc0dba
Change-Id: Ib8d63b1bfcc20e398314501a51bd2fad76a8d10e
2018-03-07 01:54:15 +00:00
Makoto Onuki
f896f1254c
Avoid service wrapper initialization deadlock.
...
- Don't initialize a service wrapper with the cache lock held.
- Instead, use AtomicInteger to avoid instantiating the same service
multiple times.
Test: build, boot, presubmit
Bug: 71882178
Change-Id: Iea4207b855043addac4d24381778babf8eedd84d
2018-03-06 17:40:59 -08:00
Scott Main
bda0cc9c3c
Fix javadoc typo causing broken links
...
Change-Id: I988e06100562c574bbda1bb530359da289062d65
bug: 74262753
2018-03-07 01:39:29 +00:00
Dianne Hackborn
e1d41bd8fa
Merge "Fix issue #72116995 : Add permission guarding Service#startForeground" into pi-dev
...
am: 16268a69d6
Change-Id: I6ef5335e391eb9259ae0dfbf4f88032ad1d2bad4
2018-03-07 00:14:27 +00:00
Dianne Hackborn
16268a69d6
Merge "Fix issue #72116995 : Add permission guarding Service#startForeground" into pi-dev
2018-03-06 23:04:16 +00:00
Jason Monk
b8e5fa9dee
Remove registerSliceCallback and formalize setCallerNeeded
...
Test: update-api
Change-Id: I690064fb416f017f7175a63980827a4ad773ad37
Fixes: 73124257
2018-03-06 17:51:30 -05:00
Lucas Dupin
13100c09ea
Merge "WallpaperColors hint computation" into pi-dev
...
am: 29d047bab8
Change-Id: I120590fe320065573eafa32fbf6ab4807495dc11
2018-03-06 22:45:35 +00:00
TreeHugger Robot
29d047bab8
Merge "WallpaperColors hint computation" into pi-dev
2018-03-06 22:16:50 +00:00
Remi NGUYEN VAN
d2832e320b
Merge "Allow null subscriberId in NetworkStatsManager." am: 6bd13af46a
...
am: a6905db1d8
Change-Id: I1e4e283c6eaecf33d12488e41e0c524f6ff83954
2018-03-06 19:52:57 +00:00
Remi NGUYEN VAN
a6905db1d8
Merge "Allow null subscriberId in NetworkStatsManager."
...
am: 6bd13af46a
Change-Id: I900ac14224284fc3a1422e8791bc54d6a9ee77ba
2018-03-06 19:37:13 +00:00
Lucas Dupin
1c6e3ba66d
Merge "WallpaperColors.fromDrawable Drawable mutation" into pi-dev
2018-03-06 17:34:48 +00:00
Andrew Grieve
4700befb26
Add Application.getProcessName()
...
This information is already available to non-sandboxed processes via
ActivityManager.getRunningAppProcesses(). However, performing an IPC and
iterating processes is quite cumbersome. See other alternatives devs have tried:
https://stackoverflow.com/questions/19631894/is-there-a-way-to-get-current-process-name-in-android
My specific motivation for exposing this information more directly is to
be able to perform process-specific initialization logic in
Application.attachBaseContext():
https://cs.chromium.org/chromium/src/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java?rcl=ac2e180a1265f88dd4030bb35d69f5d0b2dc488d&l=54
Bug: 73344323
Test: Same code that's used in Chrome via reflection.
Change-Id: I83cec468458078e3fa183427a039869f74539c3d
2018-03-06 17:28:47 +00:00
Beverly
d696476fb3
System sounds get its own dnd toggle
...
- Added logic for streams to be muted by dnd (unassociated with ringer)
Test: runtest -x frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ZenModeHelperTest.java
Bug: 73362490
Change-Id: I1101e67282f7331497e91eb510d2bf4f1ea6b4b1
2018-03-06 09:08:29 -05:00