OSDN Git Service

android-x86/frameworks-base.git
6 years agoresolve merge conflicts of 83c367aa5b48 to stage-aosp-master am: 8acdb8aa65 am: 93fcf...
Neil Fuller [Thu, 21 Sep 2017 02:54:31 +0000 (02:54 +0000)]
resolve merge conflicts of 83c367aa5b48 to stage-aosp-master am: 8acdb8aa65 am: 93fcfbc8cb  -s ours
am: 2540844f6d

Change-Id: I6fc02e2e892aa101afc2f77a89f27d518886e638

6 years agoMerge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev am...
Rubin Xu [Thu, 21 Sep 2017 02:52:03 +0000 (02:52 +0000)]
Merge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev am: 223a65f3f5
am: 656c519dd7

Change-Id: I8c55be53d2a3bc53e5f003db61a5d78dd49c053c

6 years agoMerge "Merge "Handle null left and right tab strip drawables" into oc-mr1-dev am...
Android Build Merger (Role) [Thu, 21 Sep 2017 01:51:14 +0000 (01:51 +0000)]
Merge "Merge "Handle null left and right tab strip drawables" into oc-mr1-dev am: 286c7db342 am: 7dbf5b032b"

6 years agoMerge "Handle null left and right tab strip drawables" into oc-mr1-dev am: 286c7db342
Alan Viverette [Thu, 21 Sep 2017 01:46:55 +0000 (01:46 +0000)]
Merge "Handle null left and right tab strip drawables" into oc-mr1-dev am: 286c7db342
am: 7dbf5b032b

Change-Id: I5c3f616276f1f68a134c48f886cc43d282400415

6 years agoMerge "Statsd namespace is defined and used"
TreeHugger Robot [Thu, 21 Sep 2017 01:45:20 +0000 (01:45 +0000)]
Merge "Statsd namespace is defined and used"

6 years agoMerge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp
Victor Chang [Thu, 21 Sep 2017 01:43:19 +0000 (01:43 +0000)]
Merge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp
am: ea8a114743

Change-Id: Ie44da7ca28665a0769da7a1d7231d02cf4942c5d

6 years agoMerge "Fix window visibility during layout" into oc-mr1-dev am: 7a59a62276
Karthik Ravi Shankar [Thu, 21 Sep 2017 01:38:23 +0000 (01:38 +0000)]
Merge "Fix window visibility during layout" into oc-mr1-dev am: 7a59a62276
am: 11f25ba1a0

Change-Id: I3620a51554e6e8101d5a013f9287339bb1031806

6 years agoMerge "Changed reparentChild method name to reparent."
TreeHugger Robot [Thu, 21 Sep 2017 01:04:06 +0000 (01:04 +0000)]
Merge "Changed reparentChild method name to reparent."

6 years agoMerge "Convert ActivityManager dumpsys to protobuf"
TreeHugger Robot [Thu, 21 Sep 2017 00:50:47 +0000 (00:50 +0000)]
Merge "Convert ActivityManager dumpsys to protobuf"

6 years agoMerge "Dump total execution time per connection pool"
Fyodor Kupolov [Thu, 21 Sep 2017 00:04:11 +0000 (00:04 +0000)]
Merge "Dump total execution time per connection pool"

6 years agoMerge "Divide dumpsys services into different buckets"
TreeHugger Robot [Wed, 20 Sep 2017 23:58:32 +0000 (23:58 +0000)]
Merge "Divide dumpsys services into different buckets"

6 years agoStatsd namespace is defined and used
Bookatz [Wed, 20 Sep 2017 22:26:44 +0000 (15:26 -0700)]
Statsd namespace is defined and used

Statsd code now lives in android::os::statsd namespace. Existing files
are largely modified to follow this convention.

Exception: parse_util, since it seems a bit different.

Test: code compiles and existing statsd_tests still pass
Change-Id: Idf92a071b9ed172d01eb3087a4fa3609d67a038c

6 years agoEnsure lowpan UID can manage LoWPAN interfaces
Robert Quattlebaum [Tue, 15 Aug 2017 01:34:03 +0000 (18:34 -0700)]
Ensure lowpan UID can manage LoWPAN interfaces

