OSDN Git Service
Dan Zhang [Thu, 15 Mar 2018 01:49:37 +0000 (01:49 +0000)]
Merge "Add RequestShortAudioDescriptorAction. [1/2]"
Treehugger Robot [Wed, 14 Mar 2018 21:59:58 +0000 (21:59 +0000)]
Merge "Add API to check extended APDU Supported"
Treehugger Robot [Wed, 14 Mar 2018 19:47:44 +0000 (19:47 +0000)]
Merge "Catch the RuntimeException for stopScan()"
Treehugger Robot [Wed, 14 Mar 2018 19:46:51 +0000 (19:46 +0000)]
Merge "Fix a bug when calling onError(int)"
yinxu [Mon, 12 Mar 2018 21:07:49 +0000 (14:07 -0700)]
Fix a bug when calling onError(int)
The lambda expression is executed on executor, so it is possible that
the message has been updated. The correct way is to fetch the
message.arg1 and use that value in the lamda expression.
This is a clean cherry-pick from
https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/
3725360
Bug:
73750871
Test: Unit Test
Change-Id: Id13f5fabf7eaad6970ab66a83a17aba7f1eebfce
Merged-in: Id13f5fabf7eaad6970ab66a83a17aba7f1eebfce
(cherry picked from commit
db18cdae661b87ff2de3847947906da735f8d5eb)
yinxu [Mon, 12 Mar 2018 22:55:28 +0000 (15:55 -0700)]
Catch the RuntimeException for stopScan()
Some RuntimeExceptions will be thrown across the binder so we need to
catch RuntimeException even we already catch the RemoteException.
This is a clean cherry-pick from
https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/
3725821
Bug:
73750871
Test: Unit Test
Change-Id: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95
Merged-in: Ib72e5ce0f20fbbe913b054314ed3942862c0ab95
(cherry picked from commit
7ea1a49c0aa1bb9bd990060a193507e5e4d0c292)
Treehugger Robot [Wed, 14 Mar 2018 15:35:41 +0000 (15:35 +0000)]
Merge changes I14df050f,I55c30f78,I269eae0f
* changes:
Frameworks: Refactor FileDescriptorTable errors
Frameworks: Add app name to zygote abort
Frameworks: Refactor zygote abort code
Tyler Gunn [Wed, 14 Mar 2018 14:59:52 +0000 (14:59 +0000)]
Merge "Update API docs for Telephony call state reporting."
Treehugger Robot [Wed, 14 Mar 2018 10:09:00 +0000 (10:09 +0000)]
Merge "Add PrintRecommendationService to hidden API package whitelist"
Qingxi Li [Wed, 7 Mar 2018 18:50:02 +0000 (10:50 -0800)]
Add API to check extended APDU Supported
Add API UiccSlotInfo#getIsExtendedApduSupported
Bug:
68999147
Test: TreeHugger & E2E
Change-Id: Ia400a23c35332356deaa214861f6f5ffe47c8092
Merged-In: Ia400a23c35332356deaa214861f6f5ffe47c8092
Treehugger Robot [Wed, 14 Mar 2018 01:21:43 +0000 (01:21 +0000)]
Merge "DO NOT MERGE: Add to dummy StatsLog class"
Treehugger Robot [Wed, 14 Mar 2018 00:10:12 +0000 (00:10 +0000)]
Merge "Allow carrier privileged apps to access Telephony/Subscription APIs."
Treehugger Robot [Wed, 14 Mar 2018 00:01:54 +0000 (00:01 +0000)]
Merge "access bar notification rename"
Tyler Gunn [Tue, 13 Mar 2018 22:56:37 +0000 (15:56 -0700)]
Update API docs for Telephony call state reporting.
Update TelephonyManager#getCallState,
PhoneStateListener#onCallStateChanged to make it clear which calls each
method considers in determining call state.
Added intdef for call state (allows auto doc generation of valid
values for parameters).
Test: make docs
Bug:
73245376
Change-Id: I70ebd0f00ae3f0e1370ae275be8f8ef6f008523d
Tej Singh [Sat, 10 Mar 2018 02:04:50 +0000 (18:04 -0800)]
DO NOT MERGE: Add to dummy StatsLog class
Changing some of the atoms, so changing the corresponding write method.
Test: build on Marlin
Change-Id: I0fe8418caad7df97dc8f9fed13a9dc423d9c50f6
fionaxu [Tue, 13 Mar 2018 01:26:05 +0000 (18:26 -0700)]
access bar notification rename
Bug:
37579161
Test: Build
Change-Id: I609826de47dc3fae4dee89d43951269a462c22b2
(cherry picked from commit
d97c30af9410aafa93bae9ff01b4d9d61a15dee3)
Merged-in: I609826de47dc3fae4dee89d43951269a462c22b2
Hall Liu [Tue, 13 Mar 2018 20:10:38 +0000 (20:10 +0000)]
Merge "Add IntDef for MBMS download result"
Hall Liu [Tue, 13 Mar 2018 18:29:33 +0000 (11:29 -0700)]
Add IntDef for MBMS download result
Change-Id: Idd8434e65691fc5d08f5427add6aec1870b76619
Fixes:
74409057
Test: compiles, no functionality change
Treehugger Robot [Tue, 13 Mar 2018 18:28:50 +0000 (18:28 +0000)]
Merge "Carrier id api rename"
Ruchi Kandoi [Tue, 13 Mar 2018 17:56:26 +0000 (17:56 +0000)]
Merge "Remove the UICC specific code from android.se.omapi"
Brad Ebinger [Tue, 13 Mar 2018 16:31:35 +0000 (16:31 +0000)]
Merge "Remove unneeded notify AIDL API"
Brad Ebinger [Tue, 13 Mar 2018 16:30:45 +0000 (16:30 +0000)]
Merge "Remove IMS Emergency Calling availability API"
David Brazdil [Tue, 13 Mar 2018 16:14:03 +0000 (16:14 +0000)]
Add PrintRecommendationService to hidden API package whitelist
This app builds directly against the platform. Add it to the whitelist.
Bug:
64382372
Test: make
Test: device boots
Change-Id: I16574374d2c233221cd1305f031f78aca1947f05
David Brazdil [Tue, 13 Mar 2018 16:07:40 +0000 (16:07 +0000)]
Merge "Add PrintSpooler to system app whitelist"
Andreas Gampe [Mon, 12 Mar 2018 21:53:34 +0000 (14:53 -0700)]
Frameworks: Refactor FileDescriptorTable errors
Surface error messages to the caller.
Bug:
74531335
Test: m
Test: Device boots
Change-Id: I14df050feb7f5417bb08d190492c3050cdbb1c1d
Andreas Gampe [Mon, 12 Mar 2018 19:17:25 +0000 (12:17 -0700)]
Frameworks: Add app name to zygote abort
If possible, add the target process name to the zygote abort.
Bug:
74531335
Test: m
Test: Device boots
Test: Manual - fake a failure
Change-Id: I55c30f78246876fdc1b822056351dbbb14c1247e
Andreas Gampe [Mon, 12 Mar 2018 19:08:55 +0000 (12:08 -0700)]
Frameworks: Refactor zygote abort code
Fail in the main fork function. This will simplify follow-ups that
will include more data in the abort.
Bug:
74531335
Test: m
Test: Device boots
Change-Id: I269eae0fb15e96fb27d02d4b7c6fdf7e9e8e3346
Erik Kline [Tue, 13 Mar 2018 11:58:19 +0000 (11:58 +0000)]
Merge "Add new netd event callback for changes to private DNS validation state."
fionaxu [Thu, 8 Mar 2018 05:52:05 +0000 (21:52 -0800)]
Carrier id api rename
Rename getAndroidCarrierIdForSubscription to getSimCarrierId.
Drop prefix "Android" as Android is implicit everywhere.
Rename carrierName to CarrierIdName to imply correlation between
these two APIs. This also helps to differentiate from another API
getSimOperatorName.
Bug:
71584605
Test: build
Change-Id: Iba4b1c21522741b8c11836a4c39004064736b4c6
(cherry picked from commit
c8d483e488b8fb75e997a4a48c632e20cae0f4b7)
Merged-in: Iba4b1c21522741b8c11836a4c39004064736b4c6
Jeff Davidson [Fri, 23 Feb 2018 23:27:46 +0000 (15:27 -0800)]
Allow carrier privileged apps to access Telephony/Subscription APIs.
-All public APIs in TelephonyManager which require READ_PHONE_STATE
will now also be documented to accept carrier privileged callers as
well. (One exception is the change callbacks in each, which will be
addressed in a separate CL).
-For SubscriptionManager, callers without READ_PHONE_STATE will now be
able to access the subscription list; however, the resulting list will
be filtered to only include subscriptions for which the caller has
carrier privileges.
-All @see references to hasCarrierPrivileges have been removed in
favor of an inline {@link}. The @see section is set apart from the
rest of the Javadoc and thus appears out of context of where it's
actually relevant; moreover, it is often placed in the middle of a
line which makes it invalid. Using {@link} inlines the reference where
it's actually relevant.
-@SuppressAutodoc is added to any public method which has a
@RequiresPermission declaration that isn't a sufficient description of
the allowed callers, i.e. for APIs which accept carrier-privileged
callers, or the default dialer app or other exceptional cases. This
ensures redundant (but incorrect) requires permission declarations
aren't autogenerated.
Bug:
70041899
Test: TreeHugger, unit tests in topic
Change-Id: Ia5cc145c19d99fe2b87e3425bb95281980edef6f
Merged-In: Ia5cc145c19d99fe2b87e3425bb95281980edef6f
(cherry picked from commit
bc10ce1efec7819d67cbd4b457ef91ce9db062cb)
Brad Ebinger [Mon, 12 Mar 2018 22:53:47 +0000 (22:53 +0000)]
Merge "Support Dynamic ImsService Querying"
Jordan Liu [Mon, 12 Mar 2018 21:17:43 +0000 (21:17 +0000)]
Merge "Remove getDefaultSim hidden api"
dalyk [Thu, 8 Mar 2018 21:25:48 +0000 (16:25 -0500)]
Add new netd event callback for changes to private DNS validation state.
Test: None.
Bug:
71828272
Change-Id: Ibf2683b9ff7c6cb69d7f4ad12b8bdff7cf7008f0
Brad Ebinger [Mon, 12 Mar 2018 18:13:26 +0000 (11:13 -0700)]
Remove unneeded notify AIDL API
Removes the notifyImsFeatureReady
API AIDL, it is called when the callback
is set on the specific ImsFeature
interface.
Bug:
74391574
Test: Manual
Change-Id: I8c9cc39fa73861d7a9792709e1517d391230abfa
Gil O'Neil [Mon, 12 Mar 2018 17:28:47 +0000 (17:28 +0000)]
Merge "Make TelephonyManager#{set/get}{Voice/Date}ActivationState SystemApis"
David Brazdil [Fri, 9 Mar 2018 13:39:59 +0000 (13:39 +0000)]
Add PrintSpooler to system app whitelist
This app builds directly against the platform. Add it to the whitelist.
Bug:
64382372
Test: make
Test: device boots
Change-Id: Ia77df2db78adf62a525f08549d71360924f1a3f6
Merged-In: I4c308d93d66391da2d3691eb45e5d7b1c1fdd582
(cherry picked from commit
f7e625c19c8fbf0fc6cac5b7a724fe6548d5821f)
Treehugger Robot [Mon, 12 Mar 2018 07:42:58 +0000 (07:42 +0000)]
Merge "Fixing comments in Network Capabilities"
Chalard Jean [Mon, 12 Mar 2018 06:05:05 +0000 (06:05 +0000)]
Merge "Add the ability to refresh to the captive portal app."
Yoshiaki Naka [Mon, 12 Mar 2018 05:27:34 +0000 (14:27 +0900)]
Remove the UICC specific code from android.se.omapi
It is better to remove the UICC specific code from frameworks/base. The
code will be moved to SecureElementSession.openLogicalChannel().
Bug:
73331557
Test: Confirmed that OMAPI TC 6.4.7 ID3b passed with this change.
Change-Id: I1dda1d741306b417b1b886cdcee5ef89f86390e3
Treehugger Robot [Sat, 10 Mar 2018 02:59:10 +0000 (02:59 +0000)]
Merge "[Performance] Use bool var judge whether the navi-keys enabled"
周雷 [Wed, 28 Feb 2018 08:07:49 +0000 (16:07 +0800)]
[Performance] Use bool var judge whether the navi-keys enabled
if device enabled the system navigation keys,the system
will go to readthe Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED
provider while the driverreport KEYCODE_SYSTEM_NAVIGATION_RIGHT
every times,this operation has a serious impact on performance
Change-Id: Ia30d14c136b7798e2997d43bc601cb361c853e0d
Merged-In: Ia30d14c136b7798e2997d43bc601cb361c853e0d
Bug:
74392035
Signed-off-by: 周雷 <zhoulei5@xiaomi.com>
Treehugger Robot [Sat, 10 Mar 2018 00:40:19 +0000 (00:40 +0000)]
Merge "Fix mLteSignalStrength range check"
Jordan Liu [Sat, 10 Mar 2018 00:08:21 +0000 (16:08 -0800)]
Remove getDefaultSim hidden api
It just returns 0 and is misleading, as sim id is not really a thing.
Bug:
74450373
Test: manual
Change-Id: I90bd1bf06e5318c31798bf3d216c558db3922441
Jordan Liu [Fri, 9 Mar 2018 00:34:03 +0000 (16:34 -0800)]
Fix mLteSignalStrength range check
The previous check is wrong based on the spec, and does not match the
HAL definition either.
Change-Id: Idb1c209f11a76421d477f8a1d270e23d86d621b1
Fixes:
74026897
Test: manual
Treehugger Robot [Fri, 9 Mar 2018 22:33:27 +0000 (22:33 +0000)]
Merge "Convert api-stubs, system-api-stubs, and test-api-stubs target"
Chris Tate [Fri, 9 Mar 2018 21:26:20 +0000 (21:26 +0000)]
Merge "Defer deleting a http cache"
Eric Schwarzenbach [Fri, 9 Mar 2018 21:19:10 +0000 (21:19 +0000)]
Merge "Add Duplex mode to ServiceState."
Cassie Han [Fri, 9 Mar 2018 20:29:41 +0000 (20:29 +0000)]
Merge "Cherrypick "Add device config to decide which Auto Selection Network UI to use.""
Treehugger Robot [Fri, 9 Mar 2018 20:06:24 +0000 (20:06 +0000)]
Merge "PackageManager: Avoid null access"
Pavel Maltsev [Wed, 7 Mar 2018 19:13:04 +0000 (11:13 -0800)]
Fixing comments in Network Capabilities
Clean up after aosp/606338
Test: m -j (only comments has been changed)
Change-Id: I2627654450244024c2be92f9067534dfc2a80891
Treehugger Robot [Fri, 9 Mar 2018 17:52:50 +0000 (17:52 +0000)]
Merge "Zygote: Set libbase default tag on fork"
Treehugger Robot [Fri, 9 Mar 2018 17:35:53 +0000 (17:35 +0000)]
Merge "SystemUI: Customize wifi indicator for China carriers"
Treehugger Robot [Fri, 9 Mar 2018 16:58:58 +0000 (16:58 +0000)]
Merge "Fix reference to header file in art."
Jordan Liu [Fri, 9 Mar 2018 16:20:09 +0000 (16:20 +0000)]
Merge "Support ENVELOPE (EVENT DOWNLOAD - User activity) command"
Mathew Inwood [Fri, 9 Mar 2018 14:06:08 +0000 (14:06 +0000)]
Fix reference to header file in art.
The definition of the flags has moved at some point, update this comment to
point to the correct location.
Test: make
Change-Id: I2d7caa857e0061115b57a325db18cae605b464ee
Chalard Jean [Fri, 9 Mar 2018 13:28:51 +0000 (22:28 +0900)]
Add the ability to refresh to the captive portal app.
Bug:
69840796
Test: manual
created a small app that brings up the captive portal app,
checked that pulling down does show the refresh spinner,
refresh the page, and hide the spinner when refreshed.
Checked that it works multiple times in a row.
Change-Id: Ieefdaffa9325b0c5f1b02ab6052c29a381f3a4d4
Treehugger Robot [Fri, 9 Mar 2018 12:58:26 +0000 (12:58 +0000)]
Merge "Check if mSurface is valid before create SurfaceSession"
Chalard Jean [Fri, 9 Mar 2018 09:46:11 +0000 (09:46 +0000)]
Merge "Deprecate most of NetworkInfo."
Chalard Jean [Thu, 8 Mar 2018 04:54:53 +0000 (13:54 +0900)]
Deprecate most of NetworkInfo.
getType, getTypeName, isConnectedOrConnecting, isConnected,
isAvaisable, isFailover, isRoaming, getState, getDetailedState,
getReason, and the TYPE_* constants in ConnectivityManager
along with methods that use them are now stacked on a boat
bound for the other side of the Styx.
Test: no code changes
Bug:
62844794
Change-Id: Idd70763de5b1af5580b4734cd443ac4b570069cc
Erik Kline [Fri, 9 Mar 2018 04:49:51 +0000 (04:49 +0000)]
Merge "Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback."
Andreas Gampe [Tue, 6 Mar 2018 01:46:25 +0000 (17:46 -0800)]
PackageManager: Avoid null access
In case cache creation fails, mCacheDir may be null. Avoid an
access.
Bug:
74087079
Test: m
Test: boot under low-space condition
Change-Id: I55836c820ef2c3431e8f06224d6f9edf0e9881ef
Yoshiaki Naka [Fri, 15 Sep 2017 06:24:34 +0000 (15:24 +0900)]
Support ENVELOPE (EVENT DOWNLOAD - User activity) command
The terminal shall send the ENVELOPE (EVENT DOWNLOAD - User activity)
command to the UICC when some user activity like a key-press or touch is
detected if the user activity event is a part of the current event list.
This change allows the SIM Toolkit application to support that event.
Please refer to the specification of SET UP EVENT LIST command described
in ETSI TS 102.223.
Bug:
65884891
Test: Confirmed the expected seq 1.1 of ETSI TS 102.384 TC 27.22.4.16
Change-Id: I7d3faa09cd4625db53bcfe21f90570389a4ea037
Merged-In: I7d3faa09cd4625db53bcfe21f90570389a4ea037
Treehugger Robot [Fri, 9 Mar 2018 00:57:53 +0000 (00:57 +0000)]
Merge "Bluetooth: Separate enable and disable Reasons from package name"
Brad Ebinger [Fri, 9 Mar 2018 00:21:42 +0000 (16:21 -0800)]
Remove IMS Emergency Calling availability API
Moving to an async update model for updating
IMS emergency calling availability, so this
API is unneeded.
Bug:
74389647
Test: Telephony ImsService testapp
Change-Id: Ib7b7dc5b1438f038b370ae9faf152fb15ed4acd5
Mathieu Chartier [Thu, 8 Mar 2018 23:38:47 +0000 (23:38 +0000)]
Merge "Clean up comment"
Tyler Gunn [Thu, 8 Mar 2018 23:26:57 +0000 (23:26 +0000)]
Merge "New intent for microphone mute change notification"
Tyler Gunn [Thu, 8 Mar 2018 23:21:16 +0000 (23:21 +0000)]
Merge "Support enhanced call blocking function"
Jean-Michel Trivi [Fri, 22 Dec 2017 02:09:21 +0000 (18:09 -0800)]
New intent for microphone mute change notification
AudioManager: define ACTION_MICROPHONE_MUTE_CHANGED.
AudioService:
- broadcast intent when setMicrophoneMute() is called
with FLAG_RECEIVER_REGISTERED_ONLY.
- remove outdated (invalid) comments.
Bug:
70857126
Test: m -j ; make -j offline-sdk-docs ; make -j cts ; \
cts-tradefed run cts-dev -m CtsMediaTestCases -t android.media.cts.AudioManagerTest#testMicrophoneMuteIntent
Change-Id: I7391522f0195d06592e4f853e9b672fdec66d37a
Merged-In: I7391522f0195d06592e4f853e9b672fdec66d37a
dalyk [Thu, 8 Mar 2018 21:33:25 +0000 (16:33 -0500)]
Add BaseNetdEventCallback class that provides no-op implementations for INetdEventCallback.
Test: None
Bug:
71828272
Change-Id: I75e0620f82195f18befe9dc079492a8c69bb764b
Mathieu Chartier [Thu, 8 Mar 2018 21:11:40 +0000 (13:11 -0800)]
Clean up comment
Bug:
63756964
Bug:
74245837
Test: untested
Change-Id: I47a0fbab7da9cd87ec9e7dc03b2bc00e5668eae3
Andreas Gampe [Mon, 5 Mar 2018 21:00:42 +0000 (13:00 -0800)]
Zygote: Set libbase default tag on fork
When forking, set the default tag to the process name, so that
non-tagged logging (like ART's) get tagged accordingly.
Bug:
34867873
Test: m
Change-Id: I81d526c8f5af0fde488cdf8efd1835298ff501fc
Treehugger Robot [Thu, 8 Mar 2018 19:41:20 +0000 (19:41 +0000)]
Merge "Do not throw RuntimeException from stopScan()."
Brad Ebinger [Thu, 1 Mar 2018 21:05:59 +0000 (13:05 -0800)]
Support Dynamic ImsService Querying
1) Provide a "default" impl for MmTelFeature
instead of returning null.
2) Introduce a FeatureSlotPair, which maps a SIM
slot ID to a ImsFeature. This allows the ImsService
to provide which features it supports for multi-SIM
phones.
3) Pipe through ImsResolver state to help prevent IMS
operation when the ImsResolver is in the process of
figuring out feature capabilities.
Test: Telephony ImsService test app, telephony unit tests
Bug:
72642524
Change-Id: Idb95f7651af200026d62e8b29eaed30bc0ebc9d3
Pengquan Meng [Thu, 8 Mar 2018 17:56:28 +0000 (17:56 +0000)]
Merge "Telephony(MSIM): Default NW mode property for each slot"
Shibin George [Mon, 26 Feb 2018 14:59:44 +0000 (20:29 +0530)]
Check if mSurface is valid before create SurfaceSession
If mSurface has already been released in another thread,
this would result in a null-pointer dereference in
SurfaceSession contructor i.e. in nativeCreateScoped().
7757 7757 F DEBUG : pid: 1402, tid: 1583, name: android.anim >>> system_server <<<
7757 7757 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xd0
7757 7757 F DEBUG : Cause: null pointer dereference
... <trimmed>
7757 7757 F DEBUG : backtrace:
7757 7757 F DEBUG : #00 pc
000000000007fe58 /system/lib64/libgui.so (android::Surface::getIGraphicBufferProducer() const)
7757 7757 F DEBUG : #01 pc
00000000000ff000 /system/lib64/libandroid_runtime.so (android::nativeCreateScoped(_JNIEnv*, _jclass*, long)+52)
7757 7757 F DEBUG : #02 pc
0000000000ac8968 /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.content.res.XmlBlock.nativeCreateParseState [DEDUPED]+152)
7757 7757 F DEBUG : #03 pc
0000000001327d24 /system/framework/arm64/boot-framework.oat (offset 0x614000) (android.view.SurfaceSession.<init>+52)
7757 7757 F DEBUG : #04 pc
00000000014b7320 /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSizeMismatchSnapshot+128)
7757 7757 F DEBUG : #05 pc
00000000014b784c /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.drawSnapshot+188)
7757 7757 F DEBUG : #06 pc
00000000014b6f2c /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotSurface.create+2684)
7757 7757 F DEBUG : #07 pc
00000000014b0158 /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.TaskSnapshotController.createStartingSurface+72)
7757 7757 F DEBUG : #08 pc
00000000014a5ca0 /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.SnapshotStartingData.createStartingSurface+96)
7757 7757 F DEBUG : #09 pc
000000000144b030 /system/framework/oat/arm64/services.odex (offset 0x5be000) (com.android.server.wm.AppWindowContainerController.lambda$-com_android_server_wm_AppWindowContainerController_4735+496)
... <trimmed>
Bug:
74129970
Change-Id: I41268c7680d3885c85fc3b682d0eba7415674062
Mathieu Chartier [Thu, 8 Mar 2018 17:07:15 +0000 (17:07 +0000)]
Merge "Bump version for OtaDexoptService"
Eric Schwarzenbach [Sat, 3 Mar 2018 01:47:13 +0000 (17:47 -0800)]
Add Duplex mode to ServiceState.
Adds getChannelNumber() to CellIdentity.
Creates a static utility class to calculate the duplex mode from an
EARFCN.
Bug:
73728783
Test: runtest frameworks-telephony
Change-Id: I5b5c4efa7e17594ce9397cf65e129147affe96bd
Ruijie Bai [Mon, 25 Dec 2017 03:00:23 +0000 (11:00 +0800)]
Support enhanced call blocking function
- Add new carrier config to determine whether to enable
enhanced call blocking feature.
- Add new I/F to get/set the call blocking enabled status.
- Add new API to support checking whether a number is
block number with specific extras.
Bug:
28189985
Test: Manual
Change-Id: I7e2fdaecf4c93f3513d756e65bab8e2c2c0b7440
Pete Gillin [Thu, 8 Mar 2018 10:55:00 +0000 (10:55 +0000)]
Merge "Add new 'explicit GC' policy to StrictMode."
Jack He [Fri, 2 Mar 2018 21:08:36 +0000 (13:08 -0800)]
Bluetooth: Separate enable and disable Reasons from package name
* Reasons to enable or disable Bluetooth should be in a separate
namespace away from package names that initiated the enable or disable
* Delcare reason code in android/bluetooth/enums.proto as
EnableDisableReasonEnum and use these reason code together with
package names to log Bluetooth enable and disable events
* When reason is ENABLE_DISABLE_REASON_APPLICATION_REQUEST, the external
package name is the real reason why Bluetooth is enabled or disabled
* Change START_CRASH to START_ERROR since it represents a disable event
when Bluetooth failed to start
* Change UNEXPECTED_CRASH to CRASH since no crash is expected
* Add getEnableDisableReasonString() method to covert reason code to
human readable strings in dumpsys output
Bug:
74090881
Test: Toggle Bluetooth, airplane mode, BLE scanning
Change-Id: I06aa413e2a0a5f016c87759a1b694ef643c9cdee
Jordan Liu [Wed, 7 Mar 2018 23:41:41 +0000 (23:41 +0000)]
Merge "Initialize mWcdmaRscpAsu and fix invalid value for asu"
yinxu [Wed, 7 Mar 2018 21:49:51 +0000 (13:49 -0800)]
Do not throw RuntimeException from stopScan().
Bug:
73750871
Test: Unit Test
Change-Id: I640093627c103fe1d2fe5707e6854ba748789919
Treehugger Robot [Wed, 7 Mar 2018 21:06:59 +0000 (21:06 +0000)]
Merge "Minor clean-up in NetworkCapabilities"
Mathieu Chartier [Wed, 7 Mar 2018 19:53:18 +0000 (19:53 +0000)]
Merge "Add logic for passing down CompactDex generation flag"
Treehugger Robot [Wed, 7 Mar 2018 19:33:52 +0000 (19:33 +0000)]
Merge "API Documentation and Constant cleanup."
Treehugger Robot [Wed, 7 Mar 2018 18:46:18 +0000 (18:46 +0000)]
Merge "Store package restriction settings at shutdown"
Treehugger Robot [Wed, 7 Mar 2018 17:40:20 +0000 (17:40 +0000)]
Merge "Address the API review comments."
Mathieu Chartier [Wed, 7 Mar 2018 17:29:21 +0000 (09:29 -0800)]
Bump version for OtaDexoptService
Bug:
63756964
Bug:
74245837
Test: manual
Change-Id: I750e38a02710347a03783b820816eda6958ba0c6
Mathieu Chartier [Wed, 7 Mar 2018 02:28:22 +0000 (18:28 -0800)]
Add logic for passing down CompactDex generation flag
In the cases where we are not install, boot, or first boot, pass down
the flag to generate CompactDex.
Bug:
63756964
Bug:
74245837
Test: manual
Change-Id: I4a2ff9383251e67b260cff5ec8a326c7a4f7faca
Anton Hansson [Wed, 7 Mar 2018 16:46:58 +0000 (16:46 +0000)]
Merge "frameworks/base: Set LOCAL_SDK_VERSION where possible."
Tyler Gunn [Wed, 7 Mar 2018 15:22:58 +0000 (15:22 +0000)]
Merge "Ensure start of call properties are propagated to RemoteConnection."
Anton Hansson [Fri, 23 Feb 2018 12:57:51 +0000 (12:57 +0000)]
frameworks/base: Set LOCAL_SDK_VERSION where possible.
This change sets LOCAL_SDK_VERSION for all packages where
this is possible without breaking the build, and
LOCAL_PRIVATE_PLATFORM_APIS := true otherwise.
Setting one of these two will be made required soon, and this
is a change in preparation for that. Not setting LOCAL_SDK_VERSION
makes the app implicitly depend on the bootclasspath, which is
often not required. This change effectively makes depending on
private apis opt-in rather than opt-out.
Test: make relevant packages
Bug:
73535841
Exempt-From-Owner-Approval: Global cleanup
Change-Id: I66b515d98d03264dbb893b7c55ba7bdddfb447a1
Merged-In: I26458e41ecb84de91ac9a356a5d4bafb44f463c1
Merged-In: I938efe7a2359302cbf4d5d6f786f963044e1bbbd
Merged-In: I72ce7f1c6242ddf9a5b36075761f3f1f1138cea1
Treehugger Robot [Wed, 7 Mar 2018 11:43:35 +0000 (11:43 +0000)]
Merge "Remove com.android.internal{.util} from generated documentation."
Tetsutoki Shiozawa [Wed, 25 Nov 2015 14:02:36 +0000 (23:02 +0900)]
Store package restriction settings at shutdown
Symptom:
Disabled package was re-enabled by restarting a device.
Root cause:
PMS postpones storing the package restriction settings in 10
seconds by design. When a package gets disabled right before
shutdown, PMS fails to store the last changes.
Solution:
Store package restriction settings at shutdown.
BUG:
73447744
Change-Id: I4fe76c1f003e51653304cfaeaa5129d84803ce1e
takeshi tanigawa [Wed, 7 Mar 2018 07:54:12 +0000 (16:54 +0900)]
Initialize mWcdmaRscpAsu and fix invalid value for asu
Initialize mWcdmaRscpAsu in the constructor.
Update an invalid value of asu from -1 to 255.
Test: auto - Passed SignalStrengthTest
Bug:
71329173
Change-Id: Ic6c03fa3c405377b23159038a1e23a45ba87239c
nharold [Wed, 7 Mar 2018 02:05:34 +0000 (02:05 +0000)]
Merge "Update SignalStrength to use ASU for TD-SDCMA"
Treehugger Robot [Wed, 7 Mar 2018 01:02:50 +0000 (01:02 +0000)]
Merge "Update the Bluetooth Active Device state in the Device Manager"
Hall Liu [Wed, 7 Mar 2018 00:46:19 +0000 (00:46 +0000)]
Merge "Fix Telecom dumpsys timestamps"
Pavlin Radoslavov [Wed, 7 Feb 2018 00:14:00 +0000 (16:14 -0800)]
Update the Bluetooth Active Device state in the Device Manager
The Bluetooth Active Device state should be updated for all
CachedBluetoothDevice entries.
This should be done inside CachedBluetoothDeviceManager in SettingsLib
instead of BluetoothDeviceUpdater in the Settings app.
Also:
* Added a new CachedBluetoothDeviceManagerTest.java unit test
* Added a new method CachedBluetoothDevice.isActiveDevice()
for testing.
Bug:
72316092
Test: Manual - two headsets and switching the active device
Unit tests - "make RunSettingsLibRoboTests -j 40"
Change-Id: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf
Merged-In: Ic3fbf667c66ed2de8e5c3352bc1ffd829a9052cf
(cherry picked from commit
c285d559fa8f0d597e8d5f1c8176dbb187e2d6ac)
Holly Jiuyu Sun [Tue, 6 Mar 2018 23:16:54 +0000 (23:16 +0000)]
Merge "Remove toString() for CarrierIdentifier."