Commit Graph

27185 Commits

Author SHA1 Message Date
Alex Johnston
d0343a257b Merge "Add new APIs setAutoTimeZone and getAutoTimeZone" 2019-12-16 15:47:15 +00:00
Alex Johnston
a44d7296a1 Add new APIs setAutoTimeZone and getAutoTimeZone
* Added new API methods setAutoTimeZone and getAutoTimeZone.
* DPCs are recommended to combine these new APIs together with the DISALLOW_CONFIG_DATE_TIME
  restriction to prevent the user from changing auto time zone settings.
* The new methods can also be called by the WP PO (COPE mode).

Bug: 138709470
Test: Manual testing with testdpc and the set auto time zone toggle
      atest com.android.server.devicepolicy.DevicePolicyManagerTest
      atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testSetAutoTimeZone
      atest com.android.cts.devicepolicy.ManagedProfileTest#testParentProfileApiDisabled

Change-Id: I841d31f76a848e9679d2d9087426e1d5bb7efd1d
2019-12-16 14:57:50 +00:00
Tiger Huang
3a70dd663e Merge "Window Manager Flag Migration (7/n)" 2019-12-16 14:52:28 +00:00
Tiger Huang
4a7835ffb6 Window Manager Flag Migration (7/n)
Introduce new APIs in Window/WindowManager.LayoutParams for developers
to decide which types of insets at which side a window should avoid:

    setFitWindowInsetsTypes(@InsetsType int types)
    setFitWindowInsetsSides(@InsetsSide int sides)
    setFitIgnoreVisibility(boolean ignore)

The existing logic in DisplayPolicy.layoutWindowLw uses combinations of
window types, window flags, and system UI flags to decide what frames a
window should have, which is very complex, difficult to maintain, and
should be replaced with the new APIs.

Bug: 118118435
Test: atest InsetsSourceProviderTest InsetsStateControllerTest
            InsetsPolicyTest WindowStateTests CommandQueueTest
            RegisterStatusBarResultTest InsetsFlagsTest
            LightBarControllerTest RegisterStatusBarResultTest
            ViewRootImplTest DisplayPolicyLayoutTests
            DisplayPolicyInsetsTests DisplayPolicyTests
            TaskSnapshotSurfaceTest
Change-Id: I06ddc9d0d2887ba4ded7bb8adbf9c9c0da4bf7b4
2019-12-16 17:08:21 +08:00
Sooraj Sasindran
2cae4e6680 Make requestModemActivityInfo a system api
Make requestModemActivityInfo a system api

Bug: 140908357
Test: Build
Change-Id: Id3db96212af713de09ef761629db86ecd02cfe8a
2019-12-15 18:21:48 +00:00
Robin Lee
75ba497beb Merge "Revert submission" 2019-12-14 03:06:25 +00:00
Hansong Zhang
b62b7b724d Revert submission
Based on Forrest run with earlier base build 6069142, the build with this submission failed apct/bluetooth/instrumentation_test

