OSDN Git Service

android-x86/frameworks-base.git
6 years agoMerge "Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev am: 928219...
Android Build Merger (Role) [Wed, 20 Sep 2017 00:23:32 +0000 (00:23 +0000)]
Merge "Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev am: 9282193c84" into oc-mr1-dev-plus-aosp

6 years agoMerge "Handle showWhenLocked on secondary displays" into oc-mr1-dev
David Stevens [Wed, 20 Sep 2017 00:18:26 +0000 (00:18 +0000)]
Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev
am: 9282193c84

Change-Id: Idbd4d3f24dffaad11518dd3d4d16ca7c7137ee94

6 years agoMerge "Fix wrong reading the sms lengh of stored long sms in RUIM" am: c8ad4a82c7...
Jordan Liu [Wed, 20 Sep 2017 00:12:10 +0000 (00:12 +0000)]
Merge "Fix wrong reading the sms lengh of stored long sms in RUIM" am: c8ad4a82c7 am: 649f3bf73f
am: 56ed1f9c9d

Change-Id: I039843725244d892248591cf4e88e1840e506733

6 years agoMerge "Handle showWhenLocked on secondary displays" into oc-mr1-dev
David Stevens [Wed, 20 Sep 2017 00:09:04 +0000 (00:09 +0000)]
Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev

6 years agoMerge "Fix wrong reading the sms lengh of stored long sms in RUIM" am: c8ad4a82c7
Jordan Liu [Wed, 20 Sep 2017 00:04:56 +0000 (00:04 +0000)]
Merge "Fix wrong reading the sms lengh of stored long sms in RUIM" am: c8ad4a82c7
am: 649f3bf73f

Change-Id: If8b12685886ccbdecdb4e123629edc4e3426711d

6 years agoMerge "Fix wrong reading the sms lengh of stored long sms in RUIM"
Jordan Liu [Tue, 19 Sep 2017 23:55:48 +0000 (23:55 +0000)]
Merge "Fix wrong reading the sms lengh of stored long sms in RUIM"
am: c8ad4a82c7

Change-Id: Id1af6c8abd901f981ad1abfa5fbf4887ee694c17

6 years agoMerge "Fix wrong reading the sms lengh of stored long sms in RUIM"
Jordan Liu [Tue, 19 Sep 2017 23:39:42 +0000 (23:39 +0000)]
Merge "Fix wrong reading the sms lengh of stored long sms in RUIM"

6 years agoMerge "Consider task's root activity when determining if resizable." into oc-mr1-dev
Bryce Lee [Tue, 19 Sep 2017 23:32:17 +0000 (23:32 +0000)]
Merge "Consider task's root activity when determining if resizable." into oc-mr1-dev
am: 1c2a6921c0

Change-Id: I06e858733e21220b6008bd55c2d4119bc51cd2cd

6 years agoMerge "Consider task's root activity when determining if resizable." into oc-mr1-dev
Bryce Lee [Tue, 19 Sep 2017 23:21:54 +0000 (23:21 +0000)]
Merge "Consider task's root activity when determining if resizable." into oc-mr1-dev

6 years agoConsider task's root activity when determining if resizable.
Bryce Lee [Fri, 15 Sep 2017 00:06:41 +0000 (17:06 -0700)]
Consider task's root activity when determining if resizable.

We consider an activity resizable if the root activity of the its
parent task is resizable. This changelist adds this condition to
consideration.

Change-Id: I4162ff7eb6cad3f4a3f9fdf35ccc0b0d2383ff15
Fixes: 65668913
Test: bit FrameworksServicesTests:com.android.server.am.ActivityRecordTests#testCanBeLaunchedOnDisplay
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests#testLaunchNonResizeableActivityFromSecondaryDisplaySameTask

6 years agoMerge "Autofill optimization: don't contact server when session is finished." into...
Felipe Leme [Tue, 19 Sep 2017 23:01:33 +0000 (23:01 +0000)]
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev
am: 2748ffcef7

Change-Id: I912d263f40e3d1cc58c77f2a91c585bb97aa3c37

6 years agoMerge "Autofill optimization: don't contact server when session is finished." into...
TreeHugger Robot [Tue, 19 Sep 2017 22:47:16 +0000 (22:47 +0000)]
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev

6 years agoMerge "Deferred setup banner updates intermittently" into oc-mr1-dev
Ajay Nadathur [Tue, 19 Sep 2017 22:26:00 +0000 (22:26 +0000)]
Merge "Deferred setup banner updates intermittently" into oc-mr1-dev
am: 19e00be16b

