Commit Graph

628224 Commits

Author SHA1 Message Date
Ruslan Tkhakokhov
bc8317cef1 Update BackupEligibilityRules
1. Remove unused appIgnoresIncludeExcludeRules() and associated tests
2. Remove logic for enforcing full backup for apps with k/v agents and
   associated tests
3. Only ignore allowBackup for non-system apps in D2D and guard the
   behavior by target SDK

Bug: 183147249
Test: atest BackupEligibilityRulesTest
Change-Id: Id8b0862dae492de69c553858e27859970278d7db
2021-03-19 12:52:00 +00:00
TreeHugger Robot
ef9671de17 Merge "Move shade split ratio to 50/50" into sc-dev 2021-03-09 11:43:09 +00:00
Hyundo Moon
36ce69616d Merge "Add basic functionality of MR2Manager in MR2" into sc-dev 2021-03-09 09:55:02 +00:00
Yi Jiang
c739060d18 Merge "Adds debugging logs in Rotation Resolver." into sc-dev 2021-03-09 09:47:51 +00:00
Sergey Nikolaienkov
c43f1a2c2f Merge "Cap resolution for pre-S apps on TV at 1080p" into sc-dev 2021-03-09 09:25:29 +00:00
Treehugger Robot
91f4615dcc [automerger skipped] Merge "Add final qualifier in LocationPermissionChecker" am: b002b20492 am: 50843debeb am: d4e1a70921 -s ours
am skip reason: Change-Id I832c9d70c3dfcd8d669cf71939d97837becc973a with SHA-1 2d2e07e2ff is in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618842

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1c85c6b4689725c5c7e26d3f32da169505486e4e
2021-03-09 08:52:21 +00:00
Chalard Jean
d874f519b0 Merge "Replace withCleanCallingIdentity with [clear|restore]CallingIdentity" am: 5b7b782a3b am: e3a7d6a258 am: 614d5de20d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615182

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ae6ed673a8c82a7e6326c35c17508d26f2e5236
2021-03-09 08:52:01 +00:00
Zoey Chen
7de753143d Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" am: 761614c85f am: 7d90db3c30 am: 8a7ec68660
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618841

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I55946ad20d50360f3d7df8d2f09bfc6636c753bd
2021-03-09 08:51:19 +00:00
Treehugger Robot
d4e1a70921 Merge "Add final qualifier in LocationPermissionChecker" am: b002b20492 am: 50843debeb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618842

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I60de5561418ac24a1210dec2d4ecaf16d1779518
2021-03-09 08:26:17 +00:00
Chalard Jean
614d5de20d Merge "Replace withCleanCallingIdentity with [clear|restore]CallingIdentity" am: 5b7b782a3b am: e3a7d6a258
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615182

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I242abe2597ad717026afc547f05701ed8c41aa5c
2021-03-09 08:26:04 +00:00
Wilson Wu
462d7a9a63 Merge "Fix delayed hide soft input when switch user" into sc-dev 2021-03-09 08:24:55 +00:00
Bill Lin
d6a9853d3b Merge "Fix OneHandedGestureHandler incorrect InputMonitor behavior" into sc-dev 2021-03-09 08:19:08 +00:00
Eric Laurent
f1416043d5 Merge "AudioDeviceBroker: fix communication route update" into sc-dev 2021-03-09 08:18:58 +00:00
Treehugger Robot
50843debeb Merge "Add final qualifier in LocationPermissionChecker" am: b002b20492
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618842

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic07a7bd60e51b5ae6f60f168cfe2b7a7c1848e6f
2021-03-09 08:11:00 +00:00
Louis Chang
9992fd7fc0 Merge "New activity launch mode - singleInstancePerTask" into sc-dev 2021-03-09 08:08:16 +00:00
Zoey Chen
8a7ec68660 Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" am: 761614c85f am: 7d90db3c30
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618841

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie5ea2c7ab65cbab16b0a117537e4c7b505458344
2021-03-09 08:07:41 +00:00
Chalard Jean
e3a7d6a258 Merge "Replace withCleanCallingIdentity with [clear|restore]CallingIdentity" am: 5b7b782a3b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615182

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I376927831333a78dc2c60b5be23324b8f0395c58
2021-03-09 08:07:32 +00:00
Wei Sheng Shih
db3d82a4e3 Merge "Starting window performance tuning.(8/N)" into sc-dev 2021-03-09 08:00:12 +00:00
Treehugger Robot
b002b20492 Merge "Add final qualifier in LocationPermissionChecker" 2021-03-09 07:58:14 +00:00
Chalard Jean
5b7b782a3b Merge "Replace withCleanCallingIdentity with [clear|restore]CallingIdentity" 2021-03-09 07:41:13 +00:00
Zoey Chen
7d90db3c30 Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" am: 761614c85f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1618841

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I8661a8355fc293faab2ca62c938e5a3ae9d840ae
2021-03-09 07:31:23 +00:00
Zoey Chen
761614c85f Merge "[Telephony] Fix the unknown value of ARFCN from -1 to INT.MAX" 2021-03-09 07:06:06 +00:00
Automerger Merge Worker
242cc497ab Merge "Merge "Use ArraySet#add() instead of ArraySet#append()" am: 55793cc0cb am: 8d07cea94a am: 9691a4a867" into sc-dev 2021-03-09 06:36:14 +00:00
Hyundo Moon
dd4780eba1 Add basic functionality of MR2Manager in MR2
As a first step of adding MR2Manager functionality in MR2,
this CL makes MR2 able to:
 - get routes for specific package
 - make transfer / stop

