OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "Add notification ID for Wi-Fi ONA notifications." into oc-dr1-dev
TreeHugger Robot [Thu, 15 Jun 2017 18:03:53 +0000 (18:03 +0000)]
Merge "Add notification ID for Wi-Fi ONA notifications." into oc-dr1-dev

7 years agoMerge "add a log for peek to shade expansion" into oc-dev
Chris Wren [Thu, 15 Jun 2017 16:28:32 +0000 (16:28 +0000)]
Merge "add a log for peek to shade expansion" into oc-dev
am: 04298759fe

Change-Id: I4813fcd717b966e2ed2b1835d12d4183633f60ff

7 years agoMerge "add a log for peek to shade expansion" into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 16:20:07 +0000 (16:20 +0000)]
Merge "add a log for peek to shade expansion" into oc-dev

7 years agoMerge "Status bar opacity and mobile signal changes" into oc-dr1-dev
TreeHugger Robot [Thu, 15 Jun 2017 16:14:46 +0000 (16:14 +0000)]
Merge "Status bar opacity and mobile signal changes" into oc-dr1-dev

7 years agoadd a log for peek to shade expansion
Chris Wren [Wed, 14 Jun 2017 19:59:03 +0000 (15:59 -0400)]
add a log for peek to shade expansion

Move the note_load counter into the manager, replacing
the redundant and useless notification_load counter.

Update the StatusBarTest to allow for hander side-effects.

Test: runtest systemui
Change-Id: I2551c51cc0f4627995abe4401eafc2e5adb3a8fa
Fixes: 27698560

7 years agoMerge "Move findPreferredUpstreamType into UNM" into oc-dr1-dev
TreeHugger Robot [Thu, 15 Jun 2017 10:43:18 +0000 (10:43 +0000)]
Merge "Move findPreferredUpstreamType into UNM" into oc-dr1-dev

7 years agoMerge "Remove snapshot when screen gets rotated in mean time" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 06:30:57 +0000 (06:30 +0000)]
Merge "Remove snapshot when screen gets rotated in mean time" into oc-dev
am: 0823c9ff5c

Change-Id: Iee0f34f4a285b02d3747f630058ef6fad50d4c79

7 years agoMove findPreferredUpstreamType into UNM
Erik Kline [Mon, 5 Jun 2017 07:02:02 +0000 (16:02 +0900)]
Move findPreferredUpstreamType into UNM

This changes the way in which available networks are found. Previously
Tethering asked ConnectivityService for NetworkInfo and checked for
whether or not it was in state CONNECTED.

Here we use the fact that ConnectivityService will not call UNM's
callbacks' onAvailable() methods until the networks in question have
become connected.

Test: as follows
    - built
    - flashed
    - booted
    - runtest framework-net passed
Bug: 29337859
Bug: 32163131

Merged-In: I9937297727aa1a063e499fccd5833ace229b1e8a
Merged-In: Ifa1a34a1fb32149085421a63cb0f2586d2862d6b
Merged-In: Ia215e55b69b856f5511e5d4f852e39fa6c11462e
Change-Id: I97abe225fdd3accb38bd9168f545445b761a90d8
(cherry picked from commit a1d368af2f01e2048240fb730f6cc399fc1cc1ab)

7 years agoMerge "Remove snapshot when screen gets rotated in mean time" into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 06:24:30 +0000 (06:24 +0000)]
Merge "Remove snapshot when screen gets rotated in mean time" into oc-dev

7 years agoMerge "Actually do not hold WM lock while closing transaction" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 06:18:48 +0000 (06:18 +0000)]
Merge "Actually do not hold WM lock while closing transaction" into oc-dev
am: 7831f0c436

Change-Id: I04be9b9286240009dd4e8c6cfd207b04eadf9b5d

7 years agoMerge "Actually do not hold WM lock while closing transaction" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 06:11:10 +0000 (06:11 +0000)]
Merge "Actually do not hold WM lock while closing transaction" into oc-dev

7 years agoMerge "Create a staleScanResults bit." into oc-dev
Sundeep Ghuman [Thu, 15 Jun 2017 05:23:46 +0000 (05:23 +0000)]
Merge "Create a staleScanResults bit." into oc-dev
am: d1094717a1

Change-Id: I1a4ea5a52093fa2cd9fe1bc321786c349d4c4f11

7 years agoMerge "Create a staleScanResults bit." into oc-dev
TreeHugger Robot [Thu, 15 Jun 2017 05:19:46 +0000 (05:19 +0000)]
Merge "Create a staleScanResults bit." into oc-dev

