OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Removed deprecated ViewStructure.setUrl() method." into oc-dev
Felipe Leme [Wed, 3 May 2017 23:34:29 +0000 (23:34 +0000)]
Merge "Removed deprecated ViewStructure.setUrl() method." into oc-dev
am: 246cc5bf51

Change-Id: Ie1e1e1edc6fc0b4202379dc61c7bb2167727ba6a

7 years agoMerge "Removed deprecated ViewStructure.setUrl() method." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 23:16:10 +0000 (23:16 +0000)]
Merge "Removed deprecated ViewStructure.setUrl() method." into oc-dev

7 years agoMerge changes from topic 'allow_none_scorer' into oc-dev
Jeremy Joslin [Wed, 3 May 2017 23:05:51 +0000 (23:05 +0000)]
Merge changes from topic 'allow_none_scorer' into oc-dev
am: d05dda1d40

Change-Id: I90864d95416167384c7acb9ac3d6beb8e523b682

7 years agoMerge "Merge "Add network disabled reason starting index" into oc-dev am: c7642c3239...
Android Build Merger (Role) [Wed, 3 May 2017 23:03:32 +0000 (23:03 +0000)]
Merge "Merge "Add network disabled reason starting index" into oc-dev am: c7642c3239" into oc-dev-plus-aosp

7 years agoMerge "Add network disabled reason starting index" into oc-dev
Randy Pan [Wed, 3 May 2017 23:01:44 +0000 (23:01 +0000)]
Merge "Add network disabled reason starting index" into oc-dev
am: c7642c3239

Change-Id: I7b6c39a1e89642e8e8fb7674e26b8323949a79cb

7 years agoMerge changes from topic 'allow_none_scorer' into oc-dev
TreeHugger Robot [Wed, 3 May 2017 22:57:07 +0000 (22:57 +0000)]
Merge changes from topic 'allow_none_scorer' into oc-dev

* changes:
  Revert permission check on setActiveScorer.
  Allow the active scorer to be set to NULL.

7 years agoMerge "Add network disabled reason starting index" into oc-dev
Randy Pan [Wed, 3 May 2017 22:55:44 +0000 (22:55 +0000)]
Merge "Add network disabled reason starting index" into oc-dev

7 years agoMerge "Add compatibility matrices to VintfObject.report()" into oc-dev
Yifan Hong [Wed, 3 May 2017 22:48:32 +0000 (22:48 +0000)]
Merge "Add compatibility matrices to VintfObject.report()" into oc-dev
am: 0e0a37635e

Change-Id: I6e2c660971c296f363b66baa43231e18464ffc34

7 years agoMerge "Make all FrameBuilderTests run on RT" into oc-dev
Chris Craik [Wed, 3 May 2017 22:46:22 +0000 (22:46 +0000)]
Merge "Make all FrameBuilderTests run on RT" into oc-dev
am: ecc121d8bf

Change-Id: Iee5e75009bfe1dcce9dd021aa20f1410b1810f32

7 years agoMerge "Add compatibility matrices to VintfObject.report()" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 22:39:04 +0000 (22:39 +0000)]
Merge "Add compatibility matrices to VintfObject.report()" into oc-dev

7 years agoMerge "Make all FrameBuilderTests run on RT" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 22:38:23 +0000 (22:38 +0000)]
Merge "Make all FrameBuilderTests run on RT" into oc-dev

7 years agoMerge "Use timeout for *dexopt* wake lock" into oc-dev
Fyodor Kupolov [Wed, 3 May 2017 22:26:14 +0000 (22:26 +0000)]
Merge "Use timeout for *dexopt* wake lock" into oc-dev
am: bca6bd2b8c

Change-Id: If4bb1b78fc1cc3f8bc6987bd8bfcfa5738c5c0e9

7 years agoMerge "Use timeout for *dexopt* wake lock" into oc-dev
Fyodor Kupolov [Wed, 3 May 2017 22:15:23 +0000 (22:15 +0000)]
Merge "Use timeout for *dexopt* wake lock" into oc-dev

7 years agoMerge "Fix Array Index out of bounds error." into oc-dev
Sundeep Ghuman [Wed, 3 May 2017 21:30:17 +0000 (21:30 +0000)]
Merge "Fix Array Index out of bounds error." into oc-dev
am: 5c05814af4

