Commit Graph

97289 Commits

Author SHA1 Message Date
Martijn Coenen
dbf6abc357 Make some Process constants @TestApi.
Bug: 111434506
Test: atest CtsSeccompHostTestCases builds
Change-Id: If4b9bff1e72d7b1299ac5f5a283b0ab7d504ab03
2019-01-10 10:53:14 +01:00
Chalard Jean
036da579e2 Merge "Add PCSCF to LinkProperties." am: 64e495b274 am: 40c9e752ac
am: e2bbcc1837

Change-Id: I16eedc51ad4932b7ec6a32d9e718c48cf203c2f0
2019-01-09 22:29:15 -08:00
Chalard Jean
e2bbcc1837 Merge "Add PCSCF to LinkProperties." am: 64e495b274
am: 40c9e752ac

Change-Id: I491e99f7225233d5841b61ce383325e7a1c43fa0
2019-01-09 22:19:14 -08:00
Chalard Jean
40c9e752ac Merge "Add PCSCF to LinkProperties."
am: 64e495b274

Change-Id: Ia153067765ea39430f4dfbc49da3cbd92054b8a9
2019-01-09 22:06:46 -08:00
Chalard Jean
64e495b274 Merge "Add PCSCF to LinkProperties." 2019-01-10 05:55:05 +00:00
Jack He
17d71033ab Merge "Deprecate BluetoothHealth APIs" am: c792b78f71
am: 672b984fa6

Change-Id: I60d6429fc07cf4a2dccf5773a5c18016523d2762
2019-01-09 21:05:45 -08:00
Jack He
672b984fa6 Merge "Deprecate BluetoothHealth APIs"
am: c792b78f71

Change-Id: I77b50a8b929553ca04d57f63df516ef11d25364b
2019-01-09 20:55:24 -08:00
Jack He
6b73b32c7a Deprecate BluetoothHealth APIs
* Mark all BluetoothHealth related APIs as deprecated
* Make BluetoothAdapter#getProfileProxy(context, BluetoothProfile.HEALTH)
  always return false
* Remove all logic behind BluetoothHealth APIs and add deprecation error log
* Health Device Profile (HDP) and MCAP protocol has been largely
  replaced by BLE. New applications should use Bluetooth Low Energy
  instead of legacy Bluetooth Health Device Profile

Bug: 111562841
Test: make, unit test, use Bluetooth
Change-Id: If99a9d79e9e1b89b75b9b74bd3b1c965247a1892
Merged-In: If99a9d79e9e1b89b75b9b74bd3b1c965247a1892
(cherry picked from commit 2be70a11a2)
2019-01-09 18:09:21 -08:00
TreeHugger Robot
15bd09638f Merge "Updating Java doc for Activity#onUserLeaveHint()" 2019-01-10 01:11:28 +00:00
Yiwei Zhang
0c9ccbe456 Merge "GUP: Update global property for the new dev opt" 2019-01-10 00:33:39 +00:00
Jakub Pawlowski
4a89978068 Merge "Revert "Enable ANGLE-for-Android rule processing again"" 2019-01-10 00:32:15 +00:00
Jakub Pawlowski
c3174593a2 Revert "Enable ANGLE-for-Android rule processing again"
This reverts commit e674a54078.

Reason for revert: b/122509524 Random bluetooth crash observed in QP1A.190108.001

Change-Id: I089e30665edf70275d4190bac0577329b4f016a9
2019-01-10 00:24:34 +00:00
TreeHugger Robot
26d4ca07c9 Merge "Fix 2 issues related to caption." 2019-01-10 00:12:51 +00:00
TreeHugger Robot
f9699619a6 Merge "Deprecate BluetoothHealth APIs" 2019-01-09 21:53:54 +00:00
TreeHugger Robot
d3827b910b Merge "Rename onNotificationDirectReply to onNotificationDirectReplied as per ... the API council feedback." 2019-01-09 21:46:51 +00:00
Rob Carr
c9fd5fc46b Merge changes from topic "sf-remove-remove-layer"
* changes:
  SurfaceFlinger: Remove removeLayer
  Fix memory leak in SurfaceControl#copyFrom
2019-01-09 21:23:15 +00:00
Mihai Popa
59a7bc0453 Merge "[Magnifier-69] Some cleanup in API names and docs" 2019-01-09 19:58:35 +00:00
Tony Mak
836147ecb2 Rename onNotificationDirectReply to onNotificationDirectReplied as per ...
the API council feedback.

BUG: 120841922
Test: Build

