OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Adding pointer index check to recents touch handler."
TreeHugger Robot [Thu, 30 Nov 2017 19:47:56 +0000 (19:47 +0000)]
Merge "Adding pointer index check to recents touch handler."

6 years agocherry-pick from oc-dev: docs: Note regarding device IDs, Build.java am: d6ebb55c62
Kevin Hufnagle [Thu, 30 Nov 2017 19:35:53 +0000 (19:35 +0000)]
cherry-pick from oc-dev: docs: Note regarding device IDs, Build.java am: d6ebb55c62
am: fcd96e847f

Change-Id: I51b08b72f22f30a1e825a2192bc0f09f7d8f92f7

6 years agoMerge "PaintMeasureTextTest: only pause/resume not_cached benchmarks"
TreeHugger Robot [Thu, 30 Nov 2017 19:31:21 +0000 (19:31 +0000)]
Merge "PaintMeasureTextTest: only pause/resume not_cached benchmarks"

6 years agocherry-pick from oc-dev: docs: Note regarding device IDs, Build.java
Kevin Hufnagle [Thu, 30 Nov 2017 19:24:10 +0000 (19:24 +0000)]
cherry-pick from oc-dev: docs: Note regarding device IDs, Build.java
am: d6ebb55c62

Change-Id: I88bf4c778a04b5f43a7fcd22d4aadb378860bb8a

6 years agoMerge "Switch usages of legacy-test to android.test.base"
TreeHugger Robot [Thu, 30 Nov 2017 18:22:42 +0000 (18:22 +0000)]
Merge "Switch usages of legacy-test to android.test.base"

6 years agoMerge "Make native AudioRouting Handler in a seperate class."
TreeHugger Robot [Thu, 30 Nov 2017 18:17:55 +0000 (18:17 +0000)]
Merge "Make native AudioRouting Handler in a seperate class."

6 years agoPaintMeasureTextTest: only pause/resume not_cached benchmarks
Greg Hackmann [Wed, 29 Nov 2017 02:35:46 +0000 (18:35 -0800)]
PaintMeasureTextTest: only pause/resume not_cached benchmarks

Pausing and resuming the benchmark timer isn't needed unless we plan to
flush the text layout cache.  The cached benchmark runs are so fast on
high-end devices, the overhead of these extra calls can be significant
compared to the actual code being measured.

Test: run PaintMeasureTextTest on sailfish

Bug: 69634871
Change-Id: If8246154e50451d82ac96e026036aa4a42eaed8d
Signed-off-by: Greg Hackmann <ghackmann@google.com>
6 years agoMerge "Add SMS over IMS APIs" am: 74445ed311 am: 208f232825
Mohamed [Thu, 30 Nov 2017 16:34:15 +0000 (16:34 +0000)]
Merge "Add SMS over IMS APIs" am: 74445ed311 am: 208f232825
am: 09d8a996e0

Change-Id: I0c49f42e220aed34c6bb4801ae80e29aeea329eb

6 years agoMerge "Enabled the use of VOICE_DOWNLINK, VOICE_UPLINK and VOICE_CALL as audio source...
Nadav Bar [Thu, 30 Nov 2017 16:28:17 +0000 (16:28 +0000)]
Merge "Enabled the use of VOICE_DOWNLINK, VOICE_UPLINK and VOICE_CALL as audio sources for AudioRecord (Only supported for system apps)"

6 years agoMerge "Promote ACTION_DISMISS_TIMER to public API"
Christine Franks [Thu, 30 Nov 2017 16:23:46 +0000 (16:23 +0000)]
Merge "Promote ACTION_DISMISS_TIMER to public API"

6 years agoSwitch usages of legacy-test to android.test.base
Paul Duffin [Thu, 30 Nov 2017 16:17:16 +0000 (16:17 +0000)]
Switch usages of legacy-test to android.test.base

The legacy-test library has been deprecated in favour of the
android.test.base library which is part of the SDK.

The following change descriptions were generated automatically and so
may be a little repetitive. They are provided to give the reviewer
enough information to check the comments match what has actually been
changed and check the reasoning behind the changes.

* core/tests/overlaytests/OverlayAppFiltered/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.filtered_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayAppFirst/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.first_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayAppSecond/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.second_app_overlay' does not
    depend on classes from legacy-test

