Commit Graph

100615 Commits

Author SHA1 Message Date
Etan Cohen
5e170351a8 Merge "[CDM][WIFI] Provide a permission for Wi-Fi association approval for companion apps" 2020-01-23 15:28:56 +00:00
Pavel Grafov
31c7fe0459 Merge "Add DPM methods to allow org owned PO to suspend personal apps" 2020-01-23 15:22:45 +00:00
TreeHugger Robot
b43c634bb4 Merge "Export timestamp of the creation of install session. The timestamp is an useful signal for downstream to determine post-creation operation." 2020-01-23 15:21:55 +00:00
Eran Messeri
d474dcd54f Merge "Prevent auto-granting of location permission via DPM" 2020-01-23 14:38:56 +00:00
TreeHugger Robot
adaf2a3068 Merge "NetworkScoreManager: Address API review comments" 2020-01-23 14:03:18 +00:00
Pavel Grafov
499f005e3d Add DPM methods to allow org owned PO to suspend personal apps
* When personal apps are suspended, only dialer, IMEs, a11y, launcher
  are some other critical apps are exempted.
* User is presented with notification, clicking on which invokes an
  activity in the DPC.

Bug: 147414651
Test: manual via TestDPC
Change-Id: I09f8dad08e54b0ce8201cd5c76b3f34342e0da8f
2020-01-23 13:33:39 +00:00
Adrian Roos
d7d9c3e354 Merge "Introduce WindowContext API" 2020-01-23 13:19:08 +00:00
Wale Ogunwale
ca5714920f Merge "Update IMM delegate if view root is moved to a different display" 2020-01-23 13:18:22 +00:00
Jorim Jaggi
80443cf213 Merge "Fix fraction, and other cleanup" 2020-01-23 12:49:32 +00:00
Jorim Jaggi
af30559dc3 Merge changes from topic "content_apply"
* changes:
  Force non-floating main app windows to not fit anything
  Introduce Window.setContentOnApplyWindowInsetsListener
2020-01-23 10:52:36 +00:00
Riddle Hsu
d4502794dc Update IMM delegate if view root is moved to a different display
Although it makes sense to not get IMM delegate every time, the
instance may need to be refreshed if the associated display is
changed because InputMethodManager returns different instance for
different display.

Fix: 148189172
Test: atest MultiDisplayClientTests# \
            testDisplayIdUpdateWhenImeMove_NoRelaunchActivity

Change-Id: Id4c85be1c0eab51f167ba00fc355386f852c424d
2020-01-23 18:07:32 +08:00
Al Sutton
c8f1f33ed4 Merge "Add feature flag for "no data" backup calls" 2020-01-23 07:31:51 +00:00
TreeHugger Robot
62a96a11f8 Merge "Add surrounding text to EditorInfo to speed up IME startup" 2020-01-23 06:45:34 +00:00
Matt Pape
e4b7a310c6 Merge "Adds scoped DeviceConfig reset support to RescueParty." 2020-01-23 05:14:23 +00:00
Automerger Merge Worker
b864dc150e Merge changes from topic "connectivity-diagnostics-system-server" am: 9cd249c11a am: 45e0caf5dc am: 1544e76f76
Change-Id: If70281f2989778896eb34ac65bcfe0215393ef60
2020-01-23 03:41:09 +00:00
Automerger Merge Worker
922b9d3856 Merge "Remove StringNetworkSpecifier" am: bdbc3e7e4e am: fa25f2f38c am: ec06afee8a
Change-Id: I60c9e49085701e05bddbed6a8735e6973e9f2986
2020-01-23 03:40:48 +00:00
Lorenzo Colitti
5aae73ad00 Merge "Always set NetworkInfo objects to available." 2020-01-23 03:29:58 +00:00
Yinglei Wang
51683fa8fa Merge "Set stateDescription during ProgressBar initialization" 2020-01-23 03:12:13 +00:00
Cody Kesting
45e0caf5dc Merge changes from topic "connectivity-diagnostics-system-server"
am: 9cd249c11a

Change-Id: I48a9f1f734b5e2dd4f7ed91c052cec5c8c62c076
2020-01-22 19:10:05 -08:00
Nathan Harold
fa25f2f38c Merge "Remove StringNetworkSpecifier"
am: bdbc3e7e4e

Change-Id: If2b9e1ef7341b517cb0090ba0ff882b1a6305ed4
2020-01-22 19:09:13 -08:00
TreeHugger Robot
2a8fae9828 Merge changes from topic "voiceinteraction-model-enrollment"
* changes:
  async enrollment support AlwaysOnHotwordDetector
  add KeyphraseModelManager
