Commit Graph

431946 Commits

Author SHA1 Message Date
Amit Mahajan
1cc8ffdf8c Merge "Move mms related code from opt/telephony to base/telephony." 2019-11-01 21:52:22 +00:00
Steven Moreland
893a14b67f Merge "VibratorService: support AIDL HAL implementation" 2019-11-01 21:09:52 +00:00
Jordan Liu
6e7e6c5b5a Merge "Add nullable and nonnull annotations" 2019-11-01 21:07:07 +00:00
Shuo Qian
b15fc9bdb6 Merge "Notify OTA Emergency Number Database Installation complete" 2019-11-01 20:56:26 +00:00
Shuo Qian
dfd0429259 Merge "Make getSubIdForPhoneAccountHandle Public" 2019-11-01 20:54:02 +00:00
Treehugger Robot
d4a9d9d275 Merge "Fix crash loop due to broken packages.xml around updated-package" 2019-11-01 20:17:02 +00:00
Amit Mahajan
82f245f3ba Move mms related code from opt/telephony to base/telephony.
In an effort to remove it from telephony-common as that will not be
accessible to other modules, and some of them need mms code like
MmsService, TelephonyProvider, Bluetooth.

Test: basic sanity
Bug: 140763963
Merged-in: I03eda5a5dbd003659a90e2b9f6be9d4c2b767add
Change-Id: I03eda5a5dbd003659a90e2b9f6be9d4c2b767add
(cherry picked from commit fda8bc058c)
2019-11-01 12:47:10 -07:00
Shuo Qian
8fe529bce2 Make getSubIdForPhoneAccountHandle Public
Clean up getSubIdForPhoneAccountHandle without checking
 CAPABILITY_SIM_SUBSCRIPTION

Test: Treehugger
Bug: 143235201
Change-Id: I563760d0e68cbcae597ccd297f184ee9efdf3367
Merged-In: I563760d0e68cbcae597ccd297f184ee9efdf3367
(cherry picked from commit 9ac2d6b08b)
2019-11-01 11:11:46 -07:00
Shuo Qian
f019b21208 Notify OTA Emergency Number Database Installation complete
1) Introduce a system api intent for notifying OTA emergency number
database installation complete
2) Notify the installation complete in ConfigUpdater

Test: Build
Bug: 136027884
Change-Id: I62777e9e2a4a2cc3b5207c504884762768ad08e0
Merged-In: I62777e9e2a4a2cc3b5207c504884762768ad08e0
(cherry picked from commit 00a3710617)
2019-11-01 11:06:56 -07:00
Brad Ebinger
3d8a0ce489 Merge "Add new IRegistrationManager for managing IMS registration" 2019-11-01 18:01:07 +00:00
Brad Ebinger
58c1d5d729 Add new IRegistrationManager for managing IMS registration
Restructure registration API to allow for MMTEL and RCS to
both manage registration callbacks as well as provide new
query APIs for registration state and transport type.

Bug: 122098288
Test: atest GtsTelephonyTestCases
Merged-In: Ia568dcd059c2bcef26462e808088901edf6b072f
Change-Id: Ia568dcd059c2bcef26462e808088901edf6b072f
2019-11-01 09:41:57 -07:00
Treehugger Robot
07fcb99b1f Merge "Regenerate API signature files to correct annotation order" 2019-11-01 13:16:51 +00:00
Remi NGUYEN VAN
0d6c308c39 Merge "Add API to set the sll_protocol on PacketSocket" 2019-11-01 04:34:44 +00:00
Treehugger Robot
80c3a5db12 Merge "Fix netd_aidl_interface compatible problem" 2019-11-01 02:23:31 +00:00
Treehugger Robot
ce698c4ab2 Merge "Fix CellSignalStrengthNr to use SS-RSRP" 2019-11-01 02:08:48 +00:00
Paul Duffin
b4f078e2ea Regenerate API signature files to correct annotation order
This does not change the API in anyway other than to enforce a
consistent, sorted order for all annotations; sorted by qualified
name of the annotation.

A simple bug in metalava meant that annotations were not sorted on an
API item that had exactly two annotations in the source. Fixing the
bug forced the regeneration of the signature files.

Bug: 143556317
Test: m checkbuild

(cherry picked from commit 7ba7991568)

Change-Id: I27795de6a8c83e419cda8807b8551a13bec1db10
Merged-In: I0a3d967571bb2f796f65c96a9ce9121e3538bad9
2019-10-31 23:29:44 +00:00
Amit Mahajan
0a7690ce24 Merge "New APIs for SMSC address" 2019-10-31 23:20:14 +00:00
Colin Cross
e1813e522f Merge "Fix fallthrough warning" 2019-10-31 22:20:40 +00:00
Steven Moreland
583a1beac1 Merge changes Ia639dd01,I12cf8838
* changes:
  Vibrator Service: Support Async Callback APIs
  Vibrator Service: Allow HAL Version Checking