For now, the future system APIs are not marked as @SystemApi yet.
They will be opened with adding CTS tests,
once the implementation is complete.

Bug: 181122201
Test: Manually tested transfer/stop using Support7Demos.
      Test code will be added when MR2Manager's callback functionality
      is implemented.
Change-Id: I71bea98b0ff3e42d193cf04c1b1735fe50c7d673
2021-03-09 15:35:40 +09:00
Lucas Lin
49d00ad0fa Merge "Use ArraySet#add() instead of ArraySet#append()" am: 55793cc0cb am: 8d07cea94a am: 9691a4a867
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615181

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic1cbcbb6f9dc83e664593b8e095a0f9b80697b83
2021-03-09 06:34:56 +00:00
Edgar Wang
6e95b4eb69 Merge "Remove RestrictedLockUtils dependency in MainSwitchPreference" into sc-dev 2021-03-09 06:34:45 +00:00
Darryl Johnson
b87e44ce32 Merge "Don't report device state until hardware state is known." into sc-dev 2021-03-09 06:20:01 +00:00
Lucas Lin
9691a4a867 Merge "Use ArraySet#add() instead of ArraySet#append()" am: 55793cc0cb am: 8d07cea94a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615181

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4418327b7201e31620a71b693a70403889a25fbf
2021-03-09 06:10:20 +00:00
Sergey Nikolaienkov
70c9d936d9 Cap resolution for pre-S apps on TV at 1080p
On Android TV applications that target pre-S SDK are not expecting to
receive a Window larger than 1080p.
To avoid this from happening this CL overrides compatibility scaling for
applications that target a pre-S SDK on ATV devices that have larger than
1080p screen, so that the applications would still need to draw to a
1080p Surface.

Bug: 157629738
Test: atest CtsWindowManagerDeviceTestCases:TvMaxWindowSizeTests
Change-Id: I2b240bb5fcae6b165fd17c982cc29c49de348dbf
2021-03-09 06:08:44 +00:00
Alex Buynytskyy
b92a4f2f37 Merge "API feedback: make Installer v2 API public." into sc-dev 2021-03-09 06:03:44 +00:00
Chiachang Wang
bc5e47cd5b Merge "Replace ConnectivityManager.isNetworkTypeMobile usage in NSS" am: 874aefac33 am: 1efa411ec7 am: 3b7a716bf4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612298

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6030cf153aa76f666cafc1b4f28fa17d57a5da3e
2021-03-09 05:56:30 +00:00
Remi NGUYEN VAN
8fffc13f67 Merge changes I1d1f0d2d,Ifbd4a978 into sc-dev
* changes:
  Communicate with BatteryStatsService through BatteryStatsManager
  Add a new API in BatteryStatsManager for connectivity service