Bug: b/64399805
Change-Id: Idd0bd7ef0c4de48c95699efc43324bc4dce8e70a

6 years agoMerge "statsd & statscompanion communication more robust"
TreeHugger Robot [Wed, 20 Sep 2017 23:11:13 +0000 (23:11 +0000)]
Merge "statsd & statscompanion communication more robust"

6 years agoDivide dumpsys services into different buckets
Vishnu Nair [Wed, 13 Sep 2017 17:41:28 +0000 (10:41 -0700)]
Divide dumpsys services into different buckets

cpuinfo dumps all on dumpCritical
meminfo dumps all dumpNormal (temp)
activity dumps activities on dumpCritical, dumps all on normal
window dumps all on dumpCritical

BUG: 31774394

Test: adb bugreport > /tmp/bugreport.zip
Test: frameworks/base/services/tests/runtests.py -e class
"com.android.server.utils.PriorityDumpTest"

Change-Id: I529a709ec8654d314515ebd559894b4eacdc8968

6 years agoMerge "Add start margin to preference icon."
TreeHugger Robot [Wed, 20 Sep 2017 21:30:13 +0000 (21:30 +0000)]
Merge "Add start margin to preference icon."

6 years agostatsd & statscompanion communication more robust
Bookatz [Mon, 18 Sep 2017 18:26:01 +0000 (11:26 -0700)]
statsd & statscompanion communication more robust

If statsd or statsdcompanion crashes, or if one loads
before the other, the other will be able to accomodate.

When statsd loads, it will attempt to tell statscompanion that it's
alive, and then get on to its business, while assuming that
statscompanion is not alive. Only when statscompanion tells statsd
that it is alive, statsd will then start to use it.

When statscompanion loads, it will attempt to tell statsd that it's
alive and then do nothing (since it has nothing to do). When statsd
tells statscompanion that statsd is alive, statscompanion will respond,
telling statsd that it is alive and, if that binder call returns, will
get to work.

This way, if statsd loads first, it can work unobstructed until
statscompanion informs statsd that it is alive, at which point they
shake hands and work. Conversely, if statscompanion loads first, it will
do nothing until statsd contacts it, at which point they will shake
hands and work.

Test: manual
Change-Id: I969ad47fb8060e27814d05ad37433a02711cfa6a

6 years agoMerge "StatsCompanionService sends messages to statsd"
TreeHugger Robot [Wed, 20 Sep 2017 21:13:07 +0000 (21:13 +0000)]
Merge "StatsCompanionService sends messages to statsd"

6 years agoMerge "incidentd: fix memory leaks in a test"
TreeHugger Robot [Wed, 20 Sep 2017 20:47:06 +0000 (20:47 +0000)]
Merge "incidentd: fix memory leaks in a test"

6 years agoMerge "Add metric for oem unlock dialog"
Jeffrey Huang [Wed, 20 Sep 2017 20:27:08 +0000 (20:27 +0000)]
Merge "Add metric for oem unlock dialog"

6 years agoAdd start margin to preference icon.
Doris Ling [Wed, 20 Sep 2017 18:38:40 +0000 (11:38 -0700)]
Add start margin to preference icon.

We would like to align the preference icon with the back button above.
Adding the start margin for the icon frame, so that it will be
placed further to the right.

Fixes: 64696037
Test: visual
Change-Id: I3fbcd40fea40bf5a41c1e4281a559e4012664266

6 years agoConvert ActivityManager dumpsys to protobuf
Steven Timotius [Tue, 12 Sep 2017 18:07:21 +0000 (11:07 -0700)]
Convert ActivityManager dumpsys to protobuf

Also adding ActivityInfo.RESIZE_MODE_RESIZEABLE to TestApi

Test: cts-tradefed run commandAndExit cts-dev --module CtsActivityManagerDeviceTestCases

Change-Id: I958aa155b266799840ece1ca07feed8593724449

6 years agoMerge "switch to unique_ptr version of Skia stream api"
Mike Reed [Wed, 20 Sep 2017 17:17:54 +0000 (17:17 +0000)]
Merge "switch to unique_ptr version of Skia stream api"

