Commit Graph

585717 Commits

Author SHA1 Message Date
Radhika Agrawal
47d17c3598 Merge "Fix un-dismissable incoming call for auto-rejected calls" into rvc-qpr-dev am: 0c52a7600f am: c2dd3604c9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12721135

Change-Id: I04a9fc16338dd676a7adb71a3d1471d815af2c75
2020-09-30 22:04:15 +00:00
TreeHugger Robot
bf3fcf6ade Merge "Further refactor UidPermissionState and GIDs." 2020-09-30 22:01:01 +00:00
Radhika Agrawal
c2dd3604c9 Merge "Fix un-dismissable incoming call for auto-rejected calls" into rvc-qpr-dev am: 0c52a7600f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12721135

Change-Id: I5c4e739f8d5edde57f815ed2aa98f8868d2c8572
2020-09-30 21:54:43 +00:00
Soonil Nagarkar
f20b5f0303 Merge "Fix background request throttling + jitter calculation" 2020-09-30 21:30:57 +00:00
Radhika Agrawal
0c52a7600f Merge "Fix un-dismissable incoming call for auto-rejected calls" into rvc-qpr-dev 2020-09-30 21:12:26 +00:00
Adam He
1dab7a7c1f Merge "Send ContentCapture events with mHandler to prevent threading issues causing mEvents to be null." 2020-09-30 20:54:47 +00:00
Rob Carr
6562a845a1 Merge "WM: Prepare BLASTSync to flip main BLAST flag." 2020-09-30 20:17:48 +00:00
Patrick Baumann
5e528338d1 Fixes PM.grantImplicitAccess for multi-user am: 7494002c94 am: 1bc593dc60
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12729198

Change-Id: I04b7d4a05e9614e0cc889353e8ef9e4043eb865f
2020-09-30 20:09:30 +00:00
Brad Ebinger
5b4389d5e5 Merge "Revert "Clean up IMS based interfaces to use a push model instea..."" 2020-09-30 20:08:18 +00:00
Patrick Baumann
1bc593dc60 Fixes PM.grantImplicitAccess for multi-user am: 7494002c94
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12729198

Change-Id: I4bc339b413af79bfea596a361e2f93609084b65f
2020-09-30 19:17:28 +00:00
Ady Abraham
e998888046 Merge "Adding publicAlternatives to UnsupportedAppUsage on Choreographer" 2020-09-30 19:11:26 +00:00
TreeHugger Robot
46758cfa15 Merge "Ignore flaky testPredictionStrikesBack" 2020-09-30 18:51:27 +00:00
TreeHugger Robot
dfd56946f8 Merge "Guard IResourceObserver::registerObserver with permission" 2020-09-30 18:43:45 +00:00
TreeHugger Robot
4fea692b57 Merge "Camera: Track native metadata allocations" 2020-09-30 18:40:09 +00:00
Soonil Nagarkar
6e41050612 Fix background request throttling + jitter calculation
Prevent applications from bypassing background location throttling by
adding/removing requests. This allows provider managers to delay
requests in the event the interval has decreased so that power can be
saved. Clients that target S and above may now receive historical
locations in exchange, so that they are not losing locations overall.
Locationp providers can optionally implement delays themselves in the
event of an interval increase.

Also updates jitter calculation to be a capped percentage of the
request interval, rather than a flat cap.

Bug: 73144566
Test: manual + presubmits
Change-Id: I243e813f0c0c504850e2a3e777787f49fc6f7a57
2020-09-30 11:38:09 -07:00
TreeHugger Robot
282c68d3b3 Merge "Address API Council Feedback to android.graphics.fonts.Font" 2020-09-30 17:34:40 +00:00
Brad Ebinger
91f87bfbea Revert "Clean up IMS based interfaces to use a push model instea..."
Revert "Move IMS to a listener type model instead of a poll model"

Revert "Push Binder updates when ImsFeatures change"

Revert submission 1425374-ims_poll

Reason for revert: b/169729036, ANR in phone process
Reverted Changes:
I1d6dd2dfd:Move to a push model of querying ImsFeature Binder...
Ie3982c245:Move IMS to a listener type model instead of a pol...
I8b9ded0f4:Push Binder updates when ImsFeatures change
Ia9f7ae3db:Clean up IMS based interfaces to use a push model ...