Reason for revert: Break tests
Bug: 146198238
Change-Id: I65060ca389bf3ae1f107552ca828bfc1e7baa7c1
2019-12-13 22:10:01 +00:00
Automerger Merge Worker
a4268d8a3f Merge "Expose ACTION_EMERGENCY_ASSISTANCE as SystemAPi" am: ba4eb1d6b4 am: 68a76f5c4c am: 75332fe95e
Change-Id: Ib750b17eb79b0d46b9d4e7e1924affe0fa5d015a
2019-12-13 22:03:42 +00:00
Automerger Merge Worker
75332fe95e Merge "Expose ACTION_EMERGENCY_ASSISTANCE as SystemAPi" am: ba4eb1d6b4 am: 68a76f5c4c
Change-Id: I3953180c29faba0bcc14c4c3f6a56a7455ec3a47
2019-12-13 21:47:01 +00:00
Meng Wang
ba4eb1d6b4 Merge "Expose ACTION_EMERGENCY_ASSISTANCE as SystemAPi" 2019-12-13 21:00:21 +00:00
Makoto Onuki
b03866ee72 Merge "System APIs for telephony to expose/obtain binder services" 2019-12-13 20:02:36 +00:00
Ahmed ElArabawy
abdd22ca96 Merge "Wifi: Replace dual_band with 5GHz band support" 2019-12-13 19:46:54 +00:00
Automerger Merge Worker
42b65fdd8b Merge "Resolve BluetoothHearingAid API usages by Settings" am: a83641557b am: 1099497d45 am: 4c1644cdf0
Change-Id: Ie745f5cf0c48a5b15098ef3a8a157c9edb9d3a1c
2019-12-13 19:10:55 +00:00
Ying Xu
3ddd328c9a Merge "Expose the onCarrierPrivilegedAppsChanged as SystemApi" 2019-12-13 18:58:13 +00:00
Automerger Merge Worker
4c1644cdf0 Merge "Resolve BluetoothHearingAid API usages by Settings" am: a83641557b am: 1099497d45
Change-Id: I4708867d2e125bfa1adc27cf18817a5e7d90046d
2019-12-13 18:50:48 +00:00
Treehugger Robot
a83641557b Merge "Resolve BluetoothHearingAid API usages by Settings" 2019-12-13 18:15:36 +00:00
Santiago Seifert
10f905e1de Merge "Add MediaParser.TrackData object" 2019-12-13 14:54:56 +00:00
Alan Stokes
ef055fc65c Merge "Pass initiatingPackageName to verifier." 2019-12-13 14:43:17 +00:00
Automerger Merge Worker
c343a5e019 Merge "TIF: Add TvInputService#onHdmiDeviceUpdated()" am: efacbc6cc8 am: c08c2563cf am: c93513a768
Change-Id: Ibf313f658b0335b281dca4ec1cc5dc85322c3582
2019-12-13 10:39:42 +00:00
Automerger Merge Worker
c93513a768 Merge "TIF: Add TvInputService#onHdmiDeviceUpdated()" am: efacbc6cc8 am: c08c2563cf
Change-Id: I9a223167038bb241aeaf0912d31f869c1cc4977b
2019-12-13 10:16:54 +00:00
Galia Peycheva
a4aff1e1df Merge "Add minimal post processing API to framework" 2019-12-13 10:09:00 +00:00
Ahmed ElArabawy
9f8d8061ab Wifi: Replace dual_band with 5GHz band support
As part of the support of the 6GHz band, the concept of dual-band is no
longer valid since we have more than 2 bands supported by Android and
can be checked on the device.
This commit replaces checks on dual-band support with an explicit check
on 5GHz band support.
This commit also removes the feature flags of 5GHz/6GHz support, since
these capabilities will be read from the overlay configs.

Bug: 145936758
Bug: 139354972
Test: Manual
Change-Id: I223ed2bc88c01f561d31abce4e2c91aa62da186f
Merged-In: I223ed2bc88c01f561d31abce4e2c91aa62da186f
2019-12-13 08:38:56 +00:00
Treehugger Robot
efacbc6cc8 Merge "TIF: Add TvInputService#onHdmiDeviceUpdated()" 2019-12-13 08:33:25 +00:00
TreeHugger Robot
fa4ea4eb40 Merge "wifi: Return SoftApConfiguration for cloud restore." 2019-12-13 06:04:39 +00:00
TreeHugger Robot
3de47e4a86 Merge "BatteryStatsManager: Move constants from @hide BatteryStats" 2019-12-13 04:14:53 +00:00
Automerger Merge Worker
6e94d2cfbf Merge "Supplementary Services(SS) gray out when airplane mode on in Call Settings menu." am: 4b30f26d79 am: f91708e02d
Change-Id: I3dbc97a8fc87b2efa3a6a9b8afe1ab56e6a431b1
2019-12-13 03:42:24 +00:00
Xiangyu/Malcolm Chen
a98a66fb04 Merge "Define a telephony database column for uicc applications enabled or not." 2019-12-13 03:31:33 +00:00
SongFerng Wang
4b30f26d79 Merge "Supplementary Services(SS) gray out when airplane mode on in Call Settings menu." 2019-12-13 03:19:59 +00:00
Kyeongkab.Nam
f6d1e09fd7 TIF: Add TvInputService#onHdmiDeviceUpdated()
Add API to update device infos to TvInputInfo.

Bug: 145047101
Test: Manual
Change-Id: I67438193cc00d3bf76b8ebaa02869b6ff4e04b77
2019-12-13 02:06:12 +00:00
Automerger Merge Worker
48ca7bd220 Add API to send background intent am: d0f439c43b am: 10373f032e
Change-Id: Ic2a496c962ccc2ad2475427adab6dc8dbbf2087c
2019-12-13 00:27:45 +00:00
Jordan Liu
10373f032e Add API to send background intent
am: d0f439c43b