7 years agoMerge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
Gopinath Elanchezhian [Thu, 15 Jun 2017 05:12:40 +0000 (05:12 +0000)]
Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
am: cbf19dcd76

Change-Id: I65c49c99106c47c0b0cfe70f3673b079bc00b323

7 years agoMerge "Use TotalTime instead of ThisTime in app launch test" into oc-dev
Gopinath Elanchezhian [Thu, 15 Jun 2017 05:05:21 +0000 (05:05 +0000)]
Merge "Use TotalTime instead of ThisTime in app launch test" into oc-dev

7 years agoMerge "Merge IPv6TetheringInterfaceServices into TetherInterfaceStateMachine" into...
TreeHugger Robot [Thu, 15 Jun 2017 04:36:37 +0000 (04:36 +0000)]
Merge "Merge IPv6TetheringInterfaceServices into TetherInterfaceStateMachine" into oc-dr1-dev

7 years agoRemove snapshot when screen gets rotated in mean time
Jorim Jaggi [Wed, 14 Jun 2017 23:04:59 +0000 (16:04 -0700)]
Remove snapshot when screen gets rotated in mean time

We also need to wait for windows that are not gone for layout, as
otherwise we'd unfreeze before the surface is actually created.

Test: go/wm-smoke
Test: Open Camera in landscape but home screen locked to portrait
Change-Id: I0fc7a016445e18af1eead292665702b768b4e95b
Fixes: 38261533

7 years agoMerge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 04:25:08 +0000 (04:25 +0000)]
Merge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev
am: 04c3cc6d12

Change-Id: I048aeb67b8e17bbece7a07827ffb3745c6adbe63

7 years agoMerge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev
Jorim Jaggi [Thu, 15 Jun 2017 04:19:48 +0000 (04:19 +0000)]
Merge "Use splashscreen if we can't fill horizontaly with snapshot" into oc-dev

7 years agoMerge "eUICC API error code cleanup." into oc-dr1-dev
Jeff Davidson [Thu, 15 Jun 2017 03:35:07 +0000 (03:35 +0000)]
Merge "eUICC API error code cleanup." into oc-dr1-dev

7 years agoMerge "Fix NPE for KeyguardEsimArea#isEsimLocked" into oc-dr1-dev
TreeHugger Robot [Thu, 15 Jun 2017 03:20:52 +0000 (03:20 +0000)]
Merge "Fix NPE for KeyguardEsimArea#isEsimLocked" into oc-dr1-dev

7 years agoMerge "Revert the time zone display name logic" into oc-dev
Lei Yu [Thu, 15 Jun 2017 02:14:09 +0000 (02:14 +0000)]
Merge "Revert the time zone display name logic" into oc-dev
am: d9b1697b2d

Change-Id: I0b71a7b1e52c57658b7cef1521b16c15e1f2481d

7 years agoMerge "Revert the time zone display name logic" into oc-dev
Lei Yu [Thu, 15 Jun 2017 02:04:39 +0000 (02:04 +0000)]
Merge "Revert the time zone display name logic" into oc-dev

7 years agoActually do not hold WM lock while closing transaction
Jorim Jaggi [Thu, 15 Jun 2017 01:09:58 +0000 (18:09 -0700)]
Actually do not hold WM lock while closing transaction

Test: go/wm-smoke
Test: Quick switch 100x, observe no delay
Change-Id: I46022a23f749c52ba7f46e105679d728277970bd
Fixes: 62444483

7 years agoUse splashscreen if we can't fill horizontaly with snapshot
Jorim Jaggi [Tue, 13 Jun 2017 18:54:04 +0000 (11:54 -0700)]
Use splashscreen if we can't fill horizontaly with snapshot

A gap at the right side of the snapshot looks pretty bad. Thus,
we use a splash screen in case there would be a gap on the right
side. However, we don't want to do this from recents as we'd
produce another flicker

Test: go/wm-smoke
Test: Open app portrait, go launcher, rotate, open app landscape
Test: Open app landscape, go launcher rotate, open app portrait
Fixes: 62094756
Change-Id: Iaf1fecced822685187477a4698fa6b67c6e485d7

7 years agoMerge "Correct errant entry in to DRAG_RESIZE_FREEFORM state." into oc-dev
Rob Carr [Thu, 15 Jun 2017 01:25:29 +0000 (01:25 +0000)]
Merge "Correct errant entry in to DRAG_RESIZE_FREEFORM state." into oc-dev
am: 03e61aa9bb

Change-Id: I515d73407b9d38513102b67feaf3e2804567fcbf