6 years agoresolve merge conflicts of 83c367aa5b48 to stage-aosp-master am: 8acdb8aa65
Neil Fuller [Wed, 20 Sep 2017 15:39:37 +0000 (15:39 +0000)]
resolve merge conflicts of 83c367aa5b48 to stage-aosp-master am: 8acdb8aa65
am: 93fcfbc8cb  -s ours

Change-Id: I5eb5f54262cbcb38095ff5a6092c200c839e6987

6 years agoChanged reparentChild method name to reparent.
chaviw [Mon, 18 Sep 2017 23:50:05 +0000 (16:50 -0700)]
Changed reparentChild method name to reparent.

The native reparentChild was changed to reparent to represent that the
current layer is getting re-parented. Updated the jni and Java code to
reflect that.

Test: Device boots

Change-Id: I390d2efba61c626f2162f75f650700d53ab178a5

6 years agoMerge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev
Rubin Xu [Wed, 20 Sep 2017 15:28:29 +0000 (15:28 +0000)]
Merge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev
am: 223a65f3f5

Change-Id: I3bba8e337fe57999daf1e7d8ff90a9f7bfc6831d

6 years agoMerge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev
Rubin Xu [Wed, 20 Sep 2017 15:15:42 +0000 (15:15 +0000)]
Merge "Fail gracefully if password reset token is invalidated" into oc-mr1-dev

6 years agoresolve merge conflicts of 83c367aa5b48 to stage-aosp-master
Neil Fuller [Wed, 20 Sep 2017 14:55:08 +0000 (14:55 +0000)]
resolve merge conflicts of 83c367aa5b48 to stage-aosp-master
am: 8acdb8aa65

Change-Id: I7605323c886c9dafb83899c8b78e2bb860f96bb4

6 years agoStatsCompanionService sends messages to statsd
Bookatz [Fri, 8 Sep 2017 18:58:42 +0000 (11:58 -0700)]
StatsCompanionService sends messages to statsd

StatsCompanionService can now inform statsd that an alarm (for anomaly
alerting and for polling) has fired, so that statsd can act accordingly.

Test: manual created an alarm from statsd.main and checked logcat that
statsd received the broadcast that it fired
Change-Id: I1d33dfbee0d3e213c91dd6973d2622ecacc890c8

6 years agoMerge "Consider shared libs when precreating WebView classloader."
Richard Coles [Wed, 20 Sep 2017 14:38:25 +0000 (14:38 +0000)]
Merge "Consider shared libs when precreating WebView classloader."

6 years agoMerge "Handle null left and right tab strip drawables" into oc-mr1-dev
Alan Viverette [Wed, 20 Sep 2017 14:09:01 +0000 (14:09 +0000)]
Merge "Handle null left and right tab strip drawables" into oc-mr1-dev
am: 286c7db342

Change-Id: I82092817d26af0a372923d238b9f84112f196ad2

6 years agoMerge changes I82fe220e,Iff324c73,I3bd73acd
Adam Bookatz [Wed, 20 Sep 2017 14:01:49 +0000 (14:01 +0000)]
Merge changes I82fe220e,Iff324c73,I3bd73acd

* changes:
  indexed priority queue for AnomalyMonitor
  StatsCompanionService connection to Statsd
  Set up StatsCompanionService.java

6 years agoMerge "Handle null left and right tab strip drawables" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 13:59:05 +0000 (13:59 +0000)]
Merge "Handle null left and right tab strip drawables" into oc-mr1-dev

6 years agoresolve merge conflicts of 83c367aa5b48 to stage-aosp-master
Neil Fuller [Wed, 20 Sep 2017 12:43:28 +0000 (13:43 +0100)]
resolve merge conflicts of 83c367aa5b48 to stage-aosp-master

Test: I solemnly swear I tested this conflict resolution.
Change-Id: Ia3dc2e0b10bbf5be9c7d8f98b03cf8030bbfff07

6 years agoMerge "Fix reliability triggering"
Treehugger Robot [Wed, 20 Sep 2017 12:08:58 +0000 (12:08 +0000)]
Merge "Fix reliability triggering"

