Commit Graph

15842 Commits

Author SHA1 Message Date
Alex Mang
80b4bb36c9 Merge "Propagate ContentCaptureManager allowlist update to activities" into sc-dev am: d77366e4f2
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13634645

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icb217df0361b3751df45d11c0fc13ed347a8e3dc
2021-03-04 02:40:44 +00:00
Alex Mang
d77366e4f2 Merge "Propagate ContentCaptureManager allowlist update to activities" into sc-dev 2021-03-04 02:26:25 +00:00
Jeff DeCew
ff4c095947 Merge "Change groups to use number in the expander." into sc-dev am: 82336d7562
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13761485

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I50e4f1f9252a63a8d23d6c3eb397d1f567885abb
2021-03-04 02:16:51 +00:00
Jeff DeCew
82336d7562 Merge "Change groups to use number in the expander." into sc-dev 2021-03-04 01:12:21 +00:00
TreeHugger Robot
efc2331be7 Merge "Broadcast cancel event of a CUJ session" into sc-dev am: 1ef54a4a36
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13675630

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I981d461ded4b9955809d4d6ab2a0691be9e6e564
2021-03-03 21:42:29 +00:00
Jeff DeCew
03dbfe42ba Merge changes Ifbf07b27,Ic9cd89e8 into sc-dev am: 82b5194584
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13733645

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I620ca394a6f8bdca20664592ac9d1e4f3284db63
2021-03-03 21:42:11 +00:00
TreeHugger Robot
1ef54a4a36 Merge "Broadcast cancel event of a CUJ session" into sc-dev 2021-03-03 21:14:03 +00:00
Jeff DeCew
138403add7 Change groups to use number in the expander.
* Old codepath is maintained; switch with config_showNotificationGroupCountInExpander.
* Use the default expander colors for low priority header.
* Uses the correct color for the old group overflow.
* Fixes the header view to correctly accomodates growing expander.

Bug: 181048615
Test: manual, visual inspection of groups and notification types that use headers
Change-Id: Ia314a6028645016df39d3e948fdc4eb194ed9ff2
2021-03-03 16:04:45 -05:00
Jeff DeCew
82b5194584 Merge changes Ifbf07b27,Ic9cd89e8 into sc-dev
* changes:
  Notification color overhaul.
  Implement the new visual style of the expand button
2021-03-03 21:02:08 +00:00
Stanislav Zholnin
55887426b4 Merge "Add API support for permission access timeline." into sc-dev am: 4f5072825d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13582326

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5d9335d65ad89cc09591d869261c9c0e19653e8c
2021-03-03 16:42:32 +00:00
Stanislav Zholnin
4f5072825d Merge "Add API support for permission access timeline." into sc-dev 2021-03-03 16:35:28 +00:00
Ming-Shin Lu
bf5ceedda8 Merge "Restore the last IME visiblity of the app window when allowed" into sc-dev am: 02116c6a4f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13674731

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1f950de6ab4d8927a58bef777a4a11e25fccc5a8
2021-03-03 14:46:37 +00:00
Ming-Shin Lu
02116c6a4f Merge "Restore the last IME visiblity of the app window when allowed" into sc-dev 2021-03-03 14:30:15 +00:00
Stanislav Zholnin
07e6855f8b Add API support for permission access timeline.
Test: in development
Bug: 176965672
Change-Id: Ib06452946fda2fcbd32ac6172ea4a43dabde7b67
2021-03-03 11:03:07 +00:00
Alex Buynytskyy
d1b10269b0 Merge "Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature." into sc-dev am: 967b81014f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13738376

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia31d9442a8f4439f701fcd3f2fbb0cc0e24fcb98
2021-03-02 21:33:03 +00:00
Alex Buynytskyy
967b81014f Merge "Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature." into sc-dev 2021-03-02 21:24:41 +00:00
Jeff DeCew
f437e2c61f Implement the new visual style of the expand button
Bug: 181048615
Test: visual and talkback testing of normal notifs, conversations, groups.
Change-Id: Ic9cd89e899a03010a523bee4f1ef72fbfbd8b43f
2021-03-02 16:10:00 -05:00
Remi NGUYEN VAN
939a74ff51 Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf am: 1efb1bf4a8 am: 0442bbca78
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icfb31202a29f70a210f07121d2f202230dee4b15
2021-03-02 20:12:20 +00:00
Remi NGUYEN VAN
0442bbca78 Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf am: 1efb1bf4a8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9de14464ebb9d43e7c4fdc683c23ddbbcc7ef269
2021-03-02 19:56:48 +00:00
Remi NGUYEN VAN
1efb1bf4a8 Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02 am: b3bc93fbcf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Icb9911ad2933d76acbfc8b23463639ffc82bb58b
2021-03-02 19:52:44 +00:00
Remi NGUYEN VAN
b3bc93fbcf Merge "Move SocketUtils out of the connectivity module" am: 4eb9b18e02
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1592273

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib2d4b5574ba710eb50c438144e2b87f6c8954336
2021-03-02 19:48:26 +00:00
Alex Buynytskyy
78c789d33f Remove INCREMENTAL_VERSION and add version to INCREMENTAL feature.
This is addressing the API feedback.