* core/tests/overlaytests/OverlayTest/Android.mk
    Replaced 'legacy-test' with 'android.test.base' in
    LOCAL_JAVA_LIBRARIES because the source for module 'OverlayTest'
    depends on classes from android.test.base

* core/tests/overlaytests/OverlayTestOverlay/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'com.android.overlaytest.overlay' does not depend on
    classes from legacy-test

* test-mock/Android.mk
    Removed legacy-test from LOCAL_JAVA_LIBRARIES because the source
    for module 'repackaged.android.test.mock' does not depend on
    classes from legacy-test

Bug: 30188076
Test: make checkbuild
Change-Id: I729412304884cf5da88b05dbe8fbe645ad7b5b15

6 years agoMerge "Add SMS over IMS APIs" am: 74445ed311
Mohamed [Thu, 30 Nov 2017 16:15:58 +0000 (16:15 +0000)]
Merge "Add SMS over IMS APIs" am: 74445ed311
am: 208f232825

Change-Id: If9b5427292eaa41b6381351c57ec5cad4b6bc4a1

6 years agoMerge "Add SMS over IMS APIs"
Mohamed [Thu, 30 Nov 2017 16:05:36 +0000 (16:05 +0000)]
Merge "Add SMS over IMS APIs"
am: 74445ed311

Change-Id: I5b08b82f39968adc111d0b3361b4312eb7244913

6 years agoMerge "Add SMS over IMS APIs"
Treehugger Robot [Thu, 30 Nov 2017 15:56:30 +0000 (15:56 +0000)]
Merge "Add SMS over IMS APIs"

6 years agoMerge "Remove unused repackaged-legacy-test target"
TreeHugger Robot [Thu, 30 Nov 2017 15:03:50 +0000 (15:03 +0000)]
Merge "Remove unused repackaged-legacy-test target"

6 years agoMake DevicePolicyManagerService more customizable (per-device).
Lenka Trochtova [Mon, 16 Oct 2017 16:41:39 +0000 (18:41 +0200)]
Make DevicePolicyManagerService more customizable (per-device).

Add a config to override the DPMS implementation class to
be instantiated from the Lifecycle.
Add a hasFeature method to the Injector class.

BUG: 63753860
Test: manual with TestDPC

Change-Id: I71ef518c49b2233744defdfb7c31019cb228d678

6 years agoadd atoms and pulling methods for wifi controller activity and modem
Chenjie Yu [Tue, 21 Nov 2017 18:21:41 +0000 (10:21 -0800)]
add atoms and pulling methods for wifi controller activity and modem
controller activity

Test: manual test on device
Change-Id: Ib4213b4bf8badaf22b5f655e0261f45a55ab6bb7

6 years agoMerge "Add a phony target containing benchmarks for PGO"
TreeHugger Robot [Thu, 30 Nov 2017 06:35:29 +0000 (06:35 +0000)]
Merge "Add a phony target containing benchmarks for PGO"

6 years agoMerge "Modify statsd dogfood app to use toString() of enum"
TreeHugger Robot [Thu, 30 Nov 2017 05:59:39 +0000 (05:59 +0000)]
Merge "Modify statsd dogfood app to use toString() of enum"

6 years agoModify statsd dogfood app to use toString() of enum
Tej Singh [Thu, 30 Nov 2017 03:25:32 +0000 (19:25 -0800)]
Modify statsd dogfood app to use toString() of enum

Using this reduces code size and allows us to not have to
make a change whenever atoms.proto changes.

Test: manual, tested app on device

Change-Id: Ieb325a7a7bab7430273340bb9d05974fabbadc0d

