400193 Commits

Author SHA1 Message Date
Dan Willemsen
3b971911c5 Merge "Fix maindexclasses use of proguard" am: f2c0f4aadf am: cde927c935
am: ba815689e1

Change-Id: I71b77d0ea54af83c60f15aac9ede151c504966f5
2019-01-18 15:44:35 -08:00
Jean-Michel Trivi
1506f83f4f Merge "[b/109850442]Fail to adjust volume when connect Ampplifier.]"
am: 36ee8e0244

Change-Id: I2599a62b1e1042b9cbcb6fcac2d754b8fb177758
2019-01-18 15:44:01 -08:00
Jayachandran Chinnakkannu
58a61cc734 Merge "Cellular data stall recovery based on networkStatus" am: 44631dfc26
am: e9dc415e2b

Change-Id: I2e381e9215a2d8f036a0de4f021573688250c142
2019-01-18 15:43:03 -08:00
Felipe Leme
a3196a781c Removed graphical properties from Content Capture ViewNode.
They can be expensive to calculate, so the cost/benefit is not worth it...

Bug: 121039624
Test: atest CtsContentCaptureServiceTestCases \
      FrameworksCoreTests:android.view.contentcapture.ViewNodeTest

Change-Id: I2950fb5916ab8fceb5c089742e99c197e3d017e9
2019-01-18 15:42:26 -08:00
xueliang.zhong
fea7e9f20d Merge "Quiet SNaN inputs in Half.toFloat()"
am: a879fd8b02

Change-Id: I9ad4e399a81121ec0e59d8aa1af4cd05866c12cb
2019-01-18 15:38:15 -08:00
Jean-Michel Trivi
36ee8e0244 Merge "[b/109850442]Fail to adjust volume when connect Ampplifier.]" 2019-01-18 23:30:27 +00:00
Josh Gao
35ddfca938 Merge "Avoid calling ParcelFileDescriptor.fromSocket on new Sockets." am: 35c5160492
am: e7ca44fd49

Change-Id: I928a47f677cc882ee816b6fa8afb41ead2729466
2019-01-18 15:27:33 -08:00
Varun Shah
de77b6fee7 Merge "Clarified CrossProfileApps API and documentation." 2019-01-18 23:25:07 +00:00
Jayachandran Chinnakkannu
e9dc415e2b Merge "Cellular data stall recovery based on networkStatus"
am: 44631dfc26

Change-Id: Ibe4c78717d5b0f0a0709c5271c7974ac79cb9a6f
2019-01-18 15:19:23 -08:00
Treehugger Robot
a879fd8b02 Merge "Quiet SNaN inputs in Half.toFloat()" 2019-01-18 23:18:15 +00:00
Dan Willemsen
ba815689e1 Merge "Fix maindexclasses use of proguard" am: f2c0f4aadf
am: cde927c935

Change-Id: I76a3469438656d9c3e99c45ae28c4179cdb609b7
2019-01-18 15:16:51 -08:00
TreeHugger Robot
20581a3578 Merge "Revert "Suppress injected launcher activity for apps that are vouched"" 2019-01-18 23:12:57 +00:00
Android Build Merger (Role)
e73b3b1f92 Merge "Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies" am: c823079843 am: b707750869 am: e79f5b8521" 2019-01-18 23:11:18 +00:00
Jiuyu Sun
2b9f09ba7e Merge "Populate cardId in resolution intent." 2019-01-18 23:10:15 +00:00
Chandan Nath
61d7333f5d Merge "[Multi-user] restore when installExistingPackageAsUser" 2019-01-18 23:09:54 +00:00
David Brazdil
c520d1a7d7 Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies" am: c823079843 am: b707750869
am: e79f5b8521

Change-Id: Iaee9fae03a0cc3f2963de81a46439f1d86b4f4a4
2019-01-18 15:09:35 -08:00
Christine Franks
88ec096b72 Merge "Move a11y color transforms to ColorDisplayService" 2019-01-18 23:08:37 +00:00
TreeHugger Robot
2ba0d6ff68 Merge "[DPP] Add _GENERIC suffix to EASY_CONNECT_EVENT_FAILURE code" 2019-01-18 23:05:39 +00:00
Srinivas Paladugu
0dc6977888 Merge "Create a Zram writeback job" 2019-01-18 23:00:32 +00:00
Josh Gao
e7ca44fd49 Merge "Avoid calling ParcelFileDescriptor.fromSocket on new Sockets."
am: 35c5160492