Bug: 181015045
Fixes: 181015045
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest PackageManagerServiceTest ChecksumsTest
Change-Id: I3ea745a4f0f0a0d9ae90f0625dfce61a8649a76d
2021-03-02 10:26:20 -08:00
Abhijeet Kaur
d41a537ed0 Merge "Removed unused mount mode constants" into rvc-qpr-dev-plus-aosp 2021-03-02 13:54:01 +00:00
Ahan Wu
cf7d9aa500 Broadcast cancel event of a CUJ session
Broadcast cancel events of a CUJ session to who is interested
in it like metrics collector.

Bug: 171912046
Test: atest FrameworksCoreTests:InteractionJankMonitorTest FrameworksCoreTests:FrameTrackerTest
Change-Id: I7bbef1448a8430d79163cdf55f5fba8f1c23d603
2021-03-02 16:45:23 +08:00
Alex Mang
842dd79ec5 Propagate ContentCaptureManager allowlist update to activities
Ref Doc: go/propagate-ccm-allowlist

BYPASS_INCLUSIVE_LANGUAGE_REASON=logging existing function call name
Tested: manually on device
Bug: 177345035
Bug: 165025636

Change-Id: I46c41a1e3e8a91a08889f5505e5bc1510776e253
2021-03-01 22:26:02 -08:00
Galia Peycheva
903b1fcc0d Merge changes from topic "add-runtime-blur-disabling" into sc-dev am: fd98c576c7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13603505

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I89145e4bbba0d367194593c96923f813738f2dfa
2021-03-02 05:33:47 +00:00
Galia Peycheva
cf9a5c1848 Make WM.LP.blurBehindRadius a setter+getter am: 7fe1a92c60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13676887

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7f5ce803a14c1cb2062dbe2eb1060e3948614ddd
2021-03-02 05:33:40 +00:00
Galia Peycheva
fd98c576c7 Merge changes from topic "add-runtime-blur-disabling" into sc-dev
* changes:
  Create listener for dynamic blurEnabled changes
  Make WM.LP.blurBehindRadius a setter+getter
2021-03-02 04:45:06 +00:00
Galia Peycheva
6e842a730c Create listener for dynamic blurEnabled changes
This CL exposes an API to let apps know when the blur has been enabled
or disabled dynamically.

This could be due to battery saving mode turned on, tunnel mode being
used, minimal post processing requested, etc.