Change-Id: I630134955bb86b36e8d186e92302ae141629f4f6
2019-01-09 19:44:06 +00:00
Chenbo Feng
ccee30ed1b Merge "Adjust map names due to new bpfloader" am: 9613bfd2a4 am: 59ce36a44d
am: 5fb25b6389

Change-Id: Iedbb541ba2fa5916048e3f40d5cc128a83d0dc6b
2019-01-09 11:34:54 -08:00
Chenbo Feng
5fb25b6389 Merge "Adjust map names due to new bpfloader" am: 9613bfd2a4
am: 59ce36a44d

Change-Id: I28a2e41a354abdd8b2113c927a6489ea8710b431
2019-01-09 11:15:44 -08:00
Chenbo Feng
59ce36a44d Merge "Adjust map names due to new bpfloader"
am: 9613bfd2a4

Change-Id: If97a15a7f7b6a066bbf46db3497270a8c9a81026
2019-01-09 10:53:22 -08:00
TreeHugger Robot
8be2420b9b Merge "Fixed application info null pointer exception." 2019-01-09 18:48:28 +00:00
Adam He
58611544cd Merge "Added null checks for NPE on mSystemServerInterface" 2019-01-09 18:40:01 +00:00
Treehugger Robot
9613bfd2a4 Merge "Adjust map names due to new bpfloader" 2019-01-09 18:34:49 +00:00
Garfield Tan
3b9613c257 Fix 2 issues related to caption.
1. This change ignores immersive mode request if the window is not in
fullscreen mode in terms of caption visibility;
2. Update caption visibility when app changes system UI visibility.

This change also consolidates the visibility logic into DecorView.

Bug: 119388201
Test: Manual test. Also test that split screen and PIP don't have
caption.

Change-Id: Ia5051d2f53455be2c21e1933b002d07b25c0b74b
2019-01-09 10:17:39 -08:00
Mihai Popa
becda34f25 [Magnifier-69] Some cleanup in API names and docs
This CL:
- renames setForcePositionWithinWindowSystemInsetsBounds to
setClippingEnabled
- improves some of the docs

Bug: 120609112
Test: atest CtsWidgetTestCases:android.widget.cts.MagnifierTest
Change-Id: I14c774b432b4a0cff96066734758b9f937179d94
2019-01-09 17:22:03 +00:00
Dan Gittik
a5a2d6390e Fixed application info null pointer exception.
Test: manual.
      Set up work profile and open an app that's only installed
      there. This should change the user ID without triggering a
      system-wide global switch, in which case the application info
      would be null and cause the system service to crash.
      In the current implementation, this shouldn't happen, and in
      fact the foreground app should be properly inferred regardless
      of the user. This can be visible by enabled and checking the
      AutomaticBrightnessController logs with:

      adb shell cmd display ab-logging-enable
      adb logcat | grep AutomaticBrightnessController

Fixes: 122107873

Change-Id: I8161414a766c494ab0efadaa20fe6fcdf5067948
2019-01-09 16:26:34 +00:00
Nikita Ioffe
0800858b02 Merge "Add Binder.getCallingUidOrThrow method" 2019-01-09 16:07:56 +00:00
Tetsutoki Shiozawa
9879a6375b Merge "Remove unnecessary right padding from time picker" am: 71a1e5cfe1 am: 314a239612
am: 3c2cafb1cb

Change-Id: Iebb9f81a968093420c320afa2c6fab19e43833ad
2019-01-09 06:39:18 -08:00
Jorim Jaggi
64e9cd30b3 Merge changes from topic "inset_dispatch"
* changes:
  A brave new world for window insets (10/n)
  A brave new world for window insets (9/n)
  A brave new world for window insets (8/n)
2019-01-09 14:17:35 +00:00
Android Build Merger (Role)
06e5b6d363 Merge "Merge "Move DhcpServer to NetworkStack app" am: 94e5b22985 am: d495691bd5 am: 4bdc06e174" 2019-01-09 13:54:18 +00:00
Remi NGUYEN VAN
db24f2f8c8 Merge "Move DhcpServer to NetworkStack app" am: 94e5b22985 am: d495691bd5
am: 4bdc06e174

Change-Id: I466c7cefbd30b05708e2d2201ca46fa5bcbb6ff9
2019-01-09 05:53:53 -08:00
TreeHugger Robot
2ff3918d69 Merge "Add new set of max job counts." 2019-01-09 13:52:38 +00:00
Tetsutoki Shiozawa
3c2cafb1cb Merge "Remove unnecessary right padding from time picker" am: 71a1e5cfe1
am: 314a239612