2019-10-31 21:23:55 +00:00
Treehugger Robot
786e7f34fa Merge "[DO NOT MERGE] Get legacy recents working for secondary user" 2019-10-31 21:19:27 +00:00
Jordan Liu
6701839f4a Add nullable and nonnull annotations
Bug: 135956699
Test: m -j20
Change-Id: I8f297a351896b9dc00100e6b3b8953a7f2b4ae90
Merged-In: I852fffebed9b63239a1f383ff4ad09f156fbb39d
2019-10-31 14:11:32 -07:00
Colin Cross
f4e74b8fa0 Fix fallthrough warning
Fix a single fallthrough warning and re-enable -Wimplicit-fallthrough.

Test: m libhwui
Change-Id: I850f53f717417f70c9d0416176d03fd64473d1ba
2019-10-31 13:47:42 -07:00
Treehugger Robot
4221333afe Merge "Services exit fg when bg-restricted app leaves top" 2019-10-31 18:26:35 +00:00
Tyler Gunn
9c3abc4692 Merge "Make Connection.Listener methods package private." 2019-10-31 18:10:16 +00:00
Marco Nelissen
8d132dd384 Merge "Remove unused link libraries from libmedia_jni_utils" 2019-10-31 17:18:51 +00:00
Steven Moreland
4a39e5bc1d VibratorService: support AIDL HAL implementation
Currently, this is with a 1.4 -> aidl shim, but this will be removed
when the 1.4 HAL interface is removed.

Bug: 141828236
Test: the following:
 - device w/ aidl vibrator (cuttlefish) - see logs
 - device w/o aidl vibrator, HIDL vibrator still used

Change-Id: Ib4d9841bae1e0bff3c4196959a9a20e03a4297eb
2019-10-31 09:51:09 -07:00
Harpreet "Eli" Sangha
89ffc2d327 Vibrator Service: Support Async Callback APIs
Bug: 136220871
Test: TBD
Change-Id: Ia639dd01081218db0bc3029316a58a03b9d4d927
(cherry picked from commit 7a4f1d23ea)
Merged-In: Ia639dd01081218db0bc3029316a58a03b9d4d927
2019-10-31 09:51:09 -07:00
Harpreet \"Eli\" Sangha
ce89efbed1 Vibrator Service: Allow HAL Version Checking
Broke up the halCall() API into two components, one that implements the
initial service retrieval and one that implements the retry on
connection loss. This allows the service retrival API to double as test
for supported version with little overhead.

Test: Manually via CLI
Change-Id: I12cf8838e933187d473157c9576d1b13b03913d4
Signed-off-by: Harpreet \"Eli\" Sangha <eliptus@google.com>
(cherry picked from commit e0b7951d63)
Merged-In: I12cf8838e933187d473157c9576d1b13b03913d4
2019-10-31 09:51:09 -07:00
Brad Ebinger
d3e3fab996 Merge "Add new system level APIs for accessing IMS state" 2019-10-31 16:34:27 +00:00
Brad Ebinger
b1b98eaa99 Merge "Remove shell commands for setting default SMS app" 2019-10-31 16:33:00 +00:00
Andrei-Valentin Onea
2c3b1a1010 Merge "Add apis for listing all compat changes" 2019-10-31 13:36:26 +00:00
Mark Chien
259fdbb0b3 Merge "[Tether05] Migrate UpstreamNetworkMonitor into module" 2019-10-31 13:05:32 +00:00
markchien
11467288c6 Fix netd_aidl_interface compatible problem
Both of services.net and services.core statically link
netd_aidl_interface. But they use different version.
Since services.core already include service.net, removing
netd_aidl_interface from service.core.

Bug: 143560726
Bug: 139280289
Test: -build, flash, boot
      -Off/On tethering

Change-Id: Ifa83880ee7ee88ed67f8b638228ef1b0887e201e
2019-10-31 20:50:11 +08:00
Andrei Onea
18041f787d Add apis for listing all compat changes
These apis are required for adding UI in the Developer options for
modifying compatibility change overrides.

Bug: 138280620
Test: atest CompatConfigTest
Change-Id: If55aa68f9bdd6bed0765324e972de3683bacb553
2019-10-31 11:54:13 +00:00
Mark Chien
47db7adcca Merge "[Tether04] Migrate EntitlementManager into module" 2019-10-31 07:33:21 +00:00
Treehugger Robot
450a38b074 Merge "Change AIDL module name" 2019-10-31 06:34:32 +00:00
Jiyong Park
f0cc2aa46f Merge "Build API stub with less number of source files" 2019-10-31 04:44:27 +00:00
Treehugger Robot
c29b5cba29 Merge "Move heap dump sharing to SHELL." 2019-10-31 03:45:50 +00:00
Phil Weaver
f4d1789b81 Merge "a11y: don't crash the system when illegal component name encounted" 2019-10-31 01:29:30 +00:00
Taesu Lee
f7488d0874 New APIs for SMSC address
Added getSmscAddress() and setSmscAddress() to access SMSC address in
(U)SIM through the SmsManager.
getSmscAddress() requires that the calling app is the default SMS app,
or has READ_PRIVILEGED_PHONE_STATE or the carrier privileges.
setSmscAddress() requires that the calling app is the default SMS app,
or has MODIFY_PHONE_STATE or the carrier privileges.

