Commit Graph

379501 Commits

Author SHA1 Message Date
Treehugger Robot
bbbeba3c02 Merge "Add owners for accessibility" 2019-02-12 00:07:59 +00:00
Jordan Liu
69a0fb35a6 Merge "Clarify PhoneStateListener documentation" 2019-02-11 23:57:49 +00:00
Michele Berionne
31e933cf78 Merge "Add API to check if a SIM card matches carrier restrictions." 2019-02-11 23:47:25 +00:00
Xiangyu/Malcolm Chen
52a31598e7 Merge changes from topics "118348832", "120945564"
* changes:
  Adding validationBeforeSwitchSupported in phoneCapability.
  Add API to handle user's subscription selection changes.
2019-02-11 23:19:17 +00:00
Sahin Caliskan
231a9cb709 Merge "Unhide RcsMessageStore APIs" 2019-02-11 22:25:16 +00:00
Xiangyu/Malcolm Chen
cfe727628d Merge "Adding READ_PRECISE_CALL_STATE permission in phone app." 2019-02-11 22:18:41 +00:00
Jordan Liu
91b2555e8c 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
2019-02-11 11:41:45 -08:00
Sahin Caliskan
74ebff87b5 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
2019-02-11 16:42:30 +00:00
Paul Duffin
8a99661282 Merge "Deprecate ref... methods in MethodHandleInfo" 2019-02-11 15:25:55 +00:00
Andrei-Valentin Onea
deb35fb00b Merge "Fix regression in Dalvik:HEAP_TOTAL" 2019-02-11 11:26:46 +00:00
Jack Yu
0d6bbfd5fb Merge "Added handover support in the factory" 2019-02-09 20:22:03 +00:00
Jack Yu
758a6a7ecd Added handover support in the factory
Test: Manual
Bug: 73659459
Merged-In: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
Change-Id: I10cf40bf32dc30393dd538477aaa411a48b4ccf2
(cherry picked from commit 5f1186eca9)
2019-02-08 23:29:15 -08:00
Treehugger Robot
1d9ca12d91 Merge "Atom: add more information to BluetootSocketConnectionStateChanged" 2019-02-09 04:09:45 +00:00
Treehugger Robot
9fdd759e40 Merge "WebView: propose myself as OWNER" 2019-02-09 01:59:29 +00:00
Paul Duffin
1af02739be Deprecate ref... methods in MethodHandleInfo
These methods were mistakenly exposed as part of the public API in
Android 26. They do not appear to be used by any apps so this is a
prelude to removing them from the API completely.

Bug: 114175595
Test: make checkbuild
Change-Id: I17b7369a4fbb568bde5285d705d9194ac91e576d
2019-02-08 14:59:46 +00:00
Mathieu Chartier
e396fe4a02 Merge "Disable view compiler for protected storage" 2019-02-08 13:34:08 +00:00
Mathieu Chartier
5b4264823b Disable view compiler for protected storage
Protected storage has selinux restrictions that currently prevent
views being generated there.

(cherry picked from commit c8aa8ff300)

Bug: 111895153
Bug: 123778117
Test: manual
Exempt-From-Owner-Approval: cherry-pick

Merged-In: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
Change-Id: Id386ebd1be7329ab1ea9657187dfbabb4f1bf73c
2019-02-08 13:33:52 +00:00
Paul Duffin
6bb71b0322 Merge "Add TEST_MAPPING for api specifications" 2019-02-08 11:51:39 +00:00
Amit Mahajan
56a6b65322 Merge "Fallback to other format for decoding pdu if needed." 2019-02-08 06:56:37 +00:00
Malcolm Chen
6ae9f49d3f Adding validationBeforeSwitchSupported in phoneCapability.
Bug: 118348832
Test: sanity
Change-Id: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
Merged-In: I7e9e18728a1db9fd31e92164d72b6656b964f1f4
2019-02-07 17:48:26 -08:00
Jack He
e4ae0e7516 Atom: add more information to BluetootSocketConnectionStateChanged
* Add server_port field to track the server port number of a socket
* Add socket_role field to track whether the socket is a server listener
  or a connection socket
