Commit Graph

26558 Commits

Author SHA1 Message Date
James Mattis
cb157e8a33 Swap param order in registerSoftApCallback
Moving executor to be the first argument in registerSoftApCallback.

Bug: 144379300
Test: atest FrameworksWifiApiTests:android.net.wifi.WifiManagerTest
Manually on pixel 3

Change-Id: I7074278d16beac422ce7b29d4471b2794fa97825
2019-11-13 21:08:33 -08:00
Soonil Nagarkar
4af3b8d14e Re-add incorrectly removed API
addNmeaListener was incorrectly removed in Q, breaking backwards
compatibility. Re-adding in R so that apps can continue to compile
against R while working on older platforms.

Bug: 141019880
Test: na
Change-Id: I527e73dcdb30fa4af8ca91bcfe113b2aa7bc87a5
2019-11-12 12:09:52 -08:00
Eric Laurent
2d7197fca4 AudioManager: Add call screening audio mode.
Add new audio mode MODE_CALL_SCREENING allowing call screening
to take place while other audio use cases are still active.

Also add API to indicate if the platform supports this audio mode.

Bug: 140384450
Test: make
Change-Id: I056f79580d9c7b4de5eabb6d8d8c917f39162bcd
2019-11-11 17:38:27 -08:00
Shuo Qian
22e878ed38 Merge "Change getSubIdForPhoneAccountHandle to getSubscriptionId" am: 0c0591473b am: c020ac0261
am: 84387eb68b

Change-Id: Ia1cf17e5c6afdc3536054bda865bab43e077fa93
2019-11-11 15:14:30 -08:00
Shuo Qian
c020ac0261 Merge "Change getSubIdForPhoneAccountHandle to getSubscriptionId"
am: 0c0591473b

Change-Id: I2a5d24a2eca31e6e99f9bc794fdf854ac96e4ece
2019-11-11 14:47:24 -08:00
Treehugger Robot
0c0591473b Merge "Change getSubIdForPhoneAccountHandle to getSubscriptionId" 2019-11-11 22:35:45 +00:00
SongFerng Wang
fa3008c39d Merge "[mainline] Expose getTetherApnRequired API as system API"
am: 3887ca1f22

Change-Id: I000c20b8e35165845dd1f8a247002a7fb8f71c3b
2019-11-11 14:33:20 -08:00
Hongming Jin
7909a47e4f Merge "Resources for accessibility system actions." 2019-11-11 22:19:58 +00:00
SongFerng Wang
3887ca1f22 Merge "[mainline] Expose getTetherApnRequired API as system API" 2019-11-11 22:06:49 +00:00
Tyler Gunn
4857c1f9ef Merge "More telephony updates for mainline." 2019-11-11 19:22:46 +00:00
Chen Xu
5a04c0d7b8 Merge "SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent" 2019-11-11 18:33:01 +00:00
Tyler Gunn
00d737bd17 More telephony updates for mainline.
Add new TelecomManager#getDefaultDialerPackage which is multiuse aware;
this is used when showing the voicemail notification.
Remove some @hide methods from Conference; push these inline.
Move ConferenceParticipantConnection into frameworks/opt/net/ims since
it is just an IMS implementation detail.

Bug: 141576016
Test: Manual smoke test.
Test: Run unit tests.
Test: Run CTS tests.
Change-Id: I39b6955cb14cc1ca68b05c620c3d09a2cdfe30c9
2019-11-11 08:28:38 -08:00
Jorim Jaggi
5fdaa0c9af Merge "Remove FEATURE_SWIPE_TO_DISMISS functionality" 2019-11-11 13:10:30 +00:00
Jorim Jaggi
263f6dd52b Merge "Remove PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR" 2019-11-11 12:10:28 +00:00
Jorim Jaggi
a2e648e370 Remove PRIVATE_FLAG_INHERIT_TRANSLUCENT_DECOR
Unused

