James O'Leary
a8bc221e63
Merge "[framework] Integrate new quantizers" into sc-dev am: c7d315947d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13553700
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ia4db79eb69b8a2fb619d04b7b7b9ef2320655ad0
2021-02-23 20:25:01 +00:00
James O'Leary
c7d315947d
Merge "[framework] Integrate new quantizers" into sc-dev
2021-02-23 20:20:39 +00:00
Flavio Fiszman
7925e130b1
Merge "Add Missed call People Tile" into sc-dev am: fff84a262c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13614955
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I840068809984b0fefe7244894d6c790cf845e405
2021-02-23 17:24:29 +00:00
Flavio Fiszman
fff84a262c
Merge "Add Missed call People Tile" into sc-dev
2021-02-23 17:10:26 +00:00
Makoto Onuki
0f4b4cafb8
Merge "Throw more descriptive exceptions when service start isn't allowed." into sc-dev am: 35c53e2a73
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13606034
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7c4170e2472b9a60683095227255e5f52fd4130f
2021-02-23 16:29:50 +00:00
Makoto Onuki
35c53e2a73
Merge "Throw more descriptive exceptions when service start isn't allowed." into sc-dev
2021-02-23 16:05:30 +00:00
TreeHugger Robot
77e7327a53
Merge "Disable resetting WRITE_MEDIA_IMAGES and WRITE_MEDIA_VIDEO appops" into sc-dev am: 25cc8e41e6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13630305
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6e6fdf335456a3ed3b75ed17dd7af8379053bc74
2021-02-23 14:00:16 +00:00
TreeHugger Robot
25cc8e41e6
Merge "Disable resetting WRITE_MEDIA_IMAGES and WRITE_MEDIA_VIDEO appops" into sc-dev
2021-02-23 13:48:04 +00:00
Flavio Fiszman
592cb8d358
Add Missed call People Tile
...
Change-Id: I76904cff9f512525dbb2bf335409ff038287802f
Test: PeopleSpaceUtilsTest
Bug: 172576156
2021-02-23 12:54:15 +00:00
Sudheer Shanka
8ca69dbf95
Merge "Add new network process capability." into sc-dev am: 5d8fc4abae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13608074
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7355c823339deea4710d095a907cf21715cbe11a
2021-02-23 11:46:21 +00:00
Sudheer Shanka
5d8fc4abae
Merge "Add new network process capability." into sc-dev
2021-02-23 11:10:57 +00:00
Chris Ye
f059edb2d0
Merge changes from topic "LightsManager" into sc-dev am: 98580a2e82
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13459870
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I237a76689f1e484402ab92d70d81852d812582ee
2021-02-23 08:27:09 +00:00
Chris Ye
98580a2e82
Merge changes from topic "LightsManager" into sc-dev
...
* changes:
Support input device lights manager feature in frameworks.
Add SET_REPORT data output to hid commandline tool.
2021-02-23 08:19:13 +00:00
Louis Chang
4de4528d35
Merge "Log activity relaunch" into sc-dev am: 878589db08
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13639128
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib94fa05f181230d1914262416859d4675b3a7bc0
2021-02-23 06:30:31 +00:00
Louis Chang
878589db08
Merge "Log activity relaunch" into sc-dev
2021-02-23 05:58:33 +00:00
Chris Ye
cbb480c25e
Support input device lights manager feature in frameworks.
...
Add lights manager support to input frameworks.
Bug: 161633625
Test: atest LightsManagerTest, atest InputDeviceLightsManagerTest
Change-Id: Ic6c701cad84f277325583c77195592d96d9296b8
2021-02-22 16:06:35 -08:00
Soonil Nagarkar
514b570725
Merge "Added attribution tag to note listener" into sc-dev am: 7aa01124c4
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13563045
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8f5abdec24ce6c2d2ebcf317e2a520c0b95e183a
2021-02-22 17:35:13 +00:00
Mustafa Emre Acer
79ebe87a1a
Merge "Move suggestExternalTime to TimeManager" into sc-dev am: a547873fb0
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13580386
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ie2189e15f54c941dc3ccfff95a5277bb1793ce1b
2021-02-22 17:34:56 +00:00
Soonil Nagarkar
7aa01124c4
Merge "Added attribution tag to note listener" into sc-dev
2021-02-22 17:25:24 +00:00
Mustafa Emre Acer
a547873fb0
Merge "Move suggestExternalTime to TimeManager" into sc-dev
2021-02-22 17:21:40 +00:00
Mustafa Acer
e4d26ca32c
Move suggestExternalTime to TimeManager
...
This CL moves suggestExternalTime method from TimeDetector to
TimeManager. Eventual goal is to make suggestExternalTime a System
API. Ideally all time related system APIs live in android.app.time
hence the move.
Test: atest android.app.time
Change-Id: I464545e77fdf68c35c8a338bfe5ac8b7535bc3e6
Bug: 177079827
2021-02-22 09:38:22 +00:00
Louis Chang
9ca11fe33c
Log activity relaunch
...
In order to better analysis the reasoning of activity restart locally.
Bug: 180387769
Test: presubmit
Change-Id: I624cbd02e6b6759e686f173ed0dc9b47195456e1
2021-02-22 16:48:33 +08:00
James O'Leary
00f4c53592
[framework] Integrate new quantizers
...
- WuQuantizer, CelebiQuantizer, and WSMeansQuantizer for implementing
Celebi's weighted squared means algorithm for color extraction
- CentroidProvider interface added; allows easy switching of what
colorspace/dimensions is used for clustering during color extraction
Test: Run, switch between a bunch of wallpapers,
switch dark/light theme, repeat ad nauseum. Unit
tests in separate Android Studio project hosting
the library pass, will add those to Android in separate CL.
Fixes: 180641035
Change-Id: I0fc60a134f411845dab9d6c7d8553907849d0f8a
2021-02-21 23:46:08 -05:00
TreeHugger Robot
18c9b13c07
Merge "Fixed OneTimeSafetyChecker callback." into sc-dev am: caf9ae8b52
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13621542
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I6a5786c8ef7515115c9cbe70e5bad3a1aac05f26
2021-02-22 04:35:21 +00:00
TreeHugger Robot
caf9ae8b52
Merge "Fixed OneTimeSafetyChecker callback." into sc-dev
2021-02-22 04:18:27 +00:00
Ching-Sung Li
9a82a8044f
Load defeault wallpaper based on device's CMF color am: 758c663e8f
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13628026
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I250356b897828f87926e6e0227f6d0b990883d8a
2021-02-21 15:27:11 +00:00
Ching-Sung Li
758c663e8f
Load defeault wallpaper based on device's CMF color
...
Load default wallpaper based on device's CMF color in WallpaperManager.
Fall back to default if wallpaper for corresponding color is not
available.
Bug: 178161042
Test: Build ROM and manual test
Change-Id: I9da1254c64ab21e2a2cde53cc6f474a666eda1f6
2021-02-21 15:01:46 +00:00
TreeHugger Robot
d82422263d
Merge "Move launcher activities to the back when back pressed on root task" into sc-dev am: 04d9bf62ab
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13421173
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7d96fcecef001d09b6c9e67b25ad26b5e3494408
2021-02-20 02:08:31 +00:00
TreeHugger Robot
04d9bf62ab
Merge "Move launcher activities to the back when back pressed on root task" into sc-dev
2021-02-20 01:15:53 +00:00
Chloris Kuo
e7fdc59600
Merge "NAS Feedback API Change" into sc-dev am: f8cc3c16d8
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13563511
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I1820ffeb35b0865d54b6434ddb3c83384067b176
2021-02-19 23:18:34 +00:00
Chloris Kuo
f8cc3c16d8
Merge "NAS Feedback API Change" into sc-dev
2021-02-19 22:41:40 +00:00
Makoto Onuki
0549b1f782
Throw more descriptive exceptions when service start isn't allowed.
...
Fix: 180518252
Test: atest cts/tests/app/src/android/app/cts/ActivityManagerFgsBgStartTest.java
Change-Id: Ia38a159f9ededdc9885ce6b8dc61640c3af5ef72
2021-02-19 14:36:05 -08:00
Soonil Nagarkar
ab220fee70
Added attribution tag to note listener
...
Add attribution tag information for listeners on noteOps().
Bug: 180111317
Test: none
Change-Id: I39ae9af893b8c81b1d832c4c3dc876f16ffc301f
2021-02-19 13:17:59 -08:00
Felipe Leme
4239357fe1
Fixed OneTimeSafetyChecker callback.
...
It was inverting the "isSafe" value.
Test: atest DeviceOwnerTest#testDevicePolicySafetyCheckerIntegration_onOperationSafetyStateChanged
Bug: 173541467
Bug: 178494483
Change-Id: Ia2dd44e1ae413bc3358c419d2f59c82152aada57
2021-02-19 18:37:04 +00:00
Jeff DeCew
2809fa58a9
Merge changes from topic "phishing_templates" into sc-dev am: 7f9a369d63
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13607325
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I8bbea8ef6477e7374c219c233ab84840df8cff75
2021-02-19 18:19:18 +00:00
Abhijeet Kaur
de862be6a8
Disable resetting WRITE_MEDIA_IMAGES and WRITE_MEDIA_VIDEO appops
...
App holding System Gallery role is allowed WRITE_MEDIA_* appops by
virtue of the role. This allows the System Gallery app write-access for
images and videos.
When app preferences are reset AppOpsService toggles the appops for
all apps. Only the appops mentioned in sOpDisableReset are not toggled.
Disable WRITE_MEDIA_* appops to reset, as the system gallery app loses
write access on images/videos.
Bug: 179133883
Test: atest android.scopedstorage.cts.device.ScopedStorageDeviceTest#testDisableOpResetForSystemGallery
Change-Id: I168221c641566a9f691ed7956c038206b114d802
2021-02-19 18:15:10 +00:00
Jeff DeCew
7f9a369d63
Merge changes from topic "phishing_templates" into sc-dev
...
* changes:
Refactor the SmartReply classes
Filter out RemoteInput actions when Phishing action is present
2021-02-19 18:06:33 +00:00
Jay Aliomer
c424f10347
Merge "Revert^2 "Wallpaper Local color sampling"" into sc-dev am: 3c1756bbef
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13601284
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib712fcdbda039009a0597e480d000eb2aca642ea
2021-02-19 17:59:33 +00:00
Jay Aliomer
3c1756bbef
Merge "Revert^2 "Wallpaper Local color sampling"" into sc-dev
2021-02-19 17:07:45 +00:00
Sudheer Shanka
2c84695b71
Add new network process capability.
...
- Introduce network capability which allows apps to access network
despite power restrictions.
- Update NPMS to allow apps network access only if they are in a
higher proc_state or they are hodling the new network capability.
Bug: 177641226
Test: atest ./services/tests/servicestests/src/com/android/server/net/NetworkPolicyManagerServiceTest.java
Test: atest ./tests/cts/hostside/src/com/android/cts/net/HostsideRestrictBackgroundNetworkTests.java
Change-Id: Ia411ddef2e8cb77d371c22262d5b1e06a0396e29
2021-02-19 04:09:10 -08:00
Chavi Weingarten
3ebe6a968b
Merge "Added public APIs to generate and validate a DisplayHash." into sc-dev am: c14465c2bb
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13429136
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Iecbd79812c4d905035dc68bde44a4416a02a9022
2021-02-19 02:26:19 +00:00
Chavi Weingarten
c14465c2bb
Merge "Added public APIs to generate and validate a DisplayHash." into sc-dev
2021-02-19 01:47:14 +00:00
Jay Aliomer
4f172bf877
Revert^2 "Wallpaper Local color sampling"
...
Test: ImageWallpaperTest
Fixes: 173046221
3fa5fe0a1f
Change-Id: I8393abede247eb7b37695c3ce9adce13a3bcbce3
2021-02-18 20:45:57 -05:00
Kevin Chyn
03d75ce18d
Merge "Add ability to listen to LockTask state changes" into sc-dev am: be7698d68a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13608888
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I85ec87b9588ee94d4f40021623a7e081d0868927
2021-02-18 22:23:18 +00:00
Kevin Chyn
be7698d68a
Merge "Add ability to listen to LockTask state changes" into sc-dev
2021-02-18 22:01:54 +00:00
Prabir Pradhan
50b3cc03e6
Move launcher activities to the back when back pressed on root task
...
This change partially reverts the back button behavior change introduced
in: I48ec35f841ab3b306fe80845150000c390908f5e
Instead of always moving the task to the back when the back button is
pressed on the root task, we only do it when the activity that is open
is a "launcher activity". These are activities that act as the main
entry points into an application, indicated with an intent filter with
ACTION_MAIN and CATEGORY_LAUNCHER.
Bug: 176235889
Test: atest WmTests
Test: atest CtsWindowManagerDeviceTestCases
Test: manual: flash crosshatch, press back button on a launcher activity,
observe task is moved to back; press back on non-launcher activity,
observe task is finished.
Change-Id: I1cbf85f1a007aeedcb66b9343d182188bacc78e7
2021-02-18 20:30:06 +00:00
Kevin Chyn
f18b27217e
Add ability to listen to LockTask state changes
...
Bug: 176211023
Test: Presubmit
Change-Id: I1e9e7151d45751ec6398588788c512f23b2f9fb5
2021-02-18 10:31:52 -08:00
Josh Gao
d4dcaebaf3
Merge "Attach protobuf tombstones to ApplicationExitInfo." am: 2e1418c47f am: 3d9f3f0076 am: a5ef566cd7 am: 46e4b638de
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1573681
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I368ee473b119165bf6103ba7a8917008cb38fa15
2021-02-18 11:04:04 +00:00
Josh Gao
46e4b638de
Merge "Attach protobuf tombstones to ApplicationExitInfo." am: 2e1418c47f am: 3d9f3f0076 am: a5ef566cd7
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1573681
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I44dba1f99f67727a4ba790d52b100f49da385372
2021-02-18 10:47:45 +00:00
Josh Gao
a5ef566cd7
Merge "Attach protobuf tombstones to ApplicationExitInfo." am: 2e1418c47f am: 3d9f3f0076
...
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1573681
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Id05f24b1febaaacbaf1b1e3a28459e5546ebd510
2021-02-18 10:10:31 +00:00