2021-03-09 05:49:43 +00:00
Wesley Wang
7c07677913 Merge "Clear UsageProgressBarPreference image view before setting images" into sc-dev 2021-03-09 05:47:18 +00:00
Lucas Lin
8d07cea94a Merge "Use ArraySet#add() instead of ArraySet#append()" am: 55793cc0cb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1615181

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1991567f130f3afee6c6bcb78a9254b45e14f6e4
2021-03-09 05:31:26 +00:00
Chiachang Wang
3b7a716bf4 Merge "Replace ConnectivityManager.isNetworkTypeMobile usage in NSS" am: 874aefac33 am: 1efa411ec7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612298

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I562f3152c1c9f5b360dc7206b888b93d058fe162
2021-03-09 05:10:16 +00:00
TreeHugger Robot
14ff834581 Merge changes from topic "client_suggestions_fillrequest-sc-dev" into sc-dev
* changes:
  Implements Autofill fill request to support client suggestions
  Adds fill request APIs for the client suggestions
2021-03-09 04:55:55 +00:00
Lucas Lin
55793cc0cb Merge "Use ArraySet#add() instead of ArraySet#append()" 2021-03-09 04:52:42 +00:00
Charles Chen
7be1f8af88 Merge "Revert "Migrate SystemGesturePointerEventListener to WindowContext"" into sc-dev 2021-03-09 04:47:49 +00:00
TreeHugger Robot
e68d19fba2 Merge "Fix the overlay consuming KEYCODE_BACK" into sc-dev 2021-03-09 04:35:50 +00:00
Peter Collingbourne
127cb3ff8f Merge "Add support for a hw_timeout_multiplier system property." into sc-dev 2021-03-09 04:35:45 +00:00
TreeHugger Robot
bc77f26761 Merge "Update TextServicesManager API." into sc-dev 2021-03-09 04:31:24 +00:00
Chiachang Wang
1efa411ec7 Merge "Replace ConnectivityManager.isNetworkTypeMobile usage in NSS" am: 874aefac33
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1612298

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I22df755d2226d6e4dec6e25fdcb9ecc249d5e4e6
2021-03-09 04:28:21 +00:00
Chiachang Wang
874aefac33 Merge "Replace ConnectivityManager.isNetworkTypeMobile usage in NSS" 2021-03-09 03:58:11 +00:00
Hangyu Kuang
039e9a41cd Merge "transcoding: Address API council comments." into sc-dev 2021-03-09 03:56:05 +00:00
Louis Chang
8846e4d089 New activity launch mode - singleInstancePerTask
Adding a new activity launch mode `singleInstancePerTask` which
is similar to singleTask that the activity is single instance and
can only be created in task root, but still allowed to be created
in multiple documents or tasks.

Also adding meta-data support of apps that targeting on previous SDK.

Bug: 175354896
Test: IntentTests

Change-Id: I4ba3b2ba6d619677f03e67d3b7da1b5d2a79907f
2021-03-09 11:46:07 +08:00
Paul Hu
e568972498 Merge "Replace ConnectivityManager hidden symbols on SettingsLib" into sc-dev 2021-03-09 03:33:02 +00:00
wilsonshih
11598e8243 Starting window performance tuning.(8/N)
Create splashscreen thread with priority -10 in shell for starting
window controller, the definition is moved from
AMS#TOP_APP_PRIORITY_BOOST to Process#THREAD_PRIORITY_TOP_APP_BOOST.

Create and set SplashScreenView object on the starting window after the
first simple view on the starting window drawn, in this way the
transition can be prepare early than wait the actually view was draw,
which can save some time.

Bug: 73289295
Bug: 131311659
Test: atest StartingSurfaceDrawerTests ShellTaskOrganizerTests
Test: atest SplashscreenTests
Change-Id: Ibb430a66d6b329e74d62de047fbf37205cb66a96
2021-03-09 11:13:03 +08:00
Makoto Onuki
b4f60382b0 Merge "[Bugfix] Fix after performing adb shell am hang and kill this process, the phone can not resume from hang state" am: 4d83226663 am: 8f8ffd02f2 am: 245befadf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1601731

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa4e7308cc56c407bd8a45a50a33e796d338a472
2021-03-09 03:05:01 +00:00
Cody Kesting
2cb1dabc49 Merge changes I14740854,Id1c2dc28,I4168c868 am: 3b0cb56475 am: 06085e6ab3 am: f5d4826ef1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1607195

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ied6022110fd73b4880a4a34caba03ae821e111a7
2021-03-09 03:03:56 +00:00
Edgar Wang
6d7a8cced8 Remove RestrictedLockUtils dependency in MainSwitchPreference
- Extract related things to SettingsMainSwitchBar

Bug: 180226735
Test: robotest
Change-Id: Ibb0e687519ef48f85f47028374437e00ac2adabd
2021-03-09 03:01:54 +00:00