2020-01-23 02:46:50 +00:00
Andrii Kulian
4a31697319 Introduce WindowContext API
Test: atest WmTests CtsWindowManagerDeviceTestCases
Bug: 128338354
Change-Id: I9c9dfc5e7f4edd4c968e60d2ffcbb19b5c72a853
2020-01-22 18:30:29 -08:00
Chris.CC Lee
c486acc4d2 Add surrounding text to EditorInfo to speed up IME startup
Previously when IMEs want to get initial input text for advanced
prediction featues, it will take up to three IPC calls. Once we provide
the initial text in the EditorInfo object, it would be available right
after the input connection setup and no IPC overheads will be
introduced.

Bug: 122691437
Test: atest FrameworksCoreTests:TextViewTest
Test: atest FrameworksCoreTests:EditorInfoTest
Test: atest CtsWidgetTestCases:TextViewTest
Test: atest CtsInputMethodTestCases:EditorInfoTest
Change-Id: Ie04f2349b1157408aa8ed9044aea12ce99132cb4
2020-01-23 02:28:52 +00:00
Hall Liu
36f8b83e45 Merge "Expose OPSTR_READ_DEVICE_IDENTIFIERS" 2020-01-23 01:56:42 +00:00
Cody Kesting
9cd249c11a Merge changes from topic "connectivity-diagnostics-system-server"
* changes:
  Add ConnectivityDiagnosticsManager to System Server.
  Make DataStallReport Parcelable.
  Make ConnectivityReport Parcelable.
2020-01-23 01:56:33 +00:00
TreeHugger Robot
5e06fa09f2 Merge "ConfirmationPrompt: Use default values for UIOptions" 2020-01-23 01:49:50 +00:00
Shu Chen
24c495fa51 Merge "Adds more flags for cursor control features." 2020-01-23 01:24:15 +00:00
Nathan Harold
bdbc3e7e4e Merge "Remove StringNetworkSpecifier" 2020-01-23 01:08:33 +00:00
Dianne Hackborn
6a79f29ce0 Merge "Initial impl issue #143085640: Per-process network access control" 2020-01-23 00:44:14 +00:00
Nicholas Ambur
f771e6c9f6 async enrollment support AlwaysOnHotwordDetector
Added ability for AlwaysOnHotwordDetector to support async enrollment
performed outside of support detected through KeyphraseEnrollmentInfo.

Bug: 147159435
Test: tested enrollment and availability is updated when enrolling
outside of KeyphraseEnrollmentInfo

Change-Id: Ia5d71e90c062ac100d4c6df760acf0d41920853e
2020-01-22 16:40:18 -08:00
Nicholas Ambur
ef84fc4843 add KeyphraseModelManager
Exposes a set of @SystemApi's allowing the active VoiceInteractionService
to enroll voice models.

Bug: 147159435
Test: manual tested enrollment and unenrollment via bundled
hotwordenrollment application and test app.

Change-Id: I94ef3550df236486401a0a6f9de9d874b9bf9b46
2020-01-22 16:40:13 -08:00
Lorenzo Colitti
0a39e0e71a Always set NetworkInfo objects to available.
For all networks, NetworkInfo.isAvailble has basically always
been true for all connected networks. The new NetworkAgent API
sets it to false, and this causes application breakage. Always
set it to true.

Bug: 148126438
Test: builds, boots, searching in maps works again
Change-Id: Ia9876b0ce7f02120bd05cab526346cad22cf62b3
2020-01-23 09:35:55 +09:00
Rob Carr
5c8b722dc5 Merge changes from topics "scvhpapi", "wwm-api-3"
* changes:
  Unhide SurfaceControlViewHost API
  SurfaceView: Add reparentSurfacePackage method
2020-01-23 00:34:10 +00:00
Hall Liu
6b06a38e3a Expose OPSTR_READ_DEVICE_IDENTIFIERS
Expose the constant for use in Telephony.
Also replace a usage of a hidden UserHandle API with a systemapi
equivalent.

Bug: 146834818
Test: atest SmsApplicationTests
Change-Id: I569d921abf923c384d7e771e2fc28f54e0dbfdd1
2020-01-22 16:20:23 -08:00
Sam Lin
cc6db40d86 Merge "Add Vulkan dEQP level feature flag" 2020-01-23 00:18:54 +00:00
Remi NGUYEN VAN
a96f449ce2 Merge "Make TetheringManager to system API" 2020-01-23 00:11:49 +00:00
Janis Danisevskis
4ff0964128 ConfirmationPrompt: Use default values for UIOptions
ConfirmationPrompt passes magnified and inverted options to the keystore
service. While gathering the accessibility_display_inversion_enabled
setting, the implementation would throw an exception if this setting was
never set by the user. This causes the font scaling property to be
ignored. This patch uses default values in case the system setting is
not set.