Change-Id: I2ba4882632e59141c9b1de697928d5a3a7a413fc

6 years agoMerge "Fix dexopt dump" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 22:17:53 +0000 (22:17 +0000)]
Merge "Fix dexopt dump" into oc-mr1-dev
am: 479af339de

Change-Id: I1ce2dd66298058e26e623ed39eec413575a10a7c

6 years agoMerge "Deferred setup banner updates intermittently" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 22:13:28 +0000 (22:13 +0000)]
Merge "Deferred setup banner updates intermittently" into oc-mr1-dev

6 years agoMerge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 22:09:56 +0000 (22:09 +0000)]
Merge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev
am: d78d269650

Change-Id: I18243e9c77c921d5b860ccfe4bb021e21e8bb5e7

6 years agoMerge "Fix dexopt dump" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 21:58:14 +0000 (21:58 +0000)]
Merge "Fix dexopt dump" into oc-mr1-dev

6 years agoMerge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev
Calin Juravle [Tue, 19 Sep 2017 21:56:41 +0000 (21:56 +0000)]
Merge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev

6 years agoMerge "Do not pause scanning during Network state changes." into oc-mr1-dev
Sundeep Ghuman [Tue, 19 Sep 2017 21:01:55 +0000 (21:01 +0000)]
Merge "Do not pause scanning during Network state changes." into oc-mr1-dev
am: 7b911fbdaf

Change-Id: I9f75901dcbaace37a44971a0e2b2dba02dedfa00

6 years agoMerge "Do not pause scanning during Network state changes." into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:52:49 +0000 (20:52 +0000)]
Merge "Do not pause scanning during Network state changes." into oc-mr1-dev

6 years agoMerge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev
John Reck [Tue, 19 Sep 2017 20:48:24 +0000 (20:48 +0000)]
Merge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev
am: 879a9677b9

Change-Id: I62eeec65e62e5f4d422b95847b7bbab93e1a4fbe

6 years agoMerge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
Arthur Ishiguro [Tue, 19 Sep 2017 20:42:28 +0000 (20:42 +0000)]
Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
am: 0853fe8a53

Change-Id: Icefb1d6d21bcebfc5b16e5ec234c9f1c6043717f

6 years agoMerge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:33:25 +0000 (20:33 +0000)]
Merge "Remove all FATAL_IFs from graphicsstats service" into oc-mr1-dev

6 years agoMerge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 20:32:56 +0000 (20:32 +0000)]
Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev

6 years agoMerge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev
Christopher Tate [Tue, 19 Sep 2017 20:04:35 +0000 (20:04 +0000)]
Merge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev
am: 93243bf808

Change-Id: Ibb5a539d306c58a21844ff97e0ac2678dd55c8e3

6 years agoMerge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 19:50:42 +0000 (19:50 +0000)]
Merge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev

6 years agoMerge "Fix AddAccountSettings memory leak" am: 104501fa29 am: c17b4e5a14
Fyodor Kupolov [Tue, 19 Sep 2017 18:56:45 +0000 (18:56 +0000)]
Merge "Fix AddAccountSettings memory leak" am: 104501fa29 am: c17b4e5a14
am: 80e87f97c3

Change-Id: Iff2f6a0dff9774d155961aafade36eeb5db5bc81

6 years agoAutofill optimization: don't contact server when session is finished.
Felipe Leme [Tue, 19 Sep 2017 16:06:20 +0000 (09:06 -0700)]
Autofill optimization: don't contact server when session is finished.

Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Bug: 65414762

Change-Id: I214a7835727c3ff71de9dc65c8d6fe54507265fb

6 years agoMerge "Fix AddAccountSettings memory leak" am: 104501fa29
Fyodor Kupolov [Tue, 19 Sep 2017 18:48:54 +0000 (18:48 +0000)]
Merge "Fix AddAccountSettings memory leak" am: 104501fa29
am: c17b4e5a14

Change-Id: Ie7dd4310f3937c2c3e0fc9d3590b1a7813c0abee

6 years agoMerge "Fix AddAccountSettings memory leak"
Fyodor Kupolov [Tue, 19 Sep 2017 18:42:07 +0000 (18:42 +0000)]
Merge "Fix AddAccountSettings memory leak"
am: 104501fa29

Change-Id: I844d7ce66a162ba1e72a099d429e17de9c72fb86

6 years agoMerge "Fix AddAccountSettings memory leak"
Fyodor Kupolov [Tue, 19 Sep 2017 18:29:14 +0000 (18:29 +0000)]
Merge "Fix AddAccountSettings memory leak"