7 years agoMerge "Correct errant entry in to DRAG_RESIZE_FREEFORM state." into oc-dev
Rob Carr [Thu, 15 Jun 2017 01:18:17 +0000 (01:18 +0000)]
Merge "Correct errant entry in to DRAG_RESIZE_FREEFORM state." into oc-dev

7 years agoFix NPE for KeyguardEsimArea#isEsimLocked
qingxi [Wed, 14 Jun 2017 18:44:04 +0000 (11:44 -0700)]
Fix NPE for KeyguardEsimArea#isEsimLocked

Test: TreeHugger Robot
Bug: 62604222
Change-Id: I678ee2b2447617d76a1c3d30370a5de4156f7b06
(cherry picked from commit 2b06b0156dd9002f8745f1cd1dccd84ef9738aa5)

7 years agoMerge "Use RGBA16F layers when wide color gamut rendering is on" into oc-dr1-dev
TreeHugger Robot [Wed, 14 Jun 2017 22:50:37 +0000 (22:50 +0000)]
Merge "Use RGBA16F layers when wide color gamut rendering is on" into oc-dr1-dev

7 years agoMerge "Fix null drawable for Mobile signal data edit QS tile" into oc-dev
Evan Laird [Wed, 14 Jun 2017 22:19:17 +0000 (22:19 +0000)]
Merge "Fix null drawable for Mobile signal data edit QS tile" into oc-dev
am: 38778637ad

Change-Id: I175551c94c1775982a015ebeeb65a05c8a571a72

7 years agoMerge "Fix null drawable for Mobile signal data edit QS tile" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 22:10:51 +0000 (22:10 +0000)]
Merge "Fix null drawable for Mobile signal data edit QS tile" into oc-dev

7 years agoCreate a staleScanResults bit.
Sundeep Ghuman [Thu, 8 Jun 2017 01:11:39 +0000 (18:11 -0700)]
Create a staleScanResults bit.

This bit is set to true during stop tracking and will not change until
fresh scan results come in. This bit is used to prevent
onAccessPointsChanged callbacks from being invoked until other new scan
results are processed.

This is necessary to fix a UI issue in WifiSettings during app
resumption where sticky broadcasts from other intents come in before
a new scan result is available, causing us to clear out all shown APs
since the ScanResults are stale and thus removed from the picker.

Bug: b/38212080
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java

Change-Id: I2f1fd84d1ab3461d9c8eac9511b90ba7533879c1

7 years agoCorrect errant entry in to DRAG_RESIZE_FREEFORM state.
Robert Carr [Tue, 13 Jun 2017 19:41:53 +0000 (12:41 -0700)]
Correct errant entry in to DRAG_RESIZE_FREEFORM state.

Observing the logic in computeDragResizing(), we see that whenever an
AppWindowToken has frozen bounds we will enter the drag resizing
state. Furthermore, in setDragResizing() we see that if the docked
divider is not resizing, then we set ourselves as freeform
resizing. Also observe that AppWindowToken#startRelaunching
unconditionally freezes the bounds for tasks not in the freeform
stack. This means we are almost always entering the freeform resize
state while relaunching. Within computeDragResizing, the StackId check
and the MATCH_PARENT check have prevented this from being an issue in
too many places, espescially in pinned.

Once we are in this state, calculateSurfaceBounds() will force us to
0,0 as it thinks we are using the big surface approach.

There's no need to freeze the bounds if we weren't drag resizing at
the time that the app is relaunched, and this CL enforces that.

Bug: 62430780
Test: Manual repro from bug. To verify no regressions, create app with long delay in onResume (>1s) verify no flickers when releasing the docked divider and triggering a resize.
      go/wm-smoke

Change-Id: I1d9bdfbe815ff48c884f933acd65612429d633ef

7 years agoUse RGBA16F layers when wide color gamut rendering is on
Romain Guy [Wed, 14 Jun 2017 01:25:32 +0000 (18:25 -0700)]
Use RGBA16F layers when wide color gamut rendering is on

Layers created using View.setLayerType() or Canvas.saveLayer() need
to be RGBA16F/scRGB-nl when within a window that requested wide color
gamut rendering.

Bug: 29940137
Test: CtsUiRenderingTestCases, CtsGraphicsTestCases, hwui_unit_tests
Change-Id: I42fd6355448c92041491a7109e3ac8a153d38bf9

7 years agoMerge "Add a workaround for simulate secondary display" into oc-dev
John Reck [Wed, 14 Jun 2017 20:27:09 +0000 (20:27 +0000)]
Merge "Add a workaround for simulate secondary display" into oc-dev
am: 31443a17e8

Change-Id: Ib248882df61f0d45b7687726c1a57de6c289a9b5

