OSDN Git Service
TreeHugger Robot [Tue, 2 May 2017 20:05:42 +0000 (20:05 +0000)]
Merge "Support resetting "smart selection" to any word in the selection." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 20:02:13 +0000 (20:02 +0000)]
Merge "Fix cancel when the same notification is enqueued twice." into oc-dev
Sudheer Shanka [Tue, 2 May 2017 19:56:59 +0000 (19:56 +0000)]
Merge "Add commandline option to update power-save-except-idle whitelist." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 19:13:19 +0000 (19:13 +0000)]
Merge "Message about audio stream deprecation as warning" into oc-dev
Winson Chung [Tue, 2 May 2017 19:07:24 +0000 (19:07 +0000)]
Merge "Removing check preventing pinned stack tasks from matching by affinity." into oc-dev
Calin Juravle [Tue, 2 May 2017 19:03:18 +0000 (19:03 +0000)]
Merge "Make PM#notifyDexLoad oneway" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 18:54:59 +0000 (18:54 +0000)]
Merge "Close file descriptor after SmartSelection is initialized." into oc-dev
Jean-Michel Trivi [Tue, 2 May 2017 17:52:32 +0000 (17:52 +0000)]
Merge "Audio focus: fix notifying apps to pause without an external policy" into oc-dev
Dianne Hackborn [Tue, 2 May 2017 17:45:46 +0000 (17:45 +0000)]
Merge "Work on issue #
37815224: DeviceManagementService is incorrectly..." into oc-dev
Abodunrinwa Toki [Tue, 2 May 2017 17:44:19 +0000 (18:44 +0100)]
Support resetting "smart selection" to any word in the selection.
Test: See topic
Bug:
34779207
Change-Id: I75a9b991571f750b362047baa13675250e929223
Geoffrey Pitsch [Tue, 2 May 2017 15:41:31 +0000 (11:41 -0400)]
Fix cancel when the same notification is enqueued twice.
Change-Id: I6563c70ac441ff1c1951d5220c2e6a7c5f210d49
Fixes:
37706685
Test: runtest systemui-notification
TreeHugger Robot [Tue, 2 May 2017 17:22:58 +0000 (17:22 +0000)]
Merge "Fix NPE happens if no source was specified to font element." into oc-dev
Amith Yamasani [Tue, 2 May 2017 17:20:31 +0000 (17:20 +0000)]
Merge "Clear calling uid before changing whitelist" into oc-dev
Abodunrinwa Toki [Fri, 28 Apr 2017 18:25:24 +0000 (19:25 +0100)]
Close file descriptor after SmartSelection is initialized.
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Bug:
37446398
Change-Id: I6f6d927f447d3cc1dffaee2406ff240d0600eb19
TreeHugger Robot [Tue, 2 May 2017 17:14:57 +0000 (17:14 +0000)]
Merge "Fix app transition logging when switching quickly" into oc-dev
Daniel Nishi [Tue, 2 May 2017 17:03:51 +0000 (17:03 +0000)]
Merge "Don't crash during app uninstall." into oc-dev
Jean-Michel Trivi [Tue, 2 May 2017 17:01:08 +0000 (10:01 -0700)]
Message about audio stream deprecation as warning
The message indicating the use of stream types for operations
other than volume control is deprecated shouldn't be an
error but a warning
Test: use apps that request audio focus with a stream type, check log
Bug:
37887058
Change-Id: Iaafae8aa599984688dae448e868de81317add4d3
TreeHugger Robot [Tue, 2 May 2017 16:21:10 +0000 (16:21 +0000)]
Merge "Add "Paste as plain text" in TextView's toolbar." into oc-dev
Android Build Merger (Role) [Tue, 2 May 2017 16:00:52 +0000 (16:00 +0000)]
Merge "DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am:
a686345759 am:
a399705286 -s ours" into oc-dev
Erik Wolsheimer [Tue, 2 May 2017 15:59:43 +0000 (15:59 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s am:
a686345759
am:
a399705286 -s ours
Change-Id: I654fc19afef7f11d894590d287cde3650b8252af
Jiwen Cai [Tue, 2 May 2017 15:59:21 +0000 (15:59 +0000)]
Merge "SurfaceTexture: setConsumerIsProtected" into oc-dev
Erik Wolsheimer [Tue, 2 May 2017 15:54:40 +0000 (15:54 +0000)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s
am:
a686345759
Change-Id: I0598c6210dbf0d0447c31112419a2fee829037be
TreeHugger Robot [Tue, 2 May 2017 15:49:24 +0000 (15:49 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:47:33 +0000 (15:47 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:40:37 +0000 (15:40 +0000)]
Merge "Fix submenu position when showing with Gravity.END" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 15:38:44 +0000 (15:38 +0000)]
Merge "Add back the throwIfParentInstance checking in getAffiliationIds" into oc-dev
Jorim Jaggi [Fri, 28 Apr 2017 17:06:24 +0000 (19:06 +0200)]
Fix app transition logging when switching quickly
If an app was set to invisible before the transition started,
which happens when quickly open an app and then closing again
before the animation is starting (only possible if starting
window is slightly delayed), we never receive onWindowsDrawn so we
need to cancel the transition in this case.
Also fixes an issue where the wrong activity was reported as
starting to us in case reusedActivity != null but we'll only reuse
it for the task and not the actual activity.
Test: Open Calendar, press home immediately, open another app, make
sure all logged events and times are correct.
Fixes:
37538546
Change-Id: I5819bd97964ab2dd5cb40b2f4e3bc5a9ac348152
TreeHugger Robot [Tue, 2 May 2017 14:58:15 +0000 (14:58 +0000)]
Merge "Split out whether frame callback and tick is scheduled" into oc-dev
Abodunrinwa Toki [Fri, 28 Apr 2017 21:14:13 +0000 (22:14 +0100)]
Add "Paste as plain text" in TextView's toolbar.
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Bug:
36179795
Change-Id: Iee0502678adcfb9de58c107b9247a528718b2c40
TreeHugger Robot [Tue, 2 May 2017 13:58:55 +0000 (13:58 +0000)]
Merge "Don't send configuration that app doesn't support to it." into oc-dev
Tony Mak [Tue, 2 May 2017 12:50:18 +0000 (13:50 +0100)]
Add back the throwIfParentInstance checking in getAffiliationIds
Fix:
37887947
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.ParentProfileTest#testParentProfileApiDisabled
Change-Id: I05944c7a2447998d3ea948195fb25b09ab9735fc
Jorim Jaggi [Fri, 28 Apr 2017 14:39:19 +0000 (16:39 +0200)]
Split out whether frame callback and tick is scheduled
Since the animation/gesture for screen zoom is running at
vsync-app, calling WMS.scheduleAnimation will schedule only
at the next frame. However, in the next frame, only the frame
callback is handled but not the tick yet, however
mAnimationScheduled was still true. Thus, the request to schedule
another frame callback is ignored, and then the things get
updated only every 2nd frame.
Fix this by splitting the information whether the frame callback
is scheduled or the actual tick.
Test: Use accessibility screen zoom, make sure gestures are
smooth.
Fixes:
37476440
Change-Id: I2301fab5bf3f3b896d4aa131fb041b89572fa3a7
The Android Open Source Project [Tue, 2 May 2017 07:05:25 +0000 (00:05 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia533546d474a51fa42205fa4ebf7ec122d17fa38
Auto-generated-cl: translation import
TreeHugger Robot [Tue, 2 May 2017 06:56:48 +0000 (06:56 +0000)]
Merge "Allow null setup activity for TV input" into oc-dev
Seigo Nonaka [Mon, 1 May 2017 21:24:32 +0000 (14:24 -0700)]
Fix NPE happens if no source was specified to font element.
This also fixes unexpected fallback to the old implemntation by calling
allowUnsupportedFont() which is only for backward compatibility.
This CL also remove getResourceId() method. Nobody uses this method.
Bug:
37865521
Bug:
37844248
Test: am instrument -w -e class android.content.res.cts.ResourcesTest\
android.content.cts/android.support.test.runner.AndroidJUnitRunner
Change-Id: I987448add728c53c916f24a2ea8f337be417248f
Lorenzo Colitti [Tue, 2 May 2017 04:38:50 +0000 (04:38 +0000)]
Merge "Add a method to start the captive portal login app." into oc-dev
Casey Burkhardt [Tue, 2 May 2017 04:05:26 +0000 (04:05 +0000)]
Merge "Refactor accessibility button support detection" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 03:26:29 +0000 (03:26 +0000)]
Merge "TIF: change documentation wording for onSetSurface()" into oc-dev
Calin Juravle [Tue, 2 May 2017 02:49:21 +0000 (19:49 -0700)]
Make PM#notifyDexLoad oneway
There's not need to wait for the PM to process the dex load
notification.
Make notifyPackageUse one way as well (for the same reason).
Bug:
37876265
Test: manual test to verify that notifications still work
Change-Id: I29d076348c2999a4441c2047a89a45b085bf3761
TreeHugger Robot [Tue, 2 May 2017 02:18:50 +0000 (02:18 +0000)]
Merge "Adding the AOSP header." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:55:15 +0000 (01:55 +0000)]
Merge "Don't relaunch activity in TaskRecord.size if caller deferResume" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:48:15 +0000 (01:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:44:41 +0000 (01:44 +0000)]
Merge "hotspot2: hide Release 2 APIs" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:38:26 +0000 (01:38 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:33:24 +0000 (01:33 +0000)]
Merge "Make auth fill UI size sane size" into oc-dev
The Android Open Source Project [Tue, 2 May 2017 01:07:07 +0000 (18:07 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iad23566a92d65a5dc0b703f0a2afcb602c0b6025
Auto-generated-cl: translation import
Rob Carr [Tue, 2 May 2017 01:03:44 +0000 (01:03 +0000)]
Merge "Fix cropping in docked stack." into oc-dev
Rob Carr [Tue, 2 May 2017 01:01:29 +0000 (01:01 +0000)]
Merge "Fix rotation animation selection." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 00:53:30 +0000 (00:53 +0000)]
Merge "Removed deprecated setAuthentication() method that didn't take ids." into oc-dev
Jean-Michel Trivi [Tue, 2 May 2017 00:51:14 +0000 (17:51 -0700)]
Audio focus: fix notifying apps to pause without an external policy
In the absence of an external audio policy that implements ducking,
check whether the focus loser has the
AUDIOFOCUS_FLAG_PAUSES_ON_DUCKABLE_LOSS flag: if yes, do not
let the framework handle ducking, notify the app.
Test: use app that calls AudioFocusRequest.Builder.setWillPauseWhenDucked(true) and verify it doesn't get ducked by framework
Bug:
30258418
Change-Id: I12655b413504ed101dd14d2b60ffdaf16c5b6148
Wale Ogunwale [Mon, 10 Apr 2017 13:35:59 +0000 (06:35 -0700)]
Don't send configuration that app doesn't support to it.
If an app doesn't support the current device orientation configuration,
then don't run the app in that configuration. Instead have the run in
the last configuration that it supports.
This mostly fixes transient cases where there is a short window that the
device is switching configuration and the app could be sent the single
incorrect configuration that is quickly corrected
Test: Will be added soon.
Fixes:
36897968
Change-Id: I030a04200fdf33c4c1938bda980ea8c14aa1c736
TreeHugger Robot [Tue, 2 May 2017 00:45:39 +0000 (00:45 +0000)]
Merge "AudioService: send AUDIO_BECOMING_NOISY intent when disconnecting USB" into oc-dev
Jeff Sharkey [Tue, 2 May 2017 00:44:47 +0000 (00:44 +0000)]
Merge "Video badging levels: @Deprecate and @remove" into oc-dev
Jeremy Joslin [Tue, 25 Apr 2017 22:43:13 +0000 (15:43 -0700)]
Adding the AOSP header.
Test: make
Bug:
37683421
Change-Id: I0c656b91f3533b87a80c34e7461000e75ee1da8e
Jiwen 'Steve' Cai [Sat, 22 Apr 2017 02:05:01 +0000 (19:05 -0700)]
SurfaceTexture: setConsumerIsProtected
When in a protected context, SurfaceTexture should call
setConsumerIsProtected Instead of setting consumer usage bits to
indicate the producer that the consumer can handle protected content.
Bug:
35726763
Test: videoplayer-nodrm-protected.apk and videoplayer-drm-protected.apk
both works.
Change-Id: I0028c040e727691e1e42226c0b66de075fe5515d
The Android Open Source Project [Mon, 1 May 2017 23:47:11 +0000 (16:47 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iae5f3f4f17f19f75e5cbf73133e88105fab69622
Auto-generated-cl: translation import
TreeHugger Robot [Mon, 1 May 2017 23:30:08 +0000 (23:30 +0000)]
Merge "Hide FragmentContainer#instantiate for API 26" into oc-dev
Peter Qiu [Mon, 1 May 2017 22:59:53 +0000 (15:59 -0700)]
hotspot2: hide Release 2 APIs
Bug:
37514629
Test: builds
Change-Id: Idcd684cf9846791cb02ae0f74ec35ff4850666f1
TreeHugger Robot [Mon, 1 May 2017 23:22:06 +0000 (23:22 +0000)]
Merge "Change protection level of companion permissions" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:18:37 +0000 (23:18 +0000)]
Merge "Add @TestApi annotation to AdaptiveIconDrawable" into oc-dev
Svetoslav Ganov [Mon, 1 May 2017 23:11:14 +0000 (16:11 -0700)]
Make auth fill UI size sane size
Now the width and height are capped to 0.9 of the screen
dimensions. The height is also adjusted as needed by the
popup window positioning logic.
Test: manual
bug:
36660292
Change-Id: I54d032f4e9b9b8fae6f98846c470a1455babcb68
TreeHugger Robot [Mon, 1 May 2017 23:15:54 +0000 (23:15 +0000)]
Merge "Rename to follow API council guidance." into oc-dev
TreeHugger Robot [Mon, 1 May 2017 23:11:49 +0000 (23:11 +0000)]
Merge "AOD: Increase shelf icon size while dark" into oc-dev
The Android Open Source Project [Mon, 1 May 2017 23:07:16 +0000 (16:07 -0700)]
Import translations. DO NOT MERGE
Change-Id: I4eebfaa9c9983fcff35af8c1c0f98b945ded2631
Auto-generated-cl: translation import
Casey Burkhardt [Fri, 28 Apr 2017 02:30:15 +0000 (19:30 -0700)]
Refactor accessibility button support detection
- Moves logic to detect devices capable of supporting the
accessibility button into AccessibilityManager from
SettingsLib to avoid issues with resource shifting in the
SUW binary
Bug:
37650567
Test: Existing Robolectric / Manual
Merged-In: Ibb2aaa3c2f79570df768cfa796fa890988ef82cc
Change-Id: I83bbecdf7836ae0de32ce7d39155ac0c111a8f15
TreeHugger Robot [Mon, 1 May 2017 22:52:13 +0000 (22:52 +0000)]
Merge "AudioService: more AUDIO_BECOMING_NOISY intent fixes" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:48:58 +0000 (22:48 +0000)]
Merge "Addess API council comments" into oc-dev
Sudheer Shanka [Sat, 29 Apr 2017 00:38:03 +0000 (17:38 -0700)]
Add commandline option to update power-save-except-idle whitelist.
Bug:
37670935
Test: manual &&
cts-tradefed run singleCommand cts-dev -m CtsHostsideNetworkTests -t \
com.android.cts.net.HostsideRestrictBackgroundNetworkTests
Change-Id: Iad866a3ea4908fdf7d341d8607e8dbc8b1139d60
Joe LaPenna [Mon, 1 May 2017 16:46:01 +0000 (09:46 -0700)]
Video badging levels: @Deprecate and @remove
Video based badging is not going out in O. Hide video-terminology
constants.
Bug:
37687077
Test: make update-api;
Change-Id: Ibd3a732be11bcd0f6b1077943a34b77f7c971ee3
Jeff Sharkey [Mon, 1 May 2017 22:35:01 +0000 (22:35 +0000)]
Merge changes from topic 'LOHSapi' into oc-dev
* changes:
WifiManager: expose base LOHS apis
WifiManager: update API for LOHS
TreeHugger Robot [Mon, 1 May 2017 22:23:42 +0000 (22:23 +0000)]
Merge "Do not unsnooze canceled notifications." into oc-dev
Robert Carr [Mon, 1 May 2017 22:22:22 +0000 (15:22 -0700)]
Fix rotation animation selection.
The default activity specified value for rotation animation
should be unset, not ROTATE, so that it will not override
window specified versions.
Bug:
37671120
Test: Rotate camera 180 degrees...expect crossfade or jumpcut depending on APK version but never rotate animation.
Change-Id: I6acbf32b3de0e2848565cc6cb6fb62f625053634
Winson Chung [Mon, 1 May 2017 20:46:25 +0000 (13:46 -0700)]
Removing check preventing pinned stack tasks from matching by affinity.
- As of ag/
1892768, we prefer matching non-affinity matching tasks,
followed by affinity matching tasks as long as they are on the same
display (priority from the bottom stack up). As a result, we don't need
to exclude the pinned stack when attempting to match by affinity, as it
can be used later when determining the match.
Bug:
37640324
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testLaunchTaskByComponentMatchMultipleTasks
Test: #testLaunchTaskByAffinityMatchMultipleTasks
Test: #testLaunchTaskByAffinityMatchSingleTask
Change-Id: Idfe797cd51bf827876f3f0ba8ea35e1f4fcd8655
Chad Brubaker [Mon, 1 May 2017 22:12:47 +0000 (22:12 +0000)]
Merge changes from topic 'aia_settings_overlay' into oc-dev
* changes:
Add overlay for Instant Apps Settings whitelists
Revert "Allow Instant Apps to read Settings defined by apps"
TreeHugger Robot [Mon, 1 May 2017 22:11:34 +0000 (22:11 +0000)]
Merge "Set stack bounds to null instead of empty for fullscreen" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 22:05:23 +0000 (22:05 +0000)]
Merge "Marking deprecated recommendation request code as @removed." into oc-dev
Yifan Hong [Mon, 1 May 2017 22:02:15 +0000 (22:02 +0000)]
Merge "Add android.os.VintfRuntimeInfo" into oc-dev
Erik Wolsheimer [Mon, 1 May 2017 21:58:31 +0000 (14:58 -0700)]
DO NOT MERGE Adjust WALLPAPER_RECONNECT_TIMEOUT_MS in WallpaperManagerService to 15s
Bug:
37773684
Change-Id: Ifeeb26a164c7bab59561721d10a4915ed6d9dcf3
Jeff Sharkey [Mon, 1 May 2017 21:57:28 +0000 (21:57 +0000)]
Merge "hotspot2: update method name for timestamp related APIs" into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:40:17 +0000 (21:40 +0000)]
Merge "Make PrivateStorageInfo have a public constructor." into oc-dev
Dianne Hackborn [Mon, 1 May 2017 21:33:05 +0000 (14:33 -0700)]
Work on issue #
37815224: DeviceManagementService is incorrectly...
...starting services from jobs
Bring back the correct bg check restrictions on jobs, but also
bring back whitelisting of dmagent so it doesn't crash.
Test: booted and ran
Change-Id: I78892386bdcd4f39e0b1a6d33b224bdff958af37
Amith Yamasani [Mon, 1 May 2017 21:29:19 +0000 (14:29 -0700)]
Clear calling uid before changing whitelist
Avoids security exception for UPDATE_DEVICE_STATS
Bug:
37627773
Test: manual
Change-Id: I18617d068e7db0813c11b23b281d283908664eae
Adam Powell [Mon, 1 May 2017 21:23:03 +0000 (14:23 -0700)]
Hide FragmentContainer#instantiate for API 26
Bug
37638617
Change-Id: I065cd31d6ce987155669f72eff0e0d6d8a9430ab
Test: none; hiding API only
Eugene Susla [Mon, 1 May 2017 21:25:52 +0000 (14:25 -0700)]
Change protection level of companion permissions
Fixes:
37721270
Test: Ensure co build errors
Change-Id: Ide6ce7c83f466ef6886b2aad0228176ae84314b2
Chulwoo Lee [Mon, 1 May 2017 21:10:25 +0000 (14:10 -0700)]
Allow null setup activity for TV input
Test: cts-tradefed run cts -m CtsTvTestCases -t android.media.tv.cts.TvInputInfoTest
Bug:
37863603
Change-Id: I62f9927f94534c0564a3c52f8c7b266a347399e1
Jeff Sharkey [Mon, 1 May 2017 21:09:11 +0000 (15:09 -0600)]
Rename to follow API council guidance.
Test: builds, boots
Bug:
37422404
Change-Id: Idcec897e775f2613805a86209615e389b63bd78d
Svetoslav Ganov [Mon, 1 May 2017 20:41:56 +0000 (13:41 -0700)]
Addess API council comments
Test: manual
bug:
37322491
Change-Id: I2017e667c5452c7ef7c56ec19c594e685700b33a
Matthew Ng [Sat, 29 Apr 2017 00:33:22 +0000 (17:33 -0700)]
All taps under max double tap timeout are quick taps
When tapping rapidly on the overview button on a recents grid device
(like tablets), users might tap very quickly that would have triggered a
elasped time under the min double tap time (40ms) which would cause the
button to not be a quick tap. Removing the check allows all taps under
the max double tap timeout to be a quick tap. Then quickly tapping the
overview button would not confuse alt-tab with resume same task
functionality.
Test: manual
Change-Id: I9161fd5b68c299dc794e538a4fd9021ae98c7e94
Fixes:
36886408
Wale Ogunwale [Mon, 1 May 2017 14:41:08 +0000 (07:41 -0700)]
Don't relaunch activity in TaskRecord.size if caller deferResume
If the caller of TaskRecord.resize() requested resume to be deferred,
then we also don't want to ensure configuration on the top activity in
the task as that can lead to a re-launch. In this case the caller will
handle things.
Test: manual
Change-Id: I247c4409d4bd19c8ae801e1720aa415d55395201
Fixes:
37767027
Conrad Chen [Mon, 1 May 2017 20:14:35 +0000 (13:14 -0700)]
TIF: change documentation wording for onSetSurface()
Test: documentaion fix
Bug:
31494507
Change-Id: Ib25d45fb3c7e973aa09a5f91ced11abefea4c5ba
Yifan Hong [Wed, 26 Apr 2017 18:38:01 +0000 (11:38 -0700)]
Add android.os.VintfRuntimeInfo
This is the Java API for ::android::vintf::RuntimeInfo.
This will be used by CTS for device info report purposes.
Bug:
28656227
Test: cts-tradefed run cts -m CtsEdiHostTestCases --skip-preconditions
Change-Id: Id87c95a17e77d7ec1794a6f850de97edf9ae892d
Eric Laurent [Sat, 29 Apr 2017 01:11:50 +0000 (18:11 -0700)]
AudioService: send AUDIO_BECOMING_NOISY intent when disconnecting USB
Bug:
37752052
Test: Verify music stops when removing USB headset
Change-Id: I6efd9e0532ea0569cfcab941a93e32395845201f
Eric Laurent [Sat, 29 Apr 2017 01:00:04 +0000 (18:00 -0700)]
AudioService: more AUDIO_BECOMING_NOISY intent fixes
Fix more race conditions
Ignore condition on removed device being actually used for
music when in call.
Bug:
37687852
Test: Verify AUDIO_BECOMING_NOISY intent is sent in more corner cases
Change-Id: I024aa3a4a68d84ac620289720caf3a32fb2985b1
Jean-Michel Trivi [Mon, 1 May 2017 19:50:38 +0000 (19:50 +0000)]
Merge "Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest" into oc-dev
Casey Burkhardt [Mon, 1 May 2017 19:49:08 +0000 (19:49 +0000)]
Merge "Fix accessibility button CTS test" into oc-dev
Rebecca Silberstein [Mon, 1 May 2017 19:45:45 +0000 (12:45 -0700)]
WifiManager: expose base LOHS apis
This CL exposes a minimal set of APIs to start LocalOnlyHotspot. This
includes the call to start the hotspot along with the objects necessary
to get updates and unregister the hotspot request.
Bug:
31466854
Bug:
37073685
Test: make update-api
Test: make
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I5e9a6a842c0b9233ebf99317f61e0b36192d5be7
Jean-Michel Trivi [Mon, 1 May 2017 19:33:40 +0000 (12:33 -0700)]
Audio focus: fix mapping of old requestAudioFocus to AudioFocusRequest
When translating a focus request from the N- API to AudioFocusRequest,
do not do null checks for listener or handler, those are only
for the AudioFocusRequest.Builder.
Test: use app built for N- and request focus, no crash
Bug
37855238
Change-Id: I675b3144e913ab674fe27f9f65ee7a7bea24a72c
TreeHugger Robot [Mon, 1 May 2017 19:31:16 +0000 (19:31 +0000)]
Merge "Move the last user save from onCleanupUser to onStopUser" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 19:30:33 +0000 (19:30 +0000)]
Merge "Fix stupid bug." into oc-dev
Selim Cinek [Mon, 1 May 2017 18:43:35 +0000 (18:43 +0000)]
Merge "Fixed that snooze options were animating" into oc-dev