Change-Id: I7ef3c07021a79e809d2c8b30ed2422372eae962d
2020-09-30 10:29:30 -07:00
Michael Wachenschwanz
5ecc346607 Ignore flaky testPredictionStrikesBack
Bug: 169243254
Test: n/a
Change-Id: Icb6d39d7c87790d744ba7e4df6804ea5bfef91a4
2020-09-30 10:28:22 -07:00
TreeHugger Robot
ea6abab511 Merge "Added the missing constant to intdef" 2020-09-30 17:21:34 +00:00
TreeHugger Robot
35aa26762c Merge "User workflow log improvements." 2020-09-30 17:03:59 +00:00
Evan Severson
3b7af77649 Merge changes from topic "BackgroundMicCamera"
* changes:
  Do not show rationale when permission is restricted
  Add role allowlist for restricted permissions
  Add documentation to APIs using non-inclusive lanuage
  Treat background mic/camera normally
  Introduce new permissionFlag
  Split camera and microphone for background modes
  Add background microphone and camera permission
2020-09-30 16:46:57 +00:00
Neil Fuller
a52607516b Merge "Refactoring to make adding a secondary easier" 2020-09-30 16:04:23 +00:00
Anton Hansson
77ab884db2 Merge "Revert "Add genrules for merged removed.txt files"" am: 27b40fc234 am: de51075d79 am: 1691d6d02a am: 4c42b5ee98 am: e453ae2d45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1442896

Change-Id: Ie33e6632618ca6a7af0efa95b36c3a2cc13a8bf3
2020-09-30 16:01:53 +00:00
TreeHugger Robot
11b9382218 Merge "Revert "Set ENABLE_DYNAMIC_PERMISSIONS = false until ag/12511042 is ready."" 2020-09-30 15:35:32 +00:00
Jay Aliomer
df376b076e Merge "Remove TargetName from the pebble shape overlay" 2020-09-30 15:26:18 +00:00
Anton Hansson
e453ae2d45 Merge "Revert "Add genrules for merged removed.txt files"" am: 27b40fc234 am: de51075d79 am: 1691d6d02a am: 4c42b5ee98
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1442896

Change-Id: I28a8008b6228d95f906499acab64c20f80120459
2020-09-30 15:19:34 +00:00
Anton Hansson
4c42b5ee98 Merge "Revert "Add genrules for merged removed.txt files"" am: 27b40fc234 am: de51075d79 am: 1691d6d02a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1442896

Change-Id: I6109a937e1efa42094309e54a24e9851dacb92f6
2020-09-30 14:51:04 +00:00
Neil Fuller
e23fca65cd Merge "Get ready to add System APIs for use by SUW" 2020-09-30 14:46:11 +00:00
Anton Hansson
1691d6d02a Merge "Revert "Add genrules for merged removed.txt files"" am: 27b40fc234 am: de51075d79
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1442896

Change-Id: I24152a58ea0ae22fe29b04fb9cbb3351b65b7aaf
2020-09-30 14:39:30 +00:00
Riddle Hsu
b3e2b63d91 Merge "Use normal rotation if orientation is changed by resume-scheduled app" 2020-09-30 14:35:09 +00:00
Lorenzo Colitti
96aeb654c8 Merge changes I53ca4b98,I1757fdeb am: 3a463815e2 am: 230fabb17e am: 1569c71b07 am: 3616f6eced am: 3cae8eec79
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767

Change-Id: I6960604ea5fe5958906d9f62d0c5816d222a5b25
2020-09-30 14:33:32 +00:00
Andrei-Valentin Onea
ecd1f8aa9b Merge "Fix compat change CTS test flakiness" am: bb0db1d243 am: 3d1cfa54d6 am: 1fe983edb7 am: 3a5b1a12c5 am: bc74c915c8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635

Change-Id: Ib5ce1e3bf4e69f85c2044093e3ad7a56f2ace240
2020-09-30 14:33:07 +00:00
Lorenzo Colitti
3cae8eec79 Merge changes I53ca4b98,I1757fdeb am: 3a463815e2 am: 230fabb17e am: 1569c71b07 am: 3616f6eced
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767

Change-Id: Ie09b0bf8b8e4fa76c78187ed9915735944b05521
2020-09-30 14:32:48 +00:00
Anton Hansson
de51075d79 Merge "Revert "Add genrules for merged removed.txt files"" am: 27b40fc234
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1442896

Change-Id: I8e57f13db22b46bf1394dd43b905bb0bf8510d18
2020-09-30 14:19:18 +00:00
Lorenzo Colitti
3616f6eced Merge changes I53ca4b98,I1757fdeb am: 3a463815e2 am: 230fabb17e am: 1569c71b07
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767