This adds a WindowManager.addCrossWindowBlurEnabledListener, which allows
apps to add/remove a listener for blur enabled state changes. The
listeners are registered in a CrossWindowBlurListeners, which receives
updates from WindowManagerService when blurEnabled changes.
CrossWindowBlurListeners only registers a remote listener if the client
initializes it. I.e. if the app is not interested in blurs, the
CrossWindowBlurListeners won't get initialized and won't register a
remote listener.

WindowManagerService holds a RemoteCallbackList, which holds listeners
for each client process and notifies them when there are updates. If any
of the listeners' process dies, the entry is removed from the list.

Bug: 177524486
Test: m
CTS-Coverage-Bug: 179990440
Change-Id: I3fe8f2d2008171d6b069e8ee6f3b47e5b5d60cfa
2021-03-01 22:23:22 +01:00
Galia Peycheva
7fe1a92c60 Make WM.LP.blurBehindRadius a setter+getter
Bug: 181014794
Test: m && atest BlurTests
CTS-Coverage-Bug: 179990440
Change-Id: I3d8ceddcf1219df8decbbb0bf9a6bbb9d41799fb
2021-03-01 22:23:21 +01:00
Evan Rosky
47fc921576 Merge "Fix some bugs in input rotation" into sc-dev am: ee971e5648
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13693625

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I046cb9aa1e34ee02ffabce5438686b6412e37262
2021-03-01 20:07:47 +00:00
Evan Rosky
ee971e5648 Merge "Fix some bugs in input rotation" into sc-dev 2021-03-01 19:20:50 +00:00
Yohei Yukawa
cd0cf05bf0 Merge "Revert "Avoid IME restart for configChanges"" into sc-dev am: b2e45a2dc6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13713406

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7c3745ca21c85eac1fe672302a215f1603f20579
2021-03-01 18:45:38 +00:00
Yohei Yukawa
b2e45a2dc6 Merge "Revert "Avoid IME restart for configChanges"" into sc-dev 2021-03-01 18:30:36 +00:00
Taran Singh
712fc24a34 Revert "Avoid IME restart for configChanges"
Revert "Add cts for InputMethodService configChanges"

Revert submission 13417792-b/167948419

Reason for revert: Causes bugs like b/181195100
Reverted Changes:
Iff88b768c:Avoid IME restart for configChanges
Ib7ce13340:Add cts for InputMethodService configChanges

Bug: 167948419
Fix: 181195100
Change-Id: I36bca545b09b4f870560964ec61fa6bb344fceaf
2021-03-01 18:28:10 +00:00
Ming-Shin Lu
e99a1b491d Restore the last IME visiblity of the app window when allowed
Since when bring an existing app task to foreground or quick switching
app task with gesture navigation will first see the task snapshot
during app transition,

If the task previously focused and shown IME, even the task may hide
IME when switching to the next task, As the goal of
go/ime-transition-improve-s mentioned, if the task is still focused by
editor, we should keep the original focused IME shown and keep
the input connection focused state when navigating back to the
original task.

Bug: 166736352
Test: atest CtsInputMethodTestcases
Test: manual by focusing app with an editor to show keyboard,
      switch the app task to the next with gesture nav and then
      switched back, expected the soft-keyboard is still shown.

Change-Id: I63b144bed6c37569d79fba1c2b63dd4f1074f0f6
2021-03-01 23:41:22 +08:00
Connor O'Brien
187fd234ec Merge "Revert "Revert "Clear BPF data in KernelCpuUidTimeReader.removeUid()""" am: a0bbd188e4 am: 9267c31a1c am: fad30e4c7b am: f35f453e93
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1602665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I211b83977c23685157713597de2a52fcf999f92d
2021-03-01 08:22:06 +00:00
Connor O'Brien
f35f453e93 Merge "Revert "Revert "Clear BPF data in KernelCpuUidTimeReader.removeUid()""" am: a0bbd188e4 am: 9267c31a1c am: fad30e4c7b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1602665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I47f3e39fa42b7eb377f829bd4c1e255cd0f676cb
2021-03-01 08:17:14 +00:00
Remi NGUYEN VAN
914dca36ee Move SocketUtils out of the connectivity module
SocketUtils contains system APIs for modules to interact for sockets,
wrapping internal APIs. It should be part of the platform to keep access
to the internal APIs.