6 years agoHandle showWhenLocked on secondary displays
David Stevens [Thu, 24 Aug 2017 01:41:49 +0000 (18:41 -0700)]
Handle showWhenLocked on secondary displays

The keyguard has windows on the default display and the remote display
selected by MediaRouter. Keyguard occlusion only applies to the default
display. To make the activity showWhenLocked flag work on secondary
displays, pass the display id of the locked secondary display from the
SystemUi to KeyguardController and make its isKeyguardShowing method
take a displayId.

Test: android.server.cts.ActivityManagerDisplayTests
Test: #testSecondaryDisplayShowWhenLocked
Bug: 64994006
Merged-In: Ib31fc76e9df469e97a59a181f09d457ceed4ef5f
Change-Id: Ib31fc76e9df469e97a59a181f09d457ceed4ef5f

6 years agoAdds handle to NanoAppInstanceInfo Parcel
Arthur Ishiguro [Mon, 18 Sep 2017 19:07:44 +0000 (12:07 -0700)]
Adds handle to NanoAppInstanceInfo Parcel

- Since mHandle (UID) was not recorded in writeToParcel, it always
returned 0 as the UID. This resulted in error messages claiming
mismatches between the reported and actual UID of nanoapps when called
from an external process.
- Also fixes the Parcel constructor to actually read the mContexthubId
field.

Bug: 37785458
Test: Compile and load, verify error message doesn't appear
Change-Id: I2ff75f510aae549c741786f5746862256ea5a877

6 years agoMerge "Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables...
Android Build Merger (Role) [Tue, 19 Sep 2017 16:56:47 +0000 (16:56 +0000)]
Merge "Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables." am: 99d28ebbda am: 8b2e421025 am: c26e534bef" into oc-mr1-dev-plus-aosp

6 years agoMerge "Fix ImsCallProfile parceling and add protection for invalid parcelables."...
Tyler Gunn [Tue, 19 Sep 2017 16:52:09 +0000 (16:52 +0000)]
Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables." am: 99d28ebbda am: 8b2e421025
am: c26e534bef

Change-Id: I447794014fe74f6efb4c712808704b8b0f8bc43f

6 years agoMerge "Allow to enable WAL for testing" into oc-mr1-dev
Fyodor Kupolov [Tue, 19 Sep 2017 16:51:50 +0000 (16:51 +0000)]
Merge "Allow to enable WAL for testing" into oc-mr1-dev
am: 14b86be8da

Change-Id: I7902b082d55063a902576b300295a771b64238b4

6 years agoMerge "Allow to enable WAL for testing" into oc-mr1-dev
Fyodor Kupolov [Tue, 19 Sep 2017 16:45:39 +0000 (16:45 +0000)]
Merge "Allow to enable WAL for testing" into oc-mr1-dev

6 years agoMerge "Fix ImsCallProfile parceling and add protection for invalid parcelables."...
Tyler Gunn [Tue, 19 Sep 2017 16:44:26 +0000 (16:44 +0000)]
Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables." am: 99d28ebbda
am: 8b2e421025

Change-Id: I2b73595add333660c2a4b62538334b8cb38ac9cb

6 years agoMerge "Listen for device power state for VrMode" into oc-mr1-dev
David Stevens [Tue, 19 Sep 2017 16:44:05 +0000 (16:44 +0000)]
Merge "Listen for device power state for VrMode" into oc-mr1-dev
am: 71267deb18

Change-Id: I8c84eed94013f07e1c0eabe020cd4e8eeee1f7ba

6 years agoMerge "Fix ImsCallProfile parceling and add protection for invalid parcelables."
Tyler Gunn [Tue, 19 Sep 2017 16:37:38 +0000 (16:37 +0000)]
Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables."
am: 99d28ebbda

Change-Id: I99ff94901868d3b16a20a6592e106bc0645b863e

6 years agoMerge "Listen for device power state for VrMode" into oc-mr1-dev
David Stevens [Tue, 19 Sep 2017 16:35:28 +0000 (16:35 +0000)]
Merge "Listen for device power state for VrMode" into oc-mr1-dev

6 years agoMerge "Fix ImsCallProfile parceling and add protection for invalid parcelables."
Tyler Gunn [Tue, 19 Sep 2017 16:28:52 +0000 (16:28 +0000)]
Merge "Fix ImsCallProfile parceling and add protection for invalid parcelables."