Change-Id: I82352ac4247dc785efef4c006a440d56e514f575
2019-12-12 16:02:48 -08:00
Automerger Merge Worker
00d15617ed Merge "Deprecate incorrect year constant" am: 9fbb152eb2 am: 2b446998a1 am: 2c8f4df701
Change-Id: I4ee9f166508b4aaa2b99935e3dbc4307b18a7b0f
2019-12-12 23:54:33 +00:00
Matt Pape
89190916ba Merge "Add a DeviceConfig.Properties.Builder class." 2019-12-12 23:49:22 +00:00
Jordan Liu
6bcc4db8c0 Merge changes from topic "cellbroadcastintents"
* changes:
  Do not modify passed in intent
  Add API to send background intent
2019-12-12 23:40:13 +00:00
Automerger Merge Worker
2c8f4df701 Merge "Deprecate incorrect year constant" am: 9fbb152eb2 am: 2b446998a1
Change-Id: I26f759d358c273657f0a0eba180968463e46ac44
2019-12-12 23:39:47 +00:00
Automerger Merge Worker
675c99fbe4 Merge "Add APN type XCAP" am: 7c03a80247 am: d74193446c
Change-Id: Ie74716546ce86dc951e411bff829c1f842cfc51e
2019-12-12 23:39:01 +00:00
Shuo Qian
3ebefd8e8b Merge "Cleanup ITelephony in TelephonyPermissions with new System API. This method is used by Telephony Module for permission checking." 2019-12-12 23:31:00 +00:00
Treehugger Robot
9fbb152eb2 Merge "Deprecate incorrect year constant" 2019-12-12 22:56:13 +00:00
Roshan Pius
9e1e0fc381 BatteryStatsManager: Move constants from @hide BatteryStats
Exposed the @hide constants from BatteryStats used in
BatteryStatsManager as @SystemApi.

Bug: 146009681
Test: Compiles
Change-Id: If1c798181b4c160453c7775bd6bb779b9e81a6ee
2019-12-12 14:47:12 -08:00
Sarah Chin
7c03a80247 Merge "Add APN type XCAP" 2019-12-12 22:39:01 +00:00
Automerger Merge Worker
1b73c9f05d Merge "Resolve BluetoothDevice hidden API usages by Settings" am: ce656f7754 am: 10fd57e659 am: 7daf421abd
Change-Id: Ic45b11120553e256ccc774307a108b94aafbabcc
2019-12-12 21:47:20 +00:00
Nicholas Ambur
e0b8b8cd03 Merge "add SoundTrigger HAL 2.3 per model parameter apis" 2019-12-12 21:37:01 +00:00
Automerger Merge Worker
7daf421abd Merge "Resolve BluetoothDevice hidden API usages by Settings" am: ce656f7754 am: 10fd57e659
Change-Id: I001128eba5499a0a080707d00c1627335eae7514
2019-12-12 21:33:56 +00:00
Treehugger Robot
ce656f7754 Merge "Resolve BluetoothDevice hidden API usages by Settings" 2019-12-12 21:13:46 +00:00
Jordan Liu
d0f439c43b Add API to send background intent
Test: manual
Bug: 144108192
Change-Id: I93c49d377921830a2ae83217a3fbef5026982319
Merged-In: I93c49d377921830a2ae83217a3fbef5026982319
2019-12-12 13:08:12 -08:00
Peter Wang
7319176298 Merge "[Telephony Mainline] Expose MAX_NETWORK_TYPE constant" 2019-12-12 21:03:13 +00:00
Matt Pape
78f4347c6d Add a DeviceConfig.Properties.Builder class.
Test: atest FrameworksCoreTests:DeviceConfigTest
      atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 136135417

Change-Id: I2e1b2d467ba0b0590ef216eb10d42f73ba1ccda0
2019-12-12 12:35:00 -08:00
TreeHugger Robot
4a0dbe942c Merge "Add an exception to setProperties method signature" 2019-12-12 19:57:43 +00:00
Sarah Chin
66ebce9a50 Add APN type XCAP
Test: atest ApnSettingTest
Bug: 73792201
Change-Id: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
Merged-In: I662f743cca3c6b2f919d84cf0570f23a1f6d9791
2019-12-12 11:55:47 -08:00
TreeHugger Robot
6137064d41 Merge "Add admin consent cross-profile package APIs" 2019-12-12 19:53:16 +00:00