OSDN Git Service
Jordan Liu [Tue, 19 Feb 2019 22:42:07 +0000 (14:42 -0800)]
CallAttributes uses the call network type
Instead of the ServiceState.getNetworkType(), since the service state
might not match the RAT of the specific call, we use the radio type from
the ImsCall.
Bug:
124785734
Test: manual
Change-Id: I33f84bb415c943d5b766fcd3a4e8257d8f7c1cfe
Benedict Wong [Thu, 14 Feb 2019 18:37:04 +0000 (18:37 +0000)]
Merge "Add Test Network and Transport types"
Treehugger Robot [Thu, 14 Feb 2019 12:24:32 +0000 (12:24 +0000)]
Merge "Add :frameworks-base-api-current.txt filegroup"
Chiachang Wang [Thu, 14 Feb 2019 07:24:16 +0000 (07:24 +0000)]
Merge "Use ServiceState to get data cell ID"
Colin Cross [Thu, 14 Feb 2019 04:58:42 +0000 (04:58 +0000)]
Merge "Don't run doc-comment-check-docs for update-api"
Treehugger Robot [Thu, 14 Feb 2019 04:55:21 +0000 (04:55 +0000)]
Merge "Add "close" socket option for immediately close socket after finish check captive portal."
Remi NGUYEN VAN [Thu, 14 Feb 2019 03:29:00 +0000 (03:29 +0000)]
Merge "Fix flaky testNattSocketKeepalives"
Remi NGUYEN VAN [Fri, 8 Feb 2019 08:10:50 +0000 (17:10 +0900)]
Fix flaky testNattSocketKeepalives
The test did not wait for the WifiNetworkAgent to disconnect, and there
are reports of flakes where it is still connected in
connectKeepaliveNetwork.
Test: atest FrameworksNetTests
Bug:
124319553
Change-Id: I85968806885c8853ec4f4dbea356366c1af0ea1c
Shuo Qian [Thu, 14 Feb 2019 02:59:09 +0000 (02:59 +0000)]
Merge "Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId"
Chiachang Wang [Thu, 14 Feb 2019 02:57:38 +0000 (02:57 +0000)]
Merge "Add build rule of data stall proto"
Chiachang Wang [Thu, 14 Feb 2019 02:55:03 +0000 (10:55 +0800)]
Add build rule of data stall proto
Bug:
121185319
Bug:
120452078
Test: Build and test against data stall code
Change-Id: I3b243ab947464a431ef205c5f2f30edc883e2963
Hongshik [Fri, 11 Jan 2019 18:09:34 +0000 (03:09 +0900)]
Add "close" socket option for immediately close socket after finish check captive portal.
Unexpected packets are observed after captive portal check. Due to the packets, modem can't fall-back to idle state (modem remained as active state).
It makes unnecessary power consumtion.
To prevent it, "close" option is added in sendHttpProbe()
Test: check socket close.
Change-Id: I5b6987071ad915081846504adbb209eb371fd1c3
Lucas Lin [Thu, 14 Feb 2019 01:40:47 +0000 (01:40 +0000)]
Merge "Clear all lingering notifications when network is disconnected"
Chiachang Wang [Thu, 14 Feb 2019 01:30:58 +0000 (09:30 +0800)]
Use ServiceState to get data cell ID
ServiceState now contains a CellIdentity that can be obtained
specifically from the data subscription, and for PS on cell
only.
This should be used for connectivity level network monitoring
info.
Bug:
123893112
Test: 1. atest NetworkMonitorTest
2. Verify if cell id is correct
Change-Id: Ieb00de84a0d518e3197e3884f946b872e998304a
Colin Cross [Thu, 14 Feb 2019 01:22:47 +0000 (17:22 -0800)]
Don't run doc-comment-check-docs for update-api
update-api would be fast except that it spends ~4 minutes doing
doc-comment-check-docs. doc-comment-check-docs isn't really
related to update-api, so lets just remove it.
Fixes:
124386818
Test: m update-api
Change-Id: I0f5311e98063786671c0d8b6a8db52351d9fcfd7
Treehugger Robot [Thu, 14 Feb 2019 01:19:50 +0000 (01:19 +0000)]
Merge "Enable DOM storage API for CaptivePortalLoginActivity"
sqian [Wed, 13 Feb 2019 22:41:44 +0000 (14:41 -0800)]
Call e.rethrowFromSystemServer() to exception of setDefaultSmsSubId
Test: Treehugger
Bug:
123927534
Change-Id: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
Merged-In: Ica15965cb904b758e078b8439e5e9d3f39b9c0a2
(cherry picked from commit
04e94fcb0a41a50dce82f20a603b71614c3f5ed0)
Jordan Liu [Thu, 14 Feb 2019 00:14:11 +0000 (00:14 +0000)]
Merge "Add UNINITIALIZED and rename INVALID"
Hall Liu [Wed, 13 Feb 2019 23:21:43 +0000 (23:21 +0000)]
Merge "Implement more location checks"
Treehugger Robot [Wed, 13 Feb 2019 22:26:10 +0000 (22:26 +0000)]
Pengquan Meng [Wed, 13 Feb 2019 22:23:16 +0000 (22:23 +0000)]
Merge "Add getSlotsMapping to TelephonyManager"
Hui Yu [Wed, 13 Feb 2019 20:29:38 +0000 (12:29 -0800)]
Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master
Bug: None.
Test: NA.
Change-Id: I04ebbaa3c2f939b139f0b8b6f25777383fd42375
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2
Hui Yu [Wed, 13 Feb 2019 20:23:03 +0000 (20:23 +0000)]
Merge "Revert "RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master""
Hui Yu [Wed, 13 Feb 2019 20:10:27 +0000 (20:10 +0000)]
Revert "RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"
This reverts commit
a738111eeea622a25cb50ed7bcae5cbf0218b137.
Reason for revert: mistakenly used "RESTRICT AUTOMERGE" on the title.
Change-Id: I7ec9917887763912114405ba89eb5f0fac328d97
Jordan Liu [Wed, 13 Feb 2019 19:26:58 +0000 (19:26 +0000)]
Merge "Update documentation for SubscriptionManager listener"
Tianjie Xu [Wed, 13 Feb 2019 19:18:01 +0000 (19:18 +0000)]
Merge "Improved wipe reason information for RecoverySystem"
Hall Liu [Tue, 27 Nov 2018 22:36:51 +0000 (14:36 -0800)]
Implement more location checks
Make the following modifications to APIs and required permissions.
Move the following APIs from checking coarse permission to fine
permission (except for apps targeting pre-Q):
TelephonyManager.getCellLocation()
(deprecated) TelephonyManager.getNeighboringCellInfo()
TelephonyManager.getAllCellInfo()
TelephonyManager.requestCellInfoUpdate()
PhoneStateListener#onCellLocationChanged
PhoneStateListener#onCellInfoChanged
Start checking for fine permission on the following APIs:
(Note -- these will only be logged, not denied until a future CL)
TelephonyManager.requestNetworkScan()
TelephonyScanManager.requestNetworkScan()
NetworkScanCallback#onResults
Start checking for coarse permission on the following APIs:
(Note -- these will only be logged, not denied until a future CL)
TelephonyManager#getAvailableNetworks
TelephonyManager#getServiceStateForSubscriber and #getServiceState
PhoneStateListener#onServiceStateChanged
Bug:
116258458
Test: manual via testapps
Change-Id: I45326ddacbcf538da50ca544d67eed12cf0c0861
Nathan Harold [Wed, 13 Feb 2019 18:17:36 +0000 (18:17 +0000)]
Merge "Add missing UARFCN Getter to CellIdentityTdscdma"
Fan Zhang [Wed, 13 Feb 2019 18:04:09 +0000 (18:04 +0000)]
Merge "Revert "Enable static overlay for SettingsLib resources""
Fan Zhang [Wed, 13 Feb 2019 18:00:16 +0000 (18:00 +0000)]
Revert "Enable static overlay for SettingsLib resources"
This reverts commit
6828b0f191e49859345d81694282e1dcda599462.
Fixes:
124370422
Reason for revert: b/
124370422
Error:
The following topic from AOSP:
https://android-review.googlesource.com/q/topic:%
22116821732%22+(status:open%20OR%20status:merged)
Has broken several builds (test_suites_x86_64, build_test, docs) with the following error:
FAILED:
build/make/core/aapt2.mk:33: error: overriding commands for target `out/target/common/obj/APPS/SetupWraith_intermediates/flat-res/frameworks/base/packages/SettingsLib/res/color_batterymeter_bolt_color.xml.flat', previously defined at build/make/core/aapt2.mk:33
05:05:47 ckati failed with: exit status 1
make: *** [run_soong_ui] Error 1
Return Code: 2
Change-Id: I9b980c512eb354f87470bcefe1df095fc5c9a807
Jordan Liu [Fri, 1 Feb 2019 22:15:05 +0000 (14:15 -0800)]
Add UNINITIALIZED and rename INVALID
UNINITIALIZED_CARD_ID is for before the card ID is ready.
INVALID_CARD_ID is renamed to UNSUPPORTED_CARD_ID and it is used if the
card ID is known to be unsupported.
Bug:
122978614
Test: atest UiccControllerTest
Change-Id: Ia2315d9b38ef35b30d9b96b6436c08fa4404e4df
Merged-In: Ia2315d9b38ef35b30d9b96b6436c08fa4404e4df
Blake Kragten [Wed, 13 Feb 2019 17:21:30 +0000 (17:21 +0000)]
Merge "Modem power monitor"
Blake Kragten [Tue, 12 Feb 2019 19:16:49 +0000 (11:16 -0800)]
Modem power monitor
This is an AOSP carry over for the frameworks base CL. This change is needed here to allow telephony changes to be added to AOSP with no issues.
Adding monitored power rail as a new cellular battery stats component. This will be used to better determine actual power usage of the modem rather than relying on battery reduction rates.
If the device does not support rail power monitoring then this value
will always remain at 0.
Test: adb shell dumpsys activity service TelephonyDebugService --metrics
Results Examples:
Energy consumed by modem (mAh): 2.41
Change-Id: If85af2f2e1b255661e189c5375ecc5825be84c58
Paul Duffin [Mon, 11 Feb 2019 16:13:25 +0000 (16:13 +0000)]
Add :frameworks-base-api-current.txt filegroup
Needed by external/apache-http/Android.bp.
Bug:
119021844
Test: make checkbuild
Change-Id: Iab599d0e85524d2efa0aee9358a602e3da9931ad
Paul Duffin [Wed, 13 Feb 2019 10:12:46 +0000 (10:12 +0000)]
Merge "Use filegroup name not contents in $(location ...)"
Hans Boehm [Wed, 13 Feb 2019 05:14:43 +0000 (05:14 +0000)]
Merge "Adjust AsyncTask.THREAD_POOL_EXECUTOR config"
Treehugger Robot [Wed, 13 Feb 2019 03:55:47 +0000 (03:55 +0000)]
Merge "Added backwards compatibility support for data reg"
lucaslin [Tue, 12 Feb 2019 07:30:13 +0000 (15:30 +0800)]
Clear all lingering notifications when network is disconnected
In aosp/861571, it tried to refine the design to prevent the
lingering notification is cleared unexpectedly. However, all
notifications should be cleared when network is disconnected.
Refine the design by clearing all lingering notifications when
network is disconnected.
Bug:
123488640
Bug:
123537643
Test: 1.Build pass
2.atest FrameworksNetTests
3.Connect to a hotspot which doesn't have internet,
after getting "NO_INTERNET" notification, disconnect
the wifi and check if "NO_INTERNET" notification will
be cleared or not.
Change-Id: Iac45ec186cf81915c318dba37f43136609d579f6
Mark Chien [Wed, 13 Feb 2019 02:29:01 +0000 (02:29 +0000)]
Merge "Support multi-SIM entitlement check"
Treehugger Robot [Wed, 13 Feb 2019 02:17:35 +0000 (02:17 +0000)]
Merge changes from topic "cut_dependency"
* changes:
Revert "Delay start of bootanimation until after the Runtime APEX is mounted."
Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge
Yutaro Maruyama [Fri, 30 Mar 2018 04:36:37 +0000 (12:36 +0800)]
Improved wipe reason information for RecoverySystem
More information will be useful to investigate unintentional wipe
for users. Added timestamp information into reason text.
Bug:
120586954
Change-Id: I26dd4eff815d736bf34e944be6843cbb80515ca9
Po-Chien Hsueh [Wed, 13 Feb 2019 01:20:26 +0000 (01:20 +0000)]
Merge "Add DynamicAndroidClient"
vichang [Wed, 13 Feb 2019 00:58:37 +0000 (00:58 +0000)]
Merge "Include /apex/com.android.runtime for native library in app classloader"
Pengquan Meng [Wed, 23 Jan 2019 04:06:03 +0000 (20:06 -0800)]
Add getSlotsMapping to TelephonyManager
Bug:
123101769
Test: build
Merged-In: I416d741947b1a15e66ebf71b8104c4b2ec95e310
Change-Id: I416d741947b1a15e66ebf71b8104c4b2ec95e310
(cherry picked from commit
83e7b920deec8d163c3ddd9c56343ce8bcea0a9e)
Fan Zhang [Wed, 13 Feb 2019 00:12:08 +0000 (00:12 +0000)]
Merge "Enable static overlay for SettingsLib resources"
Remi NGUYEN VAN [Wed, 13 Feb 2019 00:10:18 +0000 (00:10 +0000)]
Merge "Check NetworkStack UID and perms before binding"
Brad Ebinger [Tue, 12 Feb 2019 23:55:32 +0000 (23:55 +0000)]
Merge "Telephony: Add 7bit Ascii support for long message"
Hans Boehm [Sat, 2 Feb 2019 01:52:40 +0000 (17:52 -0800)]
Adjust AsyncTask.THREAD_POOL_EXECUTOR config
Remove the queue, reduce core pool size but no longer let it time out.
Reduce the timeout for additional threads.
If necessary, use a special executor, with an unbounded queue, to run
overflow tasks.
Bug:
123762797
Test: AOSP boots, also with MAXIMUM_POOL_SIZE = 1.
Change-Id: I4bc9593a044d1773ff1878684e2397a7c2a9a87a
Chen Xu [Tue, 12 Feb 2019 23:27:36 +0000 (23:27 +0000)]
Merge "Address API feedbacks for networktypebitmask"
Nathan Harold [Tue, 12 Feb 2019 23:18:15 +0000 (23:18 +0000)]
Merge "Add NR Cell Identity to CellIdentityNr"
Treehugger Robot [Tue, 12 Feb 2019 22:48:41 +0000 (22:48 +0000)]
Merge "RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master"
Jack Yu [Thu, 31 Jan 2019 21:30:05 +0000 (13:30 -0800)]
Added backwards compatibility support for data reg
Test: Manual
Bug: Bug:
73659459
Change-Id: Ib254f5bf77cbc429826a58f55babbb971db61175
Nathan Harold [Tue, 12 Feb 2019 18:20:46 +0000 (10:20 -0800)]
Add missing UARFCN Getter to CellIdentityTdscdma
Add a method to get the UARFCN for CellIdentityTdscdma.
There is an equivalent method in all the other classes,
so this is simply correcting an oversight.
Bug:
123957505
Test: atest CellIdentityTdscdmaTest
Change-Id: I743d90b4532b86edb34d267ae55eca73de2a0086
Nathan Harold [Sat, 9 Feb 2019 01:34:43 +0000 (17:34 -0800)]
Add NR Cell Identity to CellIdentityNr
Add the NCI to CellIdentityNr.
Bug:
124126359
Test: atest CellIdentityNrTest
Change-Id: I628048c61d3d6b6e2439357e8233c483a3c0d1d4
Treehugger Robot [Tue, 12 Feb 2019 19:31:18 +0000 (19:31 +0000)]
Merge "Mark FrameMetricsObserver::notify() as pure virtual"
Hui Yu [Fri, 8 Feb 2019 23:28:45 +0000 (15:28 -0800)]
RESTRICT AUTOMERGE: Manually merge
885aca1bbaa076b11914b9e4cb0d2a6d0c6fab3a to aosp-master
To pick up statsd atom ProcessStartTime.
Bug: None.
Test: NA.
Change-Id: If6b99c0b6b501036ffde1e9a45194a039a8d7c73
Merged-In: Ifcc0c80f1da45c2ff89f7c88da6407ba777473e2
chen xu [Mon, 28 Jan 2019 03:41:40 +0000 (19:41 -0800)]
Address API feedbacks for networktypebitmask
1. change networktypebitmask from int to long
2. right shift definition by 1 for each bitmask, in consistent with
NW bitmask used in APN settings
3. add missing definition for IWLAN
Bug:
119118373
Test: atest CtsTelephonyTestCases:TelephonyManagerTest#testGetRadioAccessFamily
Change-Id: Idf0f88225c20fc0ed10ae4fccb705f988a3bec60
(cherry picked from commit
75b486e4c820e4d51c258fea43f959c92d797725)
Merged-in: Idf0f88225c20fc0ed10ae4fccb705f988a3bec60
Treehugger Robot [Tue, 12 Feb 2019 18:35:23 +0000 (18:35 +0000)]
Merge "Schematize ADB system properties"
Jordan Liu [Tue, 12 Feb 2019 18:29:24 +0000 (10:29 -0800)]
Update documentation for SubscriptionManager listener
This will match the documentation in TM.listen() and PhoneStateListener.
Bug:
124204168
Test: no behavior change
Change-Id: Ifde6382e4b6947417a89032805499c48288f8438
Steven Moreland [Tue, 12 Feb 2019 18:29:24 +0000 (18:29 +0000)]
Merge "Remove duplicate networkstack-aidl-interfaces-java"
Steven Moreland [Tue, 12 Feb 2019 17:51:35 +0000 (17:51 +0000)]
Merge "Remove ParcelFileDescriptor.aidl"
Treehugger Robot [Tue, 12 Feb 2019 17:32:40 +0000 (17:32 +0000)]
Merge "Remove unused build variable framework_docs_args"
Jack Yu [Tue, 12 Feb 2019 16:52:48 +0000 (16:52 +0000)]
Merge "Removed unused variables in cat service"
Victor Chang [Thu, 7 Feb 2019 15:20:25 +0000 (15:20 +0000)]
Include /apex/com.android.runtime for native library in app classloader
Bug:
123702996
Test: Manual test. After moving libicuuc.so into the apex path,
call System.loadLibrary("icuuc") in test app
Test: CtsJniTestCases pass after moving libicuuc into apex and applied
CTS patch here. http://r.android.com/898053
Change-Id: Ic9049c1595b4ea029ec65649c3f3283672744569
Paul Duffin [Mon, 11 Feb 2019 15:40:28 +0000 (15:40 +0000)]
Use filegroup name not contents in $(location ...)
Bug:
124218911
Test: make checkbuild
Change-Id: I0427ed4c73e4cf06f09b520a886ccf6ed0d150b2
Paul Duffin [Tue, 12 Feb 2019 12:37:20 +0000 (12:37 +0000)]
Remove unused build variable framework_docs_args
Bug:
124218911
Test: make checkbuild
Change-Id: I39c73bc8bee3824161e91967ec187ce60e838b48
Jiyong Park [Mon, 28 Jan 2019 15:44:19 +0000 (00:44 +0900)]
Revert "Delay start of bootanimation until after the Runtime APEX is mounted."
This reverts commit
d848183572d7c347937b871e9d341e0938d8764b.
Reason: the static deps to libnativeloader and libnativebridge no longer
exist
Bug:
123403798
Test: Device boots to the UI
Test: bootanimation is shown from the very beginning
Change-Id: I1a3f214b1d9a19520998c7d1f2d288465a831892
Jiyong Park [Mon, 28 Jan 2019 15:39:04 +0000 (00:39 +0900)]
Cut the static deps from libandroid_runtime to libnativeloader and libnativebridge
The dependencies are replaced with *_lazy libraries which dynamically
load and links to the real libraries at runtime using dlopen and dlsym.
This allows libandroid_runtime to be used by early processes that are executed
before the activation of the runtime APEX where libnativeloader and
libnativebridge are provided.
Bug:
123403798
Test: m
Test: device boots to the UI
Change-Id: I89a11bd0e9bef77db5da6d80840728b9a6f2a528
Leland Miller [Tue, 12 Feb 2019 08:54:04 +0000 (08:54 +0000)]
Merge "Add getOrCreateCanonicalAddressId"
markchien [Tue, 8 Jan 2019 15:52:21 +0000 (23:52 +0800)]
Support multi-SIM entitlement check
1. Trigger entitlement recheck when perferred SIM switch.
2. Get resources from preferred SIM's subId to build
TetheringConfiguration.
Bug:
120069528
Bug:
122108346
Test: -atest FrameworksNetTests
-build, flash, booted
-manual hotspot hotspot with DSDS switch
Change-Id: Icbfa8e84d675c95c0c5563087490ca8e36d91b73
Merged-in: Icbfa8e84d675c95c0c5563087490ca8e36d91b73
Remi NGUYEN VAN [Tue, 12 Feb 2019 04:47:43 +0000 (04:47 +0000)]
Merge "Remove INTERACT_ACROSS_USERS_FULL for NetworkStack"
Remi NGUYEN VAN [Tue, 12 Feb 2019 03:58:09 +0000 (03:58 +0000)]
Merge "Remove hard-coded NetworkStack package name"
Treehugger Robot [Tue, 12 Feb 2019 03:42:40 +0000 (03:42 +0000)]
Merge "Grant Shell ability to clear instant app"
Treehugger Robot [Tue, 12 Feb 2019 03:36:58 +0000 (03:36 +0000)]
Merge "Unzip offline-sdk-docs for m offline-sdk-docs or m docs"
Pengquan Meng [Tue, 12 Feb 2019 03:08:57 +0000 (03:08 +0000)]
Merge "Add get/set PreferredNetworkTypeBitmap"
Kiyoung Kim [Thu, 27 Dec 2018 05:29:54 +0000 (14:29 +0900)]
Schematize ADB system properties
Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.
Bug:
117924132
Test: m -j
Change-Id: I654c0e1f234d097a66f79ba8c019b8bebc794816
Merged-In: I654c0e1f234d097a66f79ba8c019b8bebc794816
Steven Moreland [Tue, 12 Feb 2019 02:54:09 +0000 (18:54 -0800)]
Remove ParcelFileDescriptor.aidl
This is now a built-in type in AIDL.
Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 01:24:44 +0000 (01:24 +0000)]
Merge "Convert Android.mk file to Android.bp"
Steven Moreland [Tue, 12 Feb 2019 01:11:54 +0000 (17:11 -0800)]
Remove duplicate networkstack-aidl-interfaces-java
Bug: N/A
Test: N/A
Change-Id: Id34a25e54f742d20e7d451e88d2712c9ed9cdd05
Nazanin Bakhshi [Tue, 12 Feb 2019 00:37:43 +0000 (00:37 +0000)]
Merge "Make isRebootRequiredForModemConfigChange SystemApi"
Treehugger Robot [Tue, 12 Feb 2019 00:33:34 +0000 (00:33 +0000)]
Merge "Convert Android.mk file to Android.bp"
Joseph Pirozzo [Tue, 12 Feb 2019 00:29:30 +0000 (00:29 +0000)]
Merge "Check PBAP Server before disconnecting"
Treehugger Robot [Tue, 12 Feb 2019 00:07:59 +0000 (00:07 +0000)]
Merge "Add owners for accessibility"
Jordan Liu [Mon, 11 Feb 2019 23:57:49 +0000 (23:57 +0000)]
Merge "Clarify PhoneStateListener documentation"
Michele Berionne [Mon, 11 Feb 2019 23:47:25 +0000 (23:47 +0000)]
Merge "Add API to check if a SIM card matches carrier restrictions."
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 23:19:17 +0000 (23:19 +0000)]
Merge changes from topics "
118348832", "
120945564"
* changes:
Adding validationBeforeSwitchSupported in phoneCapability.
Add API to handle user's subscription selection changes.
Sasha Smundak [Mon, 11 Feb 2019 22:41:25 +0000 (14:41 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I52416790e1e4493dd4fe57404095351b8d37ea22
Sasha Smundak [Mon, 11 Feb 2019 22:29:27 +0000 (14:29 -0800)]
Convert Android.mk file to Android.bp
See build/soong/README.md for more information.
Bug:
122332340
Test: treehugger
Change-Id: I07364347c6bf178f2ff84ed64e1c39c97559b99d
Sahin Caliskan [Mon, 11 Feb 2019 22:25:16 +0000 (22:25 +0000)]
Merge "Unhide RcsMessageStore APIs"
Xiangyu/Malcolm Chen [Mon, 11 Feb 2019 22:18:41 +0000 (22:18 +0000)]
Merge "Adding READ_PRECISE_CALL_STATE permission in phone app."
Jack Yu [Mon, 11 Feb 2019 21:48:58 +0000 (13:48 -0800)]
Removed unused variables in cat service
Test: build
Change-Id: I62448494ffddbf2a578302873c8758321766e3d7
Benedict Wong [Thu, 15 Nov 2018 01:40:55 +0000 (17:40 -0800)]
Add Test Network and Transport types
This change adds new network types for testing purposes, signifying a
network with an extremely limited feature set.
Bug:
72950854
Test: Compiles, CTS tests relying on this work correctly.
Change-Id: I06cade6044afd12e0b69ed3c2f160f27f85d43d0
Jordan Liu [Mon, 11 Feb 2019 19:36:49 +0000 (11:36 -0800)]
Clarify PhoneStateListener documentation
onXStateChanged() methods are called when the X state changes, but also
once on initial registration. This is called out in the documentation
for TelephonyManager.listen(), but we should clarify it here too.
Fixes:
124204168
Test: no change to behavior
Change-Id: Ie0fe8c90ff5610597f810d6ba8425138b8a286ee
Nazanin Bakhshi [Fri, 8 Feb 2019 20:45:31 +0000 (12:45 -0800)]
Make isRebootRequiredForModemConfigChange SystemApi
Bug:
124074656
Test: build
Change-Id: I32c6b0786d32b05d690cea862e977e6a2b756c90
Joseph Pirozzo [Thu, 31 Jan 2019 18:58:22 +0000 (10:58 -0800)]
Check PBAP Server before disconnecting
Update disconnect logic to ensure that the proxy to the PBAP server
exists before issueing disconnect. This brings the code in line with
several of the connect calls.
Bug:
123700890
Test: Disable PBAP server from config, and disconnect a paired device.
Change-Id: Ie14feb5c0fb70f1ed68ba21bc12b4d3349933cc6
Leland Miller [Fri, 25 Jan 2019 00:09:10 +0000 (16:09 -0800)]
Add getOrCreateCanonicalAddressId
This is used exclusively for RCS message storage to retrieve canonical
address IDs for participants.
Test: CtsRcsTestCases
Change-Id: Idd935b8d7787db9597b643551714f134d63b33c0
Sahin Caliskan [Thu, 7 Feb 2019 22:46:21 +0000 (14:46 -0800)]
Unhide RcsMessageStore APIs
This change unhides the RcsMessageStore APIs
Test: Existing tests pass. Repo upload didn't complain about anything
API related
Bug:
109759350
Change-Id: Ifc980dd9173df520bad899a7a6681e6da63e46fc
Paul Duffin [Mon, 11 Feb 2019 15:25:55 +0000 (15:25 +0000)]
Merge "Deprecate ref... methods in MethodHandleInfo"
Andrei-Valentin Onea [Mon, 11 Feb 2019 11:26:46 +0000 (11:26 +0000)]
Merge "Fix regression in Dalvik:HEAP_TOTAL"