OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
Daniel Nishi [Fri, 23 Jun 2017 04:19:10 +0000 (04:19 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
am: f14c1e12cf

Change-Id: I48c0c952d4679304d1adcda238e93c6bdd133110

7 years agoMerge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 04:09:32 +0000 (04:09 +0000)]
Merge "Add in the getCacheQuotaBytes method to wrapper." into oc-dev

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612
Marie Janssen [Fri, 23 Jun 2017 03:38:17 +0000 (03:38 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse" am: 5a56873612
am: 3205ff1331

Change-Id: I0cd44ad8d22da154d0bf666b9075a3fcbc655439

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse"
Marie Janssen [Fri, 23 Jun 2017 03:28:34 +0000 (03:28 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse"
am: 5a56873612

Change-Id: Ie202361631f9268055a190c8606e07d89dc349d4

7 years agoMerge "Bluetooth: minor documentation fix to de-confuse"
Marie Janssen [Fri, 23 Jun 2017 03:17:35 +0000 (03:17 +0000)]
Merge "Bluetooth: minor documentation fix to de-confuse"

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev
Wale Ogunwale [Fri, 23 Jun 2017 02:19:26 +0000 (02:19 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev
am: b55b842898

Change-Id: I5b73df5e46d26d2008dba7a34345a0c37c099514

7 years agoMerge "Dump user id in dumpsys activity starter" into oc-dev
TreeHugger Robot [Fri, 23 Jun 2017 02:10:32 +0000 (02:10 +0000)]
Merge "Dump user id in dumpsys activity starter" into oc-dev

7 years agoAdd in the getCacheQuotaBytes method to wrapper.
Daniel Nishi [Fri, 23 Jun 2017 01:53:03 +0000 (18:53 -0700)]
Add in the getCacheQuotaBytes method to wrapper.

Bug: 62623731
Test: Settings Unit Test
Change-Id: Ibd779c7d9e60c44440483489b231ba0715321bc1

7 years agoImproved documentation for AutofillService package:
Felipe Leme [Fri, 23 Jun 2017 00:36:37 +0000 (00:36 +0000)]
Improved documentation for AutofillService package:
am: 2ef19c1d73

Change-Id: Iac283d34da149829a25313d0910f2564b347e332

7 years agoDump user id in dumpsys activity starter
Wale Ogunwale [Thu, 22 Jun 2017 23:43:53 +0000 (16:43 -0700)]
Dump user id in dumpsys activity starter

To help with ANR debugging.

Test: adb shell dumpsys activity starter
Bug: 38121026
Change-Id: I96d530662e6a362b817df3ca8410cb173a2c0dd4

7 years agoMerge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev...
Android Build Merger (Role) [Thu, 22 Jun 2017 22:37:54 +0000 (22:37 +0000)]
Merge "Merge "ASM Priority Boost Tool" am: 8ff8dd16cc am: 8ac18ceb8a" into oc-dev-plus-aosp

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev
Todd Kennedy [Thu, 22 Jun 2017 22:35:06 +0000 (22:35 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev
am: 16503a8f7e

Change-Id: I13cf0e00de235d0bbdb79aa553e04386c519975d

7 years agoMerge "ASM Priority Boost Tool" am: 8ff8dd16cc
Alan Leung [Thu, 22 Jun 2017 22:34:29 +0000 (22:34 +0000)]
Merge "ASM Priority Boost Tool" am: 8ff8dd16cc
am: 8ac18ceb8a

Change-Id: I68f86f307368de6870a7d649118d1a0f8c744a88

7 years agoImproved documentation for AutofillService package:
Felipe Leme [Mon, 5 Jun 2017 18:32:32 +0000 (11:32 -0700)]
Improved documentation for AutofillService package:

- Moved (and expanded) overall documentation from FillResponse to
  AutofillService.
- Improved SaveInfo documentation.
- Improved FillRequest documentation.
- Improved Dataset documentation.

Bug: 37567048
Test: ran 'm -j doc-comment-check-docs' and checked resulting HTML

Change-Id: I157893deac06a5ed5e1cb7fd082da485f227b9ee

7 years agoMerge "ASM Priority Boost Tool"
Alan Leung [Thu, 22 Jun 2017 22:24:51 +0000 (22:24 +0000)]
Merge "ASM Priority Boost Tool"
am: 8ff8dd16cc

Change-Id: Ifb62ee3132e984340e4457b543c4f84f7c45995a

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
Rob Carr [Thu, 22 Jun 2017 22:19:45 +0000 (22:19 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
am: 82b41e460c

Change-Id: I14f6fe76b3a24266432a8bc7286d1ae5da8f719d

7 years agoMerge "Allow any app to dynamically install a split" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 22:11:44 +0000 (22:11 +0000)]
Merge "Allow any app to dynamically install a split" into oc-dev

7 years agoMerge "ASM Priority Boost Tool"
Treehugger Robot [Thu, 22 Jun 2017 22:10:56 +0000 (22:10 +0000)]
Merge "ASM Priority Boost Tool"

7 years agoMerge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev
Rob Carr [Thu, 22 Jun 2017 22:08:03 +0000 (22:08 +0000)]
Merge "ListPopupWindow: Wrap new bounds checking in targetSdk check." into oc-dev

7 years agoMerge "Fix code and test related to rules version check" am: a3579d4b84
Neil Fuller [Thu, 22 Jun 2017 21:49:28 +0000 (21:49 +0000)]
Merge "Fix code and test related to rules version check" am: a3579d4b84
am: c506ade205

Change-Id: Ia72b94700d1a65de769beace27e699e62aedcd9f

7 years agoMerge "Change PIP notification icon" into oc-dev
Shubang [Thu, 22 Jun 2017 21:44:18 +0000 (21:44 +0000)]
Merge "Change PIP notification icon" into oc-dev
am: 9f3967fee1

Change-Id: I1f12ec16adaa173d90ffbb62c5a88387340e4042

7 years agoMerge "Fix code and test related to rules version check"
Neil Fuller [Thu, 22 Jun 2017 21:37:48 +0000 (21:37 +0000)]
Merge "Fix code and test related to rules version check"
am: a3579d4b84

Change-Id: I2021e64f04e0e55de21dcdc0a932ce535e6a7f9f

7 years agoMerge "Change PIP notification icon" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 21:31:56 +0000 (21:31 +0000)]
Merge "Change PIP notification icon" into oc-dev

7 years agoMerge "Fix code and test related to rules version check"
Treehugger Robot [Thu, 22 Jun 2017 21:23:52 +0000 (21:23 +0000)]
Merge "Fix code and test related to rules version check"

7 years agoASM Priority Boost Tool
Alan Leung [Sat, 13 May 2017 00:31:13 +0000 (17:31 -0700)]
ASM Priority Boost Tool

This tool is a replacement for the Jack plugin that allows injection
of static method calls before lock enter and exit.

A common use case would be to boost a thread's priority as soon as
it acquires a heavily contented lock and resetting the priority upon
release.

This tool is meant to be optionally invoked from /build/core/ rules
during the build process.

Test: JUnit Tests / resulting image on a bullhead.

Change-Id: If400414a0bf50f03768a1de2ebee42086a9d701f
Merged-In: If400414a0bf50f03768a1de2ebee42086a9d701f
(cherry picked from commit 93db63059ad5e9e1d59c8ce013559069d566ef4c)

7 years agoBluetooth: minor documentation fix to de-confuse
Marie Janssen [Fri, 13 Jan 2017 00:00:30 +0000 (16:00 -0800)]
Bluetooth: minor documentation fix to de-confuse

It was somewhat unclear which is the preferred method of retrieving a
BluetoothAdapter.  Make it clear that using BluetoothManager is
preferred, and remove references to the old method in BluetoothManager
docs since it is only avaialable in API 18 or higher.

Test: recompile, check that documentation is updated
Fix: 33355430
Change-Id: Ia20b4e45dca03bc2f13c2ab477799b89c5e14f45

7 years agoFix code and test related to rules version check
Neil Fuller [Thu, 22 Jun 2017 16:58:02 +0000 (17:58 +0100)]
Fix code and test related to rules version check

Fix code and test related to an incorrectly implemented
rules version check.

This meant that a device could not return the rules version
it shipped with.

Another unused (and also confusing) method and
associated test is being deleted here.

To run tests:
make -j30 FrameworksServicesTests
adb install -r -g \
  "out/target/product/angler/data/app/FrameworksServicesTests/FrameworksServicesTests.apk"
adb shell am instrument -e package com.android.server.timezone -w \
  com.android.frameworks.servicestests \
  "com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner"

Test: See above.
Bug: 31008728
Change-Id: I31b55e88072dd73055cb3d8cf252be6eac920322

7 years agoMerge "Added more systrace points to window manager" into oc-dev
Wale Ogunwale [Thu, 22 Jun 2017 19:58:40 +0000 (19:58 +0000)]
Merge "Added more systrace points to window manager" into oc-dev
am: 182d5ec2d2

Change-Id: I50d3778a7874656803a38594c0cdb1a5f95be123

7 years agoAllow any app to dynamically install a split
Todd Kennedy [Thu, 22 Jun 2017 19:40:39 +0000 (12:40 -0700)]
Allow any app to dynamically install a split

Any application starting an activity resolved to a dyanmic split
should initiate split installation. Previously, only the application
defining the split could start installation of the split.

Bug: 62872325
Test: Manual; install instant app and start intent using 'adb shell am' and see that dynamic split installation occurs
Change-Id: I232dc5df82fb2c04653015a4a6b9f07c9e382205

7 years agoMerge "Added more systrace points to window manager" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 19:30:40 +0000 (19:30 +0000)]
Merge "Added more systrace points to window manager" into oc-dev

7 years agoListPopupWindow: Wrap new bounds checking in targetSdk check.
Robert Carr [Wed, 21 Jun 2017 17:25:05 +0000 (10:25 -0700)]
ListPopupWindow: Wrap new bounds checking in targetSdk check.

While a negative height is pretty silly, crashing apps on
the new version of android makes them sad.

Test: Existing CTS passes.
Bug: 62434804
Change-Id: I5fc3fc50fb6ccfa9e96f38ded4fb8e338f263f09

7 years agoMerge "Add a common call when wrapping an app." am: 12e0975963
Christopher Ferris [Thu, 22 Jun 2017 18:40:30 +0000 (18:40 +0000)]
Merge "Add a common call when wrapping an app." am: 12e0975963
am: bb6cf84a40

Change-Id: I5a52a1cdfa5994f3f8c44e367c3a0bdbfba838fd

7 years agoMerge "Add a common call when wrapping an app."
Christopher Ferris [Thu, 22 Jun 2017 18:32:22 +0000 (18:32 +0000)]
Merge "Add a common call when wrapping an app."
am: 12e0975963

Change-Id: I81830a6d826cd109c99f6e857204f96da9d4a656

7 years agoMerge "Add a common call when wrapping an app."
Christopher Ferris [Thu, 22 Jun 2017 18:22:07 +0000 (18:22 +0000)]
Merge "Add a common call when wrapping an app."

7 years agoMerge "Ensure icon contrast on the shelf" into oc-dev
Lucas Dupin [Thu, 22 Jun 2017 17:42:17 +0000 (17:42 +0000)]
Merge "Ensure icon contrast on the shelf" into oc-dev
am: d0550a9b6c

Change-Id: I6eb862d98fb45a07ce07894e4afd5e0b33befa5d

7 years agoAdded more systrace points to window manager
Wale Ogunwale [Thu, 22 Jun 2017 16:08:14 +0000 (09:08 -0700)]
Added more systrace points to window manager

To help debug performance issues

Test: external/chromium-trace/systrace.py -t 3
Bug: 62796190
Change-Id: Ie6012a895174053c4732fb58b9365546fdb979de

7 years agoMerge "Ensure icon contrast on the shelf" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 17:25:10 +0000 (17:25 +0000)]
Merge "Ensure icon contrast on the shelf" into oc-dev

7 years agoMerge "Fix ConcurrentModificationException from LocationController" into oc-dev
Jason Monk [Thu, 22 Jun 2017 15:45:37 +0000 (15:45 +0000)]
Merge "Fix ConcurrentModificationException from LocationController" into oc-dev
am: 6791bee744

Change-Id: If4957d57dd68bbbd459245c35ca8d049504e12bd

7 years agoMerge "Fix ConcurrentModificationException from LocationController" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 15:39:22 +0000 (15:39 +0000)]
Merge "Fix ConcurrentModificationException from LocationController" into oc-dev

7 years agoMerge "Ensure that android.test tests pass" am: 156775fea8
Paul Duffin [Thu, 22 Jun 2017 14:39:08 +0000 (14:39 +0000)]
Merge "Ensure that android.test tests pass" am: 156775fea8
am: 34dc5a58b3

Change-Id: I546ea542d0781f825e131eb94bc54e22adadfc4e

7 years agoMerge "Ensure that android.test tests pass"
Paul Duffin [Thu, 22 Jun 2017 14:29:01 +0000 (14:29 +0000)]
Merge "Ensure that android.test tests pass"
am: 156775fea8

Change-Id: I7fe4f45bd98acea016e02b44a4df38f0e907c0e4

7 years agoMerge "Ensure that android.test tests pass"
Treehugger Robot [Thu, 22 Jun 2017 14:17:16 +0000 (14:17 +0000)]
Merge "Ensure that android.test tests pass"

7 years agoFix ConcurrentModificationException from LocationController
Jason Monk [Thu, 22 Jun 2017 13:19:54 +0000 (09:19 -0400)]
Fix ConcurrentModificationException from LocationController

Test: runtest systemui
Change-Id: I0b7db7344217b3b7ad91f315100d1873e8167baf
Fixes: 62859544

7 years agoEnsure that android.test tests pass
Paul Duffin [Thu, 22 Jun 2017 11:52:18 +0000 (12:52 +0100)]
Ensure that android.test tests pass

It looks as though the tests in test-runner/tests have not actually been
run successfully for over 7 years. As a result they have degraded. This
change fixes the tests so that they will pass and provides instructions
on how to run them.

TestCaseUtilTest.testGetTestCaseNamesForTestSuiteWithSuiteMethod
    This fails because it expected 2 names to be returned but only
    returns 0. The reason for that is although TwoTestsInTestSuite has a
    Test suite() method that does create a TestSuite with two tests the
    TestCaseUtil method does not actually call suite(). Instead, because
    TwoTestsInTestSuite is a TestSuite it just calls the tests() method
    on it which returns an empty Enumeration because TwoTestsInTestSuite
    is empty.

    The support for "static Test suite() {}" is broken but fixing this
    will affect the behavior of InstrumentationTestRunner which is used
    in thousands of different places both in and outside Google and so
    could cause untold problems.

TestSuiteBuilderTest.testIncludeAllPackagesUnderHere
    Reformat the list, one per line and then add missing name
    "testPublicConstructor".

ErrorTest/FailingTest
    These tests are not meant to be run on their own, only as part of a
    separate test. The RunAsPartOfSeparateTest annotation was added to
    allow these to be excluded using notAnnotation as shown in the
    instructions for running the tests.

Bug: 30188076
Test: followed new instructions in test-runner/tests/Android.mk
Change-Id: I60e7bee9cd08a9ab7777a2578fc58da772de5c1f

7 years agoMerge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev
Erik Kline [Thu, 22 Jun 2017 11:34:29 +0000 (11:34 +0000)]
Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev
am: be7657b038  -s ours

Change-Id: I1e1df0a71687c7156adcb2dd38016e07bb908713

7 years agoMerge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 11:27:28 +0000 (11:27 +0000)]
Merge "Create a TetherInterfaceStateMachine when told the interface name." into oc-dev

7 years agoMerge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev
Narayan Kamath [Thu, 22 Jun 2017 10:37:47 +0000 (10:37 +0000)]
Merge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev
am: 31cf02742e

Change-Id: I8314fcf2fc2fab8f8b4db84cec89efbc6c08660e

7 years agoMerge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev
Narayan Kamath [Thu, 22 Jun 2017 10:32:28 +0000 (10:32 +0000)]
Merge "_exit(0) on clean shutdown, not _exit(1)" into oc-dev

7 years agoOnly disable Wi-Fi IP serving on specific interface, if available
Erik Kline [Thu, 22 Jun 2017 09:46:13 +0000 (09:46 +0000)]
Only disable Wi-Fi IP serving on specific interface, if available
am: c8b180116d  -s ours

Change-Id: If6064345828691ffcad1f1498a0d7940eff5486d

7 years agoCreate a TetherInterfaceStateMachine when told the interface name.
Erik Kline [Tue, 20 Jun 2017 12:18:31 +0000 (21:18 +0900)]
Create a TetherInterfaceStateMachine when told the interface name.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 62343300

Merged-In: I542e013aa19fefd3443588c9a81ee59cd669ab6f
Merged-In: I973bdc5b540cce66a9713cebfd5071ad4a4b0a08
Merged-In: I2104ecf8102c8f9541ee2d3ce6589b0081db4fe3
Change-Id: I2104ecf8102c8f9541ee2d3ce6589b0081db4fe3
(cherry picked from commit b912c50b197cc0fc49bb7897130581dd02d2af01)

7 years agoMerge "ConnectivityManager: fix style issue" am: e74f3adba5
Hugo Benichi [Thu, 22 Jun 2017 08:03:46 +0000 (08:03 +0000)]
Merge "ConnectivityManager: fix style issue" am: e74f3adba5
am: ec54a40339

Change-Id: I5a420534268a0daec19f1f0677dcfe7abd8faf73

7 years agoMerge "ConnectivityManager: fix style issue"
Hugo Benichi [Thu, 22 Jun 2017 07:56:32 +0000 (07:56 +0000)]
Merge "ConnectivityManager: fix style issue"
am: e74f3adba5

Change-Id: I0c41dedac1d1e947a3d614ccea85ef48dc011c34

7 years agoMerge "ConnectivityManager: fix style issue"
Treehugger Robot [Thu, 22 Jun 2017 07:46:34 +0000 (07:46 +0000)]
Merge "ConnectivityManager: fix style issue"

7 years agoMerge "Use RFC 7217 stable privacy addresses" am: a88b12ce5e
Joel Scherpelz [Thu, 22 Jun 2017 06:48:09 +0000 (06:48 +0000)]
Merge "Use RFC 7217 stable privacy addresses" am: a88b12ce5e
am: 4c4d5477d4

Change-Id: I7f286484a31c7209e48e93a94d2a16849af6dace

7 years agoMerge "Use RFC 7217 stable privacy addresses"
Joel Scherpelz [Thu, 22 Jun 2017 06:41:01 +0000 (06:41 +0000)]
Merge "Use RFC 7217 stable privacy addresses"
am: a88b12ce5e

Change-Id: I3b79ecd87233db0b4242e8c02355d83686d27e6e

7 years agoOnly disable Wi-Fi IP serving on specific interface, if available
Erik Kline [Fri, 9 Jun 2017 07:36:29 +0000 (16:36 +0900)]
Only disable Wi-Fi IP serving on specific interface, if available

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
Bug: 32163131
Bug: 62343300

Merged-In: Id8d9c3f67f7a850af69069abee86adfc62841b28
Merged-In: Iac19359fd8712fa6a135f31bed9f0da97b3f2977
Merged-In: I99b170ebacc4135d1a09ce1ec3d43f76c6765de4
Change-Id: Ifd9131bad20810ee24c9436d8c0df7a81fae11d5
(cherry picked from commit 218c226b0882640a351deb0dd945a30b8bc32fff)

7 years agoMerge "Use RFC 7217 stable privacy addresses"
Joel Scherpelz [Thu, 22 Jun 2017 06:34:28 +0000 (06:34 +0000)]
Merge "Use RFC 7217 stable privacy addresses"

7 years ago_exit(0) on clean shutdown, not _exit(1)
Brian Carlstrom [Thu, 22 Jun 2017 05:14:40 +0000 (22:14 -0700)]
_exit(0) on clean shutdown, not _exit(1)

Test: m -j32 checkbuild
Bug: 36066697
Change-Id: Iaed45a86f9603badf26041212dfc5e9399bc0a0c

7 years agoMerge "Refactor TISM add/remove code" into oc-dev
Erik Kline [Thu, 22 Jun 2017 04:59:53 +0000 (04:59 +0000)]
Merge "Refactor TISM add/remove code" into oc-dev
am: c0af382a25  -s ours

Change-Id: I20a865bc4e652757acfe2c7a6680fdc2b4f5ea2a

7 years agoMerge "Refactor TISM add/remove code" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 04:52:32 +0000 (04:52 +0000)]
Merge "Refactor TISM add/remove code" into oc-dev

7 years agoUse RFC 7217 stable privacy addresses
Joel Scherpelz [Wed, 7 Jun 2017 06:38:38 +0000 (15:38 +0900)]
Use RFC 7217 stable privacy addresses

Ask Netd to setup WiFi interfaces to use stable privacy addresses. This
should fail benignly on devices with kernels lacking RFC 7217 support.

Test: as follows
    - built
    - flashed
    - booted
    - Manually observed persistent stable secret
    - Manually observed randomized IPv6 addresses (with flags = 800)
Bug: 17613910

Change-Id: I9465de16685b1eb0fd842446a530cf98d77a0c28

7 years agoMerge "Autofill fixes for secondary users:" into oc-dev
Felipe Leme [Thu, 22 Jun 2017 03:16:42 +0000 (03:16 +0000)]
Merge "Autofill fixes for secondary users:" into oc-dev
am: 6358cdcd28

Change-Id: I57f715b886515d53c25104b9952597a961fb3ca2

7 years agoMerge "Autofill fixes for secondary users:" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 03:11:17 +0000 (03:11 +0000)]
Merge "Autofill fixes for secondary users:" into oc-dev

7 years agoRefactor TISM add/remove code
Erik Kline [Wed, 26 Apr 2017 02:11:07 +0000 (11:11 +0900)]
Refactor TISM add/remove code

This de-duplicates all the TISM adding and teardown code.
It does not yet change the locking or threading semantics.

Test: as follows
    - built
    - flashed
    - booted
    - "runtest frameworks-net" passes
    - manual tethering of WiFi and USB start normally
Bug: 32163131
Bug: 36216864
Bug: 62343300

Merged-In: I8ed82272183022a0469011a1f993704ecf771e3f
Merged-In: Ic1bcb3ca011bdc886086f34be18409eb5b12f521
Merged-In: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
Change-Id: I44a57660d23e76a7c13368cb8f60eaeac5830a0a
(cherry picked from commit 4dd9bb83e2779b309dcc7a7db389b16fa3cb05be)

7 years agoChange PIP notification icon
Shubang [Thu, 22 Jun 2017 02:15:26 +0000 (19:15 -0700)]
Change PIP notification icon

Bug: 62823941
Test: mmm
Change-Id: Ibb5ad0d77a006e115fc7f163381d0547979e1867

7 years agoMerge "Clarify startScan API on how to get results" into oc-dev
Amith Yamasani [Thu, 22 Jun 2017 01:20:36 +0000 (01:20 +0000)]
Merge "Clarify startScan API on how to get results" into oc-dev
am: 78f3a0f722

Change-Id: Ib58abc3ef4eb3c525af9ec2bb6f66e794b659030

7 years agoMerge "Clarify startScan API on how to get results" into oc-dev
TreeHugger Robot [Thu, 22 Jun 2017 01:14:12 +0000 (01:14 +0000)]
Merge "Clarify startScan API on how to get results" into oc-dev

7 years agoAutofill fixes for secondary users:
Felipe Leme [Thu, 22 Jun 2017 00:33:41 +0000 (17:33 -0700)]
Autofill fixes for secondary users:

- Display the SaveUI on all users.
- Dismiss the UI when switching users.
- Fix security check on disableOwnedAutofillServicesLocked()

Test: manual verification
Change-Id: I4e9167314f1feeda618db6c57735cc31d84486c1
Fixes: 62828906

7 years agoAdd a common call when wrapping an app.
Christopher Ferris [Tue, 20 Jun 2017 23:13:40 +0000 (16:13 -0700)]
Add a common call when wrapping an app.

When an application is wrapped using setprop wrap.<application>, it
doesn't set the special zygote flag, or make the mallopt call. This
means that a wrapped application will behave differently, and not
be able to track zygote native allocations versus app native allocations.

This CL adds a nativePreApplicationInit call that is used after the
Zygote is forked, and when a wrapped application is called.

Bug: 62068500

Test: Booted sailfish system. Verified that the zygote has not called
Test: the new function. Verified the function is called when a wrapper
Test: is used. Verified the function is called when the Zygote forks
Test: a process.
Change-Id: I392e1b5429be77def63f7815b072d68e9408cc7f
(cherry picked from commit 2980de4a59db048851fbbac9cd847a96a12fa4ec)

7 years agoresolve merge conflicts of 4ff3cf1eca71 to stage-aosp-master
fionaxu [Wed, 21 Jun 2017 21:50:47 +0000 (21:50 +0000)]
resolve merge conflicts of 4ff3cf1eca71 to stage-aosp-master
am: ec573fddcb

Change-Id: I2a561ee6c35b339f5e1790a6995dc56e53933207

7 years agoMerge "Provide content description for WorkLockActivity." into oc-dev
Pavel Grafov [Wed, 21 Jun 2017 21:24:47 +0000 (21:24 +0000)]
Merge "Provide content description for WorkLockActivity." into oc-dev
am: f044e0b87f

Change-Id: Ib3df83d82eb2646a0f657606e05225250b5db2e5

7 years agoMerge "Provide content description for WorkLockActivity." into oc-dev
Pavel Grafov [Wed, 21 Jun 2017 21:18:31 +0000 (21:18 +0000)]
Merge "Provide content description for WorkLockActivity." into oc-dev

7 years agoMerge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
Rob Carr [Wed, 21 Jun 2017 21:08:31 +0000 (21:08 +0000)]
Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
am: 8bc0aa2559

Change-Id: I9ed40cbf0724627bcc89a2dd305ba61f206570e0

7 years agoClarify startScan API on how to get results
Amith Yamasani [Wed, 21 Jun 2017 21:06:44 +0000 (14:06 -0700)]
Clarify startScan API on how to get results

Make it clear in BluetoothLeScanner on how to get results
when starting a scan for a PendingIntent.

Bug: 38365430
Test: make offline-sdk-docs
Change-Id: I0bf88d751c89a8a478db985713357e153ac08595

7 years agoMerge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev
Rob Carr [Wed, 21 Jun 2017 21:01:42 +0000 (21:01 +0000)]
Merge "Create Splash Screen context with CONTEXT_RESTRICTED." into oc-dev

7 years agoEnsure icon contrast on the shelf
Lucas Dupin [Wed, 21 Jun 2017 18:58:31 +0000 (11:58 -0700)]
Ensure icon contrast on the shelf

Change-Id: Ie9251ae4bdb4b590ce93c7f2f092476d5f895b5a
Fixes: 62591326
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/statusbar/StatusBarIconViewTest.java

7 years agoresolve merge conflicts of 4ff3cf1eca71 to stage-aosp-master
fionaxu [Wed, 21 Jun 2017 20:50:51 +0000 (13:50 -0700)]
resolve merge conflicts of 4ff3cf1eca71 to stage-aosp-master

Change-Id: Id8b10a739e6a313d74908d7fd7068d53ccf994a5

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 21 Jun 2017 20:25:08 +0000 (20:25 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 7c23c990f1  -s ours

Change-Id: I219b010519c5efae20ca065ca29257a1f876fd7e

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 20:17:35 +0000 (20:17 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Wed, 21 Jun 2017 19:56:07 +0000 (19:56 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 242c3c497c  -s ours

Change-Id: Iaa7d2555bdcab5be052515f8f5d9c5c38360b4e9

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 19:51:45 +0000 (19:51 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Fix mobile signal icon when in airplane mode" into oc-dev
Evan Laird [Wed, 21 Jun 2017 19:42:21 +0000 (19:42 +0000)]
Merge "Fix mobile signal icon when in airplane mode" into oc-dev
am: 6a651f81b5

Change-Id: Ie1fc63cf41efbe8006dad8ab80217f7d945b2de7

7 years agoMerge "Fix mobile signal icon when in airplane mode" into oc-dev
Evan Laird [Wed, 21 Jun 2017 19:31:22 +0000 (19:31 +0000)]
Merge "Fix mobile signal icon when in airplane mode" into oc-dev

7 years agoFix mobile signal icon when in airplane mode
Evan Laird [Tue, 20 Jun 2017 20:10:44 +0000 (16:10 -0400)]
Fix mobile signal icon when in airplane mode

1. Empty state was drawing a line too thing and not dark enough to be
seen.
2. Airplane mode should be the slashed, full signal, not the
empty one

Going into airplane mode now draws the full signal, lighter than normal,
with a slash. And the empty state now has a thicker line.

Test: runtest systemui
Fixes: 62794461
Change-Id: Ic5e40d2e0f6ebe0d270129f10883a1fcb146d717

7 years agoMerge "Fixed a bug where the panel could be stuck" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 19:07:12 +0000 (19:07 +0000)]
Merge "Fixed a bug where the panel could be stuck" into oc-dev
am: e8dceabd98

Change-Id: I8f6b3e2f853ff5a066de02ae0a006ebb4f157078

7 years agoMerge "Fixed a a11y regression to click notifications" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 18:58:02 +0000 (18:58 +0000)]
Merge "Fixed a a11y regression to click notifications" into oc-dev
am: b792f98446

Change-Id: I7d4a437367d40492effa95fcd0970389da7db592

7 years agoMerge "Fixed a bug where the panel could be stuck" into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 18:57:42 +0000 (18:57 +0000)]
Merge "Fixed a bug where the panel could be stuck" into oc-dev

7 years agoMerge "Fixed a a11y regression to click notifications" into oc-dev
Selim Cinek [Wed, 21 Jun 2017 18:48:53 +0000 (18:48 +0000)]
Merge "Fixed a a11y regression to click notifications" into oc-dev

7 years agoMerge "DnD: Total silence doesn't suppress A11y" into oc-dev
Jean-Michel Trivi [Wed, 21 Jun 2017 17:23:30 +0000 (17:23 +0000)]
Merge "DnD: Total silence doesn't suppress A11y" into oc-dev
am: 9f1494368b

Change-Id: Iaa671d4c7008609f0be7430b8f6c35f1021c7586

7 years agoMerge "migrate roaming operator configs to carrierconfig"
Chen Xu [Wed, 21 Jun 2017 17:21:37 +0000 (17:21 +0000)]
Merge "migrate roaming operator configs to carrierconfig"

7 years agomigrate roaming operator configs to carrierconfig
fionaxu [Fri, 2 Jun 2017 01:52:17 +0000 (18:52 -0700)]
migrate roaming operator configs to carrierconfig

Bug:37885668
Test:runtest --path
packages/apps/CarrierConfig/tests/src/com/android/carrierconfig/CarrierConfigTest.java
Change-Id: Ic669581243a7a640f9ac1b5155954514168cd14b
Merged-In: Ic669581243a7a640f9ac1b5155954514168cd14b

7 years agoMerge "DnD: Total silence doesn't suppress A11y" into oc-dev
Jean-Michel Trivi [Wed, 21 Jun 2017 17:15:31 +0000 (17:15 +0000)]
Merge "DnD: Total silence doesn't suppress A11y" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 21 Jun 2017 16:53:11 +0000 (09:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ieea78949e86d21bf8be5b0ef974a74c53b6cd63c
Auto-generated-cl: translation import

7 years agoFixed a bug where the panel could be stuck
Selim Cinek [Wed, 21 Jun 2017 16:44:52 +0000 (09:44 -0700)]
Fixed a bug where the panel could be stuck

Test: collapse the panels, let go, tap quickly, panel isn't stuck
Bug: 62602000
Change-Id: I449bcd4a6207c054eb5d536ba48ff8f05e26eb9a

7 years agoFixed a a11y regression to click notifications
Selim Cinek [Wed, 21 Jun 2017 16:01:26 +0000 (09:01 -0700)]
Fixed a a11y regression to click notifications

Test: add notification, try clicking it on the lockscreen with talkback
Change-Id: I27dd75cab6bfdff3f534c31ebfb4df7a43129a6d
Fixes: 62767220

7 years agoMerge "Cleanup a.t.TestGrouping" am: 01dcf54e9a
Paul Duffin [Wed, 21 Jun 2017 09:18:01 +0000 (09:18 +0000)]
Merge "Cleanup a.t.TestGrouping" am: 01dcf54e9a
am: e6ac3a4efc

Change-Id: Id41ba23de38e5131460cad283fd5d7bea66d2156

7 years agoMerge "Cleanup a.t.TestGrouping"
Paul Duffin [Wed, 21 Jun 2017 09:11:24 +0000 (09:11 +0000)]
Merge "Cleanup a.t.TestGrouping"
am: 01dcf54e9a

Change-Id: I58a278b7c45afe27309cf0029e9fb8fd452b22f2

7 years agoMerge "Cleanup a.t.TestGrouping"
Treehugger Robot [Wed, 21 Jun 2017 09:03:26 +0000 (09:03 +0000)]
Merge "Cleanup a.t.TestGrouping"

7 years agoMerge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into...
Android Build Merger (Role) [Wed, 21 Jun 2017 08:20:47 +0000 (08:20 +0000)]
Merge "Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev am: 88f98985d5" into oc-dev-plus-aosp

7 years agoMerge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
Chad Brubaker [Wed, 21 Jun 2017 08:19:51 +0000 (08:19 +0000)]
Merge "Allow Instant Apps to call getPermissionControllerPackageName" into oc-dev
am: 88f98985d5

Change-Id: Ifc85ffb37f139cd499fd2ebef4cfc6f6d9fcd932