7 years agoMerge "Revert accidental API change to RemoteViews." into oc-dev
Daniel Sandler [Wed, 14 Jun 2017 20:18:56 +0000 (20:18 +0000)]
Merge "Revert accidental API change to RemoteViews." into oc-dev
am: 0e6a5f8d7e

Change-Id: I4f59700800b25533e2bdcc7dce5b6c39badcfdec

7 years agoMerge "Add a workaround for simulate secondary display" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 20:13:59 +0000 (20:13 +0000)]
Merge "Add a workaround for simulate secondary display" into oc-dev

7 years agoMerge "Revert accidental API change to RemoteViews." into oc-dev
Daniel Sandler [Wed, 14 Jun 2017 20:12:32 +0000 (20:12 +0000)]
Merge "Revert accidental API change to RemoteViews." into oc-dev

7 years agoRevert accidental API change to RemoteViews.
Daniel Sandler [Tue, 13 Jun 2017 18:32:46 +0000 (18:32 +0000)]
Revert accidental API change to RemoteViews.

This reverts commit 7f09ce1a238ad5a647da913e275fd637ac75ab49 (but
retains the bug fix)

Change-Id: Ib4700ada5aa0b5dab7e43f895b48eb7058308869
Fixes: 62543637
Bug: 62181033

7 years agoFix null drawable for Mobile signal data edit QS tile
Evan Laird [Wed, 14 Jun 2017 19:40:02 +0000 (15:40 -0400)]
Fix null drawable for Mobile signal data edit QS tile

Currently it's a funky situation with CellTileView. There should
ultimate be a better way to handle displaying the SignalDrawable (per
the TODO comments), but this is a sensible fix to show the mobile data
icon in the edit QS screen for now.

Test: visual
Bug: 62525439
Change-Id: I95f0fb86862aa6a7b60f304053a73127907943ee

7 years agoMerge changes from topic 'wallpaper_grey_scrim-oc-dr1-dev' into oc-dr1-dev
TreeHugger Robot [Wed, 14 Jun 2017 19:23:48 +0000 (19:23 +0000)]
Merge changes from topic 'wallpaper_grey_scrim-oc-dr1-dev' into oc-dr1-dev

* changes:
  Fixed flaky test
  Disabled test
  Scrims should be grey when in-app

7 years agoMerge "Add SoundTriggerManager APIs to use a PendingIntent to get callbacks." into...
TreeHugger Robot [Wed, 14 Jun 2017 19:10:37 +0000 (19:10 +0000)]
Merge "Add SoundTriggerManager APIs to use a PendingIntent to get callbacks." into oc-dr1-dev

7 years agoAdd a workaround for simulate secondary display
John Reck [Wed, 14 Jun 2017 17:47:50 +0000 (10:47 -0700)]
Add a workaround for simulate secondary display

To workaround a deadlock caused by bufferqueue locks
we force RenderThread over to use async mode which
we enable via eglSwapInterval(0)

Bug: 38372997
Test: steps in the bug
Change-Id: Ia305f73abbdd64ab0c25d1f7d32792cc6295a0ce

7 years agoMerge "DayPickerView - clamp date to min/max" into oc-dev
Andrei Stingaceanu [Wed, 14 Jun 2017 17:47:03 +0000 (17:47 +0000)]
Merge "DayPickerView - clamp date to min/max" into oc-dev
am: 511c95a022

Change-Id: I1ede393b4a5ac44b9961a37e265b7663c88aaa5e

7 years agoMerge "DayPickerView - clamp date to min/max" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 17:38:42 +0000 (17:38 +0000)]
Merge "DayPickerView - clamp date to min/max" into oc-dev

7 years agoRevert the time zone display name logic
jackqdyulei [Mon, 12 Jun 2017 20:58:26 +0000 (13:58 -0700)]
Revert the time zone display name logic

This cl is a partial revert of ag/1490275, and only
reverts the method getTimeZoneOffsetAndName. Reverting
it because it fails the PTCRB test.

After this revert, it will consistently show the zone
long name in Date & time page (which is the behaviour
in N).

Bug: 62077986
Test: SettingsLibTests
Change-Id: I8174bd7a3de09e476bbffefa6e71d997340dc7d8

7 years agoFixed flaky test
Lucas Dupin [Tue, 13 Jun 2017 17:47:15 +0000 (10:47 -0700)]
Fixed flaky test

Change-Id: I88a39a8eb4fd6da6dc5b156aa475330299ffb9b9
Fixes: 62568528
Test: runtest systemui