Test: Boots
Change-Id: I35b6fa41de1da8ac3b3435ec4a8506e88bdd6db7
Bug: 144257103
2019-11-11 10:53:16 +00:00
Zoey Chen
a96a64faaa Merge "Add SystemApi and NonNull annotation" 2019-11-11 03:18:07 +00:00
Jordan Liu
05ffdcf370 Merge "Expose SmsCbLocation and SmsCbMessage constructors" 2019-11-08 22:09:28 +00:00
Hai Zhang
1008aa55e9 Merge "Add config for default holders of call redirection and call screening." 2019-11-08 20:33:24 +00:00
James Mattis
643bbeb147 Merge "Marking SoftApCallback methods as SystemAPI" 2019-11-08 19:24:18 +00:00
Shuo Qian
557393c7eb Change getSubIdForPhoneAccountHandle to getSubscriptionId
Test: Build
Bug: 144097052
Change-Id: I1e31bd469855b800e825b58130c7034222ccfb83
(cherry picked from commit 8ebad8def6a25e0275e704a6a6fc764f9cac061a)
2019-11-08 18:38:23 +00:00
Meng Wang
d4976c4f46 Merge "System API: Context#registerReceiverForAllUsers" 2019-11-08 18:03:02 +00:00
James Mattis
80c86d5c08 Marking SoftApCallback methods as SystemAPI
Making SoftApCallback methods available to @SystemAPI including
the API for registration of a SoftApCallback. This includes updating
registration to use an executor now vs a handler.

Bug: 143564153
Test: atest FrameworksWifiApiTests:android.net.wifi.WifiManagerTest
Also tested manually on a Hawk.

Change-Id: I22b5029a8dbd7a50ad6faf0bb3b15269af839956
2019-11-08 09:39:00 -08:00
Hall Liu
5925c3bb29 Merge "Add new SystemApi methods for mainline"
am: f363f3549e

Change-Id: I463ca5c1745b236e5771808e70d77edd744a3714
2019-11-08 07:57:39 -08:00
Treehugger Robot
f363f3549e Merge "Add new SystemApi methods for mainline" 2019-11-08 15:46:53 +00:00
SongFerngWang
fc453e1768 [mainline] Expose getTetherApnRequired API as system API
1. getTetherApnRequired API rename to isTetherApnRequired.
2. Expose isTetherApnRequired API as system API.

Bug: 142365448
Test: Build pass.
      atest TetheringConfigurationTest (PASS)

Change-Id: Iafb2e4fbddb0251e23673742d990ad098a8ae375
Merged-In: Iafb2e4fbddb0251e23673742d990ad098a8ae375
2019-11-08 19:28:33 +08:00
SongFerng Wang
1b3cfb1b88 Merge "[mainline] Expose getTetherApnRequired API as system API" 2019-11-08 11:17:49 +00:00
TreeHugger Robot
79733bbf03 Merge "Update input policy to handle embedded windows" 2019-11-08 10:39:55 +00:00
SongFerngWang
a571f9b827 [mainline] Expose getTetherApnRequired API as system API
1. getTetherApnRequired API rename to isTetherApnRequired.
2. Expose isTetherApnRequired API as system API.

Bug: 142365448
Test: Build pass.
      atest TetheringConfigurationTest (PASS)

Change-Id: Iafb2e4fbddb0251e23673742d990ad098a8ae375
2019-11-08 14:22:38 +08:00
Joanne Chung
b26a6c567a Merge "Allow to use ExtService as TextClassifierService" 2019-11-08 05:15:30 +00:00
Sudheer Shanka
a83671193b Merge "Add a new system service for blob store management." 2019-11-08 04:05:35 +00:00
Joanne Chung
0ad8fe3b87 Merge "Grant permissions to ContentCapture and remove permission for TC." 2019-11-08 01:51:15 +00:00
Hongming Jin
7ca1526289 Resources for accessibility system actions.
Bug:136286274
Test: n/a
Change-Id: I1c70ea3b3a77b7e9a8bedd40f7da87db88c91f74
2019-11-07 17:40:23 -08:00
Hall Liu
d2f962a6db Add new SystemApi methods for mainline
Add new SystemApi methods for Telecom to call in lieu of the old @hide
methods. Also moved CallerInfo and CallerInfoAsyncQuery to Telecom
because there are no more users in Telephony.

Bug: 141576016
Test: CTS
Change-Id: I458ba6bcfc03db72c0419b0cab2f0d0adfa971d4
Merged-In: I458ba6bcfc03db72c0419b0cab2f0d0adfa971d4
2019-11-07 17:22:28 -08:00
Brad Ebinger
9c9c799526 Merge changes from topic "cp_smsmessage"
am: 5a844a16a3