6 years agoMerge "Fix cross-user content resolver tests."
TreeHugger Robot [Thu, 30 Nov 2017 03:21:06 +0000 (03:21 +0000)]
Merge "Fix cross-user content resolver tests."

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377 am: cba4979a6a
Chih-hung Hsieh [Thu, 30 Nov 2017 02:58:20 +0000 (02:58 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377 am: cba4979a6a
am: f5005c6356

Change-Id: Icb467de821ecd700daae687341dc9116c065cdf5

6 years agoMerge "AAPT2: Fix overzealous AndroidManifest fully qualified class names"
TreeHugger Robot [Thu, 30 Nov 2017 02:51:46 +0000 (02:51 +0000)]
Merge "AAPT2: Fix overzealous AndroidManifest fully qualified class names"

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377
Chih-hung Hsieh [Thu, 30 Nov 2017 02:27:13 +0000 (02:27 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw" am: 171fce8377
am: cba4979a6a

Change-Id: Ifea0bcb3e48a83ba21c24026d95819f4f947d039

6 years agoMerge "Add metric for battery page in debug mode."
TreeHugger Robot [Thu, 30 Nov 2017 02:19:22 +0000 (02:19 +0000)]
Merge "Add metric for battery page in debug mode."

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw"
Chih-hung Hsieh [Thu, 30 Nov 2017 02:19:13 +0000 (02:19 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"
am: 171fce8377

Change-Id: I698ee4b4d6c884469253238795d23bdb21a54542

6 years agoMerge "Use system dialog corner radius"
TreeHugger Robot [Thu, 30 Nov 2017 02:16:23 +0000 (02:16 +0000)]
Merge "Use system dialog corner radius"

6 years agoMerge "Don't start recents multiple times when entering split-screen"
Wale Ogunwale [Thu, 30 Nov 2017 02:04:01 +0000 (02:04 +0000)]
Merge "Don't start recents multiple times when entering split-screen"

6 years agoMerge "Use -Werror in frameworks/base/media/mca/filterfw"
Chih-hung Hsieh [Thu, 30 Nov 2017 01:55:47 +0000 (01:55 +0000)]
Merge "Use -Werror in frameworks/base/media/mca/filterfw"

6 years agoMerge "ImageReader: Make discardFreeBuffers public"
TreeHugger Robot [Thu, 30 Nov 2017 01:28:59 +0000 (01:28 +0000)]
Merge "ImageReader: Make discardFreeBuffers public"

6 years agoMerge "Remove shutdown of StorageManager"
Fyodor Kupolov [Thu, 30 Nov 2017 01:18:20 +0000 (01:18 +0000)]
Merge "Remove shutdown of StorageManager"

6 years agoMerge "Adds guardrail for memory usage for statsd uid map."
TreeHugger Robot [Thu, 30 Nov 2017 01:16:54 +0000 (01:16 +0000)]
Merge "Adds guardrail for memory usage for statsd uid map."

6 years agoMerge "Don't fail the tests if per-freq cpu times are not available."
TreeHugger Robot [Thu, 30 Nov 2017 01:13:23 +0000 (01:13 +0000)]
Merge "Don't fail the tests if per-freq cpu times are not available."

6 years agoMerge "TextClassifier cleanup #1"
TreeHugger Robot [Thu, 30 Nov 2017 01:07:29 +0000 (01:07 +0000)]
Merge "TextClassifier cleanup #1"

6 years agoMerge "Make libkeystore_aidl shared and export to PDK."
Dmitry Dementyev [Thu, 30 Nov 2017 01:05:42 +0000 (01:05 +0000)]
Merge "Make libkeystore_aidl shared and export to PDK."

6 years agoMerge "Update nav bar controller to allow for a home intent to be fired without havin...
TreeHugger Robot [Thu, 30 Nov 2017 00:57:07 +0000 (00:57 +0000)]
Merge "Update nav bar controller to allow for a home intent to be fired without having a package name."

6 years agoAAPT2: Fix overzealous AndroidManifest fully qualified class names
Adam Lesinski [Thu, 30 Nov 2017 00:27:44 +0000 (16:27 -0800)]
AAPT2: Fix overzealous AndroidManifest fully qualified class names

ManifestFixer would go and fully qualify all elements with the attribute
'android:name', which is not correct, especially for cases like

  <uses-split android:name="foo" />

Test: make aapt2_tests
Change-Id: I4bea2550d0025179d2d48dca8c64e0cbf4451e99

6 years agoMerge "fixed CdmaSmsAddress parser" am: b00f00e74b am: c8ec8a5e56
Pengquan Meng [Thu, 30 Nov 2017 00:26:13 +0000 (00:26 +0000)]
Merge "fixed CdmaSmsAddress parser" am: b00f00e74b am: c8ec8a5e56
am: 3ca2c2dab8

Change-Id: Ie28175cc6946f4e53069895c0ea9f28634b9a96f

6 years agoAdd SMS over IMS APIs
Mohamed [Tue, 28 Nov 2017 02:40:09 +0000 (18:40 -0800)]
Add SMS over IMS APIs

- Adds public APIs that IMS providers will implement/use
- Adds aidl APIs for internal communications to support SMS over IMS.
- First pass at documentation of APIs.

Moving over from  ag/3265442

Bug: 69846044

Test: None
Change-Id: Ic665a2a7d64a56417bcf2a159d6b88b05cdb832a

6 years agoMerge "Temporarily disable the netpolicy unit tests."
Sudheer Shanka [Thu, 30 Nov 2017 00:12:14 +0000 (00:12 +0000)]
Merge "Temporarily disable the netpolicy unit tests."

6 years agoMerge changes Ie479be5b,I299245fc
TreeHugger Robot [Thu, 30 Nov 2017 00:11:00 +0000 (00:11 +0000)]
Merge changes Ie479be5b,I299245fc

* changes:
  Fix if clauses
  Update error text

6 years agoMerge "fixed CdmaSmsAddress parser" am: b00f00e74b
Pengquan Meng [Thu, 30 Nov 2017 00:10:02 +0000 (00:10 +0000)]
Merge "fixed CdmaSmsAddress parser" am: b00f00e74b
am: c8ec8a5e56

Change-Id: Id3830aaea1037b61ecc385715708427c84030206

6 years agoMerge "fixed CdmaSmsAddress parser"
Pengquan Meng [Wed, 29 Nov 2017 23:52:41 +0000 (23:52 +0000)]
Merge "fixed CdmaSmsAddress parser"
am: b00f00e74b

Change-Id: I041c8f3937882b7fd78adf2c2f2cf87fc225b936

6 years agoMerge "Fix horizontal position of tooltip in a Dialog"
TreeHugger Robot [Wed, 29 Nov 2017 23:51:38 +0000 (23:51 +0000)]
Merge "Fix horizontal position of tooltip in a Dialog"

6 years agoMerge "fixed CdmaSmsAddress parser"
Pengquan Meng [Wed, 29 Nov 2017 23:38:29 +0000 (23:38 +0000)]
Merge "fixed CdmaSmsAddress parser"

6 years agoMerge "Measure the text before doing line break"
TreeHugger Robot [Wed, 29 Nov 2017 23:35:12 +0000 (23:35 +0000)]
Merge "Measure the text before doing line break"

6 years agoFix cross-user content resolver tests.
Sudheer Shanka [Wed, 29 Nov 2017 23:20:45 +0000 (15:20 -0800)]
Fix cross-user content resolver tests.

Wait for the user to get unlocked before trying to start an
encryption-unaware app in that user.

Fixes: 69927817
Test: adb shell am instrument -e class android.content.ManagedUserContentResolverTest -w
      com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I36f38d20c7f4584a68bc3b1b99941ce3e3b3815c

6 years agoMake native AudioRouting Handler in a seperate class.
jiabin [Mon, 6 Nov 2017 23:36:27 +0000 (15:36 -0800)]
Make native AudioRouting Handler in a seperate class.

Bug: 64038649
Test: runtest --path cts/tests/tests/media/src/android/media/cts/RoutingTest.java
Change-Id: I2fc64e177797b2541ba8652d54827f08fd6ca216

6 years agoMerge "Confirmation code second try."
Jiuyu Sun [Wed, 29 Nov 2017 23:12:08 +0000 (23:12 +0000)]
Merge "Confirmation code second try."

6 years agoMerge "Make face unlock icon use correct theme attr"
Lucas Dupin [Wed, 29 Nov 2017 23:04:53 +0000 (23:04 +0000)]
Merge "Make face unlock icon use correct theme attr"

6 years agoMerge "Add build targets to build @SystemApi diffs."
Jeff Sharkey [Wed, 29 Nov 2017 23:01:50 +0000 (23:01 +0000)]
Merge "Add build targets to build @SystemApi diffs."

6 years agoAdding pointer index check to recents touch handler.
Winson Chung [Wed, 29 Nov 2017 22:36:12 +0000 (14:36 -0800)]
Adding pointer index check to recents touch handler.

- Also fix issue with wrong pointer index used to update last
  position when pointer changes

Bug: 65030830
Test: Manual - multitouch in recents
Change-Id: I75249594f48619b123b79e0188a0dc05a52b5416

6 years agoAdds guardrail for memory usage for statsd uid map.
David Chen [Mon, 27 Nov 2017 19:52:26 +0000 (11:52 -0800)]
Adds guardrail for memory usage for statsd uid map.

Checks if current memory usage of uid map is above a configured limit
and if so, we start deleting snapshots. If there are no more
snapshots, we begin deleting two of the deltas. Also records stats
in the guardrail StatsdStats. Also fixes an edge case where a config
is added after the snapshots are added. We request a snapshot of all
installed uid's at that moment. Finally, adds the uid map memory size
when determining if we should send a broadcast to trigger collection.

Test: Added unit-tests and check they pass on marlin.
Change-Id: Id5d86378bd1efe12a06b409164c777c0c6f4e3ab

6 years agoUpdate nav bar controller to allow for a home intent to be fired without
Brad Stenning [Wed, 29 Nov 2017 22:37:51 +0000 (14:37 -0800)]
Update nav bar controller to allow for a home intent to be fired without
having a package name.

Test: After set up select the Lenspicker as the home app then click the
  home button (note: needs other commits with topic "AAE Home"

Change-Id: Ief9871bcc81902036d7af9630d6f1d27e8c83366
(cherry picked from commit Icddda312c10dfd603fb098fec13dae55d807444e)
# Conflicts:
# packages/SystemUI/src/com/android/systemui/statusbar/car/CarNavigationBarController.java

6 years agoUse -Werror in frameworks/base/media/mca/filterfw
Chih-Hung Hsieh [Wed, 29 Nov 2017 22:43:12 +0000 (14:43 -0800)]
Use -Werror in frameworks/base/media/mca/filterfw

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I12137a0b40357954af63bac3771332773b03da9a

6 years agoMerge "WebView: linkify ClientCertRequest method names"
TreeHugger Robot [Wed, 29 Nov 2017 22:41:19 +0000 (22:41 +0000)]
Merge "WebView: linkify ClientCertRequest method names"

6 years agocherry-pick from oc-dev: docs: Note regarding device IDs, Build.java
Kevin Hufnagle [Tue, 16 May 2017 23:48:10 +0000 (16:48 -0700)]
cherry-pick from oc-dev: docs: Note regarding device IDs, Build.java

Added note within getSerial() in android.os.Build class. Device
identifiers, such as hardware serial numbers, can be modified if a
device is rooted. Others can use key attestation to discover these
changes. Added a note to this effect within this method.

Test: make ds-docs -j8

Bug: 38312326
Change-Id: I76e3f6a15b9a8673ca3304218653e8cd26da38d7
Original-Change-Id: Ibd2dab621c14683e12a213957b567ee49b8d00fd

6 years agoMake libkeystore_aidl shared and export to PDK.
Dmitry Dementyev [Tue, 28 Nov 2017 20:11:44 +0000 (12:11 -0800)]
Make libkeystore_aidl shared and export to PDK.

Bug: 69539820
Test: manual
Change-Id: Iff47e9247fbc2217a2c70a35bbc6c72075af63bb

6 years agoMerge "Fix text encoding in some macrobench tests"
TreeHugger Robot [Wed, 29 Nov 2017 22:19:07 +0000 (22:19 +0000)]
Merge "Fix text encoding in some macrobench tests"

6 years agoImageReader: Make discardFreeBuffers public
Chien-Yu Chen [Tue, 28 Nov 2017 00:45:14 +0000 (16:45 -0800)]
ImageReader: Make discardFreeBuffers public

Test: CTS
Bug: 64847201
Change-Id: I61008111552b5ca4641a509e5bcf5cf821582d5e

6 years agoFix if clauses
Todd Kennedy [Wed, 29 Nov 2017 21:58:53 +0000 (13:58 -0800)]
Fix if clauses

During a refactor, we introduced updated the method used to
verify signatures. The "&& additionalTest" clauses were added
to the wrong if statement [off-by-one]. So, we were performing
a compat signature check when we shouldn't and not throwing
an exception when we should.

Change-Id: Ie479be5b254b9b13451ab07a07d20a68c7b828ad
Fixes: 69053002
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testSharedUidDifferentCerts

6 years agoMerge "Bluetooth: Pre-pend empty line for dumpsys section headers" am: 8a95711ef1...
Andre Eisenbach [Wed, 29 Nov 2017 21:51:20 +0000 (21:51 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers" am: 8a95711ef1 am: f51d382d9c
am: 2cd2bc357f

Change-Id: I02d4f21a1933bfe876b8fe60eb2b49e5771fe772

6 years agoMerge "Revert "Thread-safe metric producers.""
TreeHugger Robot [Wed, 29 Nov 2017 21:45:01 +0000 (21:45 +0000)]
Merge "Revert "Thread-safe metric producers.""

6 years agoAdd build targets to build @SystemApi diffs.
Jeff Sharkey [Wed, 29 Nov 2017 20:14:27 +0000 (13:14 -0700)]
Add build targets to build @SystemApi diffs.

Test: make -j32 offline-system-sdk-referenceonly-diff
Bug: 69115817
Change-Id: Ib25d8e60351cb2b4ce5001435baf92d7f738e5f2

6 years agoMerge "Revert "Updated screenshot code to reflect native changes.""
Chavi Weingarten [Wed, 29 Nov 2017 21:42:37 +0000 (21:42 +0000)]
Merge "Revert "Updated screenshot code to reflect native changes.""

6 years agoMerge "Verify that b/68859852 won't happen again"
TreeHugger Robot [Wed, 29 Nov 2017 21:41:11 +0000 (21:41 +0000)]
Merge "Verify that b/68859852 won't happen again"

6 years agoRevert "Updated screenshot code to reflect native changes."
Chavi Weingarten [Wed, 29 Nov 2017 21:26:24 +0000 (21:26 +0000)]
Revert "Updated screenshot code to reflect native changes."

This reverts commit 689e091c7faa30f005b9adc0b7b3d2066c62be84.

Reason for revert: SystemUI and some other places need to be updated as well. Will resubmit with the other necessary changes

Change-Id: I8d1955b289d91a89c4d3f117c0ba0c3119ff51fc
Bug: 69898957

6 years agoMerge "Bluetooth: Pre-pend empty line for dumpsys section headers" am: 8a95711ef1
Andre Eisenbach [Wed, 29 Nov 2017 21:36:44 +0000 (21:36 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers" am: 8a95711ef1
am: f51d382d9c

Change-Id: I698fd46b7784a9093ccfc23e6c1de020f2ac1d3b

6 years agoDon't start recents multiple times when entering split-screen
Wale Ogunwale [Wed, 29 Nov 2017 21:30:26 +0000 (13:30 -0800)]
Don't start recents multiple times when entering split-screen

ActivityStack.setWindowingMode() takes care of starting the recents
activity when split-screen is activated so we don't need to do this
all over the place anymore.

Change-Id: I62153c4125744e9da533b6293e91c0658868bd1b
Fixes: 68952186
Test: ActivityManagerSplitScreenTests#testLaunchToSideAndBringToFront

6 years agoMerge "Fix crash in slices"
TreeHugger Robot [Wed, 29 Nov 2017 21:25:59 +0000 (21:25 +0000)]
Merge "Fix crash in slices"

6 years agoMerge "Bluetooth: Pre-pend empty line for dumpsys section headers"
Andre Eisenbach [Wed, 29 Nov 2017 21:24:50 +0000 (21:24 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers"
am: 8a95711ef1

Change-Id: I0dbe07aac6e6a8ea1b6858548bd26fffd7e21dd3

6 years agoUpdate error text
Todd Kennedy [Wed, 29 Nov 2017 21:17:12 +0000 (13:17 -0800)]
Update error text

Text was updated to be slightly more readable, but, wound up breaking
the tests. Reverting the word change.

Change-Id: I299245fc05f15ff6f7979c4c0365fe885b3c2e15
Fixes: 69056838
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testCorrectCertUsedFromPkcs7SignedDataCertsSet
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testV1SchemeSignatureCertNotReencoded
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.PkgInstallSignatureVerificationTest#testV2SchemeSignatureCertNotReencoded

6 years agoMerge "Bluetooth: Pre-pend empty line for dumpsys section headers"
Treehugger Robot [Wed, 29 Nov 2017 21:09:40 +0000 (21:09 +0000)]
Merge "Bluetooth: Pre-pend empty line for dumpsys section headers"

6 years agoMerge "Fix issue with PiP callbacks not being handled" am: bdd8adb006 am: 4e11a71210
Winson Chung [Wed, 29 Nov 2017 21:05:26 +0000 (21:05 +0000)]
Merge "Fix issue with PiP callbacks not being handled" am: bdd8adb006 am: 4e11a71210
am: 3b38be2962

Change-Id: Iecad54744e7491279f886305a03050be98d5c8a4

6 years agoMerge changes Ibf8cd200,I4ea2f293,I17b545da,Ia139fd6d,I3a7e69f8
Arthur Ishiguro [Wed, 29 Nov 2017 21:00:54 +0000 (21:00 +0000)]
Merge changes Ibf8cd200,I4ea2f293,I17b545da,Ia139fd6d,I3a7e69f8

* changes:
  Handles load and unload lifecycle callbacks
  Handles hub reset at ContextHubClientManager
  Converts old API message clients to the new API format
  Implements client close and death notification
  Creates framework for new API messaging

6 years agoMerge "Don't generate irrelevant a11y events - framework"
TreeHugger Robot [Wed, 29 Nov 2017 20:56:37 +0000 (20:56 +0000)]
Merge "Don't generate irrelevant a11y events - framework"

6 years agoMerge "Fix issue with PiP callbacks not being handled" am: bdd8adb006
Winson Chung [Wed, 29 Nov 2017 20:50:00 +0000 (20:50 +0000)]
Merge "Fix issue with PiP callbacks not being handled" am: bdd8adb006
am: 4e11a71210

Change-Id: I0ad21e140aa10566f58acfa01fb7e4172edca0d3

6 years agoMerge "Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d...
Android Build Merger (Role) [Wed, 29 Nov 2017 20:44:35 +0000 (20:44 +0000)]
Merge "Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d am: cca3c9bb01 am: 374bde37b9"

6 years agoMerge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d am:...
Hemant Gupta [Wed, 29 Nov 2017 20:42:42 +0000 (20:42 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d am: cca3c9bb01
am: 374bde37b9

Change-Id: Ic0e5e0751c84b0f1a5ea3e4752d9eefb1e6d075a

6 years agoMerge "libandroidfw: Do not clear last resource id in ResolveReference"
TreeHugger Robot [Wed, 29 Nov 2017 20:40:24 +0000 (20:40 +0000)]
Merge "libandroidfw: Do not clear last resource id in ResolveReference"

6 years agoMerge "Fix issue with PiP callbacks not being handled"
Winson Chung [Wed, 29 Nov 2017 20:34:46 +0000 (20:34 +0000)]
Merge "Fix issue with PiP callbacks not being handled"
am: bdd8adb006

Change-Id: I03c0ef06309b1b7559a973e2823598031de3b182

6 years agoMerge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d
Hemant Gupta [Wed, 29 Nov 2017 20:29:53 +0000 (20:29 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case" am: edfb333a4d
am: cca3c9bb01

Change-Id: Ia9edce62a31b5344b5627bf0d141d72d40d6e37c

6 years agoDon't fail the tests if per-freq cpu times are not available.
Sudheer Shanka [Wed, 29 Nov 2017 20:22:42 +0000 (12:22 -0800)]
Don't fail the tests if per-freq cpu times are not available.

Test: N/A
Change-Id: I7c6c6aef7ea9ab431fb8b2c7f04b49299be73e9b

6 years agoMerge "Introduce Global.LOCATION_GLOBAL_KILL_SWITCH"
TreeHugger Robot [Wed, 29 Nov 2017 20:21:40 +0000 (20:21 +0000)]
Merge "Introduce Global.LOCATION_GLOBAL_KILL_SWITCH"

6 years agoWebView: linkify ClientCertRequest method names
Nate Fischer [Wed, 29 Nov 2017 20:18:54 +0000 (12:18 -0800)]
WebView: linkify ClientCertRequest method names

No change to behavior, only docs changes. No change to wording.

This linkifies ClientCertRequest method names in the docs for
WebViewClient#onReceivedClientCertRequest.

Test: make docs (looks good, no errors)
Change-Id: I1de855e8cdf91b3aace3a188aafaa9ac9f90ed2a

6 years agoMerge "Fix issue with PiP callbacks not being handled"
Winson Chung [Wed, 29 Nov 2017 20:18:45 +0000 (20:18 +0000)]
Merge "Fix issue with PiP callbacks not being handled"

6 years agoMerge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"
Hemant Gupta [Wed, 29 Nov 2017 20:17:31 +0000 (20:17 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"
am: edfb333a4d

Change-Id: I28de2826209a16b763d64a1b31381f748067789c

6 years agoMeasure the text before doing line break
Seigo Nonaka [Wed, 22 Nov 2017 20:07:16 +0000 (12:07 -0800)]
Measure the text before doing line break

Bug: 65024629
Test: N/A
Change-Id: Ifa7be17b87687f95f045de1409fb554991269ebc

6 years agoMerge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"
Treehugger Robot [Wed, 29 Nov 2017 20:03:12 +0000 (20:03 +0000)]
Merge "OBEX: Avoid pre-sending CONTINUE for SRM enabled case"

6 years agoRevert "Thread-safe metric producers."
Yao Chen [Wed, 29 Nov 2017 20:02:07 +0000 (20:02 +0000)]
Revert "Thread-safe metric producers."

This reverts commit 8de6939c494da838f6dbbda0631f66425dbbd25b.

Change-Id: Ieae841bfc5339b569f0fca909a6066de72806617

6 years agoMerge "Fix ConcurrentModificationException in DashboardCategory."
TreeHugger Robot [Wed, 29 Nov 2017 19:57:47 +0000 (19:57 +0000)]
Merge "Fix ConcurrentModificationException in DashboardCategory."

6 years agoTextClassifier cleanup #1
Abodunrinwa Toki [Thu, 23 Nov 2017 12:22:45 +0000 (12:22 +0000)]
TextClassifier cleanup #1

 - Introduces TextClassifier methods that do not take options
 - Adds warning to TextClassifier implementations not to implement
   or call certain default methods. Ideally, only one of the
   overloaded interface methods (the one that takes Options) needs
   to be implemented
 - Changes TextLinks.Options to a mutable type
 - Updates tests

 TODO: Introduce a TextClassification.Builder.setDefaultAction(...) and
 change addAction(...) to addExtraAction(...).
 TODO: Cts test to validate input params.

Bug: 68846316
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Change-Id: I9a12935388e16a9b57567a71c97afaee63405183

6 years agoVerify that b/68859852 won't happen again
Yuqian Li [Wed, 29 Nov 2017 18:38:40 +0000 (13:38 -0500)]
Verify that b/68859852 won't happen again

Bug: 68859852

Test: unit tests with and without the fix on sailfish-eng

Change-Id: I9e2cdd622b7447ea3092fd66790431d94c40e13f

6 years agoMerge "Frameworks: Clean up SharedPreferencesImpl" am: 572f46a3ef am: 70da38960c
Andreas Gampe [Wed, 29 Nov 2017 19:50:54 +0000 (19:50 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl" am: 572f46a3ef am: 70da38960c
am: 9a612c734e

Change-Id: Iaa9ac8d03ac0f235bbff7bf4b17ef7de6b90c24a

6 years agoMerge "Frameworks: Clean up SharedPreferencesImpl" am: 572f46a3ef
Andreas Gampe [Wed, 29 Nov 2017 19:38:11 +0000 (19:38 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl" am: 572f46a3ef
am: 70da38960c

Change-Id: Ia4c24c8cd6fbeb58a90d56319558fc3c78474c2b

6 years agoMerge "Enable Recents activity in LockTask mode."
Charles He [Wed, 29 Nov 2017 19:29:50 +0000 (19:29 +0000)]
Merge "Enable Recents activity in LockTask mode."

6 years agoMerge "Frameworks: Clean up SharedPreferencesImpl"
Andreas Gampe [Wed, 29 Nov 2017 19:25:13 +0000 (19:25 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl"
am: 572f46a3ef

Change-Id: I7b922f795283cefabf661e999e5a9897889fa287

6 years agoMerge "Frameworks: Clean up SharedPreferencesImpl"
Treehugger Robot [Wed, 29 Nov 2017 19:11:46 +0000 (19:11 +0000)]
Merge "Frameworks: Clean up SharedPreferencesImpl"

6 years agoBluetooth: Pre-pend empty line for dumpsys section headers
Andre Eisenbach [Mon, 10 Apr 2017 20:49:13 +0000 (13:49 -0700)]
Bluetooth: Pre-pend empty line for dumpsys section headers

Test: manual
Change-Id: I2daa5c985e5504606edd9ff558bd5b92af7a7240

6 years agoMerge "Define colorBackground for Theme.DeviceDefault.Settings."
TreeHugger Robot [Wed, 29 Nov 2017 18:59:42 +0000 (18:59 +0000)]
Merge "Define colorBackground for Theme.DeviceDefault.Settings."