7 years agoDisabled test
Lucas Dupin [Tue, 13 Jun 2017 17:37:52 +0000 (10:37 -0700)]
Disabled test

Bug: 62568528
Change-Id: I1e3908e4d18c216132b0c4d7ae9b6e223e321799

7 years agoScrims should be grey when in-app
Lucas Dupin [Wed, 24 May 2017 21:14:44 +0000 (14:14 -0700)]
Scrims should be grey when in-app

Bug: 38164389
Test: runtest -x colorextraction/tests/src/com/google/android/colorextraction/ColorExtractorTest.java
Test: runtest -x tests/src/com/android/systemui/colorextraction/SysuiColorExtractorTests.java
Change-Id: Ifcc04a8562e46b4f65bce0470ccd6c02dffcf377
(cherry picked from commit e1571705e6ea8367e7ee93d61104ce27035492dc)

7 years agoMerge "wifi: add API for retrieving Hotspot 2.0 OSU providers" into oc-dr1-dev
TreeHugger Robot [Wed, 14 Jun 2017 16:14:32 +0000 (16:14 +0000)]
Merge "wifi: add API for retrieving Hotspot 2.0 OSU providers" into oc-dr1-dev

7 years agoStatus bar opacity and mobile signal changes
Evan Laird [Wed, 14 Jun 2017 15:35:14 +0000 (11:35 -0400)]
Status bar opacity and mobile signal changes

Increase the size of the mobile signal to compensate for the
roundedness. Increase opacity of the faded parts of the wi-fi, mobile,
and battery icons a bit.

Test: visual
Bug: 37013523
Change-Id: Id94a5684b2c55956b01aa6cfb240784e6bab2f6e

7 years agoMerge "Use SystemUI Dialog Theme for QSSecurityFooter dialog" into oc-dr1-dev
Philipp Weiß [Wed, 14 Jun 2017 15:16:48 +0000 (15:16 +0000)]
Merge "Use SystemUI Dialog Theme for QSSecurityFooter dialog" into oc-dr1-dev

7 years agoMerge "Select the right pages to scrap" into oc-dev
Philip P. Moltmann [Wed, 14 Jun 2017 14:52:18 +0000 (14:52 +0000)]
Merge "Select the right pages to scrap" into oc-dev
am: 890cb59003

Change-Id: Id04b03520dfe63f5b11ee5b17841165a477a8f79

7 years agoMerge "Select the right pages to scrap" into oc-dev
Philip P. Moltmann [Wed, 14 Jun 2017 14:44:30 +0000 (14:44 +0000)]
Merge "Select the right pages to scrap" into oc-dev

7 years agoMerge "Fix footer not being hidden in detail panels" into oc-dev
Jason Monk [Wed, 14 Jun 2017 13:46:11 +0000 (13:46 +0000)]
Merge "Fix footer not being hidden in detail panels" into oc-dev
am: 2a0b423cd4

Change-Id: I97266821c07fd307dbe04e5d715792e57bfa9c0d

7 years agoMerge "Fix footer not being hidden in detail panels" into oc-dev
Jason Monk [Wed, 14 Jun 2017 13:37:28 +0000 (13:37 +0000)]
Merge "Fix footer not being hidden in detail panels" into oc-dev

7 years agoMerge "Revert Early version of new volume" into oc-dr1-dev
Jason Monk [Wed, 14 Jun 2017 13:36:38 +0000 (13:36 +0000)]
Merge "Revert Early version of new volume" into oc-dr1-dev

7 years agoMerge "Default CDMA subscription source to RUIM/SIM" into oc-dr1-dev
Grace Chen [Wed, 14 Jun 2017 13:35:34 +0000 (13:35 +0000)]
Merge "Default CDMA subscription source to RUIM/SIM" into oc-dr1-dev

7 years agoMerge IPv6TetheringInterfaceServices into TetherInterfaceStateMachine
Erik Kline [Tue, 13 Jun 2017 12:32:10 +0000 (21:32 +0900)]
Merge IPv6TetheringInterfaceServices into TetherInterfaceStateMachine

Ideally this would have been done immediately after IPv6 tethering code
was made part of an official named release. Getting this in now should
help with the relaying of LinkProperties that is required for offload.

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - runtest frameworks-wifi passes
Bug: 29337859
Bug: 32163131

Merged-In: Ib6e6356e6caa469523fc098e850108de97b494e2
Merged-In: Iec52309a56dd38ac9854ce40a792b3b622f0b015
Merged-In: I5eb3c02331aabc033ecfebee2900477c61e1b6f6
Change-Id: I015fa3cb05a15624f9e80b7aa5a871cefef431b7
(cherry picked from commit 94ae4c99c5a0d580f5898d480e1e1d08a292d060)