Change-Id: I11b957781eaab2702b3c7f1466c89ce60a5c30c8

7 years agoMerge "Notification: Remove actions from public view" into oc-dev
Adrian Roos [Wed, 3 May 2017 21:23:01 +0000 (21:23 +0000)]
Merge "Notification: Remove actions from public view" into oc-dev
am: 37963d61b2

Change-Id: I845cdc55b23f797b81adc08ef554831018822777

7 years agoMerge "Fix Array Index out of bounds error." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 21:22:44 +0000 (21:22 +0000)]
Merge "Fix Array Index out of bounds error." into oc-dev

7 years agoMerge "Prevent NPE in startActivityUnchecked" into oc-dev
Fyodor Kupolov [Wed, 3 May 2017 21:13:47 +0000 (21:13 +0000)]
Merge "Prevent NPE in startActivityUnchecked" into oc-dev
am: 45a5adadbd

Change-Id: I6b8f626fd9e7590a2bf12123ee42c7dcdbc0444f

7 years agoMerge "Notification: Remove actions from public view" into oc-dev
Adrian Roos [Wed, 3 May 2017 21:11:36 +0000 (21:11 +0000)]
Merge "Notification: Remove actions from public view" into oc-dev

7 years agoMerge "Send AutofillValue of Views that originated a forced request." into oc-dev
Felipe Leme [Wed, 3 May 2017 21:03:58 +0000 (21:03 +0000)]
Merge "Send AutofillValue of Views that originated a forced request." into oc-dev
am: 943242804e

Change-Id: I276b7650824571bc73102a4c014b4e120d3fb4ee

7 years agoMerge "Prevent NPE in startActivityUnchecked" into oc-dev
Fyodor Kupolov [Wed, 3 May 2017 20:59:04 +0000 (20:59 +0000)]
Merge "Prevent NPE in startActivityUnchecked" into oc-dev

7 years agoMerge "Send AutofillValue of Views that originated a forced request." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 20:54:27 +0000 (20:54 +0000)]
Merge "Send AutofillValue of Views that originated a forced request." into oc-dev

7 years agoMerge "AOD: Pass through pulse reason to DozeUi" into oc-dev
Adrian Roos [Wed, 3 May 2017 20:28:06 +0000 (20:28 +0000)]
Merge "AOD: Pass through pulse reason to DozeUi" into oc-dev
am: 838e5f04be

Change-Id: Ia14a5339053ac91ce4f08e1fde33fd6c2816ffe5

7 years agoMerge "Don't mix "current dataset" tokens for different backup transports" into oc-dev
Chris Tate [Wed, 3 May 2017 20:23:32 +0000 (20:23 +0000)]
Merge "Don't mix "current dataset" tokens for different backup transports" into oc-dev
am: 70a2316ec7

Change-Id: Ifc4be7cab333d1956b3b6543e846489f686981ed

7 years agoMerge "AOD: Pass through pulse reason to DozeUi" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 20:21:39 +0000 (20:21 +0000)]
Merge "AOD: Pass through pulse reason to DozeUi" into oc-dev

7 years agoMerge "Don't mix "current dataset" tokens for different backup transports" into oc-dev
Chris Tate [Wed, 3 May 2017 20:15:49 +0000 (20:15 +0000)]
Merge "Don't mix "current dataset" tokens for different backup transports" into oc-dev

7 years agoMerge "Merge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev am: 34ab1f...
Android Build Merger (Role) [Wed, 3 May 2017 20:00:09 +0000 (20:00 +0000)]
Merge "Merge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev am: 34ab1f6a31" into oc-dev-plus-aosp

7 years agoMerge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev
Wei Wang [Wed, 3 May 2017 19:59:17 +0000 (19:59 +0000)]
Merge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev
am: 34ab1f6a31

Change-Id: Ib10efb3a99686901653775abb1662ffa5c4ded4d

7 years agoMerge "Bluetooth: OBEX: Don't close transport when obex is disconnected" am: 7485f047...
Hemant Gupta [Wed, 3 May 2017 19:57:08 +0000 (19:57 +0000)]
Merge "Bluetooth: OBEX: Don't close transport when obex is disconnected" am: 7485f047ba am: 799be11e6f
am: 4cec063b7e