* Add uid field to track the owner of the socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I0c86b724c748844009b8120befd454fb96137a61
2019-02-07 17:44:46 -08:00
Malcolm Chen
77b2b559e1 Add API to handle user's subscription selection changes.
When user selects a eSIM subscription, Settings app informs Telephony.
Telephony needs to take actions such as writting it into global
settings, switch profiles and notify registrants, for example
AlternativeNetworkAccessService.

Bug: 120945564
Test: unittest
Change-Id: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
Merged-In: I846d9444aac368d183e06744c9eb8aa0c08dfe6a
2019-02-07 17:42:34 -08:00
Malcolm Chen
b8f1b10871 Adding READ_PRECISE_CALL_STATE permission in phone app.
This is needed if internal component wants to listen to
precise call state change.

Bug: 117980553
Test: unittest
Change-Id: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
Merged-In: Id5a60519cbf1d724f939fc10b1f03cccfe5c1b5c
2019-02-07 17:37:36 -08:00
Nathan Harold
f199334e3e Merge "Update CellInfo Documentation on Updates" 2019-02-08 01:24:22 +00:00
Nathan Harold
fde347156d Merge "Coerce Unreported BER from ASU=99 to UNAVAILABLE" 2019-02-08 01:22:52 +00:00
Michele
a10f9e82f7 Add API to check if a SIM card matches carrier restrictions.
Add API to check if one SIM card or a combination of SIM cards for
multisim devices is allowed on the terminal, based on the existing
carrier restriction rules.

Bug: 123939943
Test: added test cases for the new API
Change-Id: Ieaa3c25da75e04e2acb3b169e10638d967732f99
2019-02-07 16:02:49 -08:00
Amit Mahajan
7299401e81 Merge "Include phoneId as extra when subId is not available." 2019-02-07 23:53:18 +00:00
Alexander Smundak
ad8b5c9939 Merge "Provide java_defaults as a counterpart to the settings.mk file" 2019-02-07 23:03:02 +00:00
Sahin Caliskan
90f86257f0 Merge "Make RCS Message Store APIs ready to unhide" 2019-02-07 22:05:00 +00:00
Mathieu Chartier
b5a69ab764 Merge "Add use_app_image_startup_cache feature flag" 2019-02-07 21:28:37 +00:00
Amit Mahajan
ba71c5f015 Include phoneId as extra when subId is not available.
Test: basic sanity
Bug: 122819162
Change-Id: Ia55b5550930b1e34e14e46c718261ec11ac56f43
2019-02-07 12:34:21 -08:00
Amit Mahajan
b901432491 Fallback to other format for decoding pdu if needed.
The specified format is mostly a guess based on the current phone
type/voice RAT. It may not always be correct and so we should always
fallback to the other format.

Test: basic sanity
Bug: 20015718
Change-Id: Ia1177d19035ff485ca27175ba2375e0f6fe2a966
2019-02-07 12:18:20 -08:00
Sahin Caliskan
2f932d72ba Make RCS Message Store APIs ready to unhide
This change makes necessary changes to unhide the APIs in a future
commit. All the classes that end with Parameters needed to be converted
to Params, which resulted in a rather large change. I also had to reintroduce
RcsOutgoingMessageCreationParameters as it was required to make
Parcelables final, which means I had to make this new class parcelable
and RcsMessageCreationParameters non-parcelable and non-final

Test: Existing tests pass

