Commit Graph

640958 Commits

Author SHA1 Message Date
Treehugger Robot
bf415409e8 Merge "[Telephoy] Add phone Id to support DSDS" am: 40fa3f58b2 am: 36fb168817
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676437

Change-Id: Ia0c72bde710182dbd9e5e99c3ad5f309147a0353
2021-04-16 03:03:44 +00:00
Chiachang Wang
3aaf67546b Merge "Remove hidden connectivity method usage" am: 82628265f6 am: cec2c552d1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674570

Change-Id: Ief89028aaabb21be85063cb9ba1e59f84c59419c
2021-04-16 03:03:19 +00:00
Robert Carr
660a6679d9 SurfaceFlinger: Prepare to remove BufferQueueLayer
To prepare to remove BufferQueueLayer we port over the public Java API
(getSurface) and a few remaining clients (largely tests), by returning
a BBQ from getSurface.

Bug: 185492007
Test: Existing tests pass
Change-Id: I5c59dc5785333c543ef9f5e70faafab5da110bbd
2021-04-16 03:02:15 +00:00
Wilson Wu
40055cde56 Merge "Make IInputMethodPrivilegedOperations to async (2/N)" into sc-dev 2021-04-16 02:58:16 +00:00
Sarah Chin
f7e9c836c4 Update documentation for setSubscriptionOverride
Test: build
Fix: 180496714
Change-Id: Iebfcd0ece1891c1b77d132b92e93d8c1eea3aa6e
2021-04-15 19:53:14 -07:00
Treehugger Robot
36fb168817 Merge "[Telephoy] Add phone Id to support DSDS" am: 40fa3f58b2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676437

Change-Id: I3af03da8a500872635396324731c9816df399165
2021-04-16 02:35:38 +00:00
Songchun Fan
5ada1508c2 [pm] remove incremental startable/unstartable code
Also remove streaming health status reporting which could cause
startable state change because it is also not needed any more.

BUG: 171920377
Test: builds
Change-Id: I7284e7a63df79da7dbf3d16ff64302b3d1ce1348
2021-04-16 02:29:24 +00:00
Treehugger Robot
40fa3f58b2 Merge "[Telephoy] Add phone Id to support DSDS" 2021-04-16 02:28:45 +00:00
Chiachang Wang
cec2c552d1 Merge "Remove hidden connectivity method usage" am: 82628265f6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1674570

Change-Id: I9bfa535f64717b36216c987c35025b52fe22c078
2021-04-16 02:25:09 +00:00
TreeHugger Robot
5600015ef0 Merge "Re-route to default display if the home activity doesn't support multi-display" into sc-dev 2021-04-16 02:04:09 +00:00
Chiachang Wang
82628265f6 Merge "Remove hidden connectivity method usage" 2021-04-16 01:44:39 +00:00
Wei Sheng Shih
fca79abeea Merge "Only initialize Session's package name once." into sc-dev 2021-04-16 01:25:06 +00:00
Chiachang Wang
f083dae515 Merge "Extend framework-connectivity.impl visibility" into sc-dev 2021-04-16 01:13:34 +00:00
TreeHugger Robot
1332ae37bd Merge "Change brightness icon depending on level" into sc-dev 2021-04-16 01:12:40 +00:00
TreeHugger Robot
4a9b2e6e36 Merge "@IntDef incorrectly marked as containing flags" into sc-dev 2021-04-16 01:06:49 +00:00
Wei Sheng Shih
5ddb3b7aeb Merge "Hold WM lock when add starting window to TaskOrganizer" into sc-dev 2021-04-16 01:06:45 +00:00
Sally
8724e0eb75 Add UiAutomation shell permission tests to Shell presubmit tests
Bug: 185174828
Test: (on internal branch) run atest in packages/Shell, tests run
Change-Id: I3e53116239ec39e4c6cb3325dbfb8aa1a501377f
2021-04-16 00:57:49 +00:00
TreeHugger Robot
bd3d2e9a7f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-04-16 00:39:55 +00:00
TreeHugger Robot
43799d4d09 Merge "Allow provisioning state transition _PROFILE_FINALIZED->_USER_UNMANAGED" into sc-dev 2021-04-16 00:37:19 +00:00
Chiachang Wang
490befc506 Resovle hidden connectivity methods usage in SystemUITests
Connectivity hidden methods are no longer accessible outside
the module scope. Thus, replace the usage with equivalent
methods.

Bug: 182859030
Test: 1. remove framework-connectivity.impl from framework bp
      2. cd frameworks/base/packages/SystemUI/tests ; mm
      3. atest SystemUITests