Change-Id: I924d65b3366edbb79f22085225de062ceec241ab

7 years agoMerge "Fix RttManager documation unit issue." into oc-dev
Wei Wang [Wed, 3 May 2017 19:52:56 +0000 (19:52 +0000)]
Merge "Fix RttManager documation unit issue." into oc-dev
am: 41c1e3f1aa

Change-Id: I45d508c6f5ecf97f5166dbfb52d61fc8465b51b5

7 years agoMerge "Bluetooth: OBEX: Don't close transport when obex is disconnected" am: 7485f047ba
Hemant Gupta [Wed, 3 May 2017 19:52:35 +0000 (19:52 +0000)]
Merge "Bluetooth: OBEX: Don't close transport when obex is disconnected" am: 7485f047ba
am: 799be11e6f

Change-Id: I4ed170d7558b108ddbd794bc07b750a75d706583

7 years agoMerge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 19:50:53 +0000 (19:50 +0000)]
Merge "Fix Wakelock underlock in GnssLocationProvider." into oc-dev

7 years agoMerge "Bluetooth: OBEX: Don't close transport when obex is disconnected"
Hemant Gupta [Wed, 3 May 2017 19:46:41 +0000 (19:46 +0000)]
Merge "Bluetooth: OBEX: Don't close transport when obex is disconnected"
am: 7485f047ba

Change-Id: I1c222eda83abf4a056535790b48819d857fdd1de

7 years agoMerge "Fix RttManager documation unit issue." into oc-dev
Wei Wang [Wed, 3 May 2017 19:45:14 +0000 (19:45 +0000)]
Merge "Fix RttManager documation unit issue." into oc-dev

7 years agoMerge "Bluetooth: OBEX: Don't close transport when obex is disconnected"
Treehugger Robot [Wed, 3 May 2017 19:38:55 +0000 (19:38 +0000)]
Merge "Bluetooth: OBEX: Don't close transport when obex is disconnected"

7 years agoBluetooth: OBEX: Don't close transport when obex is disconnected
Hemant Gupta [Thu, 5 Nov 2015 08:42:01 +0000 (14:12 +0530)]
Bluetooth: OBEX: Don't close transport when obex is disconnected

Precondition: PTS 7.0

Usecase:
Execute test case TC_TG_CA_BI_02_C for AVRCP 1.6

Expectation:
Test case should pass

Observation:
Test case fails

Root cause:
Disconnection of OBEX from PTS leads to disconnection of transport
(initiated by DUT) leading to test case failure. Obex server was
unnecessary assuming that transport would be disconnected so was
informing registered users that transport has been disconnected,
which was leading to issues on new obex connect on same transport
channel from remote obex client

Fix:
Remove check to break out of loop after obex disconnection, as that is
already handled in case when read would return -1 in case transport
is closed.

Test: TC_TG_CA_BI_02_C can be passed after the patch.

Bug: 35590000
Change-Id: Ic1682ce77c07cf2e43da09dc95fff2214338f758

7 years agoMerge "Fix QS visibility logs missing some info" into oc-dev
Jason Monk [Wed, 3 May 2017 19:09:01 +0000 (19:09 +0000)]
Merge "Fix QS visibility logs missing some info" into oc-dev
am: df9b2e8d80

Change-Id: I0587ba086e5903549f629cf43755b57ec9d6952f

7 years agoMerge "Fix QS visibility logs missing some info" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 19:04:29 +0000 (19:04 +0000)]
Merge "Fix QS visibility logs missing some info" into oc-dev

7 years agoMerge "TextClassifier: Append http:// to url intents that need one." into oc-dev
Abodunrinwa Toki [Wed, 3 May 2017 18:56:42 +0000 (18:56 +0000)]
Merge "TextClassifier: Append  to url intents that need one." into oc-dev
am: 3baad0234b

Change-Id: Ia33a42abf1ef4d8d05498649979d5697b898c64e

7 years agoMerge "TextClassifier: Append http:// to url intents that need one." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 18:49:14 +0000 (18:49 +0000)]
Merge "TextClassifier: Append  to url intents that need one." into oc-dev

7 years agoMerge "preloaded-classes: Add android.text.Html$HtmlParser" into oc-dev
Narayan Kamath [Wed, 3 May 2017 18:19:00 +0000 (18:19 +0000)]
Merge "preloaded-classes: Add android.text.Html$HtmlParser" into oc-dev
am: 3bfbfead35

