OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices...
Kevin Chyn [Mon, 25 Sep 2017 23:52:16 +0000 (23:52 +0000)]
Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev am: fec9d20ed7
am: 35d78a9a54

Change-Id: I1c52a44e36815cf305e2fd23e09c597ea94db81a

6 years agoMerge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices...
Kevin Chyn [Mon, 25 Sep 2017 23:44:40 +0000 (23:44 +0000)]
Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev
am: fec9d20ed7

Change-Id: I06205cc9f5b5826071ba74995fa852bb1439c678

6 years agoMerge "Revert "Add preopt profile logic for compiling during first boot"" into oc...
Mathieu Chartier [Mon, 25 Sep 2017 23:28:52 +0000 (23:28 +0000)]
Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev am: 213b5c742f
am: 364ea009c0

Change-Id: Icfd1899886b051931ffeeffc68023c0c6676b719

6 years agoMerge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices...
Kevin Chyn [Mon, 25 Sep 2017 23:01:40 +0000 (23:01 +0000)]
Merge "LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices" into oc-mr1-dev

6 years agoMerge "Revert "Add preopt profile logic for compiling during first boot"" into oc...
Mathieu Chartier [Mon, 25 Sep 2017 23:01:38 +0000 (23:01 +0000)]
Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev
am: 213b5c742f

Change-Id: Id1f67d4cdf7780cf97bb29b23cf42d1f2b985d7e

6 years agoMerge "Revert "Add preopt profile logic for compiling during first boot"" into oc...
Mathieu Chartier [Mon, 25 Sep 2017 22:52:31 +0000 (22:52 +0000)]
Merge "Revert "Add preopt profile logic for compiling during first boot"" into oc-mr1-dev

6 years agoRevert "Add preopt profile logic for compiling during first boot"
Mathieu Chartier [Mon, 25 Sep 2017 18:39:30 +0000 (11:39 -0700)]
Revert "Add preopt profile logic for compiling during first boot"

Test: flash build and forrest
Bug: 66903791

This reverts commit 20ad4b92a7528f24adf6e4f6d23d9d3a02a8792a.

Change-Id: I2c0f22f2a7c04221ed7b1562e516be98d27c7a50

6 years agoMerge "Hide autofill popup if anchor removed" into oc-mr1-dev am: 8e5e30c5eb
Svet Ganov [Mon, 25 Sep 2017 22:41:17 +0000 (22:41 +0000)]
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev am: 8e5e30c5eb
am: 89934be670

Change-Id: Idc925398f0b28ffe7220634cd9b74fba22de7278

6 years agoMerge "Hide autofill popup if anchor removed" into oc-mr1-dev
Svet Ganov [Mon, 25 Sep 2017 22:30:07 +0000 (22:30 +0000)]
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev
am: 8e5e30c5eb

Change-Id: Idd876a073c90f1b87f23e09b1993dc723eb6bdd5

6 years agoMerge "Hide autofill popup if anchor removed" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 22:24:25 +0000 (22:24 +0000)]
Merge "Hide autofill popup if anchor removed" into oc-mr1-dev

6 years agoMerge "Add shutdown reason as extra when triggering ACTION_REQUEST_SHUTDOWN."
Sudheer Shanka [Mon, 25 Sep 2017 20:42:52 +0000 (20:42 +0000)]
Merge "Add shutdown reason as extra when triggering ACTION_REQUEST_SHUTDOWN."

6 years agoMerge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev am: 73c93f02f7
Adrian Roos [Mon, 25 Sep 2017 18:47:59 +0000 (18:47 +0000)]
Merge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev am: 73c93f02f7
am: 392a9b5c1d

Change-Id: Ifeb044d767b03c799fa028e6efc967b88fae7b53

6 years agoMerge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev
Adrian Roos [Mon, 25 Sep 2017 18:38:23 +0000 (18:38 +0000)]
Merge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev
am: 73c93f02f7

Change-Id: I647bfc52892b305eb59f446812e142b609172bd4

6 years agoMerge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev
Adrian Roos [Mon, 25 Sep 2017 18:33:01 +0000 (18:33 +0000)]
Merge "FRP: Add config flag for disabling credential FRP" into oc-mr1-dev

6 years agoMerge "Don't take a lock on the UI thread."
TreeHugger Robot [Mon, 25 Sep 2017 18:21:54 +0000 (18:21 +0000)]
Merge "Don't take a lock on the UI thread."

