Commit Graph

615375 Commits

Author SHA1 Message Date
David Su
e4bea7b1c8 framework-wifi: Migrate ParceledListSlice to the version from module-utils
Bug: 175130412
Test: boots up and connects to wifi
Change-Id: Ia0d26ad39e994a7a177db2ef4082ee04bff87e10
2020-12-10 09:18:06 -08:00
TreeHugger Robot
7349aa999b Merge "Introduce AudioProfile to describe the capabilities of audio ports." 2020-12-10 17:17:41 +00:00
Fan Zhang
9123a77af7 Bug fix: GestureLauncherService is disabled incorrectly
The enable condition only includes camera sysprops/res configs however
the class handles both camera gesture and emergency gesture. When camera
flags are all turned off, the entirely class is turned off by mistake.

This change adds a res config so OEMs can turn on/off emergency gesture
feature individually, instead of bundling camera/emergency together.

Fix: 175236091
Test: atest GestureLauncherServiceTest
Change-Id: I774edb646b96c69549ee883143d76500af32b298
2020-12-10 17:13:34 +00:00
TreeHugger Robot
7ffb3ba9dd Merge "Include tvinput type, id and hdmi port in TIF metrics" 2020-12-10 17:10:08 +00:00
TreeHugger Robot
a18420c904 Merge "Fix DevicePolicyManager.isBackupServiceEnabled() breakage." 2020-12-10 16:59:04 +00:00
Treehugger Robot
c5de5cc502 Merge "Add a mutability flag to the PendingIntent" am: e80c5b3335 am: e533762175
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505734

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I55e12c551a3a80853cd186c20fc97a57f6a86090
2020-12-10 16:42:46 +00:00
Jorim Jaggi
b3886bcaeb OWNERS for SysUI JankTracker
Change-Id: Id8a467273f2dbd2addb395bcbe7dd3126fa79c3c
2020-12-10 16:38:55 +00:00
Treehugger Robot
d489358491 Merge "HDMICEC: Change hashcode for HdmiPortInfo" am: d8cd3c7d2d am: 8f4bb0a2a5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483970

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If924ee797a4d75c93840ea2947d754de30a9f58a
2020-12-10 16:33:04 +00:00
Paul Hu
b91a2d415f Merge "Address leftover comments" am: 1ddb4889b6 am: 5c19cb00cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I03a2140e5574088fd0768e3ac8e3f47e54c98b6d
2020-12-10 16:32:51 +00:00
Treehugger Robot
e533762175 Merge "Add a mutability flag to the PendingIntent" am: e80c5b3335
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1505734

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Idd6c05fbe1fee9c1e3858ef1d52da9dc8c8c7366
2020-12-10 16:32:39 +00:00
Jeff Sharkey
845bfdd0ba Merge "Additional per-file OWNERS for shared directories." am: 8b102a5988 am: 7a9f3e10de
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1523618

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9df0f96893728df43b3ae402ac69ec3e02079f51
2020-12-10 16:32:34 +00:00
Julia Reynolds
856be9e97b Add PendingIntent flags
Test: atest
Fixes: 174965424
Fixes: 175014468
Fixes: 175005650
Fixes: 174969959
Fixes: 174970399
Fixes: 174935104
Fixes: 174935955
Fixes: 174965245
Fixes: 174258141
Fixes: 174161800
Fixes: 173741872
Change-Id: I0d3b67d681f49c0c8f96fd9265100b6ca6671a2d
2020-12-10 16:29:44 +00:00
Treehugger Robot
e80c5b3335 Merge "Add a mutability flag to the PendingIntent" 2020-12-10 16:27:58 +00:00
Treehugger Robot
8f4bb0a2a5 Merge "HDMICEC: Change hashcode for HdmiPortInfo" am: d8cd3c7d2d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1483970

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2e9b5a064902bcf325598b84f004484dc12f8efc
2020-12-10 16:17:45 +00:00
Bill Yi
806e46e668 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I28bc24ba40c1dd4443ccf0bc1184396fb24eb8d3
2020-12-10 08:16:48 -08:00
Paul Hu
5c19cb00cc Merge "Address leftover comments" am: 1ddb4889b6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1495899

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0e2439670745ab19220e6cd44e6a62de5f61b842
2020-12-10 16:13:09 +00:00
TreeHugger Robot
03f2357272 Merge "Fix system server crash during movePackage" 2020-12-10 16:12:43 +00:00
Jeff Sharkey
7a9f3e10de Merge "Additional per-file OWNERS for shared directories." am: 8b102a5988
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1523618

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3d040dbe2295186d48a1406af4bd1697705e4488
2020-12-10 16:09:46 +00:00
Paul Duffin
f358ccece0 Merge "Unbundle i18n API from android-non-updatable" am: 17e6d5b6a3 am: 3322b2800a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513291

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I7429e1e1298b9476f0d0d4756538ecb277312909
2020-12-10 16:09:15 +00:00
TreeHugger Robot
0277812fc3 Merge "Fix wrong target launches in Chooser." into rvc-qpr-dev am: 14692e3d21
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/13157627

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8cda83f18f3f057b139f8218079065987bc1de82
2020-12-10 16:08:36 +00:00
Pavel Grafov
f8697317c9 Merge "Remove stub since proper delegate is implemented" 2020-12-10 16:02:07 +00:00
Treehugger Robot
d8cd3c7d2d Merge "HDMICEC: Change hashcode for HdmiPortInfo" 2020-12-10 15:59:53 +00:00
TreeHugger Robot
5d52d44cd0 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-10 15:52:51 +00:00
TreeHugger Robot
98f3483af3 Merge "Disable test which might be calling 911 as part of panic gesture" 2020-12-10 15:52:02 +00:00
Riddle Hsu
df235a4d67 Use LatencyTracker to log the time of recents animation
The ACTION_TOGGLE_RECENTS on launcher side may be not close enough
to the user feeling because it cannot know the actual window drawn
time on system. And it may be mixed with 3 button navigation mode
which doesn't start recents animation. So here creates a new latency
type to log the case of recents animation explicitly.