Change-Id: Ibabd9fd9825d5f24f99468f004dc4e5424b280cd

7 years agoMerge "Only remove task if activity fails to start." into oc-dev
Winson Chung [Wed, 3 May 2017 18:13:55 +0000 (18:13 +0000)]
Merge "Only remove task if activity fails to start." into oc-dev
am: 53bac3d927

Change-Id: Ibb614910e47ddc31fbf671ba83b5f148bfc74875

7 years agoMerge "Respect Z-ordering when assigning fullscreen-dim layer." into oc-dev
Rob Carr [Wed, 3 May 2017 18:11:56 +0000 (18:11 +0000)]
Merge "Respect Z-ordering when assigning fullscreen-dim layer." into oc-dev
am: 2ad5beb807

Change-Id: I02af0aa5ef03eff1ee25169011b63bd6b9e06d7e

7 years agoMerge "preloaded-classes: Add android.text.Html$HtmlParser" into oc-dev
Narayan Kamath [Wed, 3 May 2017 18:03:03 +0000 (18:03 +0000)]
Merge "preloaded-classes: Add android.text.Html$HtmlParser" into oc-dev

7 years agoMerge "Only remove task if activity fails to start." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 18:02:49 +0000 (18:02 +0000)]
Merge "Only remove task if activity fails to start." into oc-dev

7 years agoMerge "Respect Z-ordering when assigning fullscreen-dim layer." into oc-dev
Rob Carr [Wed, 3 May 2017 18:01:11 +0000 (18:01 +0000)]
Merge "Respect Z-ordering when assigning fullscreen-dim layer." into oc-dev

7 years agoMerge "Add error/cause code reporting for Non A/B OTA failures" am: 2db2f6d265 am...
Tianjie Xu [Wed, 3 May 2017 17:56:39 +0000 (17:56 +0000)]
Merge "Add error/cause code reporting for Non A/B OTA failures" am: 2db2f6d265 am: c2a0d6776c
am: 1b0da0cdfd

Change-Id: I967edc50dff44d830e475b94678c0194a379dba1

7 years agoMake all FrameBuilderTests run on RT
Chris Craik [Wed, 3 May 2017 17:53:16 +0000 (10:53 -0700)]
Make all FrameBuilderTests run on RT

Fixes: 33834637
Test: adb shell /data/nativetest/hwui_unit_tests/hwui_unit_tests  --gtest_filter=FrameBuilder.renderNode_OpenGL
Test: adb shell /data/nativetest/hwui_unit_tests/hwui_unit_tests  --gtest_filter=FrameBuilder.projection*

They essentially all use Caches, so making RT-only for safety. This
prevents crashes when trying to access Caches in a non-rt test, when
it's not guaranteed to be created.

Change-Id: I530c73d0ffe2d4f4ef53a46715f5bcca2c485f70

7 years agoAdd compatibility matrices to VintfObject.report()
Yifan Hong [Tue, 2 May 2017 01:43:36 +0000 (18:43 -0700)]
Add compatibility matrices to VintfObject.report()

Test: FrameworksCoreTests
Bug: 36814503
Change-Id: I27eaea136437afb2102581d410b657e810612a0a

7 years agoMerge "Add error/cause code reporting for Non A/B OTA failures" am: 2db2f6d265
Tianjie Xu [Wed, 3 May 2017 17:51:56 +0000 (17:51 +0000)]
Merge "Add error/cause code reporting for Non A/B OTA failures" am: 2db2f6d265
am: c2a0d6776c

Change-Id: I2061f6c122f64d9156ca4c17ec3d410eff213a07

7 years agoMerge "Add error/cause code reporting for Non A/B OTA failures"
Tianjie Xu [Wed, 3 May 2017 17:44:32 +0000 (17:44 +0000)]
Merge "Add error/cause code reporting for Non A/B OTA failures"
am: 2db2f6d265

Change-Id: I8361a38d9a913072541e805176bfccdc728f333c

7 years agoMerge "Fix snapshots for secure windows" into oc-dev
Jorim Jaggi [Wed, 3 May 2017 17:37:01 +0000 (17:37 +0000)]
Merge "Fix snapshots for secure windows" into oc-dev
am: bf08eb6da7