Change-Id: Ib8c818a3038877b87187659b0ff65a9d31b998e7
2019-01-18 14:55:47 -08:00
David Brazdil
e79f5b8521 Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies" am: c823079843
am: b707750869

Change-Id: I8998db640a5ed9ae9dd0c75f8cefc9a2f87f1ecc
2019-01-18 14:54:48 -08:00
Jayachandran Chinnakkannu
44631dfc26 Merge "Cellular data stall recovery based on networkStatus" 2019-01-18 22:54:38 +00:00
Jayachandran C
8ef41bf34f Cellular data stall recovery based on networkStatus
This CL introduces cellular data stall recovery based on
network validation result. It still re-uses the existing
recovery steps but the triggers are based on networkStatus
from NetworkMonitor when the network is bad. Each recovery
step is spaced by a configurable grace period (default 3 mins)
to avoid back to back recovery.

This feature is controlled by the following settings. If this
feature is enabled then the legacy data stall detection based
on TrafficStats will automatically be disabled.

Settings.Global.DATA_STALL_RECOVERY_ON_BAD_NETWORK
1 => Enabled (default)
0 => Disabled

Settings.Global.MIN_DURATION_BETWEEN_RECOVERY_STEPS_IN_MS
3 minutes is default value

Bug: 113916551
Test: atest FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DcTrackerTest

Change-Id: I738fc7ed08803de1114f7a3d79bf278449e94ea8
2019-01-18 22:52:16 +00:00
Dan Willemsen
cde927c935 Merge "Fix maindexclasses use of proguard"
am: f2c0f4aadf

Change-Id: Ib4a65506c701fb707c669dd2116348bde6913aa7
2019-01-18 14:49:19 -08:00
Perumaal Shanmugam
b1882925b5 Merge "Add content_capture and autofill experiment namespaces" 2019-01-18 22:45:09 +00:00
Dan Willemsen
7eccc741f0 Remove the eng tag from invoke_mock_media_player
The test using this has been suppressed for >9 years since we moved
testing from eng devices to userdebug.

Test: treehugger
Change-Id: Ie91f3b97a33a8e8e5be49ea2098f163567e2496d
2019-01-18 14:40:54 -08:00
David Brazdil
b707750869 Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies"
am: c823079843

Change-Id: Ibf0489694141341b253164958222a2d9874dd01c
2019-01-18 14:38:52 -08:00
Michele Berionne
a4a1ae499d Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.

Bug: 120313541
Test: Created test application to verify correct functionality.
Test: Added test cases for CarrierRestrictionRules.
Change-Id: I2723fb07db13efdafbc74471a87182e2d2a32718
Merged-In: I2723fb07db13efdafbc74471a87182e2d2a32718
2019-01-18 22:37:12 +00:00
TreeHugger Robot
d839beae5b Merge "Make security warning on contains() more obvious." 2019-01-18 22:33:42 +00:00
Ashutosh Joshi
e24f1b095b Remove Activity Recognition from the Android Code.
Removing AR from the Android code base. We had already severed the
connection to the AR HAL in Android Oreo. This change simply removes all
unused references and uses of the stubs.

Test: Build compiles. Ensure that clients that provide AR through other
channels continue to work.

Change-Id: I79d19c0bd2b80962cdecc8ad88065911fd6311ac
2019-01-18 22:31:53 +00:00
Josh Gao
35c5160492 Merge "Avoid calling ParcelFileDescriptor.fromSocket on new Sockets." 2019-01-18 22:25:35 +00:00
Yin-Chia Yeh
d07e9ec5ae ImageReader/ImageWriter: unhide newInstance methods
ImageReader: unhide the factory method to assign usage flag
ImageWriter: unhide the factory method to assign format

