Commit Graph

635830 Commits

Author SHA1 Message Date
Louis Chang
98d5a3bb79 Merge "Do not override MULTIPLE_TASK flag for singleInstancePerTask" into sc-dev 2021-04-15 07:35:23 +00:00
TreeHugger Robot
5ec2a767bd Merge "Fix snooze view" into sc-dev 2021-04-15 06:56:04 +00:00
TreeHugger Robot
a14d76517a Merge "Set correct audio source when creating mic audio record" into sc-dev 2021-04-15 06:53:32 +00:00
JW Wang
ec28b32940 Merge "Add a rollback test" into sc-dev 2021-04-15 06:02:04 +00:00
JW Wang
a603b6bfce Merge "Rollbacks shouldn't be removed when it session expires (1/n)" into sc-dev 2021-04-15 06:01:34 +00:00
Alexander Dorokhine
1e258ecf1d Merge "Update framework from jetpack." into sc-dev 2021-04-15 05:52:11 +00:00
Treehugger Robot
2d4f2324cf Merge "Make TYPE_VPN_LEGACY no longer deprecated." am: 590949fd61 am: 9d5240865f am: 0d3acacdd5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675627

Change-Id: Ib6419d4d408c5f4859bac2e92b1811dffd513c9c
2021-04-15 05:50:32 +00:00
Charles Chen
4ca1b87fdb Fix WindowContext cannot add window with sub window type
Bug: 184717383
Test: atest WindowManagerServiceTests
Test: atest WindowContextTest

Change-Id: Ie523902a8ec1a1de96b961da1204bf7c923052be
2021-04-15 05:44:51 +00:00
Charles Chen
ac8d924dc3 Merge "Introduce WindowProviderService" into sc-dev 2021-04-15 05:43:08 +00:00
Edgar Wang
751bafe633 Merge "Rename SettingsPreferenceTheme to PreferenceTheme.SettingsBase" into sc-dev 2021-04-15 05:27:22 +00:00
Treehugger Robot
0d3acacdd5 Merge "Make TYPE_VPN_LEGACY no longer deprecated." am: 590949fd61 am: 9d5240865f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675627

Change-Id: I8d483487a84d11670425326dcf278ae131b553d6
2021-04-15 05:21:26 +00:00
Brian Quezada
7206a5745e Merge "Use config.xml for Flip to Screen Off." into sc-dev 2021-04-15 05:20:22 +00:00
TreeHugger Robot
bc54308859 Merge "Update getOwnersForDomain docs and enforce non-null" into sc-dev 2021-04-15 05:19:01 +00:00
Riddle Hsu
a500bed25c Merge "Handle stopping and finishing activities on drawn" into sc-dev 2021-04-15 05:16:39 +00:00
Treehugger Robot
9d5240865f Merge "Make TYPE_VPN_LEGACY no longer deprecated." am: 590949fd61
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675627

Change-Id: Ic86602adb7f4eb9726337e8bc5ba8a652566c94d
2021-04-15 04:37:13 +00:00
Shawn Lin
e356c06ba5 Merge "Fixed attaching nav to app not working for notification case" into sc-dev 2021-04-15 04:35:18 +00:00
TreeHugger Robot
801ff1c44b Merge changes from topic "biometric_settings" into sc-dev
* changes:
  Move from face-specific settings to generic biometric settings
  Add secure setting for using biometric
2021-04-15 04:12:58 +00:00
Treehugger Robot
590949fd61 Merge "Make TYPE_VPN_LEGACY no longer deprecated." 2021-04-15 03:57:20 +00:00
Junyu Lai
7f7a32719f Merge "Allow network providers to set the linger duration." into sc-dev 2021-04-15 03:23:53 +00:00
Zoey Chen
fab4c478c1 Merge "[Telephony] Physical Channel Config should support DSDS" into sc-dev 2021-04-15 03:14:12 +00:00
Treehugger Robot
0dcb36f9f7 [automerger skipped] Merge "Grant shell missing permissions" am: 51e5e80876 am: e2919bf071 am: 7a37d828de -s ours
am skip reason: skip tag Change-Id I11df0d753f830b6ba6ea2222f7d8a7d778161953 with SHA-1 b173952e19 is already in history

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