Change-Id: I3142f4b13683f6189e0eccd155c36c0b65f3b820

7 years agoMerge "Add error/cause code reporting for Non A/B OTA failures"
Tianjie Xu [Wed, 3 May 2017 17:34:27 +0000 (17:34 +0000)]
Merge "Add error/cause code reporting for Non A/B OTA failures"

7 years agoMerge "Fix snapshots for secure windows" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 17:29:16 +0000 (17:29 +0000)]
Merge "Fix snapshots for secure windows" into oc-dev

7 years agoMerge "Set sensor-supplied orientation always to portrait in VrMode." into oc-dev
Santos Cordon [Wed, 3 May 2017 17:15:00 +0000 (17:15 +0000)]
Merge "Set sensor-supplied orientation always to portrait in VrMode." into oc-dev
am: e4e953ae4c

Change-Id: Ifbfc389a5c72493a06de9fa33828ff50ff0d46a5

7 years agoMerge "Set sensor-supplied orientation always to portrait in VrMode." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 17:08:21 +0000 (17:08 +0000)]
Merge "Set sensor-supplied orientation always to portrait in VrMode." into oc-dev

7 years agoMerge "Night display status restores on reboot/user change" into oc-dev
Christine Franks [Wed, 3 May 2017 17:06:42 +0000 (17:06 +0000)]
Merge "Night display status restores on reboot/user change" into oc-dev
am: 78e03b44c3

Change-Id: I4cd13b8858f731ad66c5d0697cb95993317890ca

7 years agoMerge "Night display status restores on reboot/user change" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 17:02:10 +0000 (17:02 +0000)]
Merge "Night display status restores on reboot/user change" into oc-dev

7 years agoMerge "Treat apps that use channels as O apps" into oc-dev
Julia Reynolds [Wed, 3 May 2017 16:53:22 +0000 (16:53 +0000)]
Merge "Treat apps that use channels as O apps" into oc-dev
am: b0744b820a

Change-Id: I2d9bc9ba84109408d765d2af34020f7d49921e2f

7 years agoMerge "Treat apps that use channels as O apps" into oc-dev
Julia Reynolds [Wed, 3 May 2017 16:50:27 +0000 (16:50 +0000)]
Merge "Treat apps that use channels as O apps" into oc-dev

7 years agoMerge "support locale change for notification channels" into oc-dev
Chen Xu [Wed, 3 May 2017 16:47:09 +0000 (16:47 +0000)]
Merge "support locale change for notification channels" into oc-dev
am: dd373a838d

Change-Id: I7773fb08018925589a271baccf35ce3d9cb3c7b7

7 years agoMerge "support locale change for notification channels" into oc-dev
Chen Xu [Wed, 3 May 2017 16:42:43 +0000 (16:42 +0000)]
Merge "support locale change for notification channels" into oc-dev

7 years agoPrevent NPE in startActivityUnchecked
Fyodor Kupolov [Wed, 3 May 2017 16:30:19 +0000 (09:30 -0700)]
Prevent NPE in startActivityUnchecked

Test: manual
Bug: 37931794
Change-Id: I4a968e12cfa99d347f19a8cf2a3b9fba1bf1715b

7 years agoMerge "Only allow AM to update display orientation based on app containers" into...
Wale Ogunwale [Wed, 3 May 2017 16:26:53 +0000 (16:26 +0000)]
Merge "Only allow AM to update display orientation based on app containers" into oc-dev
am: 9304756c28

Change-Id: I81df798a1f2897837c6adbc622ffa64766030a6a

7 years agoMerge "Update unit tests for forward delete" into oc-dev
Roozbeh Pournader [Wed, 3 May 2017 16:21:52 +0000 (16:21 +0000)]
Merge "Update unit tests for forward delete" into oc-dev
am: 995b4a2185

Change-Id: Idc9e02ae6c792194db32070557ad3921aceca49d

7 years agoMerge "Only allow AM to update display orientation based on app containers" into...
TreeHugger Robot [Wed, 3 May 2017 16:21:36 +0000 (16:21 +0000)]
Merge "Only allow AM to update display orientation based on app containers" into oc-dev

7 years agoMerge "Update unit tests for forward delete" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 16:13:10 +0000 (16:13 +0000)]
Merge "Update unit tests for forward delete" into oc-dev