Test: Run CTSVerifier Protected Confirmation test with increased font
      size.

Change-Id: I03a3ef56209c73ca7d2b2527a5f145f744148e38
2020-01-22 16:03:09 -08:00
Jorim Jaggi
dd3304ec3b Fix fraction, and other cleanup
Fraction is now from animation start to end state. This makes it
more in line with other animation fraction meaning. Also, the app
can figure out the animation direction on its own by inspecting
the visibility state when the animation gets prepared.

Also fix some other stuff in WindowInsetsAnimationCallback.

Test: CTS coming soon
Bug: 118118435
Change-Id: I81d36159817719a9b0ee25bb78cfbfddc2029270
2020-01-23 00:36:28 +01:00
Jorim Jaggi
0da8fd165f Force non-floating main app windows to not fit anything
Since we have a better approach of fitting content instead of
setting them on the layout params
(Window.setContentOnApplyWindowInsetsListener), we can now
simplify forcing of filling the screen:

Instead of clearing the fit types when the private flag is set, we
unset the types and straight out reject any params when the client
would like to fit.

Test: DisplayPolicyTests
Bug: 118118435
Change-Id: I845e6b1c81e29ab66a770891d03c62a32418e8cc
2020-01-23 00:27:58 +01:00
yingleiw
20852a15ef Set stateDescription during ProgressBar initialization
onProgressRefresh() is only called when the progress changes. So we should set
stateDescription during initialization.

Test: tested with talkback test app. Without this change, the
stateDescription is not available when we focus on the seekbar. After
the change, the stateDescription is avaiable.

Change-Id: I56071ed28e6917c6bd14162884b10440c6955751
2020-01-22 15:27:57 -08:00
Roshan Pius
5af52d3f3e NetworkScoreManager: Address API review comments
Bug: 147390636
Test: Compiles, device boots up and connects to wifi networks.
Change-Id: I17258fb333a9bee7eae8ad6488ffeb35dee72ac6
2020-01-22 14:58:59 -08:00
Santiago Etchebehere
0ec06391e2 Merge "[Zoom-out 1/N] Add API in WallpaperManager" 2020-01-22 22:35:43 +00:00
Alastair Donaldson
8af0b970cb Add Vulkan dEQP level feature flag
This change adds a feature flag that specifies the date associated
with the Vulkan dEQP tests that a device claims to pass.

Bug: 136573508

Change-Id: I0cec29fe5f69f228faaa2298b7f5b65bcf988dba
2020-01-22 22:19:55 +00:00
TreeHugger Robot
3d004d168c Merge "Rewrite R constants before creating Application" 2020-01-22 22:08:41 +00:00
TreeHugger Robot
c4035ef38d Merge "Show RemoteInput images in notification history." 2020-01-22 22:05:00 +00:00
Automerger Merge Worker
8030e4860e Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard" am: 23deb3367f am: 264da33fe5 am: 4aa1811337
Change-Id: I720267221928468a4aa5579363ad4eb341f97389
2020-01-22 21:49:25 +00:00
Automerger Merge Worker
81d8b9cea0 Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable" am: b4dbfff366 am: 5a607f2666 am: 8371addcb4
Change-Id: Ib5c91460b57d58fad612c6bab74009b9282485bd
2020-01-22 21:48:33 +00:00
Rahul Sabnis
264da33fe5 Merge "Add @RequiresPermission annotation to SystemApis in BluetoothPan, open up close method as a SystemApi, and BluetoothPan class now implements AutoCloseable and CloseGuard"
am: 23deb3367f

Change-Id: Iaab890dc9ebefabbcb7809fe2e83221f11d7d9f0
2020-01-22 13:21:55 -08:00
Kweku Adams
881254f4cb Merge "Creating new RESTRICTED bucket." 2020-01-22 21:21:09 +00:00
Rahul Sabnis
5a607f2666 Merge "Add error log to BluetoothAdapter.factoryReset() and make BluetoothAdapter.getUuids() marked with @Nullable"
am: b4dbfff366

Change-Id: If06bce0f62fee4121c0e4445178c13458cd4b7c6
2020-01-22 13:17:19 -08:00