6 years agoMerge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev
Joachim Sauer [Tue, 19 Sep 2017 12:45:27 +0000 (12:45 +0000)]
Merge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev
am: 61faffd75b

Change-Id: I58020aa141a55750059a57063cea30bcc706e908

6 years agoMerge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev
Joachim Sauer [Tue, 19 Sep 2017 12:39:01 +0000 (12:39 +0000)]
Merge "Remove use of MeasureUnit.internalGetInstance" into oc-mr1-dev

6 years agoMerge "Special handling of priv-apps in Zygote." am: 46af70cad9 am: 79d4ef6caa
Nicolas Geoffray [Tue, 19 Sep 2017 12:11:51 +0000 (12:11 +0000)]
Merge "Special handling of priv-apps in Zygote." am: 46af70cad9 am: 79d4ef6caa
am: 836f2fe701

Change-Id: Ieb8b53e69ac14be6e4e0e0210f12343e7e863b66

6 years agoMerge "Special handling of priv-apps in Zygote." am: 46af70cad9
Nicolas Geoffray [Tue, 19 Sep 2017 12:03:38 +0000 (12:03 +0000)]
Merge "Special handling of priv-apps in Zygote." am: 46af70cad9
am: 79d4ef6caa

Change-Id: Ice349c6b6160ad89ba1c8543acf3e678a1473a25

6 years agoMerge "Special handling of priv-apps in Zygote."
Nicolas Geoffray [Tue, 19 Sep 2017 11:56:05 +0000 (11:56 +0000)]
Merge "Special handling of priv-apps in Zygote."
am: 46af70cad9

Change-Id: I1dbf2313c9ee1c014854630eac5f1429548ae7f6

6 years agoMerge "Special handling of priv-apps in Zygote."
Nicolas Geoffray [Tue, 19 Sep 2017 11:47:58 +0000 (11:47 +0000)]
Merge "Special handling of priv-apps in Zygote."

6 years agoMerge changes from topic "vpn-dialog" am: 19bb1a0b99 am: 7e75870d11
Charles He [Tue, 19 Sep 2017 08:25:16 +0000 (08:25 +0000)]
Merge changes from topic "vpn-dialog" am: 19bb1a0b99 am: 7e75870d11
am: a9f6384b6a

Change-Id: I853f48a75865008ac8b976eec1af56fb1870a1b3

6 years agoMerge changes from topic "always-on-vpn" am: cc15c7f8c1 am: 692b55390f
Charles He [Tue, 19 Sep 2017 08:17:12 +0000 (08:17 +0000)]
Merge changes from topic "always-on-vpn" am: cc15c7f8c1 am: 692b55390f
am: 01014743c0

Change-Id: Ide329f8e32538f4643e727697b35bfc2b7007f57

6 years agoMerge changes from topic "vpn-dialog" am: 19bb1a0b99
Charles He [Tue, 19 Sep 2017 08:17:05 +0000 (08:17 +0000)]
Merge changes from topic "vpn-dialog" am: 19bb1a0b99
am: 7e75870d11

Change-Id: Ifb581e7b40d52b2378b347ff62669713be344093

6 years agoMerge changes from topic "vpn-dialog"
Charles He [Tue, 19 Sep 2017 08:09:45 +0000 (08:09 +0000)]
Merge changes from topic "vpn-dialog"
am: 19bb1a0b99

Change-Id: I168072aa2bfdb9ed7630cf50547cb9732fb29280

6 years agoMerge changes from topic "always-on-vpn" am: cc15c7f8c1
Charles He [Tue, 19 Sep 2017 08:09:41 +0000 (08:09 +0000)]
Merge changes from topic "always-on-vpn" am: cc15c7f8c1
am: 692b55390f

Change-Id: I3931c053c4daff092b06e3e1d673817708762a62

6 years agoMerge changes from topic "always-on-vpn"
Charles He [Tue, 19 Sep 2017 08:01:45 +0000 (08:01 +0000)]
Merge changes from topic "always-on-vpn"
am: cc15c7f8c1

Change-Id: I7391ce7ecab4f8e73912f420d49150ed7210ea6c

6 years agoMerge changes from topic "vpn-dialog"
Charles He [Tue, 19 Sep 2017 07:56:44 +0000 (07:56 +0000)]
Merge changes from topic "vpn-dialog"

* changes:
  Unbreak VPN unit tests.
  Add alert dialog when always-on VPN disconnects.

6 years agoUnbreak VPN unit tests.
Charles He [Wed, 16 Aug 2017 12:14:13 +0000 (13:14 +0100)]
Unbreak VPN unit tests.