Bug: 169221287
Test: Use gesture navigation mode and swipe up from an app. The log
      will show "LatencyTracker: action=8 latency=xx".
Change-Id: I660f472113684590b4eba40c0534da9dcf7773ce
2020-12-10 23:51:09 +08:00
TreeHugger Robot
14692e3d21 Merge "Fix wrong target launches in Chooser." into rvc-qpr-dev 2020-12-10 15:50:08 +00:00
Paul Hu
1ddb4889b6 Merge "Address leftover comments" 2020-12-10 15:47:27 +00:00
Jeff Sharkey
8b102a5988 Merge "Additional per-file OWNERS for shared directories." 2020-12-10 15:41:01 +00:00
TreeHugger Robot
a1d33deb5d Merge "Apply detached task transactions on animation cleanup" 2020-12-10 15:39:44 +00:00
Fabian Kozynski
82413a3149 Merge "Filter AppOps to show PHONE ops on all users" 2020-12-10 15:39:42 +00:00
Fabian Kozynski
a64ff850f2 Merge changes I73bb98a0,Ie545c3b6
* changes:
  Extend DrawableWrapper to set tint and alpha
  Fix colors of thick brightness slider
2020-12-10 15:39:34 +00:00
Jeff Sharkey
e2cc3f8bec Additional per-file OWNERS for shared directories.
Iteration based on areas of tree where detailed ownership was found
to be missing during routine code reviews.

Also add more detailed examples to OWNERS.md.

Bug: 174932174
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Change-Id: I46ccef33b34594181ae8dc62973d68020f827d6b
2020-12-10 08:37:23 -07:00
TreeHugger Robot
aaf8faf78f Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-10 15:33:18 +00:00
Riddle Hsu
959d41c6cb Merge "Move launched activity info getter to ActivityClientController" 2020-12-10 15:32:58 +00:00
paulhu
9c981adba4 Replace PackageManager @hide APIs
ConnectivityService is using
PackageManager#getApplicationInfoAsUser() to get application
info but this API is not able to call after CS becomes a
mainline module. Thus, replace it with formal API.