This involves splitting NetworkUtils.protectVpn to NetworkUtilsInternal,
since SocketUtils and VpnService are the only users of that method.

The @UnsupportedAppUsage NetworkUtils.protectVpn has low usage
count, and is already available through VpnService.protect.

Bug: 181512874
Test: boots, VPN working
Change-Id: I7028d334975f7536c06afac7a22200c33db707ac
2021-03-01 16:50:08 +09:00
Dmitri Plotnikov
2dd963b2ad Merge "Add battery history to BatteryStatsUsage" into sc-dev am: 1a0e70c7bd
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13702419

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2e959609767eaf7c9e186925d3abfc61f3c1ae83
2021-03-01 04:53:28 +00:00
Dmitri Plotnikov
4281d08354 Merge "Break out battery history reading into a separate class" into sc-dev am: cda90b4cf5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13636686

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If2573b6d62aa2b9342df3f690346326d60487d44
2021-03-01 01:58:07 +00:00
Dmitri Plotnikov
20720fa188 Add battery history to BatteryStatsUsage
Bug: 173745486
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryUsageStatsProviderTest
Change-Id: Icfd9e49b68f1be99312c88ac889b06aa669367ef
2021-02-28 17:05:39 -08:00
Dmitri Plotnikov
5ab97fffe0 Break out battery history reading into a separate class
This class will be used by BatteryUsageStats

Bug: 180765532
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsHistoryTest
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsNoteTest
Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsHistoryIteratorTest

Change-Id: Ic392bcdb6eb815afcc3cd882aa32dd4c78b6484f
2021-02-28 10:34:01 -08:00
Dmitri Plotnikov
155ae26728 Merge "Remove support for OLD_HISTORY" into sc-dev am: 7fa1f6129e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13677957

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia0f1c9bd12de9353a0ab790b669656071585fc48
2021-02-28 06:53:35 +00:00
Dmitri Plotnikov
7fa1f6129e Merge "Remove support for OLD_HISTORY" into sc-dev 2021-02-28 06:01:04 +00:00
Jeff DeCew
09ef67529c Merge changes I57fb542a,If2a13daf into sc-dev am: 6cd5cb738d
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13713266

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I5bbd00c8c70184c0818a22d27ebeb4747f584c2b
2021-02-27 03:57:40 +00:00
Jeff DeCew
6cd5cb738d Merge changes I57fb542a,If2a13daf into sc-dev
* changes:
  Fix the vertical positioning of the text in collapsed notifications.
  Increase the notification height to 88dp
2021-02-27 03:08:17 +00:00
Evan Rosky
ba7e1a521f Fix some bugs in input rotation
Set deviceWidth/Height properly when setting displayviewport

Remove unnecessary rotation from pointerlocationview (which was
double rotating PointerEventDispatcher).

Fixed PointerEventDispatcher to use "real" size.

Bug: 179308296
Test: enable input rotation, rotate, and touch things
Change-Id: I156b6b3e0bf6d71996901c6e616c5710b12e3f0c
2021-02-26 17:16:03 -08:00
Connor O'Brien
fad30e4c7b Merge "Revert "Revert "Clear BPF data in KernelCpuUidTimeReader.removeUid()""" am: a0bbd188e4 am: 9267c31a1c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1602665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia7275e44e3f4cd090cf5c03e25a8b83a8acbbf26
2021-02-27 01:05:46 +00:00
Connor O'Brien
9267c31a1c Merge "Revert "Revert "Clear BPF data in KernelCpuUidTimeReader.removeUid()""" am: a0bbd188e4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1602665

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I31e00f5aa8eec8fb3246a375f002820338d4572f
2021-02-27 00:27:16 +00:00