6 years agoMerge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev...
Shubham Ajmera [Wed, 20 Sep 2017 10:03:23 +0000 (10:03 +0000)]
Merge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev am: 2cdfda1232
am: d4083dc339

Change-Id: Ic4b97b9d378f379bfbc00c6d2566c1712a2edf07

6 years agoMerge "Select a system audio route only when needed" into oc-mr1-dev am: d4aee713d4
Sungsoo Lim [Wed, 20 Sep 2017 09:57:47 +0000 (09:57 +0000)]
Merge "Select a system audio route only when needed" into oc-mr1-dev am: d4aee713d4
am: cf874bbe6f

Change-Id: I79a44736931cea34eb6d00a62ae33b569021e9e4

6 years agoMerge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev am: 14676c5da4
Hugo Benichi [Wed, 20 Sep 2017 09:50:32 +0000 (09:50 +0000)]
Merge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev am: 14676c5da4
am: b7de1a86b5

Change-Id: I1797f0c7ad3ddd7d6f509c093f9a16f007a7fe5d

6 years agoMerge "Handle night display state when timezone changes" into oc-mr1-dev am: 1276f357d3
Christine Franks [Wed, 20 Sep 2017 09:44:34 +0000 (09:44 +0000)]
Merge "Handle night display state when timezone changes" into oc-mr1-dev am: 1276f357d3
am: 1cdb151ef7

Change-Id: Ibb9931592abf7c8c8743fd52872ae6fed785a992

6 years agoMerge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp
Victor Chang [Wed, 20 Sep 2017 09:33:23 +0000 (09:33 +0000)]
Merge "Remove StructGroupSourceReq" into oc-mr1-dev-plus-aosp

6 years agoHandle night display state when timezone changes
Christine Franks [Fri, 25 Aug 2017 20:57:26 +0000 (13:57 -0700)]
Handle night display state when timezone changes

Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5
(cherry picked from commit 2ce862c3ed3739c4bb794794fb57e00fe233a3d5)

6 years agoMerge "Fix window visibility during layout" into oc-mr1-dev
Karthik Ravi Shankar [Wed, 20 Sep 2017 03:28:32 +0000 (03:28 +0000)]
Merge "Fix window visibility during layout" into oc-mr1-dev
am: 7a59a62276

Change-Id: Ic4726a77ce790616d50ff84edc35e7941b409659

6 years agoMerge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev
Shubham Ajmera [Wed, 20 Sep 2017 03:18:33 +0000 (03:18 +0000)]
Merge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev
am: 2cdfda1232

Change-Id: If3060eb7b21a3bb5f6b34b36de012cb35e4f03c9

6 years agoMerge "Fix window visibility during layout" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 03:17:44 +0000 (03:17 +0000)]
Merge "Fix window visibility during layout" into oc-mr1-dev

6 years agoMerge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 03:11:22 +0000 (03:11 +0000)]
Merge "Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d" into oc-mr1-dev

6 years agoMerge "Select a system audio route only when needed" into oc-mr1-dev
Sungsoo Lim [Wed, 20 Sep 2017 03:02:28 +0000 (03:02 +0000)]
Merge "Select a system audio route only when needed" into oc-mr1-dev
am: d4aee713d4

Change-Id: Ifa91341cb48c970f9b19c6f8bc0219c1a3372a9a

6 years agoMerge "Select a system audio route only when needed" into oc-mr1-dev
TreeHugger Robot [Wed, 20 Sep 2017 02:54:45 +0000 (02:54 +0000)]
Merge "Select a system audio route only when needed" into oc-mr1-dev

6 years agoMerge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev
Hugo Benichi [Wed, 20 Sep 2017 01:05:15 +0000 (01:05 +0000)]
Merge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev
am: 14676c5da4

Change-Id: I34613d4e53c6cc33029e1f8030b0605100cc59fc

6 years agoMerge "Handle autofill auth scenarios where the FillContext cannot be retrieved:...
Felipe Leme [Wed, 20 Sep 2017 00:59:11 +0000 (00:59 +0000)]
Merge "Handle autofill auth scenarios where the FillContext cannot be retrieved:" into oc-mr1-dev am: 5488a38465
am: 3ac60cbbe0