Change-Id: Ie5896c17bb41efbd4a627b14876abca0f177771e
2019-01-09 05:41:49 -08:00
TreeHugger Robot
d81774adda Merge "Use isLoggable so that we can enable full logging easily" 2019-01-09 13:34:30 +00:00
Remi NGUYEN VAN
4bdc06e174 Merge "Move DhcpServer to NetworkStack app" am: 94e5b22985
am: d495691bd5

Change-Id: Ib25c0422fda31c5df7743b481d5f50da209c38fa
2019-01-09 05:27:59 -08:00
Nikita Ioffe
a929cf01cf Add Binder.getCallingUidOrThrow method
Binder.getCallingUidOrThrow is a pure java method which uses
Binder.isHandlingTransaction @CriticalNative method.

Binder.isHandlingTransaction itself is not exposed a public API.

Bug: 62253865
Fix: 62253865
Test: Added a testcase to BinderTest.java to verify ISE is thrown
Change-Id: I93a1b6c24a4747b8b70c32d291b4706b6159a3d0
2019-01-09 13:15:56 +00:00
TreeHugger Robot
6af7667961 Merge "Add @TestApi to Configuration.assetsSeq" 2019-01-09 12:38:15 +00:00
Peter Li
d8d847cbae Merge "Still trigger DozeService when screen off." 2019-01-09 12:36:56 +00:00
lpeter
1a90065044 Still trigger DozeService when screen off.
Provide a mechanism to let DozeService be able to be triggered when
screen off even though Ambient display settings are turned off.

Bug: 121305224
Test: Manual test
Change-Id: I0bb18142b27b74a8a193f05268716fa046e7f1e2
2019-01-09 12:15:02 +00:00
Tetsutoki Shiozawa
314a239612 Merge "Remove unnecessary right padding from time picker"
am: 71a1e5cfe1

Change-Id: Idac6b702027f8e8f73ce5f752a71f2ed67f3e9c9
2019-01-09 04:10:43 -08:00
Treehugger Robot
71a1e5cfe1 Merge "Remove unnecessary right padding from time picker" 2019-01-09 11:50:36 +00:00
Remi NGUYEN VAN
d495691bd5 Merge "Move DhcpServer to NetworkStack app"
am: 94e5b22985

Change-Id: I5ed78d8b4b9fc5bc8f50bfa77d60e19bd3815a6d
2019-01-09 02:53:48 -08:00
Tony Mak
afd5467420 Use isLoggable so that we can enable full logging easily
Also, change to use android.util.Log rather than Slog, which should
be used by system service only.

Test: Try out adb shell setprop log.tag.androidtc and observe verbose
      logging.

Change-Id: Ie86c6b3f8bd39957f041ffe3a10abb7584f96f83
2019-01-09 10:47:36 +00:00
Remi NGUYEN VAN
94e5b22985 Merge "Move DhcpServer to NetworkStack app" 2019-01-09 10:42:48 +00:00
Louis Chang
c2e193a0c9 Updating Java doc for Activity#onUserLeaveHint()
Currently, Activity#onUserLeaveHint() may not have clear enough
information descripting when it would be called. Updating
document to also check Intent#FLAG_ACTIVITY_NO_USER_ACTION
for reference.

Bug: 121282783
Test: m -j PRODUCT-sdk_x86-sdk
Change-Id: I3894efbe286575140afbbba2ed059fd0f129ef3b
2019-01-09 16:08:29 +08:00
Riddle Hsu
e716d72d40 Add @TestApi to Configuration.assetsSeq
The value of the field will be verified in CTS.

Bug: 112837428
Test: atest CtsActivityManagerDeviceTestCases
Change-Id: I7f8e4b20c75077c77f4d723946d6596737523479
2019-01-09 15:56:46 +08:00
Remi NGUYEN VAN
0e3d0923a6 Move DhcpServer to NetworkStack app
Test: atest FrameworksNetTests && atest NetworkStackTests
Bug: b/112869080

Change-Id: I96c40e63e9ceb37b67705bdd4d120307e114715b
2019-01-09 15:42:16 +09:00
Haoyu Zhang
bd69298160 Merge "Fix that TextLine overwrites wordSpcing on paint" 2019-01-09 03:55:15 +00:00
TreeHugger Robot
7f73246068 Merge "Updating the comments as per API feedback" 2019-01-09 03:36:43 +00:00