Change-Id: Icfdcd983762eac788042e3d41db06597b69f3559
2021-04-16 00:34:53 +00:00
Winson
762658fad1 Enforce isSystem for app-link SysConfig
Only apps that are preloaded on the system are allowed to be auto
approved. This prevents package name takeover for optional packages
that are still configured in the XML.

Bug: 166697328

Test: atest DomainVerificationPackageTest
Test: manual verify pm get-app-links on a device

Change-Id: Ic055db3c07ff876600402c3ed0fe66b30cebe09e
2021-04-15 17:32:00 -07:00
Chavi Weingarten
d6ea380f13 Merge "Use BLAST layer for screen rotation, surface freezer, and organizer" into sc-dev 2021-04-16 00:30:11 +00:00
Jason Chang
97bf5c62e1 Merge "Fix One Handed Feedback gesture's animations are quite jarring" into sc-dev 2021-04-16 00:29:30 +00:00
Jeff DeCew
de5152ee9b Fix notigication group background color
Bug: 184982648
Test: manual
Change-Id: I5cf20d5b08289108e303ca39025815182fbacbce
2021-04-15 20:10:37 -04:00
Amit Mahajan
fc8f430092 Add null check before trying to give appOps to package.
Test: none
Bug: 164209140
Change-Id: I64184e9d035be538684c42c85c869f09b048069f
2021-04-15 23:54:21 +00:00
Hongbo Zeng
09c58000d4 Fix API review issues for 5G Slicing feature
- Rename SlicingConfig and SlicingException to
  NetworkSlicingConfig and NetworkSlicingException
- Rename SlicingError to NetworkSlicingError
- add subclasses for NetworkSlicingException and remove getErrorCode()
- make isRadioInterfaceCapabilitySupported() public

Bug: 183714964
Bug: 183937956
Test: full build pass
    - make -j200 doc-comment-check-docs
    - atest TelephonyManagerTest#testGetNetworkSlicingConfiguration
    - atest RadioConfigResponseTest
Change-Id: I4326b230c09adcf732f4271f3044d69c1ae5958c
2021-04-16 07:44:36 +08:00
Jay Aliomer
fcdcaa840f Inline notif send button dimentions fix
Test: visual
Fixes: b/184963348
Change-Id: I92b5e30f21de8b6724820fdd6265919b16f6b392
2021-04-15 19:43:18 -04:00
Siim Sammul
ac6f5ee927 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999 am: d3404b3c64 am: 6cebda3718
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: I2bba3c67462f4191f90181c6a16c17297c430bfc
2021-04-15 23:37:53 +00:00
Siim Sammul
6cebda3718 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999 am: d3404b3c64
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: Ifb3927030a449e5f6daa7a34e673b955714de58b
2021-04-15 22:56:51 +00:00
Ben Lin
aeb4ac64f4 PiP: Don't invoke double-tap gesture (maximize) if menu is showing.
If the menu is showing and populated with icons, the user intention is
more likely to interact with the menu. Prioritize on that and drop
gestures such as double-tap.

Bug: 185458696
Bug: 184789345
Test: Double-tap while menu is showing
Change-Id: Icac92ec8cafdcb2f3a11919a4c6a227bf85d446c
2021-04-15 15:49:28 -07:00
Automerger Merge Worker
2363862360 Merge "[automerger skipped] Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c am: 5a9fcc3d76 -s ours" into sc-dev 2021-04-15 22:48:25 +00:00
TreeHugger Robot
8d4b0ccbd8 Merge "Update gpay icon on keyguard visibility" into sc-dev 2021-04-15 22:48:17 +00:00
Treehugger Robot
07e439e1c1 [automerger skipped] Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c am: 5a9fcc3d76 -s ours
am skip reason: skip tag Change-Id I2d4167a6c92ee0cc24da12df206838161c8f3318 with SHA-1 ba2c904f8d is already in history

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

Change-Id: Ie353ad0084ce116285dfef430a5c4d29ad5e3e56
2021-04-15 22:48:15 +00:00
Amit Mahajan
a6cb2f1e85 Change osAppId from String to byte[] to match specs.
OSAppId as defined in the specs is a concatenation of a UUID
(representing OSId) converted to byte[], and a byte[] representing
the app id. As such it is better to have that as a byte[] in the
public APIs instead of String.

Made the Builder @hide as well since it is not supposed to be
built by any external code.