Change-Id: I03824d640688b3eb4fb24cb3f1b933072a8dd73d
2021-04-15 03:12:06 +00:00
Paul Crowley
1c33b64beb Merge "Include OWNERS file that exists" am: 7e20e9f22b am: f61fbc626c am: 02808d4421
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676525

Change-Id: I43149c0a830ad5ad43dc88ea987fd5d5b8961299
2021-04-15 03:11:42 +00:00
Treehugger Robot
b2e2624e8b Merge "Bluetooth OOB: Fix getLeAppearance" am: ef0304a087 am: 2988998bd3 am: 6745daf3c2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673875

Change-Id: I8d2d9d4ea7bfa3b9a3a4bfe358da4275688b6f19
2021-04-15 03:11:10 +00:00
TreeHugger Robot
0187de1e09 Merge "Enforcing a minimum window on inexact alarms" into sc-dev 2021-04-15 03:10:37 +00:00
TreeHugger Robot
fdafdbd4fd Merge "Disable flaky flicker tests" into sc-dev 2021-04-15 03:05:58 +00:00
Charles Chen
49cd50b3fd Introduce WindowProviderService
A Window Provider Service is a Window-Context-like Service which handles
UI
components and is able to obtain the latest configuration.
The differences between a Window Context and a Window Provider Service
is that:
1. It is always associated with the primary display before
   attachWindowToken() or WM#addView is called. It is suggested to
render UI
   components after calling the APIs mentioned above.
2. A window context registers the listener in constructor and
   unregisters it in finalize(), while a window provider service
   registers the listener in onCreate() and unregisters in onDestroy().
3. Like the API Context#createWindowContext(int windowType, Bundle
options),
   the users of a Window Provider Service need to override
provideWindowType and
   provideOptions to pass the attributes.
4. When there's a configuration updates from the server side,
   the Service#onConfigurationChanged callback will be invoked.(TBD)
It is suggested to use window context when possible. This class is to
migrate the
Service to show UI components to the window context concept. We can't
migrate them
to WindowContext directly because developers are used to use this kind
of Service as
the container of UI components and may change its property at runtime.
An example is that keyboard developers may apply a new theme by
InputMethodService#getResources#setTheme(newTheme).

Bug: 159767464
Test: atest WindowContextTests#testWindowProviderServiceLifecycle

Change-Id: I7d537fd2d128efa28aa6e771d77aa105fb497672
2021-04-15 02:45:36 +00:00
Treehugger Robot
7a37d828de Merge "Grant shell missing permissions" am: 51e5e80876 am: e2919bf071
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670006

Change-Id: I6f59648db0f0a2eaf62bfb4b1f00fba14b2eb21b
2021-04-15 02:16:04 +00:00
Paul Crowley
02808d4421 Merge "Include OWNERS file that exists" am: 7e20e9f22b am: f61fbc626c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676525

Change-Id: I44b48a319c9d0ad5df0c5ff3f4acf225822f95c5
2021-04-15 02:15:44 +00:00
Chiachang Wang
855f753c80 Allow frameworks-net-integration-testutils to access hidden methods
Support frameworks-net-integration-testutils to access hidden
connectivity methods.

Bug: 182859030
Test: m
Change-Id: Ifbbe7c15c99ac80f94ebb0d97f9145711f147d75
2021-04-15 02:14:58 +00:00
Treehugger Robot
6745daf3c2 Merge "Bluetooth OOB: Fix getLeAppearance" am: ef0304a087 am: 2988998bd3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673875

Change-Id: I8128fda817ab902cdf760acb731316f49faf07b2
2021-04-15 02:14:48 +00:00
Wei Sheng Shih
454a412fd8 Merge "Notify exit animation done to transfered starting window." into sc-dev 2021-04-15 01:43:39 +00:00
Treehugger Robot
e2919bf071 Merge "Grant shell missing permissions" am: 51e5e80876
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1670006

Change-Id: I7da950a176408ded482230d21df0fc772192de3a
2021-04-15 01:32:01 +00:00
Paul Crowley
f61fbc626c Merge "Include OWNERS file that exists" am: 7e20e9f22b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1676525

Change-Id: Ic02c278feef326f614ace5d7d91949c0105f127b
2021-04-15 01:27:07 +00:00
Treehugger Robot
2988998bd3 Merge "Bluetooth OOB: Fix getLeAppearance" am: ef0304a087
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1673875