Test: Manual

Change-Id: Icb21aff450f71b30ef6a1181834014bf7b85b8e1
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
2019-10-31 10:14:56 +09:00
Amit Mahajan
ef5e0ad2b4 Merge "Limit FDN Number up to 40 digits for Vodafone" 2019-10-31 00:51:07 +00:00
Brad Ebinger
67e099b9e7 Remove shell commands for setting default SMS app
Use RoleManager shell commands directly instead of telephony
commands for setting the default sms app.

Bug: 142419519
Test: GtsTelephonyTestCases:ImsServiceTest
Merged-In: Ib150ff57ecd0872ba732b273b5e7363375723639
Change-Id: Ib150ff57ecd0872ba732b273b5e7363375723639
2019-10-30 16:38:51 -07:00
Brad Ebinger
5c040e122f Add new system level APIs for accessing IMS state
1) Adds new system APIs that provide more access to IMS state.
2) Remove dependence on IPackageManager, which is not accessible
in mainline.

Bug: 141457496
Bug: 122098288
Test: atest FrameworksTelephonyTests
Merged-In: I17cbad4642ad3099668a354bb2588f2b55602311
Change-Id: I17cbad4642ad3099668a354bb2588f2b55602311
2019-10-30 16:33:52 -07:00
Treehugger Robot
3f5a8f5899 Merge "Add yanmin@ and zhouwenjie@ to incident proto OWNERS list." 2019-10-30 23:29:34 +00:00
Treehugger Robot
1b90887629 Merge "Consolidate ActivityStack#finishCurrentActivityLocked checking" 2019-10-30 14:49:22 +00:00
Marco Nelissen
e83368fcfa Remove unused link libraries from libmedia_jni_utils
Test: build
Change-Id: If11573e26f1b4e610b936d63870da962c8e128a2
2019-10-30 07:48:25 -07:00
markchien
d020e55723 [Tether05] Migrate UpstreamNetworkMonitor into module
Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests
      -atest FrameworksNetTests

Change-Id: Ic1d9deecb66aaba0a4264a57f2e6579ea491ac9b
2019-10-30 12:42:42 +00:00
wilsonshih
d528106fbc Consolidate ActivityStack#finishCurrentActivityLocked checking
This CL is to fix a bug that found in
TransitionSelectionTests#testCloseTask_BothWallpaper_SlowStop may flaky
because when TopActivity launched & call finish(), the activity will destroy
too soon before BottomActivity resume & idle.

When TopActivity launched, suppose BottomActivity's nowVisible state should
be false because both activities are fullscreen activity & TopActivity should
cover BottomActivity.

After TopActivity called finish(), normally the activity should wait for
BottomActivity visible and then destroy, and this test is to verify if
TRANSIT_WALLPAPER_INTRA_CLOSE state will coming when opening & closing animation
target with wallpaper theme are animating case.

But the flakiness may happen if device is in low-performance stage, when
TopActivity launched, system calls setClientHidden for BottomActivity's all
windows to update its viewVisibility but can't update in time, and then
the next relayoutWindow comes, mis-detected BottomActivity's Floating child
window as drawn state, so that can't update BottomActivity's nowVisible
state as invisible with onWindowsGone().

So when TopActivity called finish(), TopActivity will soon going to destroy
state since BottomActivity is still in nowVisible state.

The fix is to add isNextNotYetVisible, if the next activity the nowVisible or visible
is not yet true, which means we need to add the current finishing
activity into stopping list and destory until the next activity idle.

Bug: 140088359
Test: atest TransitionSelectionTests
Change-Id: If1907d71135158bafea69881205f351ab666025e
Merged-In: If1907d71135158bafea69881205f351ab666025e
2019-10-30 20:30:13 +08:00
markchien
f303c5a881 [Tether04] Migrate EntitlementManager into module
Bug: 136040414
Test: -build, flash, boot
      -atest TetheringTests
      -atest FrameworksNetTests

Change-Id: Ifdfc6cd95377351c37946a146b60896f07ece59d
Merged-In: Ifdfc6cd95377351c37946a146b60896f07ece59d
2019-10-30 11:06:28 +00:00
Nicolas Geoffray
555ffd1c0c Merge "Add checks to ensure only the ART memfd file is whitelisted." 2019-10-30 08:24:37 +00:00