7 years agoMerge "Sorting and intrusiveness updates" into oc-dev
Julia Reynolds [Wed, 3 May 2017 15:46:07 +0000 (15:46 +0000)]
Merge "Sorting and intrusiveness updates" into oc-dev
am: abfa176b45

Change-Id: I238c7b739ed7bf359804e9488cf13c27fbb21d2c

7 years agoMerge "Sorting and intrusiveness updates" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 15:39:26 +0000 (15:39 +0000)]
Merge "Sorting and intrusiveness updates" into oc-dev

7 years agoFix snapshots for secure windows
Jorim Jaggi [Wed, 3 May 2017 13:21:26 +0000 (15:21 +0200)]
Fix snapshots for secure windows

First, also draw system bar backgrounds when drawing a fake
snapshot. For that, refactor the drawing into a separate class so
it can be reused. Also enable fake snapshots for secure windows.

Test: com.android.server.wm.TaskSnapshotControllerTest
Test: com.android.server.wm.TaskSnapshotSurfaceTest
Test: Secure activity with resuming delay, make sure system bars
are covered when reopening app.

Bug: 35710126
Change-Id: I2f0ebc7e7acb80015780a4e882f0a472599efa30

7 years agoMerge "Add more explicit documentation for install reason" into oc-dev
Bartosz Fabianowski [Wed, 3 May 2017 15:15:20 +0000 (15:15 +0000)]
Merge "Add more explicit documentation for install reason" into oc-dev
am: c8ca16a85a

Change-Id: I3d9d26ce66c74c307cb9f2cd06537b2bb3a22487

7 years agoMerge "Add more explicit documentation for install reason" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 15:10:10 +0000 (15:10 +0000)]
Merge "Add more explicit documentation for install reason" into oc-dev

7 years agoNight display status restores on reboot/user change
Christine Franks [Sat, 11 Feb 2017 01:36:10 +0000 (17:36 -0800)]
Night display status restores on reboot/user change

Fixes: 30086742
Test: runtest -c com.android.server.NightDisplayServiceTest \
      frameworks-services
Change-Id: I264be077e607baf8e19496f0c57549a907668005

7 years agoFix QS visibility logs missing some info
Jason Monk [Wed, 3 May 2017 14:37:34 +0000 (10:37 -0400)]
Fix QS visibility logs missing some info

Test: runtest systemui
Change-Id: I6deb71576b137dfbd51f863e88ad939d4f3fab1b
Fixes: 35454347

7 years agoTreat apps that use channels as O apps
Julia Reynolds [Mon, 1 May 2017 13:20:30 +0000 (09:20 -0400)]
Treat apps that use channels as O apps

... even if they don't target O

- Delete misc channel
- Read settings from channel instead of notification

Test: runtest systemui-notification
Change-Id: I00814959eddd10998806dd67cc30421091ae9aab
Fixes: 37540996
Fixes: 35378789

7 years agoOnly allow AM to update display orientation based on app containers
Wale Ogunwale [Tue, 2 May 2017 21:49:04 +0000 (14:49 -0700)]
Only allow AM to update display orientation based on app containers

Activity manager choregraphs several app states when starting an
activity including when the display orientation should be updated based
on the app that is now in the foreground. It is possible for a call to
originate within WM after AM adds the starting app token, but before AM
makes the app visible and resumed. E.g. A relayout call due to a
starting window. When this happens WM can prematurely update the display
orientation with incomplete information causing the starting app to be
in an incorrect orientation initially.
To fix this problem we now only factor in app containers (stacks, task,
..) when updating the display orientation if the call to update is
coming from AM. Otherwise we only use the non-app/system containers to
determine the orientation or return the last orientation.

Change-Id: I431ce9260ee31257732311a548c62cbcdb27eae7
Fixes: 37550022
Test: Launch 2 apps that don't fix orientation and use the recent button
to switch between them while holding the device in landscape.

7 years agoMerge "Increase timeout for ADB backup/restore of SharedStorage." into oc-dev
Johan Torås Halseth [Wed, 3 May 2017 14:02:11 +0000 (14:02 +0000)]
Merge "Increase timeout for ADB backup/restore of SharedStorage." into oc-dev
am: 3eafb6e2c6

