OSDN Git Service
TreeHugger Robot [Fri, 5 May 2017 04:34:29 +0000 (04:34 +0000)]
Merge "RemovalClient sendRemoved should check remaining instead of fingerId" into oc-dev
Yohei Yukawa [Fri, 5 May 2017 04:29:07 +0000 (04:29 +0000)]
Merge "Avoid unnecessary ULocale.addLikelySubtags()" into oc-dev
TreeHugger Robot [Fri, 5 May 2017 03:31:52 +0000 (03:31 +0000)]
Merge changes Ie1686719,Ie6af7751 into oc-dev
* changes:
Fixed a bug where the media notification image was wrong
Improved the gradient drawing of the media notification
TreeHugger Robot [Fri, 5 May 2017 02:48:25 +0000 (02:48 +0000)]
Merge "Audio service: only duck started players + refactor" into oc-dev
TreeHugger Robot [Fri, 5 May 2017 02:03:39 +0000 (02:03 +0000)]
Merge "Hyphenate text in CheckedTextView" into oc-dev
Selim Cinek [Thu, 4 May 2017 23:27:28 +0000 (16:27 -0700)]
Fixed a bug where the media notification image was wrong
In RTL the gradient was being applied the wrong way.
Test: switch to RTL, play music
Change-Id: Ie1686719d56436712fd0e6c99ba2723ba53d0025
Fixes:
37996998
Selim Cinek [Wed, 3 May 2017 22:17:10 +0000 (15:17 -0700)]
Improved the gradient drawing of the media notification
Previously we were drawing with a color on top of the
image instead of fading it out. This could lead to
visible artefacts in the background.
We're now fading out the alpha in a similar manner instead.
Test: runtest systemui
Change-Id: Ie6af7751a734b8fa44279eba970e7ca5ba67a4c0
Fixes:
37950482
Philip P. Moltmann [Fri, 5 May 2017 01:22:14 +0000 (01:22 +0000)]
Merge "autofill service search uri is not backed up" into oc-dev
Chris Tate [Fri, 5 May 2017 01:10:38 +0000 (01:10 +0000)]
Merge "Correct scope of "disabled?" check viz backup/restore decisions" into oc-dev
Aurimas Liutikas [Fri, 5 May 2017 00:40:37 +0000 (00:40 +0000)]
Merge "Avoid reflection when mocking UserManagerService" into oc-dev
Amit Mahajan [Fri, 5 May 2017 00:39:30 +0000 (00:39 +0000)]
Merge "Use sim language for VZW." into oc-dev
Roozbeh Pournader [Thu, 4 May 2017 23:41:14 +0000 (16:41 -0700)]
Hyphenate text in CheckedTextView
CheckedTextView style defaults are not derived from TextView, so they
were not getting hyphenated at all. Now they are hyphenated the same
way a normal TextView is hyphenated.
Test: Manual
Bug:
37763646
Change-Id: I3d14e5a1764561cc2922eea569d124c77cb53631
Jean-Michel Trivi [Wed, 3 May 2017 19:16:17 +0000 (12:16 -0700)]
Audio service: only duck started players + refactor
Refactor management of list of ducked players:
DuckingManager has a list of DuckedApps, which reference
the ducked players per uid.
Only consider ducking a player when it is in STARTED state.
When a player is released, remove it from the list of ducked players.
Test: play audio in GPM while having driving directions, music ducks
Bug:
37433811
Change-Id: I038a963432c0df6c9470a3a4fb80049d55e8719c
Yohei Yukawa [Thu, 4 May 2017 23:28:18 +0000 (16:28 -0700)]
Avoid unnecessary ULocale.addLikelySubtags()
This CL gets rid of unnecessary operations from
LocaleUtils.filterByLanguage() to speed it up, especially for the case
where there is an IME that has many subtypes.
ULocale.addLikelySubtags(ULocale) is known to be slow. Given an IME
that has N IME subtypes, LocaleUtils.filterByLanguage() calls it no
less than N times even when the only one system language is selected.
This has contributed to device boot time (Bug
32343335) time and user
switching time (Bug
28750507) since Android N where IME support
started taking multi-locale into account.
With this CL, LocaleUtils.filterByLanguage() no longer calls it
for a subtype unless its language part of the locale matches one of
user-selected system locales.
The only assumption we made here is
for any Locale objects l1 and l2
TextUtils.equals(l1.getLanguage(), l2.getLanguage())
and
TextUtils.equals(ul1.getLanguage(), ul2.getLanguage())
are equivalent, where
ul1 = ULocale.addLikelySubtags(ULocale.forLocale(l1)) and
ul2 = ULocale.addLikelySubtags(ULocale.forLocale(l2))
This should be reasonable assumption, at least for locales we want to
care about for IMEs. Under this assumption there is no behavior
change at all.
Test: bit FrameworksCoreTests:com.android.internal.inputmethod.LocaleUtilsTest
Bug:
37647204
Change-Id: Ic96900fcaf3db8b7046a50b3fe6ad65aceada369
TreeHugger Robot [Thu, 4 May 2017 23:11:11 +0000 (23:11 +0000)]
Merge "Stack is visible if behind docked which is behind pinned stack (1/2)" into oc-dev
Ajay Panicker [Thu, 4 May 2017 22:56:16 +0000 (22:56 +0000)]
Merge "Limit btsnoop file size (3/9)" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 21:12:35 +0000 (21:12 +0000)]
Merge "Fix frozen alarm issue" into oc-dev
Julia Reynolds [Thu, 4 May 2017 20:55:45 +0000 (20:55 +0000)]
Merge "Do not clear recent intrusive flag if still intrusive" into oc-dev
Julia Reynolds [Thu, 4 May 2017 20:54:14 +0000 (20:54 +0000)]
Merge "Remove notification settings for deleted users" into oc-dev
Adrian Roos [Thu, 4 May 2017 19:45:34 +0000 (19:45 +0000)]
Merge "AOD: Change DozeTriggersTest to run on prox-less devices" into oc-dev
Adrian Roos [Thu, 4 May 2017 19:44:37 +0000 (19:44 +0000)]
Merge "TrustManagerService: Fix service binding leak" into oc-dev
Fyodor Kupolov [Thu, 4 May 2017 19:22:25 +0000 (12:22 -0700)]
Avoid reflection when mocking UserManagerService
Fixed a crash due to a change in the private constructor signature
Test: PackageManagerSettingsTests are passing
Bug:
37989886
Change-Id: I5d46f6018b4bdb369b2e39ad3020235e7f2c5a2e
TreeHugger Robot [Thu, 4 May 2017 19:17:57 +0000 (19:17 +0000)]
Merge "Fix an NPE that can result from a race condition." into oc-dev
Kevin Chyn [Thu, 4 May 2017 18:47:38 +0000 (11:47 -0700)]
RemovalClient sendRemoved should check remaining instead of fingerId
Test: for each of the following, make sure code goes into
if (client != null && client.onRemoved(fingerId, groupId, remaining)) {
removeClient(client);
}
1) remove single fingerprint
2) remove all fingerprint by removing password
Change-Id: I6f1ebd42c05fd57225dd4808766791ff1922b09e
Fixes:
37992170
TreeHugger Robot [Thu, 4 May 2017 18:24:52 +0000 (18:24 +0000)]
Merge "Remove default network recommendation provider." into oc-dev
Philip P. Moltmann [Thu, 4 May 2017 18:07:05 +0000 (11:07 -0700)]
autofill service search uri is not backed up
This is expected as the settings is set by the app market of the device
each time the marked it set up.
Bug:
37684646
Test: mmma -j40 frameworks/base/core/tests/coretests &&
adb install -r ${ANDROID_PRODUCT_OUT}/data/app/FrameworksCoreTests/FrameworksCoreTests.apk &&
adb shell am instrument -w -e class android.provider.SettingsBackupTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: Ie9502150d0861173ab58ed7d096d3900704b8915
Julia Reynolds [Wed, 3 May 2017 20:00:20 +0000 (16:00 -0400)]
Do not clear recent intrusive flag if still intrusive
Test: manual, post two noisy progress notifications that update
every second. before change, they start swapping after ten seconds.
after change, no swapping.
Fixes:
36299000
Change-Id: Ia16c36660ae6d59b51b7c5b3521ad43de45aa952
Dianne Hackborn [Thu, 4 May 2017 17:28:08 +0000 (17:28 +0000)]
Merge "Fix issue #
37938835: Undismissable "Camera is running in the..." into oc-dev
Brad Ebinger [Thu, 4 May 2017 17:11:46 +0000 (17:11 +0000)]
Merge "Better handle MSIM DDS changed event" into oc-dev
Ajay Panicker [Tue, 18 Apr 2017 03:42:22 +0000 (20:42 -0700)]
Limit btsnoop file size (3/9)
Limit btsnoop file size by rotating between snoop files. The rotation occurrs
when a fixed number of packets have been logged and will start overwriting
the older file.
Bug:
35998031
Test: Enable snoop logs from developer options and let logs get large
Change-Id: I40d5da4c1b1c9b45908e5790d130f1c5e804c773
Amit Mahajan [Thu, 4 May 2017 16:06:07 +0000 (09:06 -0700)]
Use sim language for VZW.
Instead of doing it 204-04 + gid, change has been made for
MCC 204. This can be revisited if there is any 204 carrier for
which sim language is not set correctly.
Test: none; reverting to earlier behavior for these mcc-mncs
Bug:
37704287
Change-Id: I30661e6467bbf5afc3ebb2ae58ddf36df7d55ce6
Winson Chung [Thu, 4 May 2017 16:16:28 +0000 (16:16 +0000)]
Merge "Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag." into oc-dev
Makoto Onuki [Thu, 4 May 2017 15:38:07 +0000 (08:38 -0700)]
Fix frozen alarm issue
Bug
34724174
Test: Manual test with "dumpsys alarm" + putting device into doze
Change-Id: I1d9ec3ac1e78ea263b2598a8c7ab4157ec40c535
TreeHugger Robot [Thu, 4 May 2017 15:15:30 +0000 (15:15 +0000)]
Merge "Only classify text when the toolbar is shown." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 14:08:58 +0000 (14:08 +0000)]
Merge "Developer setting to show toast for notifications without a channel" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 13:23:46 +0000 (13:23 +0000)]
Merge "ignore exception calling unlinkToDeath" into oc-dev
Abodunrinwa Toki [Wed, 3 May 2017 19:22:55 +0000 (20:22 +0100)]
Only classify text when the toolbar is shown.
classifyText() is used to generate a menu item in the selection toolbar
to handle the selected text. In this cl we avoid calling classifyText()
when the selection is changing but instead call it when we are about to
show the toolbar.
Previously, we depended on invalidateActionModeAsync() to classify text
after a call to startActionMode(). Now that we've introduced
invalidateActionMode() we need to be able to tell
startSelectionActionMode() that we also want the text to be classified,
hence the introduction of an input parameter, "adjustSelection", to
startSelectionActionModeAysnc().
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug:
34966796
Change-Id: I5b9fc9e8ab443f024f8ca461df5a4bcc6485d26b
TreeHugger Robot [Thu, 4 May 2017 11:26:53 +0000 (11:26 +0000)]
Merge "Handle volume keys to apps in Vr mode" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 08:43:59 +0000 (08:43 +0000)]
Merge "selectBackupTransportAsync should report failure when backup is not available" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 06:35:48 +0000 (06:35 +0000)]
Merge "Reset touch location after touch slop is exceeded in recents" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 06:27:29 +0000 (06:27 +0000)]
Merge "Allow TIMEZONE_CHANGED to launch apps" into oc-dev
Sundeep Ghuman [Wed, 3 May 2017 19:45:44 +0000 (12:45 -0700)]
Fix an NPE that can result from a race condition.
NetworkInfo and WifiInfo are set via broadcast receiver so while in a
true stable state network info should not be null if wifi info is, this
can occur in rare instances due to a race condition. It is convention in
AccessPoint.java to always null check network info.
Bug: b/
37951301
Test: runtest --path
frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: Ia1b357c84b961a555ec24a5b930ade35ddf8dbba
Karthik Ravi Shankar [Thu, 4 May 2017 05:17:13 +0000 (05:17 +0000)]
Merge "Rename CompatibilityDisplay to Vr2dDisplay" into oc-dev
Karthik Ravi Shankar [Mon, 1 May 2017 08:34:19 +0000 (01:34 -0700)]
Rename CompatibilityDisplay to Vr2dDisplay
CompatibilityDisplay used for displaying 2D activities in Vr world. This
is confusing in more than one way. To clarify what it really means,
rename it to Vr2dDisplay.
Changes in this CL -
- /s/CompatibilityDisplay/Vr2dDisplay
- /s/Compatibility/Vr2d - in CompatibilityDisplay context.
Bug:
37851944
Test: cts/hostsidetests/services/activityandwindowmanager/util/run-test
CtsServicesHostTestCases android.server.cts.ActivityManagerDisplayTests
passes on Marlin.
Change-Id: I0a442302fa9d0f48bbd0c01a7766b94369e04386
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
TreeHugger Robot [Thu, 4 May 2017 02:51:58 +0000 (02:51 +0000)]
Merge "Added TaskSnapshotCacheTest back to presubmit" into oc-dev
TreeHugger Robot [Thu, 4 May 2017 01:47:00 +0000 (01:47 +0000)]
Merge "Always start a manual request, even if view was already autofilled." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 01:37:02 +0000 (01:37 +0000)]
Merge "Add persistent state for Bluetooth high quality audio support" into oc-dev
Christopher Tate [Thu, 4 May 2017 01:10:39 +0000 (18:10 -0700)]
Allow TIMEZONE_CHANGED to launch apps
Bug
37866305
Test: manual
Change-Id: If15df909e99e910c012f2a7b33ae8600c0f97d8d
Dianne Hackborn [Thu, 4 May 2017 01:04:05 +0000 (18:04 -0700)]
Fix issue #
37938835: Undismissable "Camera is running in the...
...background" notification even after force stopping camera
Ensure we have a message scheduled to dismiss the next app every
time we go through the app list. Also don't show the notification
for an app when it is in the foreground.
Test: manual
Change-Id: Idd93c8d9f8252b880c8b4bf069c71ad71a6b27c9
TreeHugger Robot [Thu, 4 May 2017 01:03:56 +0000 (01:03 +0000)]
Merge "Revert "Don't add other's child as header or footer"" into oc-dev
Calin Juravle [Thu, 4 May 2017 00:35:39 +0000 (00:35 +0000)]
Merge "Fix potential race in DexManager" into oc-dev
Siyamed Sinir [Thu, 4 May 2017 00:27:27 +0000 (00:27 +0000)]
Merge "Don't copy NoCopySpans for assist and autofill" into oc-dev
Sudheer Shanka [Thu, 4 May 2017 00:26:52 +0000 (00:26 +0000)]
Merge "Reduce the timeout for waiting for the network state update." into oc-dev
TreeHugger Robot [Thu, 4 May 2017 00:14:13 +0000 (00:14 +0000)]
Merge "Avoid reading HW bitmap pixels twice" into oc-dev
Matthew Ng [Tue, 2 May 2017 23:47:53 +0000 (16:47 -0700)]
Reset touch location after touch slop is exceeded in recents
There was a jump when a user touch moves over the slop value. To fix
this the location is updated to new y position so that the move
animation of the card after has no visual jump.
Change-Id: Ia9b1d04cc0b2983c2e61114ebbf3bdeb154404e9
Fixes:
35720341
Test: manual - enter recents and slowly drag a card vertically and
notice no jump with the fix, moving after the slop has a consistent
motion
Ian Pedowitz [Thu, 4 May 2017 00:07:05 +0000 (00:07 +0000)]
Merge "Revert "O is API 26"" into oc-dev
Matthew Ng [Mon, 1 May 2017 20:59:50 +0000 (13:59 -0700)]
Stack is visible if behind docked which is behind pinned stack (1/2)
Handles the case if pip is shown with splitscreen when the stack order
is pinned, docked, current stack, etc (top to bottom). Added a condition
to check to make sure that this order of stacks allows the current stack
to be visible. Also added a condition to not hide docked stack when pip
appears (this only occurs with command line or cts tests); added TODO
for refactor.
Change-Id: I53bd55014c08c60f360b95ed7100ef49778f891b
Fixes:
37294521
Test: run-test CtsServicesHostTestCases
android.server.cts.ActivityManagerPinnedStackTests#
testPinnedStackWithDockedStack
TreeHugger Robot [Wed, 3 May 2017 23:58:19 +0000 (23:58 +0000)]
Merge "Grant ephemeral app access during service bind" into oc-dev
Sujith Ramakrishnan [Wed, 3 May 2017 23:56:18 +0000 (23:56 +0000)]
Merge "Accessibility shortcut on Android TV." into oc-dev
Joe LaPenna [Fri, 28 Apr 2017 18:57:45 +0000 (11:57 -0700)]
Remove default network recommendation provider.
BUG:
37686309
Test: gts-tradefed run gts -m GtsGmscoreHostTestCases -t com.google.android.gts.netrec.NetRecHostTest
Change-Id: Ia67790172418b7feba97acdb4a6df04506358f87
Todd Kennedy [Wed, 3 May 2017 23:38:44 +0000 (16:38 -0700)]
ignore exception calling unlinkToDeath
Change-Id: If3fdb2ca46f8118d9d2859fc932b4614bb62220e
Fixes:
37893511
Test: Manual
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
(cherry picked from commit
850758fb63ded57acf218341812ead95f7159ad6)
TreeHugger Robot [Wed, 3 May 2017 23:16:10 +0000 (23:16 +0000)]
Merge "Removed deprecated ViewStructure.setUrl() method." into oc-dev
Brad Ebinger [Tue, 18 Apr 2017 18:43:42 +0000 (11:43 -0700)]
Better handle MSIM DDS changed event
On DSDS MSIM devices, when Default Data Subscription event
is received, the ImsService may choose to switch which
Slot ID is active.
This change better handles that switch and removes a
crash that was happening due to
ImsServiceProxy#getFeatureStatus getting called
circularly.
Bug:
37361882
Test: Run Telephony unit tests
Merged-In: I55cac364221c728ad1c77be783c358e8d98ec2b4
Merged-In: I68cd04f288f2d7006a2c55cba3584fd74117a1b8
Change-Id: Iaa29bba25f82e699c96b951b3b110568163e12d8
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.
Randy Pan [Wed, 3 May 2017 22:55:44 +0000 (22:55 +0000)]
Merge "Add network disabled reason starting index" 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
TreeHugger Robot [Wed, 3 May 2017 22:38:23 +0000 (22:38 +0000)]
Merge "Make all FrameBuilderTests run on RT" 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
Ian Pedowitz [Wed, 3 May 2017 22:00:56 +0000 (22:00 +0000)]
Revert "O is API 26"
This reverts commit
9bcef8e2da32ba959b61a0b400adfe9fde1a2a10.
Reason for revert: b/
37355569
Bug:
37480230
Bug:
37355569
Change-Id: I39b4a7fd9bda77df0746c7bc32b87f0c2b722f2b
TreeHugger Robot [Wed, 3 May 2017 21:22:44 +0000 (21:22 +0000)]
Merge "Fix Array Index out of bounds error." into oc-dev
Adrian Roos [Fri, 28 Apr 2017 21:10:51 +0000 (14:10 -0700)]
AOD: Change DozeTriggersTest to run on prox-less devices
Test: runtest -x packages/SystemUI/tests/src/com/android/systemui/doze/DozeTriggersTest.java
Change-Id: I4077d4fcd93f76f08bdd1bd6192cae746f64cc76
Fixes:
37760104
Adrian Roos [Wed, 3 May 2017 21:11:36 +0000 (21:11 +0000)]
Merge "Notification: Remove actions from public view" into oc-dev
Fyodor Kupolov [Wed, 3 May 2017 20:59:04 +0000 (20:59 +0000)]
Merge "Prevent NPE in startActivityUnchecked" 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
Christopher Tate [Wed, 3 May 2017 20:43:40 +0000 (13:43 -0700)]
Correct scope of "disabled?" check viz backup/restore decisions
*Really* don't back up or restore data for disabled apps.
Bug
37851910
Test: manual
Change-Id: I4b9bdcabb386789b03633d9d26775e54bf3c3d03
TreeHugger Robot [Wed, 3 May 2017 20:21:39 +0000 (20:21 +0000)]
Merge "AOD: Pass through pulse reason to DozeUi" 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
Tony Mak [Tue, 2 May 2017 15:31:25 +0000 (16:31 +0100)]
selectBackupTransportAsync should report failure when backup is not available
Merged-in: I393308857ea6082dca167e3e417b946615a83c20
Fix:
37304539
Test: runtest -x frameworks/base/services/tests/servicestests/src/com/android/server/backup/TrampolineTest.java
Test: setup device owner, then set up profile.
Ensure tapping Settings->Google->Work->Security -> Verify app
is working
Change-Id: I88c3e3163605d62123c88377ae0843084e354212
TreeHugger Robot [Wed, 3 May 2017 19:50:53 +0000 (19:50 +0000)]
Merge "Fix Wakelock underlock in GnssLocationProvider." 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
Jeff Sharkey [Wed, 3 May 2017 19:25:08 +0000 (19:25 +0000)]
Revert "Don't add other's child as header or footer"
This reverts commit
358d0d329785a225449aa9c8aea7fcc2c7bec741.
This CL resulted in b/
37933333 regression, so it'll have to re-land with a target API check.
Change-Id: I1c2e4de43a15c1851d98f6aff432585ada80fb5b
Felipe Leme [Wed, 3 May 2017 17:04:02 +0000 (10:04 -0700)]
Always start a manual request, even if view was already autofilled.
Fixes:
36034784
Test: CtsAutoFillServiceTestCases pass
Test: testAutofillManuallyAgainAfterAutomaticallyAutofilledBefore()
Test: testAutofillManuallyAgainAfterManuallyAutofilledBefore()
Change-Id: Ided8c42367b71766772bd364445510848db2adce
TreeHugger Robot [Wed, 3 May 2017 19:04:29 +0000 (19:04 +0000)]
Merge "Fix QS visibility logs missing some info" into oc-dev
Winson Chung [Wed, 3 May 2017 01:15:16 +0000 (18:15 -0700)]
Workaround launching PiP task with CLEAR_TASK & NEW_TASK flag.
- When launching an activity with CLEAR_TASK and NEW_TASK, the result code
of the start is START_SUCCESS, but we still need to notify SystemUI to
expand the PiP. However, because the PiP transition now waits for the
first draw, this can cause severe jank and delay if the original activity
is a trampoline activity. As a workaround, we immediately move the task
to the fullscreen stack when clearing and restarting the task to ensure
that the new task shows without delay.
Bug:
37501224
Test: Open YT in PIP, launch sub-shortcut from Home
Change-Id: I16bebf19b082f30695e99da1d93bc4adf5e9df0c
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
Adrian Roos [Wed, 3 May 2017 18:33:51 +0000 (11:33 -0700)]
TrustManagerService: Fix service binding leak
Fixes an issue where TrustAgentWrapper was created too early.
If we later decide to not actually start that agent, it is already
bound to, and then we just drop the TrustAgentWrapper class, never
unbinding.
In addition, this can also create a rebind loop where we are constantly
trying to rebind to the trust agent.
Bug:
37853858
Test: force-lock, observe that trust agents are properly unbound and not constantly trying to rebind
Change-Id: I4d383f9cb499874803a7f024915baf85b3682631
Karthik Ravi Shankar [Fri, 28 Apr 2017 22:35:58 +0000 (15:35 -0700)]
Handle volume keys to apps in Vr mode
When a device is in Vr mode -
- Volume key event must be passed to the audio subsystem to reflect
changes when the configuration is enabled.
- When the configuration is disabled, neither the apps not the audio
subsystem should be able to receive the volume key events
Bug:
37625887
Bug:
36280728
Test:
- Verified that the app doesn't receive volume events
- Verified that the system volume bar is also not triggered
Change-Id: I245f7797873f764d0b017879723a6dbff1bb4d36
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
Calin Juravle [Wed, 3 May 2017 01:50:56 +0000 (18:50 -0700)]
Fix potential race in DexManager
The internal cache of DexManager holding information about the code
locations may race if an install happens at the same time with a dex
load.
Test: runtest -x services/tests/servicestests/src/com/android/server/pm/dex/DexManagerTests.java
Bug:
37922353
Change-Id: Ia28fb54d6859ec185aaaf8e0ed68981004b173e5
Narayan Kamath [Wed, 3 May 2017 18:03:03 +0000 (18:03 +0000)]
Merge "preloaded-classes: Add android.text.Html$HtmlParser" 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
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
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
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
Geoffrey Pitsch [Wed, 19 Apr 2017 14:26:45 +0000 (10:26 -0400)]
Developer setting to show toast for notifications without a channel
Bug:
37945054
Test: runtest systemui-notification
Change-Id: I264913c3d7ef6fcd83129b0692e96d3218bc7217
TreeHugger Robot [Wed, 3 May 2017 17:29:16 +0000 (17:29 +0000)]
Merge "Fix snapshots for secure windows" into oc-dev
Julia Reynolds [Wed, 3 May 2017 17:23:30 +0000 (13:23 -0400)]
Remove notification settings for deleted users
Test: runtest systemui-notification, manual
Change-Id: I221554479cf6bedb36b17d5e9bbc05307af9b89b
Fixes:
37941356
Wale Ogunwale [Wed, 3 May 2017 14:54:23 +0000 (07:54 -0700)]
Added TaskSnapshotCacheTest back to presubmit
The problem the test was having was fixed by ag/
2179887
Also, fixed NPE during test tear down.
Change-Id: I974fcb9a12928dd4494525f9bae5c7c448657e30
Fixes:
35196891
Bug:
37682538
Test: TaskSnapshotCacheTest
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
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