6 years agoAdd shutdown reason as extra when triggering ACTION_REQUEST_SHUTDOWN.
Sudheer Shanka [Mon, 25 Sep 2017 17:36:23 +0000 (10:36 -0700)]
Add shutdown reason as extra when triggering ACTION_REQUEST_SHUTDOWN.

When BatteryService triggers ACTION_REQUEST_SHUTDOWN intent, add the reason
for shutdown as extra to indicate low battery or critical battery
thermal state.

Bug: 63736262
Test: 1/ adb shell cmd battery unplug && adb shell cmd battery set level 0
      2/ Power on the device
      3/ Verify sys.boot.reason == shutdown,battery
Test: 1/ adb shell cmd battery set temp 700
      2/ Power on the device
      3/ Verify sys.boot.reason == shutdown,thermal,battery

Change-Id: If20a36ef53f8bcbfae4114df08f741ec1dcd7df9

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" into...
Jack Yu [Mon, 25 Sep 2017 17:40:10 +0000 (17:40 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" into oc-mr1-dev am: baf1201b43
am: 9e3d9686a4

Change-Id: Iacb91e0f5a8ba5ac7b7e024950bff8f9ee79491c

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" into...
Jack Yu [Mon, 25 Sep 2017 17:29:59 +0000 (17:29 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" into oc-mr1-dev
am: baf1201b43

Change-Id: I1470e1195ac34282b0fffc6fd9d594601294cb01

6 years agoMerge "Fixed that telephony registry service reference incorrectly assigned" into...
TreeHugger Robot [Mon, 25 Sep 2017 17:23:08 +0000 (17:23 +0000)]
Merge "Fixed that telephony registry service reference incorrectly assigned" into oc-mr1-dev

6 years agoMerge "Merge multiple eventMetricData entries into a single StatsLogReport when writi...
TreeHugger Robot [Mon, 25 Sep 2017 16:56:08 +0000 (16:56 +0000)]
Merge "Merge multiple eventMetricData entries into a single StatsLogReport when writing to dropbox"

6 years agoDon't take a lock on the UI thread.
Makoto Onuki [Sat, 23 Sep 2017 00:22:50 +0000 (17:22 -0700)]
Don't take a lock on the UI thread.

Bug 66719356

Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest1 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest2 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest3 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest4 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest5 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest6 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest7 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest8 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest9 -w com.android.frameworks.servicestests
Test: adb shell am instrument -w -e class com.android.server.pm.ShortcutManagerTest10 -w com.android.frameworks.servicestests
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutManagerTestCases
Test: cts-tradefed run cts-dev --skip-device-info --skip-preconditions --skip-system-status-check com.android.compatibility.common.tradefed.targetprep.NetworkConnectivityChecker -a armeabi-v7a -l INFO -m CtsShortcutHostTestCases
Change-Id: I1045eda4910e3c7d3172038a1efd31cdf9346729

6 years agoMerge "Fixing session abandon logging bug" into oc-mr1-dev am: 4fce88dd4d
Jan Althaus [Mon, 25 Sep 2017 16:03:31 +0000 (16:03 +0000)]
Merge "Fixing session abandon logging bug" into oc-mr1-dev am: 4fce88dd4d
am: c7812f0fa5

Change-Id: I57abb3d7f4bce7cdda696b57f65475c02ac3b498

6 years agoMerge "Fixing session abandon logging bug" into oc-mr1-dev
Jan Althaus [Mon, 25 Sep 2017 15:54:16 +0000 (15:54 +0000)]
Merge "Fixing session abandon logging bug" into oc-mr1-dev
am: 4fce88dd4d

Change-Id: I76efdf2d4878e72c2610d7f40fef98e39dfca7a1

6 years agoMerge "Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev am: e95197a...
Android Build Merger (Role) [Mon, 25 Sep 2017 15:48:13 +0000 (15:48 +0000)]
Merge "Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev am: e95197a664 am: 35d91afa74"

6 years agoMerge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev am: e95197a664
Jan Althaus [Mon, 25 Sep 2017 15:46:30 +0000 (15:46 +0000)]
Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev am: e95197a664
am: 35d91afa74

Change-Id: I7d6f531823244508d53497f0a28ba610b80c0569

6 years agoMerge "Reduce overhead by combining libskia and libhwui into a single library."
Derek Sollenberger [Mon, 25 Sep 2017 15:45:34 +0000 (15:45 +0000)]
Merge "Reduce overhead by combining libskia and libhwui into a single library."

6 years agoMerge "Fixing session abandon logging bug" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 15:42:49 +0000 (15:42 +0000)]
Merge "Fixing session abandon logging bug" into oc-mr1-dev

6 years agoMerge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev
Jan Althaus [Mon, 25 Sep 2017 15:36:35 +0000 (15:36 +0000)]
Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev
am: e95197a664

Change-Id: Ic48503564647c588d076f7ceefeeef38dcf3ae6c

6 years agoMerge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 15:19:01 +0000 (15:19 +0000)]
Merge "Fixed bug in handling of OTHER as terminal" into oc-mr1-dev

6 years agoMerge "Improve window manager layout attribute dumping"
Jorim Jaggi [Mon, 25 Sep 2017 15:11:30 +0000 (15:11 +0000)]
Merge "Improve window manager layout attribute dumping"

6 years agoFRP: Add config flag for disabling credential FRP
Adrian Roos [Tue, 5 Sep 2017 15:01:42 +0000 (17:01 +0200)]
FRP: Add config flag for disabling credential FRP

Bug: 65258606
Test: Verify FRP still works when not disabled
Change-Id: I78e308b6eaba73c794615b1eebdbfacb334ae72f

6 years agoImprove window manager layout attribute dumping
Jorim Jaggi [Fri, 22 Sep 2017 14:03:27 +0000 (16:03 +0200)]
Improve window manager layout attribute dumping

Test: adb shell dumpsys window
Change-Id: I9c76e6a6950265b49667cc19998282ef0c682815

6 years agoFixing session abandon logging bug
Jan Althaus [Fri, 22 Sep 2017 16:26:06 +0000 (18:26 +0200)]
Fixing session abandon logging bug

Previously, making two selections quickly one after the other could lead
to the first session missing the terminal event, and the second one getting
terminated prematurely - getting marked incorrectly as abandoned.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: Icd75dcabe707b591f30629b9b9b42c5459ed7dda

6 years agoFixed bug in handling of OTHER as terminal
Jan Althaus [Fri, 22 Sep 2017 17:55:17 +0000 (19:55 +0200)]
Fixed bug in handling of OTHER as terminal

This bug resulted in a tap on a non-default action mode item to get logged
as OTHER, followed by ABANDON.

Bug: 64914512
Test: Manually tested that logs are correct.
Change-Id: I3cdba7ccff896939e22c567843f335c54d4a97f3

6 years agoMerge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev am...
Sungsoo Lim [Mon, 25 Sep 2017 07:24:29 +0000 (07:24 +0000)]
Merge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev am: 43d5d86cda
am: a8a1e989eb  -s ours

Change-Id: I895b5165c9023698eb3b2e3454acd83fc8b8666e

6 years agoMerge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev
Sungsoo Lim [Mon, 25 Sep 2017 07:16:48 +0000 (07:16 +0000)]
Merge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev
am: 43d5d86cda

Change-Id: I5bab35f229bbedeba548a43e078a500f5cd2a4b0

6 years agoMerge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev
TreeHugger Robot [Mon, 25 Sep 2017 07:06:42 +0000 (07:06 +0000)]
Merge "Select correct system audio route in updateAudioRoutes" into oc-mr1-dev

6 years agoMerge multiple eventMetricData entries into a single StatsLogReport
yro [Mon, 25 Sep 2017 05:37:33 +0000 (22:37 -0700)]
Merge multiple eventMetricData entries into a single StatsLogReport
when writing to dropbox

Test: manual test.

Change-Id: I8ce323002ae1cad62703ece92bd99a5058b16fba

6 years agoSelect correct system audio route in updateAudioRoutes
Sungsoo Lim [Mon, 18 Sep 2017 05:28:38 +0000 (14:28 +0900)]
Select correct system audio route in updateAudioRoutes

While update audio routes, MediaRouter had an access to the variable
of MediaRouterService.mGlobalBluetoothA2dpOn, which was updated in
the callback of AudioRoutesObserver.dispatchAudioRoutesChanged().
However, since updateAudioRoutes() was also called by the same
callback, mGlobalBluetoothA2dpOn could be used in updateAudioRoutes()
before its value was updated.

Bug: 65629167
Test: passed MediaRouterTest
Test: Manually confirmed that the issue is fixed with this CL
Change-Id: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf
Merged-In: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf

6 years agoSelect correct system audio route in updateAudioRoutes
Sungsoo Lim [Mon, 18 Sep 2017 05:28:38 +0000 (14:28 +0900)]
Select correct system audio route in updateAudioRoutes

While update audio routes, MediaRouter had an access to the variable
of MediaRouterService.mGlobalBluetoothA2dpOn, which was updated in
the callback of AudioRoutesObserver.dispatchAudioRoutesChanged().
However, since updateAudioRoutes() was also called by the same
callback, mGlobalBluetoothA2dpOn could be used in updateAudioRoutes()
before its value was updated.

Bug: 65629167
Test: passed MediaRouterTest
Test: Manually confirmed that the issue is fixed with this CL
Change-Id: Id0034996a51a6d8d1e8bd9d2c6ca386aabbb8baf

6 years agoMerge "Logs how long it took to show the Autofill UI after a field was focused."...
Felipe Leme [Sun, 24 Sep 2017 20:06:16 +0000 (20:06 +0000)]
Merge "Logs how long it took to show the Autofill UI after a field was focused." into oc-mr1-dev am: f6704f882a
am: 28eec9e4ff  -s ours

Change-Id: I612ec60f0d931d3fd94c7b116614d3ddd5cf7ca0

6 years agoMerge "Logs how long it took to show the Autofill UI after a field was focused."...
Felipe Leme [Sun, 24 Sep 2017 07:41:51 +0000 (07:41 +0000)]
Merge "Logs how long it took to show the Autofill UI after a field was focused." into oc-mr1-dev
am: f6704f882a

Change-Id: Id946eb01b726214ccc99864d261a35b0ef3a2fb2

6 years agoMerge "Logs how long it took to show the Autofill UI after a field was focused."...
TreeHugger Robot [Sun, 24 Sep 2017 05:42:38 +0000 (05:42 +0000)]
Merge "Logs how long it took to show the Autofill UI after a field was focused." into oc-mr1-dev

6 years agoHide autofill popup if anchor removed
Svet Ganov [Sat, 23 Sep 2017 00:19:04 +0000 (17:19 -0700)]
Hide autofill popup if anchor removed

Test: Manual
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

bug:64601372

Change-Id: Ic55dabb99cd5015d318ab3be1231b6aa5c67294e

6 years agoAbility to getStack by windowingMode/activityType in WM.
Wale Ogunwale [Wed, 20 Sep 2017 22:37:35 +0000 (15:37 -0700)]
Ability to getStack by windowingMode/activityType in WM.

Another step away from using static stack ids for things.

Test: Existing tests pass.
Test: go/wm-smoke
Bug: 64146578
Change-Id: I419eca4968ea97bfa6ff71f6e1deaa247abd0328

6 years agoMerge "Moved ActivityDisplay to its own class file."
Wale Ogunwale [Sat, 23 Sep 2017 16:03:48 +0000 (16:03 +0000)]
Merge "Moved ActivityDisplay to its own class file."

6 years agoMoved ActivityDisplay to its own class file.
Wale Ogunwale [Tue, 19 Sep 2017 22:13:01 +0000 (15:13 -0700)]
Moved ActivityDisplay to its own class file.

Clean-up before the next windowing mode refactor.
Also:
- Change the return type of ActivityStack.shouldBeVisible from int
to boolean since it is now binary.
- Removed ActivityStack.mRecentTasks. Changed call points to use
the reference in ActivityStackSuperior.
- Removed ActivityStack.mStacks and ActivityStackSuperior.mStack.
Changed call points to use reference in ActivityDisplay.
- Removed a few unused methods and variables.

Fixes: 66452053
Test: Existing tests pass.
Change-Id: Id9f4c668cdfc638820ad1777db85ac4d2619b85a

6 years agoFix a timestamp bug.
Yao Chen [Fri, 22 Sep 2017 06:39:12 +0000 (23:39 -0700)]
Fix a timestamp bug.

Test: manual
Change-Id: I8067fa8029c0b5702cae09202f8f9f7e443e902d

6 years agoMerge "Fixing method asymmetry in Parcel"
TreeHugger Robot [Sat, 23 Sep 2017 04:18:46 +0000 (04:18 +0000)]
Merge "Fixing method asymmetry in Parcel"

6 years agoMerge "clang-format existing code in statsd."
TreeHugger Robot [Sat, 23 Sep 2017 04:17:46 +0000 (04:17 +0000)]
Merge "clang-format existing code in statsd."

6 years agoMerge "Logs how long it took to show the Autofill UI after a field was focused."
TreeHugger Robot [Sat, 23 Sep 2017 03:32:37 +0000 (03:32 +0000)]
Merge "Logs how long it took to show the Autofill UI after a field was focused."

6 years agoMerge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev...
Mathieu Chartier [Sat, 23 Sep 2017 01:02:54 +0000 (01:02 +0000)]
Merge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev am: 28e0dd177a
am: 1b192d95c7

Change-Id: I245a6ff2fb5220bf0ffcca475ea2ec0ffa597bd8

6 years agoMerge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev
Mathieu Chartier [Sat, 23 Sep 2017 00:55:35 +0000 (00:55 +0000)]
Merge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev
am: 28e0dd177a

Change-Id: Ifebd7bd374075e8d11dab483474cd47ed60eb486

6 years agoMerge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev
Mathieu Chartier [Sat, 23 Sep 2017 00:49:17 +0000 (00:49 +0000)]
Merge "Add preopt profile logic for compiling during first boot" into oc-mr1-dev

6 years agoLogs how long it took to show the Autofill UI after a field was focused.
Felipe Leme [Fri, 22 Sep 2017 16:23:02 +0000 (09:23 -0700)]
Logs how long it took to show the Autofill UI after a field was focused.

Test: adb shell logcat -b events | grep sysui_
Test: adb dumpsys autofill
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 66508098

Merged-In: Ia17f8b30d6eef0141b020085985b9ebacff7a455
Change-Id: Ia17f8b30d6eef0141b020085985b9ebacff7a455

6 years agoLogs how long it took to show the Autofill UI after a field was focused.
Felipe Leme [Fri, 22 Sep 2017 16:23:02 +0000 (09:23 -0700)]
Logs how long it took to show the Autofill UI after a field was focused.

Test: adb shell logcat -b events | grep sysui_
Test: adb dumpsys autofill
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 66508098

Change-Id: Ia17f8b30d6eef0141b020085985b9ebacff7a455

6 years agoclang-format existing code in statsd.
Yao Chen [Fri, 22 Sep 2017 23:26:54 +0000 (16:26 -0700)]
clang-format existing code in statsd.

Added .clang-format, because there isn't an official .clang-format file for Android framework code.

before we upload changes, do:

clang-format -style=file -i [file list]

to format the files that you touched.

Test: formatting only. NO code changes.
Change-Id: I90e87f1ee6618da8ea9bc2221c609c415a4046a8

6 years agoMerge "Speculative fix for missing target crash" into oc-mr1-dev am: a6aafa33ec
Chris Craik [Fri, 22 Sep 2017 23:07:16 +0000 (23:07 +0000)]
Merge "Speculative fix for missing target crash" into oc-mr1-dev am: a6aafa33ec
am: e188aa84ef

Change-Id: I952357aa76aca5bb6f90d427ddf3d4d5d38f06fe

6 years agoMerge "Speculative fix for missing target crash" into oc-mr1-dev
Chris Craik [Fri, 22 Sep 2017 22:58:43 +0000 (22:58 +0000)]
Merge "Speculative fix for missing target crash" into oc-mr1-dev
am: a6aafa33ec

Change-Id: I30c5f2f7b27fb4f35991082bcff5c8995fbcdd75

6 years agoMerge "Speculative fix for missing target crash" into oc-mr1-dev
TreeHugger Robot [Fri, 22 Sep 2017 22:41:59 +0000 (22:41 +0000)]
Merge "Speculative fix for missing target crash" into oc-mr1-dev

6 years agoMerge "Add metrics (and moar logging) for when a service disables itself." into oc...
Felipe Leme [Fri, 22 Sep 2017 21:26:36 +0000 (21:26 +0000)]
Merge "Add metrics (and moar logging) for when a service disables itself." into oc-mr1-dev am: 6f50d16338
am: cbbc364ec0

Change-Id: Iba0a0e66168a5716aa7cfc2f068fa922d19b02e9

6 years agoMerge "Remove isHighEndGfx check" into oc-mr1-dev am: 848fa6c253
Zhi An Ng [Fri, 22 Sep 2017 21:20:53 +0000 (21:20 +0000)]
Merge "Remove isHighEndGfx check" into oc-mr1-dev am: 848fa6c253
am: e0901d9e8d

Change-Id: I7a77d5b16226fd1bea9f37623af8226255742dc6

6 years agoMerge "Add metrics (and moar logging) for when a service disables itself." into oc...
Felipe Leme [Fri, 22 Sep 2017 21:11:08 +0000 (21:11 +0000)]
Merge "Add metrics (and moar logging) for when a service disables itself." into oc-mr1-dev
am: 6f50d16338

Change-Id: Ia7e1893b74bf043d39300b04dc3cc85b18f40d11

6 years agoMerge "Add metrics (and moar logging) for when a service disables itself." into oc...
TreeHugger Robot [Fri, 22 Sep 2017 21:04:02 +0000 (21:04 +0000)]
Merge "Add metrics (and moar logging) for when a service disables itself." into oc-mr1-dev

6 years agoMerge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860 am: 8c95e...
Myles Watson [Fri, 22 Sep 2017 20:48:03 +0000 (20:48 +0000)]
Merge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860 am: 8c95e9be38
am: 1f4ee781bc

Change-Id: Id457833fd93065074d8d338d577e91da857ba41b

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab...
Ajay Panicker [Fri, 22 Sep 2017 20:46:42 +0000 (20:46 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843 am: 12bec46613 am: 5e91f05167
am: 0ac271b8a4

Change-Id: I45e7a2151e948f3f04497f704e779dd0e221af03

6 years agoMerge "Remove isHighEndGfx check" into oc-mr1-dev
Zhi An Ng [Fri, 22 Sep 2017 20:37:02 +0000 (20:37 +0000)]
Merge "Remove isHighEndGfx check" into oc-mr1-dev
am: 848fa6c253

Change-Id: I5eb3772ad2d0c894f17e620960ea1ff3715bb499

6 years agoMerge "Added jni and SurfaceControl methods for native setColor"
Chavi Weingarten [Fri, 22 Sep 2017 20:33:46 +0000 (20:33 +0000)]
Merge "Added jni and SurfaceControl methods for native setColor"

6 years agoMerge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860
Myles Watson [Fri, 22 Sep 2017 20:28:33 +0000 (20:28 +0000)]
Merge changes from topic "avrcp_cherry_picks" am: b4e17814f0 am: 898bc38860
am: 8c95e9be38

Change-Id: Ic8c5ef847872b786ad62caf05080bfeb53d5c466

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab...
Ajay Panicker [Fri, 22 Sep 2017 20:27:21 +0000 (20:27 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843 am: 12bec46613
am: 5e91f05167

Change-Id: I43ba93fcebc3eb228241712ebecd620d8812cd84

6 years agoMerge "Remove isHighEndGfx check" into oc-mr1-dev
Zhi An Ng [Fri, 22 Sep 2017 20:17:15 +0000 (20:17 +0000)]
Merge "Remove isHighEndGfx check" into oc-mr1-dev

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cb...
Christopher Schuster [Fri, 22 Sep 2017 20:15:29 +0000 (20:15 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cba47 am: 067cfb369d
am: ef34f7b35d

Change-Id: I9c5a3706850706053d26ecdadf602ab2fafe3e8d

6 years agoLockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices
Kevin Chyn [Fri, 22 Sep 2017 16:44:17 +0000 (09:44 -0700)]
LockSettingsStrongAuth shouldn't get fingerprintservice on unsupported devices

Fixes: 65838275

Test: tested on ryu and walleye, no logs when system starts and everything
works fine

Change-Id: I7d53214a021e9094618162109f3c38c0e029bda3

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev am: dbe5afd90d
Tenghui Zhu [Fri, 22 Sep 2017 20:07:24 +0000 (20:07 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev am: dbe5afd90d
am: c0c225a837

Change-Id: I61898fdbe7db5cbef1863fc1604625501d11c4ec

6 years agoMerge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cba47
Christopher Schuster [Fri, 22 Sep 2017 20:00:45 +0000 (20:00 +0000)]
Merge "fixed handling of data URI schemes in Intent.toUri" am: c3d3cf5666 am: 928b7cba47
am: 067cfb369d

Change-Id: I811b1b7e0b62d4143292a94fd4b5478f74cdec24

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev am: 88dd458c9a
Dake Gu [Fri, 22 Sep 2017 19:55:42 +0000 (19:55 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev am: 88dd458c9a
am: 9a98142be3

Change-Id: I1f90d7c4a1e028bbe967aa5fbe47c8f0c24f5a35

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
Tenghui Zhu [Fri, 22 Sep 2017 19:49:58 +0000 (19:49 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
am: dbe5afd90d

Change-Id: I906a1762d0f768fdb1cac2147a29ae9e0ab8ffe2

6 years agoMerge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev
Tenghui Zhu [Fri, 22 Sep 2017 19:45:17 +0000 (19:45 +0000)]
Merge "Add systrace for VectorDrawable inflation and draw" into oc-mr1-dev

6 years agoAdd systrace for VectorDrawable inflation and draw
ztenghui [Wed, 13 Sep 2017 17:32:50 +0000 (10:32 -0700)]
Add systrace for VectorDrawable inflation and draw

We didn't trace the draw from cache.
Here we add trace for draw into bitmap, which is normally heavy.

fix: 65060698
Bug: 65060698
Test: run test app and get systrace and check

Change-Id: Ia81127c4aa285b3277e9c9edbdf356d85cb28b5e
(cherry picked from commit cf0c41dbc221c2619212c7e25e6d90a9c4d05b05)

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev
Dake Gu [Fri, 22 Sep 2017 19:35:35 +0000 (19:35 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev
am: 88dd458c9a

Change-Id: I8aa8b1c90f18aaac3342b0652979834fadccc167

6 years agoMerge "Make StrictMode constants visible for testing"
Kurt Nelson [Fri, 22 Sep 2017 19:35:18 +0000 (19:35 +0000)]
Merge "Make StrictMode constants visible for testing"

6 years agoMerge "WifiManager: Change documentation of #getConfiguredNetworks"
Roshan Pius [Fri, 22 Sep 2017 19:29:50 +0000 (19:29 +0000)]
Merge "WifiManager: Change documentation of #getConfiguredNetworks"

6 years agoMerge "hwuitest: added hwui test for TV application" into oc-mr1-dev
Dake Gu [Fri, 22 Sep 2017 19:26:42 +0000 (19:26 +0000)]
Merge "hwuitest: added hwui test for TV application" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 22 Sep 2017 18:49:21 +0000 (18:49 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Fri, 22 Sep 2017 18:33:05 +0000 (18:33 +0000)]
Merge "Import translations. DO NOT MERGE"

6 years agoAdd preopt profile logic for compiling during first boot
Mathieu Chartier [Fri, 15 Sep 2017 02:22:39 +0000 (19:22 -0700)]
Add preopt profile logic for compiling during first boot

Allows pushing profiles on device that are used to optimize apps
during first boot.

Added logic to copy profiles to reference location for compressed APKs.

Bug: 38032017
Bug: 64503246
Test: adb shell rm -rf /data/app/*
Test: adb shell rm /data/system/package*
Test: adb shell stop && adb shell start
Test: look at apps in /data/app to make sure they are profile compiled

Change-Id: I30452098a19a65a331d098107d37498e5b10c10f

6 years agoMerge "incidentd: Adding Notification Listener and Disabling Effects Data to Notifica...
Kweku Adams [Fri, 22 Sep 2017 18:08:00 +0000 (18:08 +0000)]
Merge "incidentd: Adding Notification Listener and Disabling Effects Data to NotificationManager proto output."

6 years agoMerge changes from topic "avrcp_cherry_picks" am: b4e17814f0
Myles Watson [Fri, 22 Sep 2017 18:06:47 +0000 (18:06 +0000)]
Merge changes from topic "avrcp_cherry_picks" am: b4e17814f0
am: 898bc38860

Change-Id: Iee7beb952d58e7c117fa2fc50537988c7ad8b443

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843
Ajay Panicker [Fri, 22 Sep 2017 18:05:41 +0000 (18:05 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3) am: 905d8ab843
am: 12bec46613

Change-Id: I88f9d4c23f4757fe50bbb36ef376e7460a28f1ca

6 years agoMerge changes from topic "avrcp_cherry_picks"
Myles Watson [Fri, 22 Sep 2017 17:15:58 +0000 (17:15 +0000)]
Merge changes from topic "avrcp_cherry_picks"
am: b4e17814f0

Change-Id: Id15dddaeb7082031fdd03ca9e0f9f54c83abb142

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3)
Ajay Panicker [Fri, 22 Sep 2017 17:14:36 +0000 (17:14 +0000)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3)
am: 905d8ab843

Change-Id: I8f47786d4e0c392b008cdce80aed05ca7b1573b1

6 years agoFixed that telephony registry service reference incorrectly assigned
Jack Yu [Fri, 22 Sep 2017 06:48:29 +0000 (23:48 -0700)]
Fixed that telephony registry service reference incorrectly assigned

The reference to telephony registry service was assigned
prior telephony registry service was ready. Fixed by
casting the binder every time when we use it.

Test: Manual
Bug: 65593241
Change-Id: Ib234cdfd93130f7af44ef79271b106fffb8ebad5

6 years agoMerge "Add new methods to PkgMgrWrapper for testing"
Jeffrey Huang [Fri, 22 Sep 2017 17:01:48 +0000 (17:01 +0000)]
Merge "Add new methods to PkgMgrWrapper for testing"

6 years agoSpeculative fix for missing target crash
Chris Craik [Fri, 22 Sep 2017 16:31:05 +0000 (09:31 -0700)]
Speculative fix for missing target crash

Bug: 66451158
Test: manual app usage

Change-Id: I2db3aa73edcb80da25ead64205011705f0beef91

6 years agoMerge changes from topic "avrcp_cherry_picks"
Myles Watson [Fri, 22 Sep 2017 16:37:33 +0000 (16:37 +0000)]
Merge changes from topic "avrcp_cherry_picks"

* changes:
  Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)
  Add equal overloads to some MediaDescription and MediaQueue objects (2/3)

6 years agoBluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)
Ajay Panicker [Fri, 1 Sep 2017 18:58:38 +0000 (11:58 -0700)]
Bluetooth: Add AVRCP 1.3 as a developer option for AVRCP version (1/2)

This is requied for the 2012 Mazda 3 carkit as the carkit refuses to send
AVRCP commands other than passthrough commands when the version is anything
else. AVRCP 1.3 is compatible with most carkits on the market and can be
used to get most carkits working at the cost of losing many features.

Bug: 37943083
Test: Set AVRCP 1.3 in developer options and see that SDP and the AVRCP
      capabilites have updated to reflect this.
      TestTracker: 105915/3975

Change-Id: I637b695e5cd8baa5f054ca0dda81372080a96269

6 years agoAdd equal overloads to some MediaDescription and MediaQueue objects (2/3)
Ajay Panicker [Fri, 21 Jul 2017 20:29:57 +0000 (13:29 -0700)]
Add equal overloads to some MediaDescription and MediaQueue objects (2/3)

Bug: 64686424
Test: Connect to carkit and see that NowPlayingChanged only gets sent when
      the queue changes, run cts test
Change-Id: I58c9dd0bf976485a2efefd042cd667ee433e07e1
(cherry picked from commit 6edb68bea68d5f324384f3e9e411118eb8dfc781)

6 years agoRemove isHighEndGfx check
Ng Zhi An [Fri, 22 Sep 2017 16:15:29 +0000 (09:15 -0700)]
Remove isHighEndGfx check

We want the nav bar to be translucent, having a solid black
bar on small gobo devices looks heavy.
The memory impact of removing this check has been accessed
in the referenced bug and is minimal.

Change-Id: Iaa967623fc2252ada268a7045f014a791fe83c29
Fixes: 65024600
Test: runtest frameworks-services

6 years agoAdd metrics (and moar logging) for when a service disables itself.
Felipe Leme [Wed, 20 Sep 2017 20:55:28 +0000 (13:55 -0700)]
Add metrics (and moar logging) for when a service disables itself.

Test: adb shell logcat -b events | grep sysui_
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases

Bug: 65376559
Bug: 65856399

Change-Id: Ieb54bb0a58ecd51da663170a12817d33188ac9f0

6 years agoBump the importance of foreground service notis am: 8617e4ec9e
Julia Reynolds [Fri, 22 Sep 2017 15:26:41 +0000 (15:26 +0000)]
Bump the importance of foreground service notis am: 8617e4ec9e
am: dcaae9dbd0

Change-Id: I05d29d9d230f75c579f163c61c44d05c700a446a