7 years agoUse SystemUI Dialog Theme for QSSecurityFooter dialog
phweiss [Tue, 13 Jun 2017 13:23:13 +0000 (15:23 +0200)]
Use SystemUI Dialog Theme for QSSecurityFooter dialog

Without the ContextThemeWrapper, the dialog's text color
gets changed whenever the QS theme changes.

Bug: 62534577
Test: manual, CTS Verifier > Managed Provisioning > Device Owner Tests
      > Network Logging UI

Change-Id: I408902688b97bb3c6dff06215b12956ae49a4806
(cherry picked from commit da9bee2623c358913cafc06b6d617d10e234777c)

7 years agoMerge "SensorManager: attach background thread to JavaVM" into oc-dev
Peng Xu [Wed, 14 Jun 2017 06:20:15 +0000 (06:20 +0000)]
Merge "SensorManager: attach background thread to JavaVM" into oc-dev
am: d27d5d9ea8

Change-Id: Ib34a45b6fe35f27f4b3093888cbecd70b8b71300

7 years agoMerge "SensorManager: attach background thread to JavaVM" into oc-dev
Peng Xu [Wed, 14 Jun 2017 06:12:37 +0000 (06:12 +0000)]
Merge "SensorManager: attach background thread to JavaVM" into oc-dev

7 years agoApp launch test apk change
gopinath [Wed, 14 Jun 2017 04:37:29 +0000 (04:37 +0000)]
App launch test apk change
am: 0a2c9396a2

Change-Id: Icad70c318aecfa28b985b7a7c737e332c9024ab8

7 years agoUse TotalTime instead of ThisTime in app launch test
gopinath [Fri, 2 Jun 2017 00:28:36 +0000 (17:28 -0700)]
Use TotalTime instead of ThisTime in app launch test

Bug: 62272543

Test: Tested with calculator and facebook messenger launch

Change-Id: Ide4e844e54428edcb7e3356cb3d0492392f6bde3
(cherry picked from commit fb9272c637f4b657d40057145e4dbce989005e67)

7 years agoMerge "Disable StatusBar logs" into oc-dr1-dev
TreeHugger Robot [Wed, 14 Jun 2017 01:57:53 +0000 (01:57 +0000)]
Merge "Disable StatusBar logs" into oc-dr1-dev

7 years agoMerge "Add assist gesture silence and wake settings" into oc-dr1-dev
Kevin Chyn [Wed, 14 Jun 2017 01:43:47 +0000 (01:43 +0000)]
Merge "Add assist gesture silence and wake settings" into oc-dr1-dev

7 years agoAdd SoundTriggerManager APIs to use a PendingIntent to get callbacks.
Chris Thornton [Fri, 9 Jun 2017 05:34:37 +0000 (22:34 -0700)]
Add SoundTriggerManager APIs to use a PendingIntent to get callbacks.

Test: APIs exercised using a special test app not in this CL.

Change-Id: I99425d1e67a778513e6c75e7d595c072032aa2ab

7 years agoSensorManager: attach background thread to JavaVM
Yifan Hong [Wed, 14 Jun 2017 01:20:09 +0000 (18:20 -0700)]
SensorManager: attach background thread to JavaVM

Test: pass
Bug: 62404135
Change-Id: Ic3c0849cd366f550cbdccbb9bb8d082c5c570c35

7 years agoMerge "Support associating with an already-paired device" into oc-dev
Eugene Susla [Wed, 14 Jun 2017 00:17:19 +0000 (00:17 +0000)]
Merge "Support associating with an already-paired device" into oc-dev
am: c041c7a34e

Change-Id: I0af2c5f93b8e0387f28f9c34c81b20ad5a9875e2

7 years agoApp launch test apk change
gopinath [Fri, 12 May 2017 22:37:37 +0000 (15:37 -0700)]
App launch test apk change

Support launching the app using the package name.
Remove the unused variables.

b/33226470

Change-Id: I5b3829912782a9fc0c8f09cbd6fa9ee4b5b35314
(cherry picked from commit a00259f47dc480f799a812a00f52e3c887aae4b0)

7 years agoMerge "Support associating with an already-paired device" into oc-dev
TreeHugger Robot [Wed, 14 Jun 2017 00:03:49 +0000 (00:03 +0000)]
Merge "Support associating with an already-paired device" into oc-dev

7 years agoMerge "Add plugin hooks to DozeService" into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 23:51:06 +0000 (23:51 +0000)]
Merge "Add plugin hooks to DozeService" into oc-dr1-dev