Change-Id: I9c155f360d9164e6ba2c71b5d01937017091aa5f
2019-11-07 16:29:12 -08:00
Hai Zhang
21163f4e36 Add config for default holders of call redirection and call screening.
Test: presubmit
Fixes: 144105784
Change-Id: I581cfa45dd6263593c390556cf49d55c8281daed
2019-11-07 16:22:11 -08:00
Jordan Liu
0d76fbd0d9 Expose SmsCbLocation and SmsCbMessage constructors
Bug: 135956699
Test: manual
Change-Id: Ic2a58005db6f5d01b6769b84b8cf7d5f013bbbf1
2019-11-07 16:21:57 -08:00
Brad Ebinger
5a844a16a3 Merge changes from topic "cp_smsmessage"
* changes:
  Add Verstat support for incoming call number verification.
  Add new result codes
2019-11-08 00:14:37 +00:00
TreeHugger Robot
77e3859ab9 Merge "[Suggestion API] add network callback API" 2019-11-08 00:09:16 +00:00
Vishnu Nair
5cf2531977 Update input policy to handle embedded windows
ANR - If embedded windows are slow in handling inputs the system should blame the embedded app.

PointerDownOutsideFocus - if a user taps outside the currently focused window onto an
embedded window, treat it as if the host window was tapped.

Rename blessInputSurface -> grantInputChannel and add a name to embedded windows.

Bug: 134365580
Test: b WindowlessWmTest
Test: atest CtsWindowManagerDeviceTestCases:WindowlessWmTests

Change-Id: If88970cf6ce17669b41fec995535151a492fab12
2019-11-07 15:54:27 -08:00
Hall Liu
833adffe6d Merge "Add new SystemApi methods for mainline" 2019-11-07 23:47:12 +00:00
Roshan Pius
80f368738d Merge changes from topic "wifi_overlay"
* changes:
  WifiManager: Add @SystemApi for STA/AP MAC randomization
  wifi: Formalize wifi resource usages
2019-11-07 23:17:53 +00:00
Meng Wang
3f9e036f11 System API: Context#registerReceiverForAllUsers
Bug: 141193711
Test: make
Change-Id: Ie692d2ac27474b9fe11f5548bc504aa00c5ad53c
2019-11-07 15:03:13 -08:00
Shuo Qian
913815dbbc Merge "Add CarrierConfigManager APIs to support 5G Signal Strength Threshold" 2019-11-07 22:50:38 +00:00
Chen Xu
d12d535cf7 Merge "expose systemAPI for SmsCbLocation constructor" 2019-11-07 22:44:32 +00:00
Nate(Qiang) Jiang
d076cbcd8d [Suggestion API] add network callback API
Add new API that allow apps to get connection event.

Bug: 142062781
Test: atest android.net.wifi
Test: atest com.android.server.wifi

Change-Id: I387f620901621feb2b15dff7c696d5d3f9a068b9
2019-11-07 14:35:02 -08:00
Chen Xu
9c1260c818 SystemAPI for ACTION_SMS_EMERGENCY_CB_RECEIVED intent
Bug: 135956699
Test: Build
Change-Id: Ic7124f30fae6faa482467fd9235ef6155854f589
2019-11-07 13:41:07 -08:00
Sudheer Shanka
f5b36964e0 Add a new system service for blob store management.
This change adds a bare-bones system service, implementation will follow
later.

Bug: 143559646
Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java
Change-Id: Idf21dfcd11dd32a42b62c6ad965d6f5ad7eed1b4
2019-11-07 13:37:14 -08:00
Hall Liu
e2f17aad5e Add new SystemApi methods for mainline
Add new SystemApi methods for Telecom to call in lieu of the old @hide
methods. Also moved CallerInfo and CallerInfoAsyncQuery to Telecom
because there are no more users in Telephony.

Bug: 141576016
Test: CTS
Change-Id: I458ba6bcfc03db72c0419b0cab2f0d0adfa971d4
2019-11-07 13:34:11 -08:00
Charles Munger
e4eb721481 Merge "Deprecate AsyncTask" am: c26568d8a7 am: e668533570
am: 0afcd8f4df

Change-Id: Ic43d6f6f8f3ffe2f932af4aa677824f2ef509d30
2019-11-07 11:42:48 -08:00
Rahul Sabnis
c4e279894c Merge "Refactor BluetoothAdapter APIs used by Settings" am: 8ab35ca19d am: 5414c1705e
am: 0c91cb29bf

Change-Id: Ib85fecb62d22009b2b6c03ec694b79e3f168619d
2019-11-07 11:24:36 -08:00