Test: atest DataConnectionTest
Test: atest DcTrackerTest
Test: atest TrafficDescriptorTest
Bug: 185497057
Change-Id: I3d327097397bcfaaca2e6b7c342fb440fd546318
2021-04-15 15:46:25 -07:00
TreeHugger Robot
e438034aee Merge "Phase 1 of status bar system event animations" into sc-dev 2021-04-15 22:46:11 +00:00
Bill Yi
77147a3194 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idf84fd16696c813cc4edac45ffac2ea585b07746
2021-04-15 22:42:56 +00:00
Aurimas Liutikas
2a815a678b Suppress AutoBoxing issue for hasRequestRawExternalStorageAccess
Metalava now prevents adding Boolean returns, see r.android.com/1677187

Test: None
Bug: 185484823
Change-Id: I4580908165fb00372297b476a6755385afb44446
2021-04-15 22:41:04 +00:00
Winson Chung
cbe99e87b7 Workaround for sysui studio builds
- SysUI studio builds seem to have problems referencing the private
  attr directly, so just expose it as a color itself

Bug: 152086714
Test: Studio builds
Change-Id: I6256848ef7e608c7eb1773c83184219e8af47032
2021-04-15 15:35:31 -07:00
Siim Sammul
d3404b3c64 Merge "Add dplotnikov and gaillard as owners for binder proto file too." am: 0c67225999
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675889

Change-Id: Ic704bca33a496656e6c58d8b67499c796d3349de
2021-04-15 22:32:04 +00:00
Flavio Fiszman
1917334c2c Handle width and height options in Tile previews
Change-Id: Id960248ec8438ed26a2cbf30ddbddce1b87bfc15
Bug: 179988318
Test: manual
2021-04-15 23:28:22 +01:00
Lucas Dupin
6d1601a740 Move sparkle animation to RenderThread
The sparkle loop animation was happening on the UI thread and is poses
some interesting challengers:
- Animations freezes when UI thread is busy, for example when
  startActivity is called.
- onDraw calls add unnecessary work to the UI thread, leading to jank
  in some cases, like PIP

Test: manual
Fixes: 184760248
Change-Id: Ie2840c767da61476678839eaac215dc3aff95b5c
2021-04-15 15:26:32 -07:00
Treehugger Robot
5a9fcc3d76 Merge "OOB generateLocalOobData" am: 3a4f319145 am: bb6ea3457c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1677745

Change-Id: Idcbf693aa6336aea76c0fa7d97262132c0cdeb8a
2021-04-15 22:19:43 +00:00
Chavi Weingarten
e6791edbbf Merge "Update Wallpaper to use BLAST" into sc-dev 2021-04-15 22:05:37 +00:00
Zhen Zhang
0d07ec01ea Refactor isAppHibernationEnabled check in AppHibernationService
Directly return the static field to avoid querying DeviceConfig
everytime.

Bug: 181183614
Test: atest AppHibernationServiceTest
Test: atest CtsWindowManagerDeviceTestCases:ActivityMetricsLoggerTests
Test: atest CtsStatsdAtomHostTestCases:AppStartStatsTests

Change-Id: Id01a701dadb76655a24effbd9d3ce011d7f2f686
2021-04-15 14:59:55 -07:00
Siim Sammul
0c67225999 Merge "Add dplotnikov and gaillard as owners for binder proto file too." 2021-04-15 21:51:23 +00:00
Todd Kennedy
5889bd1f7f @IntDef incorrectly marked as containing flags
Change-Id: I0bde93fde412b4770a84124a9e323e4ac003d587
Bug: 174238856
Fixes: 174238856
Test: None. Doc only change.
2021-04-15 21:51:13 +00:00
TreeHugger Robot
123079969d Merge "Fix size calculation" into sc-dev 2021-04-15 21:37:59 +00:00
TreeHugger Robot
92716ec4ed Merge "Do not hold indicators for apps that become paused" into sc-dev 2021-04-15 21:35:10 +00:00
Anna Zappone
426998c943 Fix some UX polish bugs
Remove last chatted to for 1 day and under
Try to adaptively add more outer padding to 2x1 with a max of 16dp
Let small layout match parent height

Test: PeopleSpaceUtilsTest
Bug: 184606325, 182471248, 185138047
Change-Id: I08a305dacf2b249475ffe0231f0412e694c2922a
2021-04-15 21:29:58 +00:00
Erik Wolsheimer
404920ea6b Merge "Revert "Increase MAX_ATTRIBUTIONS to 10000"" into sc-dev 2021-04-15 21:20:25 +00:00