Change-Id: I33cac59253e106423680c70d5f79d83402109afd

7 years agoMerge "Increase timeout for ADB backup/restore of SharedStorage." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 13:55:49 +0000 (13:55 +0000)]
Merge "Increase timeout for ADB backup/restore of SharedStorage." into oc-dev

7 years agoMerge "DozePlugin: Remove" into oc-dev
Adrian Roos [Wed, 3 May 2017 13:49:41 +0000 (13:49 +0000)]
Merge "DozePlugin: Remove" into oc-dev
am: b2484f2258

Change-Id: Id660a1dcfd49aeb6f46285927696a822a8e8c8f9

7 years agoSorting and intrusiveness updates
Julia Reynolds [Tue, 2 May 2017 19:04:34 +0000 (15:04 -0400)]
Sorting and intrusiveness updates

- The intrusiveness extractor needs to know about channels
- Allow comparisons by contact affinity even in the min bucket.

Test: cts-verifier, attention management test
Bug: 36197567
Change-Id: I1bb53d758fc2334aad5e380620fc6e39a724195c

7 years agoMerge "DozePlugin: Remove" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 13:43:14 +0000 (13:43 +0000)]
Merge "DozePlugin: Remove" into oc-dev

7 years agoMerge "Fix lock contention: Call into power manager service from handler" into oc-dev
Jorim Jaggi [Wed, 3 May 2017 13:21:52 +0000 (13:21 +0000)]
Merge "Fix lock contention: Call into power manager service from handler" into oc-dev
am: 251894b134

Change-Id: I63323963266b4194f61c8e6d6cc30a63f9af78eb

7 years agoMerge "Delete default channel for all apps targeting O." into oc-dev
Geoffrey Pitsch [Wed, 3 May 2017 13:19:03 +0000 (13:19 +0000)]
Merge "Delete default channel for all apps targeting O." into oc-dev
am: b9ee2d4677

Change-Id: Icef88789844286860a348fab200ec8169dabbe51

7 years agoAdd more explicit documentation for install reason
Bartosz Fabianowski [Tue, 18 Apr 2017 12:39:23 +0000 (14:39 +0200)]
Add more explicit documentation for install reason

This CL adds more explicit documentation of the install reason argument /
return value to PackageInstaller.SessionInfo.

Bug: 37324584
Test: None

Change-Id: I2450cc669b194e611c5dc07c6a0a5cd78a98c039

7 years agoMerge "Fix lock contention: Call into power manager service from handler" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 13:16:27 +0000 (13:16 +0000)]
Merge "Fix lock contention: Call into power manager service from handler" into oc-dev

7 years agoMerge "Delete default channel for all apps targeting O." into oc-dev
Geoffrey Pitsch [Wed, 3 May 2017 13:15:16 +0000 (13:15 +0000)]
Merge "Delete default channel for all apps targeting O." into oc-dev

7 years agoMerge "Avoid classifying text mulitple times." into oc-dev
Abodunrinwa Toki [Wed, 3 May 2017 12:40:34 +0000 (12:40 +0000)]
Merge "Avoid classifying text mulitple times." into oc-dev
am: d30044407e

Change-Id: Ie6b8c7e95e47c5e382d3f2dab505faee1c03a6e8

7 years agoMerge "Avoid classifying text mulitple times." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 12:35:17 +0000 (12:35 +0000)]
Merge "Avoid classifying text mulitple times." into oc-dev

7 years agoIncrease timeout for ADB backup/restore of SharedStorage.
Johan Torås Halseth [Wed, 26 Apr 2017 20:20:32 +0000 (21:20 +0100)]
Increase timeout for ADB backup/restore of SharedStorage.

It previously used a backup timeout of 5 min, and restore timeout of 1
min, that would always timeout if the files on shared storage were big.
Now increase both to 60 minutes.

Bug: 37201952

Test: adb backup -shared && adb restore backup.ab

Merged-In: Ice6648554933baf76e96fd151b506564487c91c6

Change-Id: I99095249e960fd47fc742154bc513347bf506548

7 years agoFix lock contention: Call into power manager service from handler
Jorim Jaggi [Tue, 2 May 2017 16:02:46 +0000 (18:02 +0200)]
Fix lock contention: Call into power manager service from handler