VpnTest was broken earlier due to a change to always-on VPN
notifications. This CL adds the corresponding mocks to the unit test to
fix it.

Bug: 36650087
Bug: 65439160
Test: runtest frameworks-net
Change-Id: Icff57c7e927c135d75a7d70ff347a579c5d45134
Merged-In: Icff57c7e927c135d75a7d70ff347a579c5d45134
(cherry picked from commit 3da6a1fc82b7e0c7adc88b92e50cceec8173672e)

6 years agoMerge changes from topic "always-on-vpn"
Charles He [Tue, 19 Sep 2017 07:50:13 +0000 (07:50 +0000)]
Merge changes from topic "always-on-vpn"

* changes:
  Opt-out for always-on VPN: rename API.
  Opt-out for always-on VPN

6 years agoMerge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab am: a35bbadeba
Hugo Benichi [Tue, 19 Sep 2017 07:36:12 +0000 (07:36 +0000)]
Merge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab am: a35bbadeba
am: 19625788a1

Change-Id: I8ca2a01a95acaaca2599563efd6a21e4372d1f95

6 years agoMerge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab
Hugo Benichi [Tue, 19 Sep 2017 07:29:09 +0000 (07:29 +0000)]
Merge "Wakeup packet events: addressing a few comments" am: 67d16ec1ab
am: a35bbadeba

Change-Id: I33eeb421cff21efdaa409d27fb130ff4754ac6b0

6 years agoMerge "Wakeup packet events: addressing a few comments"
Hugo Benichi [Tue, 19 Sep 2017 07:21:12 +0000 (07:21 +0000)]
Merge "Wakeup packet events: addressing a few comments"
am: 67d16ec1ab

Change-Id: I67b2e54d45a39005e2091a46e8b90d8cc75fe079

6 years agoMerge "Wakeup packet events: addressing a few comments"
Hugo Benichi [Tue, 19 Sep 2017 07:12:03 +0000 (07:12 +0000)]
Merge "Wakeup packet events: addressing a few comments"

6 years agoMerge "Fix LinkPropertiesTest.testCompareResult" am: 430d8472b2 am: 082234f4aa
Rubin Xu [Tue, 19 Sep 2017 06:51:07 +0000 (06:51 +0000)]
Merge "Fix LinkPropertiesTest.testCompareResult" am: 430d8472b2 am: 082234f4aa
am: 3db86833e6

Change-Id: I72b0ca1b9b50dacb7067eb6ca12ca48a072b5d26

6 years agoMerge "Fix LinkPropertiesTest.testCompareResult" am: 430d8472b2
Rubin Xu [Tue, 19 Sep 2017 06:45:04 +0000 (06:45 +0000)]
Merge "Fix LinkPropertiesTest.testCompareResult" am: 430d8472b2
am: 082234f4aa

Change-Id: Iedfbc9a6505611d1a30c348ab15f4fb5b62238eb

6 years agoMerge "Fix LinkPropertiesTest.testCompareResult"
Rubin Xu [Tue, 19 Sep 2017 06:37:40 +0000 (06:37 +0000)]
Merge "Fix LinkPropertiesTest.testCompareResult"
am: 430d8472b2

Change-Id: If87f8c43371ee1f5e2e893232c9e340a1a7339f4

6 years agoMerge "Fix LinkPropertiesTest.testCompareResult"
Treehugger Robot [Tue, 19 Sep 2017 06:28:21 +0000 (06:28 +0000)]
Merge "Fix LinkPropertiesTest.testCompareResult"

6 years agoWakeup packet events: addressing a few comments
Hugo Benichi [Tue, 19 Sep 2017 04:15:26 +0000 (13:15 +0900)]
Wakeup packet events: addressing a few comments

This patch addresses a few post-submit comment for
commits f562ac34a51dc and 60c9f63b66921.

Bug: 34901696
Bug: 62179647
Test: runtest frameworks-net
Change-Id: I4abec57e0c6bc869dc57b5eb54582dd977b64c30

6 years agoMerge "Remove unused variable from screencap." am: 376234fc74 am: 32bdb1e9b0
Steven Moreland [Tue, 19 Sep 2017 03:35:00 +0000 (03:35 +0000)]
Merge "Remove unused variable from screencap." am: 376234fc74 am: 32bdb1e9b0
am: 0fcb7719e0

Change-Id: I6aebd6df0bf9734e1567db31d31bfe85609cbb48