Change-Id: Ia59feec4ad1a442f6ade75eab8f3e49946d9f11b

6 years agoMerge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev
Hugo Benichi [Wed, 20 Sep 2017 00:58:35 +0000 (00:58 +0000)]
Merge changes Ied9d0cec,I3087f446,Ibe706872 into oc-mr1-dev

* changes:
  Wakeup packet events: addressing a few comments
  Connectivity metrics: add WakeupStats events
  Connectivity metrics: collect NFLOG wakeup events

6 years agoMerge "Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev am: 928219...
David Stevens [Wed, 20 Sep 2017 00:50:48 +0000 (00:50 +0000)]
Merge "Merge "Handle showWhenLocked on secondary displays" into oc-mr1-dev am: 9282193c84" into oc-mr1-dev-plus-aosp
am: ffdeee01ed

Change-Id: I8a03b9a31b27b88e10f64a4707e010b1db7945ca

6 years agoMerge "Handle night display state when timezone changes" into oc-mr1-dev
Christine Franks [Wed, 20 Sep 2017 00:43:12 +0000 (00:43 +0000)]
Merge "Handle night display state when timezone changes" into oc-mr1-dev
am: 1276f357d3

Change-Id: I96cc0161eb092f2a965efbff4a417bc992493625

6 years agoMerge "Handle autofill auth scenarios where the FillContext cannot be retrieved:...
Felipe Leme [Wed, 20 Sep 2017 00:33:23 +0000 (00:33 +0000)]
Merge "Handle autofill auth scenarios where the FillContext cannot be retrieved:" into oc-mr1-dev
am: 5488a38465

Change-Id: I40b5124559da062bad0bdb9405aa89ef10d12597

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

Change-Id: I5e70bd06ae409eb17989a3767b862d997d04cda2

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 night display state when timezone changes" into oc-mr1-dev
Christine Franks [Wed, 20 Sep 2017 00:23:28 +0000 (00:23 +0000)]
Merge "Handle night display state when timezone changes" into oc-mr1-dev

6 years agoMerge "Handle autofill auth scenarios where the FillContext cannot be retrieved:...
TreeHugger Robot [Wed, 20 Sep 2017 00:19:03 +0000 (00:19 +0000)]
Merge "Handle autofill auth scenarios where the FillContext cannot be retrieved:" into oc-mr1-dev

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 "Delete unused interface IAM.swapDockedAndFullscreenStack()"
TreeHugger Robot [Wed, 20 Sep 2017 00:18:07 +0000 (00:18 +0000)]
Merge "Delete unused interface IAM.swapDockedAndFullscreenStack()"

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 "ActivityOptions.set/getLaunchStackId() be gone!"
TreeHugger Robot [Wed, 20 Sep 2017 00:09:09 +0000 (00:09 +0000)]
Merge "ActivityOptions.set/getLaunchStackId() be gone!"

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 agoAdd HeadsUpManager as a SystemUI dependency.
Philip Quinn [Mon, 18 Sep 2017 16:47:48 +0000 (09:47 -0700)]
Add HeadsUpManager as a SystemUI dependency.

Bug: 65849819
Test: make -j

Change-Id: Id4386aa267c512b9828480d42214b51093e73587

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 "OWNERS files don't really work with groups yet."
Daniel Sandler [Wed, 20 Sep 2017 00:04:51 +0000 (00:04 +0000)]
Merge "OWNERS files don't really work with groups yet."

6 years agoOWNERS files don't really work with groups yet.
Dan Sandler [Tue, 19 Sep 2017 23:38:18 +0000 (19:38 -0400)]
OWNERS files don't really work with groups yet.

Test: n/a
Exempt-From-Owner-Approval: for obvious reasons
Change-Id: Ie41fbae528fa213e092411b38dda5a84b1288b22

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 agoincidentd: fix memory leaks in a test
George Burgess IV [Tue, 19 Sep 2017 23:36:02 +0000 (16:36 -0700)]
incidentd: fix memory leaks in a test

The static analyzer found many memory leaks in this file. Converting
everything to use unique_ptr became really ugly, and involved lots of
copying from lists of unique_ptr<Privacy> to lists of Privacy*. Since
these tests really don't seem to allocate much, freeing everything en
masse at the end should be good enough.