Change-Id: Ibb7c52a0d373644f811fdc4e095c5577efd510ce
2021-04-15 01:23:58 +00:00
TreeHugger Robot
ce457eee9e Merge "Increase MAX_ATTRIBUTIONS to 10000" into sc-dev 2021-04-15 01:04:12 +00:00
TreeHugger Robot
59b33dfc77 Merge "Don't read or persist historical registry on the critical path" into sc-dev 2021-04-15 01:02:53 +00:00
Treehugger Robot
4e96d2af6a [automerger skipped] Merge "Shell: Allow usage of UwbManager APIs" am: 762a92d755 am: b6dd284973 am: 290be221d5 -s ours
am skip reason: skip tag Change-Id Ie4264cdcd3f84c965da70f8f8fefe538378c47f6 with SHA-1 8cf4edc118 is already in history

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

Change-Id: Idce5d0fc9f6701fbeb86cd9dd1e958c8d4bee7b8
2021-04-15 01:01:56 +00:00
TreeHugger Robot
d8b162aac8 Merge "Preventing component spoofing during getShortcutConfigActivityIntent" into sc-dev 2021-04-15 01:01:14 +00:00
Treehugger Robot
51e5e80876 Merge "Grant shell missing permissions" 2021-04-15 00:52:03 +00:00
Paul Crowley
7e20e9f22b Merge "Include OWNERS file that exists" 2021-04-15 00:48:21 +00:00
Treehugger Robot
ef0304a087 Merge "Bluetooth OOB: Fix getLeAppearance" 2021-04-15 00:34:44 +00:00
Treehugger Robot
290be221d5 Merge "Shell: Allow usage of UwbManager APIs" am: 762a92d755 am: b6dd284973
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675747

Change-Id: I9f89544359bc20a67bf86e65e0cf4f29860591f8
2021-04-15 00:13:38 +00:00
Vinit Nayak
e53db0d402 Merge "Hide Sysui 3 button nav if used in taskbar." into sc-dev 2021-04-14 23:49:24 +00:00
Jeff DeCew
fe8298fde3 Merge "Fix notification background color" into sc-dev 2021-04-14 23:33:43 +00:00
Kevin Chyn
875b80655c Move from face-specific settings to generic biometric settings
Fixes: 184965821
Test: On various devices:
      adb shell settings put secure biometric_app_enabled 0/1
      adb shell settings put secure biometric_keyguard_enabled 0/1

Test: On face-only devices that shipped before S:
      Existing settings (settings > security > face unlock) are not
      affected and still work.

      Newly added secure settings do not take effect (as expected)

Test: atest com.android.server.biometrics
Test: atest KeyguardUpdateMonitorTest

Change-Id: Ie0fda46facefd3ecfbbce6ef769d6d8e9fdfb09b
2021-04-14 16:31:28 -07:00
Erik Wolsheimer
f9933b7d18 Increase MAX_ATTRIBUTIONS to 10000
Bug: 180906577
Test: Build and run sargo-userdebug
Change-Id: I2e0d21d114cacc9fb9a6d4e1c46ec2e00e3654cb
2021-04-14 23:15:49 +00:00
Treehugger Robot
b6dd284973 Merge "Shell: Allow usage of UwbManager APIs" am: 762a92d755
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1675747

Change-Id: Ibfabd3e95aea88420944c4dc3e44e15fac1ef614
2021-04-14 23:09:55 +00:00
Suprabh Shukla
2d736276a9 Enforcing a minimum window on inexact alarms
Any non-exact alarms with window > 0, should have a specific minimum
window length. Otherwise, very small windows, say 1ms, are pratically
indistinguishable from exact alarms.

Test: atest FrameworksMockingServicesTests:com.android.server.alarm

Bug: 185199076
Bug: 185199018
Change-Id: Idf933b70a66f2a749cdb2689ab68a80204d212b1
2021-04-14 15:48:46 -07:00
Treehugger Robot
762a92d755 Merge "Shell: Allow usage of UwbManager APIs" 2021-04-14 22:38:12 +00:00
Hall Liu
4d139ff936 Merge "Rename storeCallComposerPictureAsUser" into sc-dev 2021-04-14 22:02:25 +00:00