Make sure to not hold the wm lock when calling into power manager
service, because PWM will acquire a lock that might be contended.

Test: Make sure user activity timeout is still respected on
Keyguard
Test: Have activity with screenBrightness=1.0, make sure screen
is fully bright when opened

Bug: 37888898
Bug: 36631902
Change-Id: I4b5433dbaf8aa151465ae32232d3b3b8597715df

7 years agopreloaded-classes: Add android.text.Html$HtmlParser
Narayan Kamath [Wed, 3 May 2017 09:39:29 +0000 (10:39 +0100)]
preloaded-classes: Add android.text.Html$HtmlParser

This class creates a singleton HTMLSchema instance in <clinit> and
we want this done in the zygote. HTMLSchema.<init> is too large for
the compiler and can allocate ~100k of objects on the heap. This also
saves ~50ms in the execution of Html.fromHtml on a lightly loaded
marlin-userdebug.

Test: manual
Bug: 36678451
Change-Id: Icdd3af35018bbe283b3e3690c696e6517452165d

7 years agoMerge "Move text coretests to JUnit (1)" into oc-dev
Andrei Stingaceanu [Wed, 3 May 2017 09:48:11 +0000 (09:48 +0000)]
Merge "Move text coretests to JUnit (1)" into oc-dev
am: e0857a5800

Change-Id: I295b78a4397bb6409eef1963362b766c0ea78640

7 years agoMerge "Move text coretests to JUnit (2)" into oc-dev
Andrei Stingaceanu [Wed, 3 May 2017 09:45:52 +0000 (09:45 +0000)]
Merge "Move text coretests to JUnit (2)" into oc-dev
am: 2b0d0671b8

Change-Id: I8f5457aacd79bdaf7be72f7cdc082d0c915f61c6

7 years agoMerge "Move text coretests to JUnit (1)" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 09:42:01 +0000 (09:42 +0000)]
Merge "Move text coretests to JUnit (1)" into oc-dev

7 years agoMerge "Move text coretests to JUnit (2)" into oc-dev
TreeHugger Robot [Wed, 3 May 2017 09:41:30 +0000 (09:41 +0000)]
Merge "Move text coretests to JUnit (2)" into oc-dev

7 years agoMerge "Update frameworks/base to new compiler filters." into oc-dev
Nicolas Geoffray [Wed, 3 May 2017 08:10:55 +0000 (08:10 +0000)]
Merge "Update frameworks/base to new compiler filters." into oc-dev
am: e4f36952ab

Change-Id: I37102edeba93a4b18c943c16946b609f04c1f0eb

7 years agoMerge "Update frameworks/base to new compiler filters." into oc-dev
Nicolas Geoffray [Wed, 3 May 2017 08:04:28 +0000 (08:04 +0000)]
Merge "Update frameworks/base to new compiler filters." into oc-dev

7 years agoMerge "Fix VideoView touch and trackball handlers to call super." into oc-dev
Vladislav Kaznacheev [Wed, 3 May 2017 07:38:47 +0000 (07:38 +0000)]
Merge "Fix VideoView touch and trackball handlers to call super." into oc-dev
am: 33f2b3b3b1

Change-Id: I212a872da24ea6e64a90e3339cfc9e68f2eaa933

7 years agoMerge "Fix VideoView touch and trackball handlers to call super." into oc-dev
TreeHugger Robot [Wed, 3 May 2017 07:31:44 +0000 (07:31 +0000)]
Merge "Fix VideoView touch and trackball handlers to call super." into oc-dev

7 years agoAdd error/cause code reporting for Non A/B OTA failures
Tianjie Xu [Tue, 2 May 2017 19:41:56 +0000 (12:41 -0700)]
Add error/cause code reporting for Non A/B OTA failures

Read and report the error_code & cause_code from last_install.

Bug: 36866437
Test: mma & observe the sysui event in logcat -b events
Change-Id: I5357861fc758e14ed3235bfc8cc76d7561ccea58

7 years agoMerge "Updating network info state should return true." into oc-dev
Sundeep Ghuman [Wed, 3 May 2017 04:30:05 +0000 (04:30 +0000)]
Merge "Updating network info state should return true." into oc-dev
am: 703a233b03

Change-Id: Ib8a36b3880b65ea333a93dc4bd3ab5bca66272e7