OSDN Git Service

android-x86/frameworks-base.git
6 years agoAdd hints for toggles in Slice
Mady Mellor [Wed, 8 Nov 2017 22:15:43 +0000 (14:15 -0800)]
Add hints for toggles in Slice

Test: Manual, build a slice with a toggle needs the support lib CL to
      present the toggle
Bug: 68378574

Change-Id: I4cdae84e11e2b182663186f862fed95e3bacbac5

6 years agoMerge "Fix more coretests in light of no-initial-focus"
Evan Rosky [Fri, 10 Nov 2017 18:23:45 +0000 (18:23 +0000)]
Merge "Fix more coretests in light of no-initial-focus"

6 years agoMerge "Revert "Enable new initial-focus behavior for P""
Evan Rosky [Fri, 10 Nov 2017 18:20:06 +0000 (18:20 +0000)]
Merge "Revert "Enable new initial-focus behavior for P""

6 years agoRevert "Enable new initial-focus behavior for P"
Evan Rosky [Thu, 9 Nov 2017 19:25:24 +0000 (19:25 +0000)]
Revert "Enable new initial-focus behavior for P"

This reverts commit 4dc3289c942398507a8b6240559da599d11a3284.

Reason for revert: Pushback from bundled apps.

Bug: 68841055
Bug: 34520588
Change-Id: Id771a11c9b44baf5810240cca164bae9f468b5ad

6 years agoMerge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev...
Adam Lesinski [Fri, 10 Nov 2017 18:05:54 +0000 (18:05 +0000)]
Merge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev am: 07d8249c4b
am: cc8aa11f6c  -s ours

Change-Id: If6a18f0d0807b558a2329ede06393eb18814a85d