Bug:109759350
Change-Id: I2fe9382d28a9abf02ad22ec7ccdeaedc55ae4337
2019-02-07 19:20:45 +00:00
Phil Weaver
6ac1a60bf1 Add owners for accessibility
Test: Relying on treehugger. No functional changes.
Change-Id: I2511b04e56301bd34a8eaced7be8dd8582cc3cc7
2019-02-07 10:52:13 -08:00
Andrei Onea
e6efa0540a Fix regression in Dalvik:HEAP_TOTAL
Make HiddenApiUsageLogger a singleton initialised in Zygote pre-fork and
rely on copy-on-write to prevent heap size increases

Test: atest google/perf/memory/memory-test
Bug: 123705750
Change-Id: I384d3bdefa6525fcce494783c548e85979bce4d5
Merged-In: Idc5ad13d4e158659009290f410ce721013345308
2019-02-07 17:12:59 +00:00
Treehugger Robot
21b38267fa Merge "Deprecate BreakIterator.getTitleInstance() functions and KIND_TITLE field" 2019-02-07 10:20:01 +00:00
Treehugger Robot
af931e60dc Merge "Move hiddenapi rules to Soong" 2019-02-07 07:27:33 +00:00
Chih-hung Hsieh
e45eefe8ec Merge "Add default code reviewers into OWNERS" 2019-02-07 06:21:24 +00:00
Chih-Hung Hsieh
34cd77a651 Add default code reviewers into OWNERS
Bug: 33166666
Test: gerrit uploader
Change-Id: Ief5d4bf9005bb3a712803101f98dd2b876662eb8
2019-02-06 22:19:19 -08:00
Remi NGUYEN VAN
5cdb4c3451 Merge "Check MAINLINE_NETWORK_STACK in ConnectivityService" 2019-02-07 03:33:54 +00:00
Remi NGUYEN VAN
ca551ce981 Merge "Add API for NetworkStack to start captive portal" 2019-02-07 02:39:17 +00:00
Amit Mahajan
f552341204 Merge "Avoid NPE caused by null encodedBearerData in privateGetSubmitPdu" 2019-02-07 01:31:18 +00:00
Amit Mahajan
74a0dd8092 Merge "Use correct PLMN info for an incoming CB-SMS" 2019-02-07 01:30:09 +00:00
Treehugger Robot
f46b14b6af Merge "Update navigation bar upon change of display density" 2019-02-06 23:44:05 +00:00
Chih-hung Hsieh
c6036971e7 Merge "Work around clang-tidy bug in dex_builder.cc." 2019-02-06 22:01:44 +00:00
Youming Ye
bd2016353c Merge "Add connect time to conference participant." 2019-02-06 21:55:06 +00:00
Treehugger Robot
502900a093 Merge "Atom: Add BluetoothSocketConnectionStateChanged" 2019-02-06 20:36:24 +00:00
Mathieu Chartier
f5cd8c1601 Add use_app_image_startup_cache feature flag
Passed down to the zygote if the corresponding system property is set:
runtime_native / use_app_image_startup_cache.

Bug: 123524494
Bug: 116059983
Test: adb shell device_config put runtime_native use_app_image_startup_cache true

(cherry picked from commit ced7e08129)

Merged-In: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
Change-Id: I27c0b9ea9533b2b6ad1ccd45f0fb9292c4cfca02
2019-02-06 12:30:36 -08:00
Jack He
9c30c7c6ba Atom: Add BluetoothSocketConnectionStateChanged
* Logs when a Bluetooth socket's connection state is changed
* A Bluetooth socket can be:
  - RFCOMM socket
  - SCO socket
  - BR/EDR L2CAP socket
  - BLE L2CAP socket

Bug: 112969790
Test: make, test drive with statsd
Change-Id: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
Merged-In: I97b1e650e197a0dad1e2959e2f5b4dd98370d892
(cherry picked from commit 815cdbaae0)
2019-02-06 11:12:08 -08:00
Sasha Smundak
1109a1f65a Provide java_defaults as a counterpart to the settings.mk file
Test: treehugger
Change-Id: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Merged-In: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
2019-02-06 10:07:38 -08:00