6 years agoMerge "Remove unused variable from screencap." am: 376234fc74
Steven Moreland [Tue, 19 Sep 2017 03:29:20 +0000 (03:29 +0000)]
Merge "Remove unused variable from screencap." am: 376234fc74
am: 32bdb1e9b0

Change-Id: If4c2b39333270982975feb1745b3bbaaa3a177b8

6 years agoMerge "Set use low res snapshots for low ram devices missing in theme snapshot" into...
Matthew Ng [Tue, 19 Sep 2017 03:24:28 +0000 (03:24 +0000)]
Merge "Set use low res snapshots for low ram devices missing in theme snapshot" into oc-mr1-dev
am: 745388d5aa

Change-Id: I3ced2443d28b3e62c29fdb509d582db7b52c5da8

6 years agoMerge "Remove unused variable from screencap."
Steven Moreland [Tue, 19 Sep 2017 03:22:42 +0000 (03:22 +0000)]
Merge "Remove unused variable from screencap."
am: 376234fc74

Change-Id: I5afb38c24ab6924925ab2852c5fe0ef29a91a2ff

6 years agoMerge "Set use low res snapshots for low ram devices missing in theme snapshot" into...
TreeHugger Robot [Tue, 19 Sep 2017 03:15:41 +0000 (03:15 +0000)]
Merge "Set use low res snapshots for low ram devices missing in theme snapshot" into oc-mr1-dev

6 years agoMerge "Remove unused variable from screencap."
Treehugger Robot [Tue, 19 Sep 2017 03:12:18 +0000 (03:12 +0000)]
Merge "Remove unused variable from screencap."

6 years agoDo not pause scanning during Network state changes.
Sundeep Ghuman [Wed, 6 Sep 2017 18:46:21 +0000 (11:46 -0700)]
Do not pause scanning during Network state changes.

This prevents UI bugs in WifiSettings where scan results would become to
old upon switching networks and thus all the APs would be removed from
the wifi picker. Now scanning is only paused/resumed during start/stop
tracking as well as on wifi state changes between enabled/ not enabled.

Also adds additional logging to scan result age in verbose logging.

Bug: b/64989100
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Manual: 1. Repeated switch back and forth between different networks.
2. Ensure that AccessPoints in WifiSettings do not disappear after new
connections.

Change-Id: I11e424bcce799a5f3d003a955dcee004294058b7
Merged-In: I11e424bcce799a5f3d003a955dcee004294058b7
(cherry picked from commit db9b94c195f056248b1f5c3b4ef5e907c1b82028)

6 years agoMark uid as non-idle/FG-entitled when launching for fg service
Christopher Tate [Mon, 18 Sep 2017 23:43:30 +0000 (16:43 -0700)]
Mark uid as non-idle/FG-entitled when launching for fg service

During app launch the app is considered background unless there's an
established reason for it to be otherwise, but the two-stage "start
foreground service" sequence means that there was now a race condition
between giving the app the opportunity to make the service launch in
the foreground and the "hey this uid isn't foreground, we should shut
things down.

Now, during service launch we explicitly mark the uid as foreground-
equivalent when the startForegroundService() sequence is underway.

The install-then-launch sequence isn't strictly essential to demonstrate
the race; but it happened to wind up inducing some broadcast traffic
(and therefore an OOM-adjust sequence) at a conveniently inopportune time
very early during process bringup for the fg service.

Fixes: 65706471
Test: adb install -r ~/Downloads/sampleForegroundService.apk &&
  adb shell am startforegroundservice -a myActionName android.support.mediacompat.foregroundservice

Change-Id: I6f3b6f8fb808e9d830fe108c577047b1938452fc

6 years agoMerge "Incorrect decoding when TP-OA contains non-integer information" am: 2bcc7fac89...
Pengquan Meng [Tue, 19 Sep 2017 01:38:10 +0000 (01:38 +0000)]
Merge "Incorrect decoding when TP-OA contains non-integer information" am: 2bcc7fac89 am: 74bd3daaac
am: b3bc234dfa

Change-Id: I5df968dbf00665d3bfdd451dc4e03fda055c371a

6 years agoMerge "Incorrect decoding when TP-OA contains non-integer information" am: 2bcc7fac89
Pengquan Meng [Tue, 19 Sep 2017 01:31:24 +0000 (01:31 +0000)]
Merge "Incorrect decoding when TP-OA contains non-integer information" am: 2bcc7fac89
am: 74bd3daaac

Change-Id: Idc00a34295cdcbefa19636643bff3c3bf2323446