Bug: 170593746
Test: atest FrameworksNetTests
Test: atest CtsNetTestCasesLegacyApi22
Change-Id: Idd1269aa50e234801583097bb6f40b099bab8fba
2020-12-10 23:32:32 +08:00
Paul Duffin
3322b2800a Merge "Unbundle i18n API from android-non-updatable" am: 17e6d5b6a3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1513291

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: If4b5abd79c1981b10e51b7c9dc6c879c0fcc8acb
2020-12-10 15:31:27 +00:00
TreeHugger Robot
77fc882fcf Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-10 15:31:27 +00:00
TreeHugger Robot
2b34ca632b Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-10 15:25:41 +00:00
TreeHugger Robot
014d250a5a Merge "Fix colors in QS to match new scrim" 2020-12-10 15:24:03 +00:00
Jeff Sharkey
05c024c6a1 Merge "Update OWNERS info for NetworkPolicy related files." am: c9dc68f063 am: 532338d7ce
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1522897

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9b54c09ae744b4f82de62720002ce2ab6924130e
2020-12-10 15:22:00 +00:00
Paul Duffin
17e6d5b6a3 Merge "Unbundle i18n API from android-non-updatable" 2020-12-10 15:19:17 +00:00
TreeHugger Robot
aae7cb64b5 Merge "Import translations. DO NOT MERGE ANYWHERE" 2020-12-10 15:16:59 +00:00
Riddle Hsu
c7a457ff24 Merge "Send IActivityClientController to client when launching activity" 2020-12-10 15:15:41 +00:00
Michal Olech
23dcad5007 [CEC Configuration] Move master configuration from '/product/etc' to '/system/etc'
Master configuration should actually be available for all Android devices.

Bug: 168020131
Bug: 174349652
Test: atest HdmiCecConfig; also flashed and smoke tested a device
Change-Id: I79dee4798a4d2405505f58e89d78b152cdc82fd7
2020-12-10 16:14:14 +01:00
TreeHugger Robot
0ba049d769 Merge "Create parcelable VibratorInfo to expose HAL profile" 2020-12-10 15:13:38 +00:00
Jan Tomljanovic
549d48e733 Block custom toasts when app is in the background.
We're blocking a toast in a specific case when the app posts it while
it's in the foreground, but then the toast is about to be shown only
after the app has moved into the background.

Test: atest NotificationManagerServiceTest
Bug: 170571276
Change-Id: Ibfbb636c4857f75f597e27ea0afb31cfa431a368
2020-12-10 15:09:57 +00:00
TreeHugger Robot
71293a7ccb Merge "Controls UI - Part 1 - Thumbnail support" 2020-12-10 15:04:09 +00:00
Jeff Sharkey
532338d7ce Merge "Update OWNERS info for NetworkPolicy related files." am: c9dc68f063
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1522897

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie6300d9b3443e9f52597ba1b1177b8385feef3b7
2020-12-10 15:03:27 +00:00
Tobias Thierer
630dec9eb4 Fix DevicePolicyManager.isBackupServiceEnabled() breakage.
http://ag/12885739 introduced a enforceCallingPermission(BACKUP) check
but callers of this API do not hold that permission. This CL fixes
this by changing the check to enforceCallingOrSelfPermission(BACKUP),
and clearing the binder identity in DevicePolicyManagerService, which
makes the system server process the owner of that call.

Bug: 158482162
Bug: 172466964
Test: atest com.android.cts.devicepolicy.{Device,Profile}OwnerTest#testBackupServiceEnabling
Change-Id: I11d863229c4d62a058aaf37446a694b9c73ae5b8
2020-12-10 15:01:45 +00:00
Beverly Tai
901f0b509b Merge "Adding more Doze logs for brightness" 2020-12-10 14:55:12 +00:00