OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Tweak FingerprintDialog layout"
TreeHugger Robot [Wed, 21 Feb 2018 03:34:20 +0000 (03:34 +0000)]
Merge "Tweak FingerprintDialog layout"

6 years agoMerge "Fix two broken tests in PersistentKeyChainSnapshotTest"
TreeHugger Robot [Wed, 21 Feb 2018 03:10:05 +0000 (03:10 +0000)]
Merge "Fix two broken tests in PersistentKeyChainSnapshotTest"

6 years agoMerge "Disable recents onboarding for test automation"
TreeHugger Robot [Wed, 21 Feb 2018 02:58:28 +0000 (02:58 +0000)]
Merge "Disable recents onboarding for test automation"

6 years agoMerge "Fix IMMS debug shell command"
TreeHugger Robot [Wed, 21 Feb 2018 02:58:23 +0000 (02:58 +0000)]
Merge "Fix IMMS debug shell command"

6 years agoMerge "Create display if necessary when adding windows."
TreeHugger Robot [Wed, 21 Feb 2018 02:58:18 +0000 (02:58 +0000)]
Merge "Create display if necessary when adding windows."

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote....
Robert Sesek [Wed, 21 Feb 2018 02:47:07 +0000 (02:47 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375 am: 486190f87b
am: 0dd7cf0bb3

Change-Id: I9468ec63053f35814ec45b18572966d8adc93f3e

6 years agoMerge "Change verity hash algorithm to pad the last chunk"
TreeHugger Robot [Wed, 21 Feb 2018 02:37:49 +0000 (02:37 +0000)]
Merge "Change verity hash algorithm to pad the last chunk"

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote....
Robert Sesek [Wed, 21 Feb 2018 02:33:14 +0000 (02:33 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote." am: 1c81aa6375
am: 486190f87b

Change-Id: I683dbbf730bfd02e43cb67bfcaa0df56d69c9796

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote."
Robert Sesek [Wed, 21 Feb 2018 02:16:22 +0000 (02:16 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote."
am: 1c81aa6375

Change-Id: I2af77c52ea7aca058ab1a1fc224968760e6c3ac5

6 years agoMerge "MediaController2: Implement setRating()"
Hyundo Moon [Wed, 21 Feb 2018 01:35:40 +0000 (01:35 +0000)]
Merge "MediaController2: Implement setRating()"

6 years agoMerge "Prevent quickscrub when swipe up has already started"
TreeHugger Robot [Wed, 21 Feb 2018 01:10:33 +0000 (01:10 +0000)]
Merge "Prevent quickscrub when swipe up has already started"

6 years agoMerge "Auto-gen AndroidTest.xml for CorePerfTests so atest can run it."
TreeHugger Robot [Wed, 21 Feb 2018 00:58:37 +0000 (00:58 +0000)]
Merge "Auto-gen AndroidTest.xml for CorePerfTests so atest can run it."

6 years agoMerge "Add twasilczyk and randolphs to broadcast radio directories OWNERS."
Tomasz Wasilczyk [Wed, 21 Feb 2018 00:51:37 +0000 (00:51 +0000)]
Merge "Add twasilczyk and randolphs to broadcast radio directories OWNERS."

6 years agoMerge "Reparent the webview_zygote to be a child of the main app_process zygote."
Treehugger Robot [Wed, 21 Feb 2018 00:43:56 +0000 (00:43 +0000)]
Merge "Reparent the webview_zygote to be a child of the main app_process zygote."

6 years agoMerge "Add proto for USB default screen"
TreeHugger Robot [Wed, 21 Feb 2018 00:34:06 +0000 (00:34 +0000)]
Merge "Add proto for USB default screen"

6 years agoMerge "Consider shared libs when precreating WebView classloader." am: f9fd8dfcc0...
Torne (Richard Coles) [Wed, 21 Feb 2018 00:33:41 +0000 (00:33 +0000)]
Merge "Consider shared libs when precreating WebView classloader." am: f9fd8dfcc0 am: 424f3ab432
am: b65864e2e7  -s ours

Change-Id: If64c370667fa23fef5dac31cdb90f5eb97b6dd94

6 years agoMerge "VideoView2: Remove redundant listeners"
TreeHugger Robot [Wed, 21 Feb 2018 00:27:13 +0000 (00:27 +0000)]
Merge "VideoView2: Remove redundant listeners"

6 years agoMerge "Add sungsoo@ to OWNERS"
TreeHugger Robot [Wed, 21 Feb 2018 00:25:18 +0000 (00:25 +0000)]
Merge "Add sungsoo@ to OWNERS"

6 years agoMerge "Consider shared libs when precreating WebView classloader." am: f9fd8dfcc0
Torne (Richard Coles) [Wed, 21 Feb 2018 00:17:22 +0000 (00:17 +0000)]
Merge "Consider shared libs when precreating WebView classloader." am: f9fd8dfcc0
am: 424f3ab432

Change-Id: I21f031e97f750b8837eb9c698005fd3f112631ca

6 years agoMerge "Consider shared libs when precreating WebView classloader."
Torne (Richard Coles) [Wed, 21 Feb 2018 00:03:58 +0000 (00:03 +0000)]
Merge "Consider shared libs when precreating WebView classloader."
am: f9fd8dfcc0

Change-Id: I2e326ffb47a95c01bf5e67320bbf8aa8193916af

6 years agoMerge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc...
Brad Ebinger [Tue, 20 Feb 2018 23:44:12 +0000 (23:44 +0000)]
Merge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc am: ffe0e51f47
am: e73631c161

Change-Id: I0b72033ace19075e4acd8f7a9eaec3770bb07836

6 years agoMerge "Adds anomaly detection to max duration metrics."
TreeHugger Robot [Tue, 20 Feb 2018 23:38:00 +0000 (23:38 +0000)]
Merge "Adds anomaly detection to max duration metrics."

6 years agoMerge "Remove a few atoms from the timestamp truncating whitelist."
TreeHugger Robot [Tue, 20 Feb 2018 23:35:06 +0000 (23:35 +0000)]
Merge "Remove a few atoms from the timestamp truncating whitelist."

6 years agoChange verity hash algorithm to pad the last chunk
Victor Hsieh [Tue, 20 Feb 2018 23:22:28 +0000 (15:22 -0800)]
Change verity hash algorithm to pad the last chunk

As the result, all existing cases takes complete chunk for hashing.

Also bump to version number.

Test: without also bumping the version, apk with 0x401 hash won't install
Test: apk with 0x411 hash installs
Bug: 30972906
Change-Id: I48c15c886ac6eab4512f1b2b9744b07e746c6211

6 years agoDisable recents onboarding for test automation
Robb Glasser [Tue, 20 Feb 2018 21:28:53 +0000 (13:28 -0800)]
Disable recents onboarding for test automation

The recents onboarding blocks UI automated tests. It should be disabled
if we're running in a test harness.

Bug: 73549472

Test: Tried permutations of setting persist.quickstep.onboarding.enabled
and ro.test_harness to true/false and verified the recents onboarding
pop up was present/absent when expected.

Change-Id: I7502c1873619db19294658b2b7a4ddc64f8d3b4e

6 years agoMerge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false" am: 8343a47035 am: de958...
Pankaj Kanwar [Tue, 20 Feb 2018 23:29:10 +0000 (23:29 +0000)]
Merge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false" am: 8343a47035 am: de9585fe28
am: 44b27e486a

Change-Id: I2849ed28eaff8666364dbb9848b4a08c952f5d17

6 years agoMerge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811 am: ad96984eb5
nharold [Tue, 20 Feb 2018 23:21:59 +0000 (23:21 +0000)]
Merge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811 am: ad96984eb5
am: 0a177afbb8

Change-Id: I2ce9d740b82f591b847150ec1eaffa39bfbd0241

6 years agoMerge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc
Brad Ebinger [Tue, 20 Feb 2018 23:20:48 +0000 (23:20 +0000)]
Merge "Add new reason code for call failed by unobtainable number" am: 4122fd23dc
am: ffe0e51f47

Change-Id: I9b706c18b2d184b303adb526ee7adf86dd7e9ee9

6 years agoMerge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false" am: 8343a47035
Pankaj Kanwar [Tue, 20 Feb 2018 23:13:33 +0000 (23:13 +0000)]
Merge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false" am: 8343a47035
am: de9585fe28

Change-Id: I11bcc2948e8efeea731299c5b8d642e155c1a2d5

6 years agoMerge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811
nharold [Tue, 20 Feb 2018 23:07:53 +0000 (23:07 +0000)]
Merge "Fix ConnectivityServiceTest for NATT Keepalive" am: 6d5aea8811
am: ad96984eb5

Change-Id: I3c28cbb55f8226776792df9cacf1b5e527389157

6 years agoMerge "Add new reason code for call failed by unobtainable number"
Brad Ebinger [Tue, 20 Feb 2018 23:02:55 +0000 (23:02 +0000)]
Merge "Add new reason code for call failed by unobtainable number"
am: 4122fd23dc

Change-Id: Ib390ec02187fd27687dddc334bf2fcc791012c8e

6 years agoMerge "MediaFormat: declare key for AAC decoder DRC effect type"
TreeHugger Robot [Tue, 20 Feb 2018 22:58:34 +0000 (22:58 +0000)]
Merge "MediaFormat: declare key for AAC decoder DRC effect type"

6 years agoMerge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
Pankaj Kanwar [Tue, 20 Feb 2018 22:57:52 +0000 (22:57 +0000)]
Merge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
am: 8343a47035

Change-Id: I4940e0ba4e86db861c75e910329aaf8fadd0e7e1

6 years agoMerge "Fix bug in edge case for statsd anomaly tracking."
TreeHugger Robot [Tue, 20 Feb 2018 22:56:02 +0000 (22:56 +0000)]
Merge "Fix bug in edge case for statsd anomaly tracking."

6 years agoMerge "Fix ConnectivityServiceTest for NATT Keepalive"
nharold [Tue, 20 Feb 2018 22:55:38 +0000 (22:55 +0000)]
Merge "Fix ConnectivityServiceTest for NATT Keepalive"
am: 6d5aea8811

Change-Id: Idbdffc7bbd2d9a96f6e6052810722df04a20a65c

6 years agoAuto-gen AndroidTest.xml for CorePerfTests so atest can run it.
Kevin Cheng [Tue, 20 Feb 2018 22:27:17 +0000 (14:27 -0800)]
Auto-gen AndroidTest.xml for CorePerfTests so atest can run it.

Bug: 68946306
Test: atest CorePerfTests
https://sponge.corp.google.com/target?id=5238c8a7-0016-485f-9eb4-7a91fe86c454&target=CorePerfTests&searchFor=&show=ALL&sortBy=STATUS
Change-Id: I4fe680dddb51151e17546704f554813a588e5f86

6 years agoFix two broken tests in PersistentKeyChainSnapshotTest
Bo Zhu [Tue, 20 Feb 2018 22:49:49 +0000 (14:49 -0800)]
Fix two broken tests in PersistentKeyChainSnapshotTest

Bug: 73609806
Test: adb shell am instrument -w -e package \
com.android.server.locksettings.recoverablekeystore \
com.android.frameworks.servicestests/android.support.test.runner.AndroidJUnitRunner

Change-Id: I6c054fe8069c2016f8952380c0e083c6eb2b6a23

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 20 Feb 2018 22:38:50 +0000 (22:38 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoAdd proto for USB default screen
Jerry Zhang [Tue, 13 Feb 2018 02:12:41 +0000 (18:12 -0800)]
Add proto for USB default screen

Bug: 62876645
Test: none
Change-Id: I08de7910c9d7f62760edfcfca24a9807606d7346

6 years agoFix IMMS debug shell command
Yohei Yukawa [Tue, 20 Feb 2018 22:16:30 +0000 (07:16 +0900)]
Fix IMMS debug shell command

It turns out the previous CL [1] introduced a new option not as
  adb shell cmd input_method refresh_debug_properties
but as a sub command of
  adb shell cmd input_method ime refresh_debug_properties
or
  adb shell ime refresh_debug_properties

This is not what we intended.

With this CL, 'refresh_debug_properties' is recognized as a sub
command of 'adb shell cmd input_method' as we intended.

 [1]: Ibf9dab3d9c138b5f04e053d41ee4fd248c78e4da
      75a92392218a12eaabd2187724f7175ef38d362b

Bug: 37617707
Test: Verify following command reverts the behavior to the
      previous one:
        adb root
        adb shell setprop debug.optimize_startinput false
        adb shell cmd input_method refresh_debug_properties
Test: The following command is not recognized.
        adb shell ime refresh_debug_properties
Change-Id: I89b0900f402940d5943e1a6c6e236592b5cefc78

6 years agoMerge changes I86c37b6d,I976b29bf
TreeHugger Robot [Tue, 20 Feb 2018 22:08:46 +0000 (22:08 +0000)]
Merge changes I86c37b6d,I976b29bf

* changes:
  Frameworks: Disable two recoverablekeystore tests
  Frameworks: Fix JUnit4 test annotations

6 years agoReparent the webview_zygote to be a child of the main app_process zygote.
Robert Sesek [Wed, 17 Jan 2018 23:48:18 +0000 (18:48 -0500)]
Reparent the webview_zygote to be a child of the main app_process zygote.

This uses the new ZygoteProcess.startChildZygote() method to launch the
webview_zygote, rather than having init start it. This will share more
memory between the app_process and the webview_zygote, reducing the
overall system footprint.

Bug: 63749735
Test: m
Test: Launch "Third-party licenses" activity from Settings, and it
      renders correctly via the WebView.
Change-Id: I3e39cd8adb9c099c92ee34640428916d90cb2b8f

6 years agoMerge "Consider shared libs when precreating WebView classloader."
Treehugger Robot [Tue, 20 Feb 2018 21:59:54 +0000 (21:59 +0000)]
Merge "Consider shared libs when precreating WebView classloader."

6 years agoCreate display if necessary when adding windows.
Bryce Lee [Tue, 20 Feb 2018 18:41:58 +0000 (10:41 -0800)]
Create display if necessary when adding windows.

It is possible for a window to be added to a display before
ActivityManagerService has processed a display creation. In this
case, the relevant WindowManager and ActivityManager containers have
not been created. This will prevent the client from proceeding.

This changelist addresses this problem by allowing the WindowManager
DisplayContent to be created in this specific scenario. When the
ActivityManager side processes the new display, it will be associated
with the existing DisplayContent.

Change-Id: I1bc7d11f5cc538f35b5f7b0a8303d48fba370ea0
Fixes: 73292997
Test: cts-tradefed run singleCommand cts-dev --module CtsMediaTestCases --test android.media.cts.EncodeVirtualDisplayWithCompositionTest

6 years agoAdds anomaly detection to max duration metrics.
David Chen [Tue, 13 Feb 2018 01:24:40 +0000 (17:24 -0800)]
Adds anomaly detection to max duration metrics.

Statsd supports anomaly detection for max duration, which is
conceptually like asking for an anomaly on the current duration.
There was a bug previously in the logic for max duration since we
recorded a duration every time a dimension went into pause. Now, we
only record a max duration when the dimension goes into stop.

When a dimension inside the MaxDurationTracker leaves the started
state, we need to check if we still need to keep an anomaly alarm
set. It's possible that we just immediately set an alarm with the
same timestamp as what was just deleted.

Test: Added some unit-tests and tested on marlin-eng.
Change-Id: I09c82cd266b4cc6e1c893ad166e602bf08baca0e

6 years agoFix bug in edge case for statsd anomaly tracking.
David Chen [Tue, 20 Feb 2018 21:22:53 +0000 (13:22 -0800)]
Fix bug in edge case for statsd anomaly tracking.

Getting a past bucket value will always crash for anomalies
configured to track only the most recent one bucket.

Test: N/A
Change-Id: I2cd1c82fe8ba4cecb4fac21038bb5f04a60c360e

6 years agoRemove a few atoms from the timestamp truncating whitelist.
Yangster-mac [Tue, 20 Feb 2018 21:12:27 +0000 (13:12 -0800)]
Remove a few atoms from the timestamp truncating whitelist.

Test: statsd test
Change-Id: Ic6a152cb400bef33139357d60f6d0feca855ade2

6 years agoMerge "Reorganize MeasuredText API (2nd)"
Seigo Nonaka [Tue, 20 Feb 2018 21:14:53 +0000 (21:14 +0000)]
Merge "Reorganize MeasuredText API (2nd)"

6 years agoMerge "Deprecate Movie.java"
Leon Scroggins [Tue, 20 Feb 2018 21:08:14 +0000 (21:08 +0000)]
Merge "Deprecate Movie.java"

6 years agoMerge "Add new reason code for call failed by unobtainable number"
Brad Ebinger [Tue, 20 Feb 2018 21:00:08 +0000 (21:00 +0000)]
Merge "Add new reason code for call failed by unobtainable number"

6 years agoMerge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot" am: 0ea144f4bf...
Mathieu Chartier [Tue, 20 Feb 2018 20:54:12 +0000 (20:54 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot" am: 0ea144f4bf am: 8deca3f06f
am: 50450452cf

Change-Id: I83f4b209123177012e73bbb9b4ea71bc30365e48

6 years agoMerge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
Pankaj Kanwar [Tue, 20 Feb 2018 20:48:12 +0000 (20:48 +0000)]
Merge "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"

6 years agoMerge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9 am: 0d90a0690b
Bruno Martins [Tue, 20 Feb 2018 20:47:22 +0000 (20:47 +0000)]
Merge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9 am: 0d90a0690b
am: a0f75f5963

Change-Id: I2d4ffcaf46a860e474be2d167e5a3d845b34f41a

6 years agoMerge "Timestamp Truncating whitelist."
TreeHugger Robot [Tue, 20 Feb 2018 20:41:29 +0000 (20:41 +0000)]
Merge "Timestamp Truncating whitelist."

6 years agoConsider shared libs when precreating WebView classloader.
Torne (Richard Coles) [Tue, 19 Sep 2017 19:21:29 +0000 (15:21 -0400)]
Consider shared libs when precreating WebView classloader.

The change to handling of the deprecated Apache HTTP library means that
the WebView implementation package might have a non-empty shared library
list. Make sure to fetch shared libraries when querying WebView
implementations, and take them into account when constructing both the
actual classpath to be used to precreate the classloader, and when
deciding what the cache key for the precreated classloader should be.

Change-Id: I5e1409358d935e1c9f325db434bc6d4ef8ead759
Merged-In: I5e1409358d935e1c9f325db434bc6d4ef8ead759
Fixes: 65574359
Test: launch anything that uses WebView
(cherry picked from commit 4fd8aa51e4de5a7c93841571e30ff10077d1b125)

6 years agoMerge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot" am: 0ea144f4bf
Mathieu Chartier [Tue, 20 Feb 2018 20:40:00 +0000 (20:40 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot" am: 0ea144f4bf
am: 8deca3f06f

Change-Id: Idefc228d35212f4014e9bb204e54b58c904ee94c

6 years agoMerge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9
Bruno Martins [Tue, 20 Feb 2018 20:34:09 +0000 (20:34 +0000)]
Merge "WifiTile: Avoid NPE during boot phase" am: b23150ffa9
am: 0d90a0690b

Change-Id: I65e814b392cc0891f970223c2ded27c7420205dc

6 years agoMerge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"
Mathieu Chartier [Tue, 20 Feb 2018 20:26:00 +0000 (20:26 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"
am: 0ea144f4bf

Change-Id: Icdd5128db27b701e76656f1e3e5ae230dbd15daa

6 years agoMerge "MediaPlayer2: use MediaPlayer2::Create()"
TreeHugger Robot [Tue, 20 Feb 2018 20:24:34 +0000 (20:24 +0000)]
Merge "MediaPlayer2: use MediaPlayer2::Create()"

6 years agoMerge "WifiTile: Avoid NPE during boot phase"
Bruno Martins [Tue, 20 Feb 2018 20:20:51 +0000 (20:20 +0000)]
Merge "WifiTile: Avoid NPE during boot phase"
am: b23150ffa9

Change-Id: Ib4748cb4814e4f6f1c5e7579284522ac55df329f

6 years agoMerge "Allow QS to be any height."
TreeHugger Robot [Tue, 20 Feb 2018 20:16:45 +0000 (20:16 +0000)]
Merge "Allow QS to be any height."

6 years agoMerge "Need to add report id and sequence number to uniquely mark a incident report...
TreeHugger Robot [Tue, 20 Feb 2018 20:09:51 +0000 (20:09 +0000)]
Merge "Need to add report id and sequence number to uniquely mark a incident report data."

6 years agoMerge "Remove mResizedWhileNotDragResizing"
Rob Carr [Tue, 20 Feb 2018 20:09:29 +0000 (20:09 +0000)]
Merge "Remove mResizedWhileNotDragResizing"

6 years agoMerge "Work on issue #63937884: Heavyweight Apps/Game Mode"
TreeHugger Robot [Tue, 20 Feb 2018 20:02:39 +0000 (20:02 +0000)]
Merge "Work on issue #63937884: Heavyweight Apps/Game Mode"

6 years agoAdd twasilczyk and randolphs to broadcast radio directories OWNERS.
Tomasz Wasilczyk [Fri, 16 Feb 2018 09:44:49 +0000 (01:44 -0800)]
Add twasilczyk and randolphs to broadcast radio directories OWNERS.

Test: none
Change-Id: Ib21e81a8e77f7bc321e0ff71fa259e63956bf9ae

6 years agoMerge "Fixed Security Exception issue when inflating notification"
TreeHugger Robot [Tue, 20 Feb 2018 19:30:42 +0000 (19:30 +0000)]
Merge "Fixed Security Exception issue when inflating notification"

6 years agoMerge "Extend XML parser to allow optional requiredFlags attribute for <include ...
TreeHugger Robot [Tue, 20 Feb 2018 19:20:00 +0000 (19:20 +0000)]
Merge "Extend XML parser to allow optional requiredFlags attribute for <include /> rules in <full-backup-content> specification"

6 years agoMerge "Pre-P cannot change alarms/media dnd policy"
TreeHugger Robot [Tue, 20 Feb 2018 19:19:52 +0000 (19:19 +0000)]
Merge "Pre-P cannot change alarms/media dnd policy"

6 years agoMerge "Fix ConnectivityServiceTest for NATT Keepalive"
nharold [Tue, 20 Feb 2018 19:17:23 +0000 (19:17 +0000)]
Merge "Fix ConnectivityServiceTest for NATT Keepalive"

6 years agoTweak FingerprintDialog layout
Kevin Chyn [Wed, 7 Feb 2018 00:30:31 +0000 (16:30 -0800)]
Tweak FingerprintDialog layout

Bug: 72475614

Test: manual, layout looks good
Change-Id: I2af6a8b8c803d2829a365b3c9a35d19de4b8020e

6 years agoMerge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"
Mathieu Chartier [Tue, 20 Feb 2018 19:12:38 +0000 (19:12 +0000)]
Merge "Pass DEXOPT_INSTALL_WITH_DEX_METADATA_FILE for first boot"

6 years agoMerge "fix picture-in-picture logging"
TreeHugger Robot [Tue, 20 Feb 2018 19:05:17 +0000 (19:05 +0000)]
Merge "fix picture-in-picture logging"

6 years agoMerge "Finish unlocking user before touching apps."
Jeff Sharkey [Tue, 20 Feb 2018 18:59:51 +0000 (18:59 +0000)]
Merge "Finish unlocking user before touching apps."

6 years agoMerge changes Iff58235b,I1ea44917
TreeHugger Robot [Tue, 20 Feb 2018 18:59:50 +0000 (18:59 +0000)]
Merge changes Iff58235b,I1ea44917

* changes:
  DisplayCutout: account for cutout in appWidth/appHeight etc.
  DisplayCutout: Dispatch all non-zero safeInsets

6 years agoMerge "Logging prox sensor entry point and screen state"
Lucas Dupin [Tue, 20 Feb 2018 18:54:36 +0000 (18:54 +0000)]
Merge "Logging prox sensor entry point and screen state"

6 years agoMerge "Log deferred jobs metrics to batterystats"
TreeHugger Robot [Tue, 20 Feb 2018 18:52:24 +0000 (18:52 +0000)]
Merge "Log deferred jobs metrics to batterystats"

6 years agoMerge "APIs to watch active op changes"
TreeHugger Robot [Tue, 20 Feb 2018 18:46:57 +0000 (18:46 +0000)]
Merge "APIs to watch active op changes"

6 years agoMerge "Add Notification.Action.SEMANTIC_ACTION_CALL"
Kodlee Yin [Tue, 20 Feb 2018 18:39:19 +0000 (18:39 +0000)]
Merge "Add Notification.Action.SEMANTIC_ACTION_CALL"

6 years agoMerge "Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef ...
Android Build Merger (Role) [Tue, 20 Feb 2018 18:32:39 +0000 (18:32 +0000)]
Merge "Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef  -s ours am: eeaa000ce3  -s ours"

6 years agoNeed to add report id and sequence number to uniquely mark a incident
Yi Jin [Tue, 20 Feb 2018 18:32:27 +0000 (10:32 -0800)]
Need to add report id and sequence number to uniquely mark a incident
report data.

Bug: b/65451198
Test: N/A
Change-Id: I12f2c80c57e00e92888a295d432f2ec7e0d95ffd

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef -s ours
Bill Yi [Tue, 20 Feb 2018 18:32:18 +0000 (18:32 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 646773f4ef  -s ours
am: eeaa000ce3  -s ours

Change-Id: Ibb2ed0a33e9e1c46a780c606b0aed991fae90f5f

6 years agoMerge "Add OWNERS for webview directories in framework."
TreeHugger Robot [Tue, 20 Feb 2018 18:32:14 +0000 (18:32 +0000)]
Merge "Add OWNERS for webview directories in framework."

6 years agoMediaPlayer2: use MediaPlayer2::Create()
Wei Jia [Tue, 20 Feb 2018 18:20:08 +0000 (10:20 -0800)]
MediaPlayer2: use MediaPlayer2::Create()

Test: MediaPlayer2 plays
Bug: 63934228
Change-Id: If9f7e6014bf1d71313279d2d025967714d8e7006

6 years agoMerge "Revert "Log the apk optimization state in the MetricsLogger""
Narayan Kamath [Tue, 20 Feb 2018 18:17:34 +0000 (18:17 +0000)]
Merge "Revert "Log the apk optimization state in the MetricsLogger""

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 20 Feb 2018 18:14:20 +0000 (18:14 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 646773f4ef  -s ours

Change-Id: If7c5be44c3912e481e85103c0b6bc9f11f08381a

6 years agoMerge "Remove Skia RenderPipeline saveLayer logic for software layers."
TreeHugger Robot [Tue, 20 Feb 2018 18:09:04 +0000 (18:09 +0000)]
Merge "Remove Skia RenderPipeline saveLayer logic for software layers."

6 years agoMerge "AudioService: Allow specification of the USB safe volume."
John Muir [Tue, 20 Feb 2018 18:06:51 +0000 (18:06 +0000)]
Merge "AudioService: Allow specification of the USB safe volume."

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 20 Feb 2018 18:06:22 +0000 (18:06 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Tue, 20 Feb 2018 18:01:54 +0000 (18:01 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoMerge "Skip repositioning home stack for recents animation if already visible"
Winson Chung [Tue, 20 Feb 2018 18:00:34 +0000 (18:00 +0000)]
Merge "Skip repositioning home stack for recents animation if already visible"

6 years agoFixed Security Exception issue when inflating notification
Selim Cinek [Tue, 20 Feb 2018 17:54:20 +0000 (09:54 -0800)]
Fixed Security Exception issue when inflating notification

This is a temporary fix until we can resolve why the permissing
isn't granted properly.

Bug: 73640774
Test: receive mms, reply from hun
Change-Id: I77d909762d90c84b95f32c4c20c495ba46b5a176

6 years agoMerge "Get text positions from transformed text"
Phil Weaver [Tue, 20 Feb 2018 17:32:27 +0000 (17:32 +0000)]
Merge "Get text positions from transformed text"

6 years agoRevert "Log the apk optimization state in the MetricsLogger"
Narayan Kamath [Tue, 20 Feb 2018 17:06:21 +0000 (17:06 +0000)]
Revert "Log the apk optimization state in the MetricsLogger"

This reverts commit 0a8bea818c330d02161322901534992253a2f9ee.

E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E AndroidRuntime: java.lang.NullPointerException: Attempt to read from field 'java.lang.String com.android.server.am.ProcessRecord.requiredAbi' on a null object reference
E AndroidRuntime:        at com.android.server.am.ActivityMetricsLogger.logAppTransition(ActivityMetricsLogger.java:504)
E AndroidRuntime:        at com.android.server.am.ActivityMetricsLogger.access$100(ActivityMetricsLogger.java:62)

Bug: 73626352
Change-Id: Idd50e0d2cf34e5393b4ae76ef8bc48b0067532eb

6 years agoDisplayCutout: account for cutout in appWidth/appHeight etc.
Adrian Roos [Mon, 19 Feb 2018 17:06:36 +0000 (18:06 +0100)]
DisplayCutout: account for cutout in appWidth/appHeight etc.

Makes sure to take into account the area blocked by the cutout when
calculating the nonDecor / config / stable insets, widths and heights.

Fixes: 72995358
Fixes: 72444324
Test: atest PhoneWindowManagerInsetsTest
Test: go/wm-smoke
Test: Enter splitscreen, verify that both windows are same size

Change-Id: Iff58235b5bdfd0d49df259a91b05e54e3864f41c

6 years agoDisplayCutout: Dispatch all non-zero safeInsets
Adrian Roos [Mon, 19 Feb 2018 15:26:15 +0000 (16:26 +0100)]
DisplayCutout: Dispatch all non-zero safeInsets

Ensures that even if the display cutout does not overlap
a window, the safe insets are still dispatched if the window
overlaps any part of the cutout area and the safe insets
are therefore non-zero.

To do that, we need to compute the insets once against the
display size, then only shrink or expand the safe insets
accordingly.

Bug: 73533636
Test: atest DisplayCutoutTest
Change-Id: I1ea449178e29c7effdd92cac78af1a3875ca7e70

6 years agoMerge "Implement AnimatedImageDrawable.getColorFilter"
TreeHugger Robot [Tue, 20 Feb 2018 17:04:14 +0000 (17:04 +0000)]
Merge "Implement AnimatedImageDrawable.getColorFilter"

6 years agoDeprecate Movie.java
Leon Scroggins III [Tue, 20 Feb 2018 16:35:49 +0000 (11:35 -0500)]
Deprecate Movie.java

Bug: 27847286
Test: none

Now that we have a framework replacement, deprecate this little-used
class.

Change-Id: Iedec214c7eb729ccb77d2b4818971393938b2295

6 years agoMerge "Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks...
Android Build Merger (Role) [Tue, 20 Feb 2018 16:24:21 +0000 (16:24 +0000)]
Merge "Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa52e4b am: b459c66fca am: 7bfadcb095  -s ours"

6 years agoMerge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa...
David Brazdil [Tue, 20 Feb 2018 16:23:57 +0000 (16:23 +0000)]
Merge "Add flag to AMS.startInstrumentation() to disable hidden API checks" am: 4a8fa52e4b am: b459c66fca
am: 7bfadcb095  -s ours

Change-Id: I5f6f863b8e867246a1c7ce9cd2b45126a751916e

6 years agoMerge "Define sane default target SDK for system_server."
Jeff Sharkey [Tue, 20 Feb 2018 16:23:12 +0000 (16:23 +0000)]
Merge "Define sane default target SDK for system_server."