Bug: 27101951
Test: mma; memory leak warnings are gone. Running
/data/nativetest64/incidentd_test/incidentd_test shows no failures.
Change-Id: I151b7ef4e02ee736e4e833924c0500e8dbedcc49

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

Change-Id: If3caf66edc965a46df24e2aaf4e73b83aebcbf67

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:12:44 +0000 (23:12 +0000)]
Merge "Autofill optimization: don't contact server when session is finished." into oc-mr1-dev am: 2748ffcef7
am: 667fb12d37

Change-Id: Ib4d8b85be3d38131d606569913939d10199c63f7

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 am: 19e00be16b
Ajay Nadathur [Tue, 19 Sep 2017 22:37:44 +0000 (22:37 +0000)]
Merge "Deferred setup banner updates intermittently" into oc-mr1-dev am: 19e00be16b
am: f4f1c4d425

Change-Id: I0045019061b59d08e576a0c343f694804668870a

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

Change-Id: Iaeb4ce6d248ae988ffd68a609bb572d600bc1698

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 "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev...
Calin Juravle [Tue, 19 Sep 2017 22:20:29 +0000 (22:20 +0000)]
Merge "Add an explicit reason for the compilation of shared apks" into oc-mr1-dev am: d78d269650
am: 3489d1900b

Change-Id: I274b9c580e1e399e9575ba7de23925666f2e9276

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 agoPartially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d
Shubham Ajmera [Tue, 19 Sep 2017 21:07:05 +0000 (14:07 -0700)]
Partially revert ce54397368dc98182d7b4eb2ff3c142bbd87e39d

We have already reverted A/B dexopt for secondary dex files in commit
7c1471197427b59f99578fd2483b1e113ba4b7f1. This removes secondary dex
opt during boot after OTA.

Bug: 65067046
Test: make and boot.
Change-Id: I76009ed609a608e009a50860b53a8dfed9d57334

6 years agoHandle night display state when timezone changes
Christine Franks [Fri, 25 Aug 2017 20:57:26 +0000 (13:57 -0700)]
Handle night display state when timezone changes

Bug: 64458884
Test: runtest -c com.android.server.NightDisplayServiceTest \
frameworks-services and manually tested Hawaii and London

Change-Id: I052034a4c64eb73c42672215e8847c11e00efeb5

6 years agoMerge "Make sure wm Stack gets override config on creation"
TreeHugger Robot [Tue, 19 Sep 2017 21:14:26 +0000 (21:14 +0000)]
Merge "Make sure wm Stack gets override config on creation"

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

Change-Id: I61b9a273c95bb99085882c06ea209685fedd8c48

6 years agoMerge "Make NetworkController tests more deterministic"
TreeHugger Robot [Tue, 19 Sep 2017 21:02:10 +0000 (21:02 +0000)]
Merge "Make NetworkController tests more deterministic"

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 agoswitch to unique_ptr version of Skia stream api
Mike Reed [Tue, 19 Sep 2017 21:01:30 +0000 (17:01 -0400)]
switch to unique_ptr version of Skia stream api

Test: make

Change-Id: I49703b85fa3e7a256a0b0df7a7f53bc18a68e22b

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

Change-Id: Id45c62c6b7dd8f080ab54a1c2ee439fb0dd10c34

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 "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev am: 0853fe8a53
Arthur Ishiguro [Tue, 19 Sep 2017 20:50:59 +0000 (20:50 +0000)]
Merge "Adds handle to NanoAppInstanceInfo Parcel" into oc-mr1-dev am: 0853fe8a53
am: 7c5be53554

Change-Id: Iff30607c66ae8b42307bce3e42f7f9f3471e8d03

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 "Merge "Mark uid as non-idle/FG-entitled when launching for fg service" into...
Android Build Merger (Role) [Tue, 19 Sep 2017 20:15:27 +0000 (20:15 +0000)]
Merge "Merge "Mark uid as non-idle/FG-entitled when launching for fg service" into oc-mr1-dev am: 93243bf808 am: b39679d4c4"