Change-Id: Ia2779a68a17225190222b56358d6ca13a97ea00a
2020-09-30 14:18:54 +00:00
Roshan Pius
d025d3b472 Merge changes from topics "oem_paid_suggestions", "sta_sta_feature"
* changes:
  WifiNetworkSuggestion: Add setOemPaid flag
  WifiManager: Add public API for STA + STA concurrency support
2020-09-30 14:17:37 +00:00
Andrei-Valentin Onea
bc74c915c8 Merge "Fix compat change CTS test flakiness" am: bb0db1d243 am: 3d1cfa54d6 am: 1fe983edb7 am: 3a5b1a12c5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635

Change-Id: I60cfbb9a875fb2e7f0759b84732f9172ed97cdf0
2020-09-30 14:02:29 +00:00
TreeHugger Robot
9920baf440 Merge "Add a command line interface to SystemUI" 2020-09-30 13:56:55 +00:00
Lorenzo Colitti
1569c71b07 Merge changes I53ca4b98,I1757fdeb am: 3a463815e2 am: 230fabb17e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767

Change-Id: I59f834071b66d310652016a626b0f8a6bb471d03
2020-09-30 13:53:31 +00:00
Anton Hansson
27b40fc234 Merge "Revert "Add genrules for merged removed.txt files"" 2020-09-30 13:51:21 +00:00
Anton Hansson
ca5b8b5c6f Revert "Add genrules for merged removed.txt files"
This reverts commit cfb26e3b4c.

Reason for revert: b/169747069

Change-Id: I9290708aea6a66bbecc098b75403f6e5d7e77ec7
2020-09-30 13:50:48 +00:00
Andrei-Valentin Onea
3a5b1a12c5 Merge "Fix compat change CTS test flakiness" am: bb0db1d243 am: 3d1cfa54d6 am: 1fe983edb7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635

Change-Id: Id36d3ce48a39d40f714ef5131b4cee4644d1a590
2020-09-30 13:45:05 +00:00
Lorenzo Colitti
230fabb17e Merge changes I53ca4b98,I1757fdeb am: 3a463815e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440767

Change-Id: If1d0eb5a1818dd7a9346f8d0d64d5f37ea1b53c2
2020-09-30 13:14:23 +00:00
Fabian Kozynski
98a5330985 Merge "Migrate to new UserTracker for currentUser" 2020-09-30 13:09:24 +00:00
Andrei-Valentin Onea
1fe983edb7 Merge "Fix compat change CTS test flakiness" am: bb0db1d243 am: 3d1cfa54d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635

Change-Id: I611aae09d53d4b81b00f91a0edf08c9c83fa12b8
2020-09-30 13:07:11 +00:00
Lorenzo Colitti
3a463815e2 Merge changes I53ca4b98,I1757fdeb
* changes:
  Fix OffloadHardwareInterfaceTest.
  tethering: offload: Netlink Req NfGen
2020-09-30 12:53:57 +00:00
Kyunglyul Hyun
790edb871f Merge "[Media ML] public alternative for MediaController#controlsSameSession" 2020-09-30 12:34:37 +00:00
Neil Fuller
02d943f44d Get ready to add System APIs for use by SUW
This commit introduces the TimeManager API class. It is intended to
provide access to the time and time zone detector services, which
historically have had their own (internal) API classes to access them.

This commit contains various fixes to the listener handling logic
noticed while testing the APIs.

The first APIs on TimeManager are being exposed for use by SetUp Wizard,
which requires System APIs.

The APIs enable the calling app to determine the capabilities for /
config of the current user that affect time zone detection and then
alter them.

The primary usecase:

The rules for who can do what and when for time zone detection are
becoming more complicated, and device and user capabilities will be
affected by compile time constants, device config (resources) and device
hardware. By exposing this API, the complex logic can be encoded in one
place (the system server), rather than duplicating them in multiple
client apps.

These APIs are also intended for use by SettingsUI (and the various form
factor versions of that), but settings apps do not currently require
them to be marked with @SystemApi.

Bug: 159891384
Test: atest services/tests/servicestests/src/com/android/server/timezonedetector/
Test: atest android.app.time
Change-Id: I9b59099748e2391c180e124edf83fa521beb1b51
2020-09-30 13:34:05 +01:00
Andrei-Valentin Onea
3d1cfa54d6 Merge "Fix compat change CTS test flakiness" am: bb0db1d243
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440635

Change-Id: I0b32b7631d7f9ceade3e170d53ba068db924e85f
2020-09-30 12:31:11 +00:00
Andrei-Valentin Onea
bb0db1d243 Merge "Fix compat change CTS test flakiness" 2020-09-30 12:13:24 +00:00