7 years agoMerge "Fix #62545908 : 'metered' network jobs run without network" into oc-dev
Christopher Tate [Tue, 13 Jun 2017 23:34:51 +0000 (23:34 +0000)]
Merge "Fix #62545908 : 'metered' network jobs run without network" into oc-dev
am: 796b510787

Change-Id: I8c87bb6ac0ed8867ffd36a6fe1692bfb933bf746

7 years agoMerge "Use UiContext with StrictMode Dialog" into oc-dev
Adam Lesinski [Tue, 13 Jun 2017 23:32:22 +0000 (23:32 +0000)]
Merge "Use UiContext with StrictMode Dialog" into oc-dev
am: 9274d87a0e

Change-Id: I1b62c2f6aeb7d7167a6bbf1e4b09124914c7936e

7 years agoDisable StatusBar logs
Lucas Dupin [Tue, 13 Jun 2017 23:30:15 +0000 (16:30 -0700)]
Disable StatusBar logs

Reverted DEBUG flag that was accidentally
set to true.

Test: make
Change-Id: Icb37d7831052f4bb1c3a1e2349f5af5270a9e932

7 years agoMerge "Fix #62545908 : 'metered' network jobs run without network" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 23:27:10 +0000 (23:27 +0000)]
Merge "Fix #62545908 : 'metered' network jobs run without network" into oc-dev

7 years agoMerge "Use UiContext with StrictMode Dialog" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 23:16:58 +0000 (23:16 +0000)]
Merge "Use UiContext with StrictMode Dialog" into oc-dev

7 years agoDefault CDMA subscription source to RUIM/SIM
Grace Chen [Tue, 13 Jun 2017 23:07:45 +0000 (16:07 -0700)]
Default CDMA subscription source to RUIM/SIM

Operators read CDMA subscription from RUIM/SIM now thus change
the default hardcoded preference everywhere. Add code clean-up to
make the default come from a single source, the Phone interface.

Additional rework proposed in http://b/62299272, but this corrects
immediate issue where CDMA SSM was defaulting to NV instead of RUIM
/SIM and caused CSIM subscription to not load and 'no sim' symptom
for many users.

Bug: 62143087
Test: None
Change-Id: I32b1f1e40c736a566df824218a6565de851ce161

7 years agoMerge "Boost the anim thread priority when doing a bounds animation." into oc-dev
Winson Chung [Tue, 13 Jun 2017 22:55:00 +0000 (22:55 +0000)]
Merge "Boost the anim thread priority when doing a bounds animation." into oc-dev
am: 167f0001b8

Change-Id: Ie180c311af24be6067ebf8cd24c6c1958dfe0c39

7 years agoMerge "Increases TC Logging Visibility for testing" into oc-dr1-dev
Brad Ebinger [Tue, 13 Jun 2017 22:51:28 +0000 (22:51 +0000)]
Merge "Increases TC Logging Visibility for testing" into oc-dr1-dev

7 years agoMerge "Boost the anim thread priority when doing a bounds animation." into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 22:43:46 +0000 (22:43 +0000)]
Merge "Boost the anim thread priority when doing a bounds animation." into oc-dev

7 years agoMerge "Save overlay paths as user state" into oc-dev
Todd Kennedy [Tue, 13 Jun 2017 22:39:40 +0000 (22:39 +0000)]
Merge "Save overlay paths as user state" into oc-dev
am: 508a5bade6

Change-Id: If46b58323883dcdeef72f0a394f79becca134c23

7 years agoMerge "Save overlay paths as user state" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 22:31:36 +0000 (22:31 +0000)]
Merge "Save overlay paths as user state" into oc-dev

7 years agoSelect the right pages to scrap
Philip P. Moltmann [Tue, 13 Jun 2017 22:29:01 +0000 (15:29 -0700)]
Select the right pages to scrap

The code before overwrote some data the outside code expected to not be
modified which resulted in the scrapped pages to be offset.

Test: - cts-tradefed run cts-dev -m Print
      - Tried to repro case in the bug
Bug: 62296301

Change-Id: If3f250dbca43125bbbe9faadc5183a6dbaa69481

7 years agoMerge "Added a category for lockscreen settings." into oc-dr1-dev
Katsiaryna Naliuka [Tue, 13 Jun 2017 22:15:33 +0000 (22:15 +0000)]
Merge "Added a category for lockscreen settings." into oc-dr1-dev

7 years agoMerge "Fix issue #62390590: SecurityException in JobIntentService$..." into oc-dev
Dianne Hackborn [Tue, 13 Jun 2017 21:57:33 +0000 (21:57 +0000)]
Merge "Fix issue #62390590:  SecurityException in JobIntentService$..." into oc-dev
am: 69c3a1d45a