6 years agoMerge "Incorrect decoding when TP-OA contains non-integer information"
Pengquan Meng [Tue, 19 Sep 2017 01:23:53 +0000 (01:23 +0000)]
Merge "Incorrect decoding when TP-OA contains non-integer information"
am: 2bcc7fac89

Change-Id: I4bddee5b8cf19715db56e7286a05f76be530928d

6 years agoMerge "Rename "bitrate-control" to "bitrate-modes"" into oc-mr1-dev
Pawin Vongmasa [Tue, 19 Sep 2017 01:22:34 +0000 (01:22 +0000)]
Merge "Rename "bitrate-control" to "bitrate-modes"" into oc-mr1-dev
am: 9b1a9b4fb9

Change-Id: Ibdfb6f003c7467f58c9232d807d52b327e2187af

6 years agoMerge "Incorrect decoding when TP-OA contains non-integer information"
Pengquan Meng [Tue, 19 Sep 2017 01:14:34 +0000 (01:14 +0000)]
Merge "Incorrect decoding when TP-OA contains non-integer information"

6 years agoMerge "Rename "bitrate-control" to "bitrate-modes"" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 01:14:05 +0000 (01:14 +0000)]
Merge "Rename "bitrate-control" to "bitrate-modes"" into oc-mr1-dev

6 years agoMerge "Fix missing RequiredPermission annotation." into oc-mr1-dev
Santos Cordon [Tue, 19 Sep 2017 00:47:52 +0000 (00:47 +0000)]
Merge "Fix missing RequiredPermission annotation." into oc-mr1-dev
am: f7771c9f77

Change-Id: Ib569f91269f75ee288dc515505f9a46b0dbe61c9

6 years agoMerge "Fix missing RequiredPermission annotation." into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 00:41:04 +0000 (00:41 +0000)]
Merge "Fix missing RequiredPermission annotation." into oc-mr1-dev

6 years agoFix dexopt dump
Calin Juravle [Tue, 19 Sep 2017 00:40:48 +0000 (17:40 -0700)]
Fix dexopt dump

Dexopt dump prints the status of primary oat file instead of secondary.
We cannot get the secondary dex file status without an installd call so
this CL just removes the status line.