6 years agoMerge "Allow hwuimacro to choose a renderer"
John Reck [Fri, 10 Nov 2017 17:56:38 +0000 (17:56 +0000)]
Merge "Allow hwuimacro to choose a renderer"

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83...
Jon Dormody [Fri, 10 Nov 2017 17:52:29 +0000 (17:52 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83a3 am: 719e8b5412 am: 430ed07596
am: 24f9ac4ecf

Change-Id: I3e193dd4898637a08eb771419dfbb1c14a610b77

6 years agoMerge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev
Adam Lesinski [Fri, 10 Nov 2017 17:50:49 +0000 (17:50 +0000)]
Merge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev
am: 07d8249c4b

Change-Id: I0a3235052cea9041cf6c944f71879d304bce5a56

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83...
Jon Dormody [Fri, 10 Nov 2017 17:39:42 +0000 (17:39 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83a3 am: 719e8b5412
am: 430ed07596

Change-Id: I672d6c2ff08bbe91c12bfacbe3b493ca17613ce1

6 years agoMerge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev
Adam Lesinski [Fri, 10 Nov 2017 17:32:52 +0000 (17:32 +0000)]
Merge "AAPT2: Differentiate between Android and Java package names" into oc-mr1-dev

6 years agoMerge "Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc...
Kevin Hufnagle [Fri, 10 Nov 2017 17:32:10 +0000 (17:32 +0000)]
Merge "Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev am: 9e628b60ba" into oc-mr1-dev-plus-aosp
am: be8f36d844

Change-Id: I1f64688b30ce70b66a2f07bc47fd199dc1e3dcb0

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83a3
Jon Dormody [Fri, 10 Nov 2017 17:28:30 +0000 (17:28 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev am: ec741b83a3
am: 719e8b5412

Change-Id: I779bd97e6668809dfadf50d4361b6b88ee4ee710

6 years agoMerge "Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa25...
Android Build Merger (Role) [Fri, 10 Nov 2017 17:21:15 +0000 (17:21 +0000)]
Merge "Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa258 am: 949ea9bb2a am: aab6b51c11"

6 years agoMerge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa258 am...
Tetsutoki Shiozawa [Fri, 10 Nov 2017 17:19:52 +0000 (17:19 +0000)]
Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa258 am: 949ea9bb2a
am: aab6b51c11

Change-Id: If4be33e18a761a5ad2fb522fad046a2811818f90

6 years agoMerge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names."
TreeHugger Robot [Fri, 10 Nov 2017 17:19:50 +0000 (17:19 +0000)]
Merge "AAPT2: whitelist alphanums instead of blacklisting hyphens in package names."

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev
Jon Dormody [Fri, 10 Nov 2017 17:14:04 +0000 (17:14 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev
am: ec741b83a3

Change-Id: I9d170c0baf186d074c77d2a98bd60bee66bfd701

6 years agoMerge "Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc...
Android Build Merger (Role) [Fri, 10 Nov 2017 17:13:37 +0000 (17:13 +0000)]
Merge "Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev am: 9e628b60ba" into oc-mr1-dev-plus-aosp

6 years agoMerge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev
Kevin Hufnagle [Fri, 10 Nov 2017 17:10:14 +0000 (17:10 +0000)]
Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev
am: 9e628b60ba

Change-Id: Ic5825ded0298478088f25fb0b0d14e2a8c9cc27a

6 years agoMerge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa258
Tetsutoki Shiozawa [Fri, 10 Nov 2017 17:06:04 +0000 (17:06 +0000)]
Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE" am: 4741faa258
am: 949ea9bb2a

Change-Id: I8bc04464519557a7af8e4792f30bad901d206052

6 years agoMerge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev
Kevin Hufnagle [Fri, 10 Nov 2017 17:01:17 +0000 (17:01 +0000)]
Merge "docs: Added SQLite versions used on API levels 26 and 27." into oc-mr1-dev

6 years agoMerge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev
Jon Dormody [Fri, 10 Nov 2017 16:58:17 +0000 (16:58 +0000)]
Merge "Docs: Fixed a typo by changing "retu rn" to "return"" into oc-dev

6 years agoMerge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE"
Tetsutoki Shiozawa [Fri, 10 Nov 2017 16:57:22 +0000 (16:57 +0000)]
Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE"
am: 4741faa258

Change-Id: Ifc79d7ccd5d6837a39263b6ba9728f8b4d82f81d

6 years agoMerge "Fixed the group appear animation for messaging"
TreeHugger Robot [Fri, 10 Nov 2017 16:55:43 +0000 (16:55 +0000)]
Merge "Fixed the group appear animation for messaging"

6 years agoMerge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE"
Treehugger Robot [Fri, 10 Nov 2017 16:47:00 +0000 (16:47 +0000)]
Merge "Fix: WindowManagerGlobal#setStoppedState failed by IOOBE"

6 years agoMerge "Send broadcast when location mode is about to change DO NOT MERGE" am: a524e7d...
Yoshinori Hirano [Fri, 10 Nov 2017 15:33:03 +0000 (15:33 +0000)]
Merge "Send broadcast when location mode is about to change DO NOT MERGE" am: a524e7d87d  -s ours am: 120f85a516
am: 5401c94946  -s ours

Change-Id: I5976a11d9d302dd03567f2b8facf2afdf785b2ea

6 years agoMerge "Don't send PLUGIN_CHANGED broadcast unless something changed"
TreeHugger Robot [Fri, 10 Nov 2017 15:29:47 +0000 (15:29 +0000)]
Merge "Don't send PLUGIN_CHANGED broadcast unless something changed"

6 years agoMerge "Send broadcast when location mode is about to change DO NOT MERGE" am: a524e7d...
Yoshinori Hirano [Fri, 10 Nov 2017 15:25:16 +0000 (15:25 +0000)]
Merge "Send broadcast when location mode is about to change DO NOT MERGE" am: a524e7d87d  -s ours
am: 120f85a516

Change-Id: I00d764427db65fd2dcc8a93846cbe825a91b33ac

6 years agoMerge "Send broadcast when location mode is about to change DO NOT MERGE"
Yoshinori Hirano [Fri, 10 Nov 2017 15:15:44 +0000 (15:15 +0000)]
Merge "Send broadcast when location mode is about to change DO NOT MERGE"
am: a524e7d87d  -s ours

Change-Id: I5af03e211cda75d016131db6001ac6b79836a018

6 years agoMerge "Send broadcast when location mode is about to change DO NOT MERGE"
Treehugger Robot [Fri, 10 Nov 2017 15:07:04 +0000 (15:07 +0000)]
Merge "Send broadcast when location mode is about to change DO NOT MERGE"

6 years agoMerge "Support insets on secondary displays"
TreeHugger Robot [Fri, 10 Nov 2017 14:34:52 +0000 (14:34 +0000)]
Merge "Support insets on secondary displays"

6 years agoMerge "Adjust services robotest makefile"
TreeHugger Robot [Fri, 10 Nov 2017 13:12:23 +0000 (13:12 +0000)]
Merge "Adjust services robotest makefile"

6 years agoSupport insets on secondary displays
Wale Ogunwale [Mon, 6 Nov 2017 22:21:51 +0000 (14:21 -0800)]
Support insets on secondary displays

Indroduced DisplayFrames object to track frames used to calculate
window insets per display vs. at a global level in PhoneWindowManager.

Bug: 64148922
Test: bit FrameworksServicesTests:com.android.server.wm.ScreenDecorWindowTests
Test: go/wm-smoke
Change-Id: I4a668d6c2dd0bfa666cb6acecf663cf83545ea87

6 years agoAdjust services robotest makefile
Bernardo Rufino [Thu, 9 Nov 2017 19:30:32 +0000 (19:30 +0000)]
Adjust services robotest makefile

In preparation for transport-related tests needed to make those fixes so
that Mockito annotations would work.

1. Switched from mockito-target-minus-junit4 to
mockito-robolectric-prebuilt. Otherwise we would get dexcache == null
error (similar to
https://groups.google.com/a/google.com/forum/#!topic/robolectric-users/gV0_59Kj2ME/discussion)

2. Removed unused frameworks-base-testutils because it included the
ill-suited mockito dependency (as per 1).

3. Tidied up by moving test dependencies to actual test target.

Test: make RunFrameworksServicesRoboTests
Change-Id: Idd4f13a9aa0327d74b58361ad02aa3313d30ac99

6 years agoMerge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob" am: 41f1ef8c02...
Victor Hsieh [Fri, 10 Nov 2017 10:48:48 +0000 (10:48 +0000)]
Merge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob" am: 41f1ef8c02  -s ours am: 69692df44e
am: 35ab68faeb  -s ours

Change-Id: Ib089f93d8a8aa47aef99808f191f7245a00fe366

6 years agoMerge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob" am: 41f1ef8c02...
Victor Hsieh [Fri, 10 Nov 2017 10:41:58 +0000 (10:41 +0000)]
Merge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob" am: 41f1ef8c02  -s ours
am: 69692df44e

Change-Id: Ie309cd0f3441719e8b63a584aad547ee3ef9d833

6 years agoMerge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob"
Victor Hsieh [Fri, 10 Nov 2017 10:32:37 +0000 (10:32 +0000)]
Merge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob"
am: 41f1ef8c02  -s ours

Change-Id: Icf296e0f93486f2ab9c9a1bdd6e8274b58341809

6 years agoMerge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev...
Adam Lesinski [Fri, 10 Nov 2017 10:24:56 +0000 (10:24 +0000)]
Merge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev am: 751e69b38b
am: 6385bbd860  -s ours

Change-Id: Ic1a8beb44a94af326e9af5a59a6431c1e77056bb

6 years agoMerge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob"
Treehugger Robot [Fri, 10 Nov 2017 10:22:17 +0000 (10:22 +0000)]
Merge "DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob"

6 years agoMerge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev
Adam Lesinski [Fri, 10 Nov 2017 10:13:26 +0000 (10:13 +0000)]
Merge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev
am: 751e69b38b

Change-Id: I8791a0cbfb32c25a0c73552c47509cce1d5f06e2

6 years agoMerge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev
TreeHugger Robot [Fri, 10 Nov 2017 10:01:37 +0000 (10:01 +0000)]
Merge "AAPT2: Workaround for feature splits without namespacing" into oc-mr1-dev

6 years agoMerge "Move createSocketChannel into IBluetoothSocketManager (3/3)" am: 3e9b9b74b4...
Jakub Pawlowski [Fri, 10 Nov 2017 08:42:32 +0000 (08:42 +0000)]
Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)" am: 3e9b9b74b4 am: 7b38581ded
am: 222f4a2c81

Change-Id: I88dd168c05343ed2cd2715a2b6da8eb5bae69600

6 years agoMerge "Move createSocketChannel into IBluetoothSocketManager (3/3)" am: 3e9b9b74b4
Jakub Pawlowski [Fri, 10 Nov 2017 08:31:40 +0000 (08:31 +0000)]
Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)" am: 3e9b9b74b4
am: 7b38581ded

Change-Id: I87b40395aa73c8f2d159adf2ac46a95cc70f300c

6 years agoMerge "Move createSocketChannel into IBluetoothSocketManager (3/3)"
Jakub Pawlowski [Fri, 10 Nov 2017 08:22:05 +0000 (08:22 +0000)]
Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)"
am: 3e9b9b74b4

Change-Id: Ic98a1281eb6f3f6d1deb450c5123913b2c8d25a6

6 years agoMerge "Move createSocketChannel into IBluetoothSocketManager (3/3)"
Treehugger Robot [Fri, 10 Nov 2017 08:11:26 +0000 (08:11 +0000)]
Merge "Move createSocketChannel into IBluetoothSocketManager (3/3)"

6 years agoMerge "Split NotificationMediaManager out of StatusBar."
TreeHugger Robot [Fri, 10 Nov 2017 07:34:32 +0000 (07:34 +0000)]
Merge "Split NotificationMediaManager out of StatusBar."

6 years agoMerge "Split NotificationGutsManager out of StatusBar."
TreeHugger Robot [Fri, 10 Nov 2017 06:35:46 +0000 (06:35 +0000)]
Merge "Split NotificationGutsManager out of StatusBar."

6 years agoMerge "Allow blocking calls when protected against ANRs."
Jeff Sharkey [Fri, 10 Nov 2017 06:01:40 +0000 (06:01 +0000)]
Merge "Allow blocking calls when protected against ANRs."

6 years agoAAPT2: whitelist alphanums instead of blacklisting hyphens in package names.
Donald Chai [Fri, 10 Nov 2017 05:06:52 +0000 (21:06 -0800)]
AAPT2: whitelist alphanums instead of blacklisting hyphens in package names.

BCP 47 uses plus signs for name mangling, and future qualifiers may
start using other reserved characters as well, so we might as well
futureproof the sanitizer.

Change-Id: I1be7ee4234f8e30bb0ea832372b4dc932d30550c
Fixes: 69134786
Test: UtilTest.SplitNamesAreSanitized

6 years agoMerge "Revert "Access already-read descriptors on device connect. (Eliminate extra...
TreeHugger Robot [Fri, 10 Nov 2017 05:02:53 +0000 (05:02 +0000)]
Merge "Revert "Access already-read descriptors on device connect. (Eliminate extra read)""

6 years agoSplit NotificationMediaManager out of StatusBar.
Eliot Courtney [Wed, 8 Nov 2017 00:59:38 +0000 (09:59 +0900)]
Split NotificationMediaManager out of StatusBar.

This class keeps track of the current media notification, and performs
various media notification related tasks. This is part of an ongoing
refactor to modularise StatusBar.

Bug: 63874929
Bug: 62602530
Test: runtest systemui
Test: Compile and run
Change-Id: I2f6c0c66f824e3ae24690794a5e8421c898ec355

6 years agoSplit NotificationGutsManager out of StatusBar.
Eliot Courtney [Wed, 18 Oct 2017 08:30:30 +0000 (17:30 +0900)]
Split NotificationGutsManager out of StatusBar.

This CL introduces NotificationDisplayer, which is an interface
abstracting the notification displaying related functionality of
StatusBar. This is the first CL in a series of refactoring CLs breaking
up StatusBar into re-usable components. In order to keep the code
reviews a reasonable size I've had to leave a few TODOs. For example,
later I plan to pull out an interface from NotificationStackScrollLayout,
which NotificationGutsManager (and others) would use. But, then
everything would end up being pulled into the same CL so for now it's a
TODO.

Bug: 63874929
Bug: 62602530
Test: runtest systemui
Test: Compile and run
Change-Id: I482a0554aa13aefce4c48807a627cd5ecd820880

6 years agoMerge "Reconnect service when disconnected by launcher reinstall"
TreeHugger Robot [Fri, 10 Nov 2017 04:09:08 +0000 (04:09 +0000)]
Merge "Reconnect service when disconnected by launcher reinstall"

6 years agoMerge "Show Extensible StrictMode APIs"
Kurt Nelson [Fri, 10 Nov 2017 03:48:08 +0000 (03:48 +0000)]
Merge "Show Extensible StrictMode APIs"

6 years agoMerge "Store FontCollection in MinikinPaint"
Seigo Nonaka [Fri, 10 Nov 2017 03:23:25 +0000 (03:23 +0000)]
Merge "Store FontCollection in MinikinPaint"

6 years agoRevert "Access already-read descriptors on device connect. (Eliminate extra read)"
Eric Laurent [Fri, 10 Nov 2017 02:01:50 +0000 (18:01 -0800)]
Revert "Access already-read descriptors on device connect. (Eliminate extra read)"

This reverts commit 75ed7741a270fb7bbad7fa086fd9424815a57a71.

Bug: 68944518
Bug: 68937158
Test: USB connections to audio device and laptop
Change-Id: I24b4171a74591b598dc1a862d07bcf7f7c05cfac

6 years agoShow Extensible StrictMode APIs
Kurt Nelson [Fri, 10 Nov 2017 01:25:40 +0000 (17:25 -0800)]
Show Extensible StrictMode APIs

Bug: 63535923
Test: none
Change-Id: I07382eae70292c6a78fff9eced26dd1916bc783c

6 years agoMerge "Add config flag to disable transition animation."
TreeHugger Robot [Fri, 10 Nov 2017 02:10:39 +0000 (02:10 +0000)]
Merge "Add config flag to disable transition animation."

6 years agoMerge "Remove add slippery flag to nav bar when connected to launcher service"
TreeHugger Robot [Fri, 10 Nov 2017 02:06:13 +0000 (02:06 +0000)]
Merge "Remove add slippery flag to nav bar when connected to launcher service"

6 years agoSend broadcast when location mode is about to change DO NOT MERGE
Yoshinori Hirano [Tue, 24 Oct 2017 09:23:09 +0000 (18:23 +0900)]
Send broadcast when location mode is about to change DO NOT MERGE

Send "com.android.settings.location.MODE_CHANGING" broadcast intent
when the location mode is about to be changed on Settings app or
Quick Settings.

Fixes: 28057031
Test: manual - turn the location setting on

Change-Id: Ia2db3554755a643609cfb5f0fc30f2dc2cc1beeb

6 years agoAllow blocking calls when protected against ANRs.
Jeff Sharkey [Fri, 10 Nov 2017 01:13:43 +0000 (18:13 -0700)]
Allow blocking calls when protected against ANRs.

ContentProviderClient has a nice setDetectNotResponding() method
that detects hanging calls to remote providers, and it can trigger
an ANR to kill the app and release the blocked thread.

We typically don't want to perform blocking calls from the system
server, but we're okay allowing them on CPCs that are using
setDetectNotResponding() to watch for hung clients.

Test: builds, boots
Bug: 69128093
Change-Id: I223aaf1d0cef0f8dee28f800d9e3c101d7449952

6 years agoReconnect service when disconnected by launcher reinstall
Matthew Ng [Fri, 10 Nov 2017 01:15:33 +0000 (17:15 -0800)]
Reconnect service when disconnected by launcher reinstall

When launcher is reinstalled, the current service is disconnected, now
reconnect it. Also added some unlinking with the death recipient.

Bug: 67957962
Test: manual, reinstall launcher
Change-Id: Id776948df50ce27de9e73037573be1e7eac989f5

6 years agoMerge "AAPT2: Workaround for feature splits without namespacing"
TreeHugger Robot [Fri, 10 Nov 2017 01:27:34 +0000 (01:27 +0000)]
Merge "AAPT2: Workaround for feature splits without namespacing"

6 years agoMerge "Remove the OEM hook implementation and usage" am: 413a308126 am: 80662de731
Jayachandran Chinnakkannu [Fri, 10 Nov 2017 01:10:05 +0000 (01:10 +0000)]
Merge "Remove the OEM hook implementation and usage" am: 413a308126 am: 80662de731
am: e5cfbed9f8

Change-Id: I4b29373fc5be29f066b5f6f8a786018ff94018dc

6 years agoMerge "Remove the OEM hook implementation and usage" am: 413a308126
Jayachandran Chinnakkannu [Fri, 10 Nov 2017 00:53:54 +0000 (00:53 +0000)]
Merge "Remove the OEM hook implementation and usage" am: 413a308126
am: 80662de731

Change-Id: I1e184e76efe01daf33c559e0a2d723bd4e9fb110

6 years agoStore FontCollection in MinikinPaint
Seigo Nonaka [Thu, 9 Nov 2017 20:13:17 +0000 (12:13 -0800)]
Store FontCollection in MinikinPaint

Bug: 65024629
Test: hwui_unit_tests
Change-Id: Ibe9b20f782702e0536997727f1cc788789c47552

6 years agoMerge "Remove the OEM hook implementation and usage"
Jayachandran Chinnakkannu [Fri, 10 Nov 2017 00:43:56 +0000 (00:43 +0000)]
Merge "Remove the OEM hook implementation and usage"
am: 413a308126

Change-Id: Ib81fa81a4a87f4378b9ab137a8c3eb5e386d1f0f

6 years agoMerge "Remove the OEM hook implementation and usage"
Jayachandran Chinnakkannu [Fri, 10 Nov 2017 00:31:39 +0000 (00:31 +0000)]
Merge "Remove the OEM hook implementation and usage"

6 years agoAllow hwuimacro to choose a renderer
John Reck [Fri, 10 Nov 2017 00:21:21 +0000 (16:21 -0800)]
Allow hwuimacro to choose a renderer

Test: this
Change-Id: I500b033257f317f8a3124e8072dc8d39d666b01b

6 years agoMerge "Extend JobInfo to support NetworkRequest."
Jeff Sharkey [Fri, 10 Nov 2017 00:11:58 +0000 (00:11 +0000)]
Merge "Extend JobInfo to support NetworkRequest."

6 years agoMerge "Show/hide preference instead of removing it in display."
TreeHugger Robot [Fri, 10 Nov 2017 00:03:03 +0000 (00:03 +0000)]
Merge "Show/hide preference instead of removing it in display."

6 years agoDocs: Fixed a typo by changing "retu rn" to "return"
Jonathan Dormody [Thu, 9 Nov 2017 23:53:14 +0000 (16:53 -0700)]
Docs: Fixed a typo by changing "retu rn" to "return"

Test: make ds-docs

Bug: 32830129
Change-Id: I86b359c2cf65fbd3c9d50569bf81fd669111055e

6 years agoMerge "Tracks isolated uid's and their parent uid."
TreeHugger Robot [Thu, 9 Nov 2017 23:53:58 +0000 (23:53 +0000)]
Merge "Tracks isolated uid's and their parent uid."

6 years agoMerge "Disable sanitizer entirely in ResourceTypes.cpp"
Ivan Lozano [Thu, 9 Nov 2017 23:40:37 +0000 (23:40 +0000)]
Merge "Disable sanitizer entirely in ResourceTypes.cpp"

6 years agoMerge changes from topic "am-7fec959a40764617b57e2cea2d11e35d"
Android Build Merger (Role) [Thu, 9 Nov 2017 23:39:29 +0000 (23:39 +0000)]
Merge changes from topic "am-7fec959a40764617b57e2cea2d11e35d"

* changes:
  Merge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native" am: b2bde067c2 am: 64a1fbb8cf am: 874ab0ef21
  Add IBluetoothSocketManager (3/3) am: 422af4d049 am: 6e78c792b1 am: 4a734916f1

6 years agoMerge "Finish migrating to use ProtoOutputStream. This change will take the outputs...
Howard Ro [Thu, 9 Nov 2017 23:37:20 +0000 (23:37 +0000)]
Merge "Finish migrating to use ProtoOutputStream. This change will take the outputs of each MetricProducer's and merge the results into ConfigMetricsReport which holds ConfigKey, repeated field of StatsLogReport, and UidMap. The data will be represented as vector<uint8_t> which can be passed down to binder call for clients to pick up. Also, all unnecessary dependencies to stats_log proto have been removed."

6 years agoMerge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_nati...
Jakub Pawlowski [Thu, 9 Nov 2017 23:34:22 +0000 (23:34 +0000)]
Merge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native" am: b2bde067c2 am: 64a1fbb8cf
am: 874ab0ef21

Change-Id: Ib5b30de21a15ee6220ad4aa143216fb10839d709

6 years agoRemove add slippery flag to nav bar when connected to launcher service
Matthew Ng [Thu, 9 Nov 2017 22:41:07 +0000 (14:41 -0800)]
Remove add slippery flag to nav bar when connected to launcher service

Added a listener for OverviewProxyService to get updates when the
service is connected to the launcher so that the nav bar can toggle the
slippery flag to allow more touch inputs after dragging out of the it.

Bug: 67957962
Test: manual
Change-Id: Ib1ebaec318252021fa986ec554136f19d61126f8

6 years agoAdd IBluetoothSocketManager (3/3) am: 422af4d049 am: 6e78c792b1
Jakub Pawlowski [Thu, 9 Nov 2017 23:29:54 +0000 (23:29 +0000)]
Add IBluetoothSocketManager (3/3) am: 422af4d049 am: 6e78c792b1
am: 4a734916f1

Change-Id: I57d82078ef8f7c26b5ee50da2588da3d9999426d

6 years agoMerge "Update managed service documentation for low ram devices."
TreeHugger Robot [Thu, 9 Nov 2017 23:25:22 +0000 (23:25 +0000)]
Merge "Update managed service documentation for low ram devices."

6 years agoFix more coretests in light of no-initial-focus
Evan Rosky [Thu, 9 Nov 2017 23:13:31 +0000 (15:13 -0800)]
Fix more coretests in light of no-initial-focus

Fixes for several coretests in:
android.view
android.widget.focus
android.widget.layout.table
android.widget.listview.*
android.widget.touchmode

Bug: 67467972
Test: several
Change-Id: Ic7a4bcaee8f1d4b2c5568e94f5ab9259d8fa2c8c

6 years agoMerge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_nati...
Jakub Pawlowski [Thu, 9 Nov 2017 23:04:28 +0000 (23:04 +0000)]
Merge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native" am: b2bde067c2
am: 64a1fbb8cf

Change-Id: I8e480c1ca3c1cdbd61e2b854bf4b42d1e81087ae

6 years agoDO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob
Victor Hsieh [Thu, 9 Nov 2017 18:32:10 +0000 (10:32 -0800)]
DO NOT MERGE Change pm.dexopt.priv-apps to .priv-apps-oob

Other than the renaming, the meaning is now opposite.

Test: build
Bug: 67415855
Bug: 63920015

Change-Id: I349c0b233079b5958e4a308d6c7ad9b3a54f157a

6 years agoAAPT2: Workaround for feature splits without namespacing
Adam Lesinski [Wed, 8 Nov 2017 01:08:07 +0000 (17:08 -0800)]
AAPT2: Workaround for feature splits without namespacing

Android Instant Apps in its current iteration does not use namespaces,
but due to limitations on the Android resource runtime, needs to make
it look like it does.

This is due to a bug that treats any package ID that's not 0x01 or 0x7F
as a shared library. Shared libraries require unique package names.

As a workaround, and since Android Instant Apps can not have a feature
depend on another feature, we can alter the resource package name of a
feature split just before writing it out to disk. This avoids using a
unique package name while linking, thereby avoiding namespace issues.

Bug: 68820737
Test: manual
Merged-In: Ic553ed42656436bbb949393d0248ee7bb9d37860
Change-Id: Ic553ed42656436bbb949393d0248ee7bb9d37860

6 years agoAdd IBluetoothSocketManager (3/3) am: 422af4d049
Jakub Pawlowski [Thu, 9 Nov 2017 23:00:46 +0000 (23:00 +0000)]
Add IBluetoothSocketManager (3/3) am: 422af4d049
am: 6e78c792b1

Change-Id: I391f671746b852cb61ed0f8422726de111e888f9

6 years agoMerge "Extensible StrictMode"
Kurt Nelson [Thu, 9 Nov 2017 23:00:31 +0000 (23:00 +0000)]
Merge "Extensible StrictMode"

6 years agoMerge "Add missing break to switch in resourceQualifierString()."
Christian Williams [Thu, 9 Nov 2017 22:58:36 +0000 (22:58 +0000)]
Merge "Add missing break to switch in resourceQualifierString()."

6 years agoAAPT2: Workaround for feature splits without namespacing
Adam Lesinski [Wed, 8 Nov 2017 01:08:07 +0000 (17:08 -0800)]
AAPT2: Workaround for feature splits without namespacing

Android Instant Apps in its current iteration does not use namespaces,
but due to limitations on the Android resource runtime, needs to make
it look like it does.

This is due to a bug that treats any package ID that's not 0x01 or 0x7F
as a shared library. Shared libraries require unique package names.

As a workaround, and since Android Instant Apps can not have a feature
depend on another feature, we can alter the resource package name of a
feature split just before writing it out to disk. This avoids using a
unique package name while linking, thereby avoiding namespace issues.

Bug: 68820737
Test: manual
Change-Id: Ic553ed42656436bbb949393d0248ee7bb9d37860

6 years agoMerge "Update CountAnomalyTracker to handle slicing."
TreeHugger Robot [Thu, 9 Nov 2017 22:47:56 +0000 (22:47 +0000)]
Merge "Update CountAnomalyTracker to handle slicing."

6 years agoMerge "OBEX : Handle Negative index Exception" am: 08d23cf07a am: 1c0778dd36
Hemant Gupta [Thu, 9 Nov 2017 22:41:23 +0000 (22:41 +0000)]
Merge "OBEX : Handle Negative index Exception" am: 08d23cf07a am: 1c0778dd36
am: 4d358165db

Change-Id: Idd1df7aea56ec9552d364f45e4b4e1c832305ec5

6 years agoMerge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native"
Jakub Pawlowski [Thu, 9 Nov 2017 22:30:31 +0000 (22:30 +0000)]
Merge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native"
am: b2bde067c2

Change-Id: I3c067c01d6fba25022e80950eb77c3d98405b481

6 years agoAdd IBluetoothSocketManager (3/3)
Jakub Pawlowski [Thu, 9 Nov 2017 22:25:29 +0000 (22:25 +0000)]
Add IBluetoothSocketManager (3/3)
am: 422af4d049

Change-Id: Ic246d5e4f5a62b3f201c700a007faaffe2ebf9e3

6 years agoMove createSocketChannel into IBluetoothSocketManager (3/3)
Jakub Pawlowski [Mon, 6 Nov 2017 20:16:25 +0000 (12:16 -0800)]
Move createSocketChannel into IBluetoothSocketManager (3/3)

Bug: 68359837
Test: none
Change-Id: I52b03ff3d637bf661c70279b7ca18b105157f7a2

6 years agoMerge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native"
Jakub Pawlowski [Thu, 9 Nov 2017 22:11:38 +0000 (22:11 +0000)]
Merge changes from topics "parcel_uuid_and_fd_native", "bluetooth_socket_manager_native"

* changes:
  Make ParcelUuid and ParcelFileDescriptor accesible to native Binder (2/2)
  Add IBluetoothSocketManager (3/3)

6 years agoMerge "OBEX : Handle Negative index Exception" am: 08d23cf07a
Hemant Gupta [Thu, 9 Nov 2017 22:01:32 +0000 (22:01 +0000)]
Merge "OBEX : Handle Negative index Exception" am: 08d23cf07a
am: 1c0778dd36

Change-Id: Ib9df175617a6b5a3a934caded6d44e6b7cd621b4

6 years agoMerge "OBEX : Handle Negative index Exception"
Hemant Gupta [Thu, 9 Nov 2017 21:51:52 +0000 (21:51 +0000)]
Merge "OBEX : Handle Negative index Exception"
am: 08d23cf07a

Change-Id: Icd513d2060cf1e8fe8fcd06bbedfc0ef5bf5a6fd

6 years agoTracks isolated uid's and their parent uid.
David Chen [Thu, 2 Nov 2017 00:32:46 +0000 (17:32 -0700)]
Tracks isolated uid's and their parent uid.

We push events from BatteryStatsImpl if an isolated uid is added or
removed and we have a custom rule in statsd to use these events to
update our uid map. In the future, we need to use this map to
convert all incoming uid's to their host uid.

Test: Added unit-test to UidMap_test.
Change-Id: I33c0451eb2c886161f22dd12e479d216fad0940d

6 years agoMerge "Use Skia API to detect if FP16 render buffer is supported"
TreeHugger Robot [Thu, 9 Nov 2017 21:23:00 +0000 (21:23 +0000)]
Merge "Use Skia API to detect if FP16 render buffer is supported"

6 years agoMerge "Revert "Allow IMEs to use light nav bar buttons""
TreeHugger Robot [Thu, 9 Nov 2017 21:17:58 +0000 (21:17 +0000)]
Merge "Revert "Allow IMEs to use light nav bar buttons""

6 years agoMerge "Throw exception on non-finite floats"
John Reck [Thu, 9 Nov 2017 21:14:24 +0000 (21:14 +0000)]
Merge "Throw exception on non-finite floats"

6 years agoMerge "OBEX : Handle Negative index Exception"
Treehugger Robot [Thu, 9 Nov 2017 21:12:43 +0000 (21:12 +0000)]
Merge "OBEX : Handle Negative index Exception"