Change-Id: Iff54638e534562f573b0dc4af26d66e203867d1d

7 years agoMerge "Fix issue #62390590: SecurityException in JobIntentService$..." into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:51:46 +0000 (21:51 +0000)]
Merge "Fix issue #62390590:  SecurityException in JobIntentService$..." into oc-dev

7 years agoMerge "Send ACTION_SHUTDOWN broadcast to manifest receivers" into oc-dev
Christopher Tate [Tue, 13 Jun 2017 21:47:03 +0000 (21:47 +0000)]
Merge "Send ACTION_SHUTDOWN broadcast to manifest receivers" into oc-dev
am: 630a49aa4e

Change-Id: Ib2a4229a6b00810b9dd73733421f3ac7e57f2112

7 years agoMerge "Fix sysui depending on slow bt calls" into oc-dev
Jason Monk [Tue, 13 Jun 2017 21:43:35 +0000 (21:43 +0000)]
Merge "Fix sysui depending on slow bt calls" into oc-dev
am: 02d5b79cf6

Change-Id: If250b772445628e26fd73d0c81f31ea89e74f7fa

7 years agoMerge "Send ACTION_SHUTDOWN broadcast to manifest receivers" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:36:45 +0000 (21:36 +0000)]
Merge "Send ACTION_SHUTDOWN broadcast to manifest receivers" into oc-dev

7 years agoMerge "Fix sysui depending on slow bt calls" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:32:28 +0000 (21:32 +0000)]
Merge "Fix sysui depending on slow bt calls" into oc-dev

7 years agoMerge "Remove stopship workaround for instant app targetSdkVersion" into oc-dev
Chad Brubaker [Tue, 13 Jun 2017 21:28:37 +0000 (21:28 +0000)]
Merge "Remove stopship workaround for instant app targetSdkVersion" into oc-dev
am: 4a0ea3e88f

Change-Id: I5dcc03662ab5babbfc5559257b1ecdf9568c9d49

7 years agoMerge "Change SlashDrawable semantics to fix QS crash" into oc-dr1-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:19:14 +0000 (21:19 +0000)]
Merge "Change SlashDrawable semantics to fix QS crash" into oc-dr1-dev

7 years agoMerge "Remove stopship workaround for instant app targetSdkVersion" into oc-dev
Chad Brubaker [Tue, 13 Jun 2017 21:18:23 +0000 (21:18 +0000)]
Merge "Remove stopship workaround for instant app targetSdkVersion" into oc-dev

7 years agoUse UiContext with StrictMode Dialog
Adam Lesinski [Tue, 13 Jun 2017 21:15:19 +0000 (14:15 -0700)]
Use UiContext with StrictMode Dialog

Bug: 62382723
Test: manual
Change-Id: I5cb5ac5de0800b31d0dad7698f9229873ff83e27

7 years agoFix footer not being hidden in detail panels
Jason Monk [Tue, 13 Jun 2017 17:47:54 +0000 (13:47 -0400)]
Fix footer not being hidden in detail panels

Was causing incorrect accessibility focus

Test: manual
Change-Id: Id487286eb9fa931b73349b0b0dfe772566c10e6d
Fixes: 62568126

7 years agoMerge "Binder: Add more logging on Error" into oc-dev
Andreas Gampe [Tue, 13 Jun 2017 21:12:33 +0000 (21:12 +0000)]
Merge "Binder: Add more logging on Error" into oc-dev
am: ab934ae8e6

Change-Id: I7cdc522995f3b10d70cd6dced7dd4850eb542c71

7 years agoFix #62545908 : 'metered' network jobs run without network
Christopher Tate [Tue, 13 Jun 2017 19:12:09 +0000 (12:12 -0700)]
Fix #62545908 : 'metered' network jobs run without network

Test: JobSchedulerTestApp

Change-Id: I9c15022f5542163a27c6aaa4c3ee6b677cffd699

7 years agoMerge "Binder: Add more logging on Error" into oc-dev
TreeHugger Robot [Tue, 13 Jun 2017 21:03:38 +0000 (21:03 +0000)]
Merge "Binder: Add more logging on Error" into oc-dev

7 years agoMerge "Add EXTRA_HANDOVER_FROM_PHONE_ACCOUNT." into oc-dr1-dev
Tyler Gunn [Tue, 13 Jun 2017 20:48:12 +0000 (20:48 +0000)]
Merge "Add EXTRA_HANDOVER_FROM_PHONE_ACCOUNT." into oc-dr1-dev