Bug: 65843255
Test: adb shell dumpsys package dexopt
Change-Id: I76028704267eed68ba8c51f45ce8b54f403cc255

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 19 Sep 2017 00:26:02 +0000 (00:26 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: ae1e26564b  -s ours

Change-Id: I2fff03813084209468b1835d6f2089a4c841fe3c

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Tue, 19 Sep 2017 00:19:44 +0000 (00:19 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoListen for device power state for VrMode
David Stevens [Thu, 14 Sep 2017 23:27:56 +0000 (16:27 -0700)]
Listen for device power state for VrMode

ActivityManagerService's sleep state is now dependent on whether or not
there are any awake displays, instead of the device power state. Make
VrManagerService listen to the device power state instead of the
ActtivityManagerService sleep state, since its VirtualDisplay for 2D
activities will keep ActtivityManagerService awake.

Bug: 65605913
Test: manual
Change-Id: Ia620d24977d896e6688020d59850046dd0cb7187

6 years agoSet use low res snapshots for low ram devices missing in theme snapshot
Matthew Ng [Mon, 18 Sep 2017 23:29:46 +0000 (16:29 -0700)]
Set use low res snapshots for low ram devices missing in theme snapshot

Creating new tasksnapshot from app theme was missing to set the reduced
flag to true.

Test: settings to smart lock and pass pattern/password
Bug: 65534047
Change-Id: I78e9fed223ffc4c7a9cb8d31836b18f1fc4e7d34

6 years agoMerge "Move VR Display Policy check to after wakefulness." into oc-mr1-dev
Santos Cordon [Mon, 18 Sep 2017 22:38:36 +0000 (22:38 +0000)]
Merge "Move VR Display Policy check to after wakefulness." into oc-mr1-dev
am: bbd01422d3

Change-Id: I41c6869f6514496a5dfc615ef7763f06b6fe1dbd

6 years agoMerge "Fixed padding of autofill service icon on Save affordance." into oc-mr1-dev
Felipe Leme [Mon, 18 Sep 2017 22:30:27 +0000 (22:30 +0000)]
Merge "Fixed padding of autofill service icon on Save affordance." into oc-mr1-dev
am: e15b1c953f

Change-Id: Ia5d23edaca925ca762c14071e8bf0556019e6e0c

6 years agoMerge "Move VR Display Policy check to after wakefulness." into oc-mr1-dev
TreeHugger Robot [Mon, 18 Sep 2017 22:23:58 +0000 (22:23 +0000)]
Merge "Move VR Display Policy check to after wakefulness." into oc-mr1-dev

6 years agoIncorrect decoding when TP-OA contains non-integer information
Erika Avenberg [Sat, 30 Aug 2014 10:00:47 +0000 (12:00 +0200)]
Incorrect decoding when TP-OA contains non-integer information

When receiving a GSM SMS message where the TP-Originating-Address
(TP-OA) field contains non-integer information, it is currently
decoded incorrectly.

This CL adds support for decoding BCD according to spec:
ETSI TS 123 040 V9.3.0

Section: 9.1.2.3 Semi-octet representation
"If a mobile receives an address field containing non-integer
 information in the semi-octets other than "1111" (e.g. 1110)
 it shall display the semi-octet as the representation given
 in GSM 44.008 [12] under "called BCD number", viz 1010="*",
 1011="#", 1100="a", 1101="b", 1110="c"."

Bug: 65042708
Test: runtest --path frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmSmsTest.java --test-method testAddressing
Change-Id: Ied2d6ca4d84d5c3ca6cc5c4d9875d2ff2a8e5df9

6 years agoMerge "Fixed padding of autofill service icon on Save affordance." into oc-mr1-dev
TreeHugger Robot [Mon, 18 Sep 2017 22:13:31 +0000 (22:13 +0000)]
Merge "Fixed padding of autofill service icon on Save affordance." into oc-mr1-dev

6 years agoMerge "AudioService: reduce EU volume warning thresdhold for USB headsets" into oc...
Eric Laurent [Mon, 18 Sep 2017 22:09:30 +0000 (22:09 +0000)]
Merge "AudioService: reduce EU volume warning thresdhold for USB headsets" into oc-mr1-dev
am: 64254ff6a4

Change-Id: Ie33d6f662fb7ca3f52ed3a71c29d7f2d8c722a8d

6 years agoMerge "AudioService: reduce EU volume warning thresdhold for USB headsets" into oc...
TreeHugger Robot [Mon, 18 Sep 2017 21:53:33 +0000 (21:53 +0000)]
Merge "AudioService: reduce EU volume warning thresdhold for USB headsets" into oc-mr1-dev

6 years agoMerge "Added more metrics for Autofill:" into oc-mr1-dev
Felipe Leme [Mon, 18 Sep 2017 21:20:23 +0000 (21:20 +0000)]
Merge "Added more metrics for Autofill:" into oc-mr1-dev
am: d4f72ac3c4

Change-Id: I46c2bb4e865c06a84245800dddb0fe018d8a52af

6 years agoMerge "Added more metrics for Autofill:" into oc-mr1-dev
TreeHugger Robot [Mon, 18 Sep 2017 21:05:44 +0000 (21:05 +0000)]
Merge "Added more metrics for Autofill:" into oc-mr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 69ca32dcea -s ours am...
Bill Yi [Mon, 18 Sep 2017 20:31:42 +0000 (20:31 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 69ca32dcea  -s ours am: 60af01bec9  -s ours
am: 6c4c6b047c  -s ours

Change-Id: I033bbb7c0fa44047a3d160795f4ef4da5ed8aa92

6 years agoMerge "Import translations. DO NOT MERGE am: 791ebeed32 -s ours am: fee3748d04 ...
Android Build Merger (Role) [Mon, 18 Sep 2017 20:27:53 +0000 (20:27 +0000)]
Merge "Import translations. DO NOT MERGE am: 791ebeed32  -s ours am: fee3748d04  -s ours am: 456c147827  -s ours am: c49cdb6749  -s ours am: cda0464f7d  -s ours" into oc-mr1-dev-plus-aosp

6 years agoImport translations. DO NOT MERGE am: 791ebeed32 -s ours am: fee3748d04 -s ours...
Bill Yi [Mon, 18 Sep 2017 20:26:07 +0000 (20:26 +0000)]
Import translations. DO NOT MERGE am: 791ebeed32  -s ours am: fee3748d04  -s ours am: 456c147827  -s ours am: c49cdb6749  -s ours
am: cda0464f7d  -s ours

Change-Id: Iaf01d0652c1f3bf3ea9ed8f635a154f07b47f9d7

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 69ca32dcea -s ours am...
Bill Yi [Mon, 18 Sep 2017 20:24:21 +0000 (20:24 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 69ca32dcea  -s ours am: 60af01bec9  -s ours
am: 728b23a934  -s ours

Change-Id: I2d7def5a1bce48ce826a43541e1255a8a4e1e44f