Test: new CTS tests
Bug: 112171574
Change-Id: Ia2579c466cdad378ecedc6398a652bb5f4e6aeec
2019-01-18 14:21:23 -08:00
Xiangyu/Malcolm Chen
5837dcdbb5 Merge "Add System API to enable / disable a logical modem." 2019-01-18 22:20:14 +00:00
Treehugger Robot
f2c0f4aadf Merge "Fix maindexclasses use of proguard" 2019-01-18 22:18:50 +00:00
Makoto Onuki
5d5e98271c Merge "Fix job concurrency calculation" 2019-01-18 22:18:23 +00:00
Treehugger Robot
c823079843 Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies" 2019-01-18 22:13:53 +00:00
TreeHugger Robot
b128866274 Merge "Prepare setresuid()/setresgid() seccomp filter in AppZygote." 2019-01-18 22:10:09 +00:00
TreeHugger Robot
837f453cfb Merge "Add GnssNfwNotificationReported and GnssConfigurationReported" 2019-01-18 22:09:29 +00:00
TreeHugger Robot
384ec0297c Merge "Inject motion event for temporary fix for clicking through nav bar" 2019-01-18 22:05:25 +00:00
Sudheer Shanka
8953999b76 Merge "Use "sys.isolated_storage_snapshot" prop to check for the feature." 2019-01-18 22:05:20 +00:00
Lucas Dupin
00be88f1fd New pulsing notification layout
Test: wake up with power
Test: look at shelf on lock screen
Test: lock device w/ notifications from home screen
Test: receive notification on AOD
Test: atest KeyguardClockPositionAlgorithmTest
Test: atest NotificationRoundnessManagerTest
Test: atest ScrimControllerTest
Test: atest NotificationContentViewTest
Bug: 111405682
Change-Id: I9b4f2febd56a62256124567bffebc9f5f8255847
2019-01-18 13:57:04 -08:00
Ashley Rose
c1a4decb39 Annotation processing for @InspectableProperty
Test: atest --host view-inspector-annotation-processor-test
Bug: 117616612
Change-Id: Ia9641b4efae5f6945084849309f81f2d31faf2ec
2019-01-18 16:47:29 -05:00
Jiuyu Sun
e6f2eefcd8 Merge "Check whether cardId is valid in EuiccManager#isEnabled." 2019-01-18 21:43:09 +00:00
TreeHugger Robot
90c7d2155f Merge "Fixes NPE in NSSL.getTopOrSectionTop()." 2019-01-18 21:31:38 +00:00
Felipe Leme
21e8dcb3fc Removed ContentCaptureSession.FLAG_USER_INPUT.
This flag was meant to indicate when a text was changed by the user (for example, using IME), but
that information is not readly available and would require changes in too many parts of the system,
so it's not worth the effort (at least for now...).

Test: m update-api
Test: atest CtsContentCaptureServiceTestCases \
      FrameworksCoreTests:android.view.contentcapture.ContentCaptureSessionTest

Fixes: 121045053

Change-Id: Ifcdd5e5bb0c6c5c0f840fe0bbdbda8eca9bdb479
2019-01-18 13:13:06 -08:00
Bo Zhu
7ebcd66d72 Add the actual implementation changes for the new metadata field for
recoverable key

The metadata, if given, will be authenticated (but unencrypted) together
with the key material when the key is uploaded to cloud.

Bug: 112191661
Test: atest FrameworksCoreTests:android.security.keystore.recovery
      atest FrameworksServicesTests:com.android.server.locksettings.recoverablekeystore
      atest -m RecoveryControllerHostTest RecoverableKeyStoreEndtoEndHostTest RecoverySessionHostTest

Change-Id: Ib62557d5ebd2bd7d206c04cf73c1dabb65882e49
2019-01-18 21:08:23 +00:00
Etan Cohen
41561126ef Merge "[WIFI] Clarify getConfiguredNetworks behavior for Carrier Apps" 2019-01-18 21:07:09 +00:00
Nate Fischer
9f726cd280 WebView: clean up onReceivedSslError docs
No change to logic, only docs.

This adds {@link}'s for references to SslErrorHandler methods, improving
readability. This also clarifies this API is only called for recoverable
errors.

Fixes: 123042566
Test: m offline-sdk-docs
Change-Id: I0e94c9903e638e2fce59f35ec76eb5566e7ad875
2019-01-18 13:00:33 -08:00
TreeHugger Robot
06522fb45b Merge "Add null checks for {Gps, Fused}GeofencedHardware." 2019-01-18 20:58:34 +00:00
TreeHugger Robot
a431857cc2 Merge "ContentCapture: add new API to notify views deletion on batch." 2019-01-18 20:56:51 +00:00