OSDN Git Service
Arthur Ishiguro [Fri, 15 Dec 2017 16:24:47 +0000 (08:24 -0800)]
Use iterator to remove elements from cache
Otherwise will throw ConcurrentModificationException when removing
entries.
Bug:
70715292
Test: Run CHQTS, verify pass. Also force remove an entry and verify no
exception is thrown.
Change-Id: Id702990ed0ddc1f2cc55dc0d450b9c6aac3d65ff
Michael Plass [Thu, 14 Dec 2017 18:48:16 +0000 (18:48 +0000)]
Merge "Fix flaky WifiTrackerTest"
James Wallace-Lee [Thu, 14 Dec 2017 18:40:12 +0000 (18:40 +0000)]
Merge "WebView: Clarify documentation about mimeTypes"
Mathieu Chartier [Thu, 14 Dec 2017 18:02:55 +0000 (18:02 +0000)]
Merge "Remove compiled classes list"
TreeHugger Robot [Thu, 14 Dec 2017 17:05:20 +0000 (17:05 +0000)]
Merge "use running sum for ValueMetricProducer bucket simplify ValueMetricProducer logic for pulled data"
gaoshang [Thu, 14 Dec 2017 16:55:21 +0000 (16:55 +0000)]
Merge "input cmds: fix keyevent not support sources parameter" am:
11ec2eb118 am:
4f697fe574
am:
b5a913cce3
Change-Id: Idcaa642e763284dfde7b52f2f87e28796675b127
TreeHugger Robot [Thu, 14 Dec 2017 16:48:12 +0000 (16:48 +0000)]
Merge "[AWARE] Check for RTT feature presence for Aware discovery with ranging"
gaoshang [Thu, 14 Dec 2017 16:37:08 +0000 (16:37 +0000)]
Merge "input cmds: fix keyevent not support sources parameter" am:
11ec2eb118
am:
4f697fe574
Change-Id: Ice43c79858930ccc48b9470152e0af2d99e966ae
TreeHugger Robot [Thu, 14 Dec 2017 16:28:11 +0000 (16:28 +0000)]
Merge "Only allow the top fullscreen stack to influence lockscreen state"
gaoshang [Thu, 14 Dec 2017 16:26:46 +0000 (16:26 +0000)]
Merge "input cmds: fix keyevent not support sources parameter"
am:
11ec2eb118
Change-Id: I7e527a58332a4453fe104538e55a60a444602159
Treehugger Robot [Thu, 14 Dec 2017 16:14:34 +0000 (16:14 +0000)]
Merge "input cmds: fix keyevent not support sources parameter"
TreeHugger Robot [Thu, 14 Dec 2017 15:29:49 +0000 (15:29 +0000)]
Merge "Fix window movement animations."
Antoan Angelov [Thu, 14 Dec 2017 15:09:05 +0000 (15:09 +0000)]
Merge "Add profile owner transfer functionality."
Peter Visontay [Thu, 14 Dec 2017 15:07:58 +0000 (15:07 +0000)]
Merge "Log an App Op when an accessibility service is registered."
TreeHugger Robot [Thu, 14 Dec 2017 15:07:24 +0000 (15:07 +0000)]
Merge "Add WebView Tracing API."
Wale Ogunwale [Mon, 11 Dec 2017 16:40:13 +0000 (08:40 -0800)]
Only allow the top fullscreen stack to influence lockscreen state
Only activities in the top fullscreen stack should be able to
showWhenLocked or dismiss the keyguard.
Also, use ActivityRecord.visibleIgnoringKeyguard to determine if a
stack is translucent instead of AR.visible.
Bug:
68689819
Bug:
70562363
Test: manual steps from bug
Change-Id: Ib13395198d00366df13f34d4642a1a163b9d2435
TreeHugger Robot [Thu, 14 Dec 2017 13:52:11 +0000 (13:52 +0000)]
Merge "Add an output chooser dialog to volume panel"
Jorim Jaggi [Thu, 14 Dec 2017 13:40:48 +0000 (14:40 +0100)]
Fix window movement animations.
Surface insets/parent calculation wasn't used when calculating
the positions for movement animations.
Test: go/wm-smoke
Test: Go to Wifi setting, click on a WIFI with pw, open/close IME
to observe window movement animation.
Bug:
64674361
Change-Id: Iffd98d8f946c2fc2dcb5adb176bb890d8a3fc374
Jorim Jaggi [Thu, 14 Dec 2017 13:36:27 +0000 (13:36 +0000)]
Merge changes from topic "lock_free_win"
* changes:
Fix minor issues with new window animations.
Fix possible race conditions when cancelling animations
Lock free animations (2/2)
Bernardo Rufino [Thu, 14 Dec 2017 13:19:46 +0000 (13:19 +0000)]
Merge "Binding on-demand #5: PerformUnifiedRestoreTask usage"
Bernardo Rufino [Thu, 14 Dec 2017 12:15:09 +0000 (12:15 +0000)]
Merge "Update Roboletric to 3.5.1"
arangelov [Thu, 23 Nov 2017 15:29:42 +0000 (15:29 +0000)]
Add profile owner transfer functionality.
Test: cts-tradefed run cts-dev --module DevicePolicyManager --test com.android.cts.devicepolicy.TransferProfileOwnerTest
Test: bit FrameworksServicesTests:com.android.server.devicepolicy.DevicePolicyManagerTest
Bug:
69542817
Change-Id: I824fcb334e0ca3157fb67920f7583b309a14bf85
gaoshang [Thu, 14 Dec 2017 09:52:23 +0000 (17:52 +0800)]
input cmds: fix keyevent not support sources parameter
reused args.length repalce length.
https://issuetracker.google.com/issues/
70654695
Test: input cmds
Change-Id: Ifd8600d66d1647ae677add6b9d95b1d6831d6edb
Signed-off-by: gaoshang <gaoshang@xiaomi.com>
TreeHugger Robot [Thu, 14 Dec 2017 08:08:51 +0000 (08:08 +0000)]
Merge "Move home stack behind top fullscreen stack when split-screen is dismissed"
TreeHugger Robot [Thu, 14 Dec 2017 07:17:52 +0000 (07:17 +0000)]
Merge "Add more IntDef prefixes for auto-documenting."
Chenjie Yu [Sun, 10 Dec 2017 16:31:05 +0000 (08:31 -0800)]
use running sum for ValueMetricProducer bucket
simplify ValueMetricProducer logic for pulled data
Test: unit test
Change-Id: Ic0a21a543166cc5c34c1fa505dba08d1fc2f510a
Michael Plass [Mon, 4 Dec 2017 19:39:13 +0000 (11:39 -0800)]
Fix flaky WifiTrackerTest
The rssiChangeBroadcastShouldUpdateConnectedAp uses two CountDownLatch instances to
synchronize the events on the main thread and the handler thread. The "latch" informs
the main thread that mockWifiManager.getConnectionInfo() has been called and allows it
to proceed, and "mAccessPointsChangedLatch" notes that onAccessPointsChanged is called.
But mAccessPointsChangedLatch was assigned after "latch" released the main thread,
so that on occasion the main thread could try to use it before this assignment, causing
the timeout.
Move the assignment of mAccessPointsChangedLatch to before the body of the test
to prevent this race.
Bug:
70163367
Test: runtest --path frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/WifiTrackerTest.java
Change-Id: I62c1ef9a2155ffbd08b5e07e94723b28102d1f6d
Joe Onorato [Thu, 14 Dec 2017 05:33:33 +0000 (05:33 +0000)]
Merge "Fix how we build the statsd protos."
Yao Chen [Thu, 14 Dec 2017 05:18:20 +0000 (05:18 +0000)]
Merge "Remove dead code in statsd"
TreeHugger Robot [Thu, 14 Dec 2017 04:38:56 +0000 (04:38 +0000)]
Merge "StatsdStats alerts -rename alerted_times"
TreeHugger Robot [Thu, 14 Dec 2017 04:09:55 +0000 (04:09 +0000)]
Merge "Give SliceManagerService a concept of pinned slices."
TreeHugger Robot [Thu, 14 Dec 2017 04:01:53 +0000 (04:01 +0000)]
Merge "Adding ability to control how the USB data is dumped."
Hugo Benichi [Thu, 14 Dec 2017 03:36:22 +0000 (03:36 +0000)]
Merge "Extend connectivity OWNERS" am:
64c2488056 am:
3304263594
am:
e3f872cf06 -s ours
Change-Id: If6d6d69ce6411d2974fb46a789decd4af4ff02a0
TreeHugger Robot [Thu, 14 Dec 2017 03:29:50 +0000 (03:29 +0000)]
Merge "Keyguard can be on even if not showing"
Hugo Benichi [Thu, 14 Dec 2017 03:25:36 +0000 (03:25 +0000)]
Merge "Extend connectivity OWNERS" am:
64c2488056
am:
3304263594
Change-Id: I816a15beedcfc9f200d00da7282e54992a096555
Hugo Benichi [Thu, 14 Dec 2017 03:15:04 +0000 (03:15 +0000)]
Merge "Extend connectivity OWNERS"
am:
64c2488056
Change-Id: I07622a82cac394a52f5e17a9f33e6bbbe68b61ea
Jeff Sharkey [Thu, 14 Dec 2017 03:05:05 +0000 (20:05 -0700)]
Add more IntDef prefixes for auto-documenting.
Test: builds, boots
Bug:
70177949
Exempt-From-Owner-Approval: annotation-only changes
Change-Id: I76dde6054e06f52240bd4b1a0f196dcb74623608
Yi Jin [Thu, 14 Dec 2017 03:02:03 +0000 (03:02 +0000)]
Merge "Create a new stream option which generates field name to id mapping recursively for all its submessages."
Treehugger Robot [Thu, 14 Dec 2017 02:56:40 +0000 (02:56 +0000)]
Merge "Extend connectivity OWNERS"
Jorim Jaggi [Tue, 12 Dec 2017 16:18:57 +0000 (17:18 +0100)]
Fix minor issues with new window animations.
- Fix screen rotation anim by pulling it back to DC.
- Fix surface insets by correcting at WindowState.prepareSurfaces,
and then going into the other direction in the WSA.
Test: Open PopupWindow, observe shadow is not clipping
Test: Rotate screen, ensure the animation is correct
Test: go/wm-smoke
Bug:
64674361
Change-Id: I0e0910a72aa5f06b86d4e90061e4f807fb164316
TreeHugger Robot [Thu, 14 Dec 2017 02:44:37 +0000 (02:44 +0000)]
Merge "Disable object pool for lifecycler"
Jorim Jaggi [Tue, 12 Dec 2017 01:17:10 +0000 (02:17 +0100)]
Fix possible race conditions when cancelling animations
Since the surface is being released by the SurfaceAnimator, it was
possible that SurfaceAnimationRunner was still applying surface
changes on a released surface.
Solve this by introducing a cancel-lock on which all surface
operations are synchronized on.
Bug:
64674361
Test: SurfaceAnimationRunnerTest
Change-Id: I06ee9e8270f492faa1cbfd84a09a68c9a1a09ade
Jorim Jaggi [Wed, 15 Nov 2017 13:36:26 +0000 (14:36 +0100)]
Lock free animations (2/2)
Second CL that migrates WSA to use SurfaceAnimator
We start our synchronized app transition journey by showing that
the concept works by using WindowState animations as proof of
concept.
The main class in this CL are SurfaceAnimator and
SurfaceAnimatorRunner. When we start an animation on a Window, we
create a new bufferless surface, called "The Leash", in the
hierarchy and attach the surface of WindowState onto it, while
attaching the leash onto the old surface parent which is still
responsible for z-layering.
Then, we pass off the Leash into SurfaceAnimationRunner, which then
changes the surface properties of Leash in every animation frame,
without holding the WM lock. While it's doing that we can still
update the z-layering of the window, or even relayout the window
of needed - the important surfaces for this are still under WM's
control.
In case the animation is finished the window surface gets
reparented to its original parent, and the leash is abandoned.
Note that the reparenting is done in the same transaction as
processing the animation finish, such that we don't end up with
a flicker in case of a disappearing animation, where the window
surface gets destroyed.
In case the animation needs to be cancelled, WM can revoke control
of the leash by reparenting the window surface. Even if the
cancellation signal is heavily delayed, WM immediately regains
control over the surface by reparenting it within a transaction.
We also introduce the concept of animating a WindowContainer. We
clean up isAnimating:
- isLocalAnimating: is the container itself animating
- isAnimating: is the container or one of its parents animating
- isSelfOrChildAnimating: is local animating or any child
animating.
SurfaceAnimationRunner also needs it's own thread so it's not getting
bogged down by any WM lock contention by processing regular
animation frames. We call that thread android.anim.lf (lockfree).
Now, imagine that SurfaceAnimationAnimator would sit behind an IPC in
another process and instead of animating WindowState, we'd animate
AppWindowToken. Then, synchronized app transitions would be done.
Test: go/wm-smoke
Test: SurfaceAnimatorTest
Test: SurfaceAnimationRunnerTest
Test: WindowContainerTests
Bug:
64674361
Change-Id: Idf59daa90361af57fce1128d19a0c0dbf5971d18
Benedict Wong [Thu, 14 Dec 2017 02:41:28 +0000 (02:41 +0000)]
Merge "Convert IpSecService resources to use refcounting" am:
b6ba8fd49d am:
8698b33cc2
am:
c475898995
Change-Id: Ib18839d7dff8e25898f81e877337fbb8cb24cc7b
Felipe Leme [Thu, 14 Dec 2017 02:33:32 +0000 (02:33 +0000)]
Proper autofill fix to let phone process autofill Settings activity. am:
2f58b03ea1 am:
4a8d9b628f -s ours am:
f4c26d98a6 -s ours
am:
b7664ec84c -s ours
Change-Id: I43743a438ac37859972b73611ef8083246f0112c
Joe Onorato [Sun, 19 Nov 2017 04:32:56 +0000 (20:32 -0800)]
Fix how we build the statsd protos.
This lets us include frameworks protos, and use the constants
and messages from them.
Change-Id: I609d6e524f780e6a5beea543a68561bede47813e
Test: make
Jason Monk [Thu, 14 Dec 2017 02:21:12 +0000 (02:21 +0000)]
Merge "Add AppComponentFactory API"
Benedict Wong [Thu, 14 Dec 2017 02:20:20 +0000 (02:20 +0000)]
Merge "Convert IpSecService resources to use refcounting" am:
b6ba8fd49d
am:
8698b33cc2
Change-Id: I9645df5304d7f11068d190cbdaccfe83ca0580bc
Felipe Leme [Thu, 14 Dec 2017 02:12:06 +0000 (02:12 +0000)]
Proper autofill fix to let phone process autofill Settings activity. am:
2f58b03ea1 am:
4a8d9b628f -s ours
am:
f4c26d98a6 -s ours
Change-Id: I568f64d403ef03dfec91b99dd4e0e224631b38b7
Benedict Wong [Thu, 14 Dec 2017 02:00:41 +0000 (02:00 +0000)]
Merge "Convert IpSecService resources to use refcounting"
am:
b6ba8fd49d
Change-Id: I88a67008ea88f40aff918422c085fa9add3aeba3
Felipe Leme [Thu, 14 Dec 2017 02:00:35 +0000 (02:00 +0000)]
Proper autofill fix to let phone process autofill Settings activity. am:
2f58b03ea1
am:
4a8d9b628f -s ours
Change-Id: Idecee1722d2f0cb504fb591caa0dc1609361e392
Felipe Leme [Thu, 14 Dec 2017 01:57:45 +0000 (01:57 +0000)]
Merge "Proper autofill fix to let phone process autofill Settings activity." into oc-mr1-dev am:
f2eddf8df9
am:
a30443b141 -s ours
Change-Id: Icf16062deca61f22308759512a2348b258fbc4bc
Felipe Leme [Thu, 14 Dec 2017 01:49:36 +0000 (01:49 +0000)]
Proper autofill fix to let phone process autofill Settings activity.
am:
2f58b03ea1
Change-Id: Ia167badcdb5fee60a62c9cf0932150b54180ba0b
Benedict Wong [Thu, 14 Dec 2017 01:45:15 +0000 (01:45 +0000)]
Merge "Convert IpSecService resources to use refcounting"
Felipe Leme [Thu, 14 Dec 2017 01:43:23 +0000 (01:43 +0000)]
Merge "Proper autofill fix to let phone process autofill Settings activity." into oc-mr1-dev
am:
f2eddf8df9
Change-Id: I7603e96214ca4e97985b6678cb0e75b7e36d0880
Mathieu Chartier [Tue, 12 Dec 2017 19:17:01 +0000 (11:17 -0800)]
Remove compiled classes list
No longer used.
Bug:
37966211
Test: make
Change-Id: I5a1ef82ed6d8cf771513b86960c3d1d8cf7418f9
Mohammed Khider [Thu, 14 Dec 2017 01:16:50 +0000 (01:16 +0000)]
Merge "Duty Cycling and Low Power Mode GNSS feature implementations"
TreeHugger Robot [Thu, 14 Dec 2017 01:15:51 +0000 (01:15 +0000)]
Merge "Proper autofill fix to let phone process autofill Settings activity." into oc-mr1-dev
TreeHugger Robot [Thu, 14 Dec 2017 01:10:07 +0000 (01:10 +0000)]
Merge "Fix WifiTrackerTest stopTrackingShouldRemove . . ."
TreeHugger Robot [Thu, 14 Dec 2017 01:00:15 +0000 (01:00 +0000)]
Merge changes Iff6557fc,Ie1686e82,I88972653,Iab60b4df,Ie25460e7
* changes:
Handles failure for transaction queue full
Reorganize use of error code enums
Removes setters from NanoAppInstanceInfo
Renames nanoapp instance IDs to handles in ContextHubService
Creates a NanoAppStateManager at ContextHubService
Hugo Benichi [Sat, 9 Dec 2017 03:57:41 +0000 (12:57 +0900)]
Extend connectivity OWNERS
Also remove 'build.master@android.com' which is deprecated, not
declared by anybody else, and makes the linter unhappy.
Bug:
70394432
Test: built
Merged-In: I9c0ba41386129379f82259fcc5e745562b014fae
(cherry pick from commit
626eed2ac826a34b3ac9b1d4ddb9a783222187ec)
Change-Id: Ie802113d61f693d73f7234b44ac2a9bd462b3fbf
TreeHugger Robot [Thu, 14 Dec 2017 00:43:34 +0000 (00:43 +0000)]
Merge "AAPT2: Push more configuration code into the parser"
TreeHugger Robot [Thu, 14 Dec 2017 00:31:14 +0000 (00:31 +0000)]
Merge "Use vector instead of deprecated ScopedVector"
TreeHugger Robot [Thu, 14 Dec 2017 00:17:15 +0000 (00:17 +0000)]
Merge "Remove gap applying night display and color mode"
Yao Chen [Thu, 14 Dec 2017 00:01:55 +0000 (16:01 -0800)]
Remove dead code in statsd
Remove dead code and shared lib.
And fix a bug in ValueMetricProducer
Test: statsd_test & manual
Change-Id: Ie76bfc02e14ae6a0fa9f8933751fd06397de9411
TreeHugger Robot [Thu, 14 Dec 2017 00:04:18 +0000 (00:04 +0000)]
Merge "Refactor PackageParser.collectCerts() to hide signature scheme."
Bookatz [Wed, 13 Dec 2017 23:21:57 +0000 (15:21 -0800)]
StatsdStats alerts -rename alerted_times
Renaming declared_times to alerted_times.
Test: still compiles and passes tests
Change-Id: Ib7c890a21bb91a7185c6d3a098b1bec8bd868ad5
TreeHugger Robot [Wed, 13 Dec 2017 23:53:50 +0000 (23:53 +0000)]
Merge "Import translations. DO NOT MERGE"
Philip P. Moltmann [Wed, 13 Dec 2017 23:40:20 +0000 (23:40 +0000)]
Merge "Switch to modern ArgumentMatchers"
Hugo Benichi [Wed, 13 Dec 2017 23:36:51 +0000 (23:36 +0000)]
Merge "Extend connectivity OWNERS"
Yohei Yukawa [Wed, 13 Dec 2017 23:36:41 +0000 (23:36 +0000)]
Merge "SoftInput flag requires focused View to show IME"
TreeHugger Robot [Wed, 13 Dec 2017 23:30:59 +0000 (23:30 +0000)]
Merge "Import translations. DO NOT MERGE"
Benedict Wong [Thu, 16 Nov 2017 23:27:22 +0000 (15:27 -0800)]
Convert IpSecService resources to use refcounting
This is part 2 of 2 of the refcounting refactor for IpSecService
resources.
Switched ManagedResources to use RefcountedResource structure for
managing reference counts and eventual cleanup. Further, resource arrays
and quota management have been aggregated into a UserRecord for better
isolation. UID access checking has been similarly moved into the
UserRecordTracker, and resourceId checking has been rolled into
RefcountedResourceArray's accessor methods.
Bug:
63409385
Test: CTS, all unit tests run on aosp_marlin-eng, new tests added
Change-Id: Iee52dd1c9d2583bb6bfaf65be87569e9d50a5b63
Chen Xu [Wed, 13 Dec 2017 23:20:30 +0000 (23:20 +0000)]
Merge "new carrier id APIs"
TreeHugger Robot [Wed, 13 Dec 2017 23:16:59 +0000 (23:16 +0000)]
Merge "Only create ProtoOutputStream when onGetData() is called."
TreeHugger Robot [Wed, 13 Dec 2017 22:55:15 +0000 (22:55 +0000)]
Merge "Add job ids in the sync log."
Andrii Kulian [Wed, 13 Dec 2017 22:46:43 +0000 (14:46 -0800)]
Disable object pool for lifecycler
In the case when client lives in system_server, we shouldn't
recycle the lifecycle transaction objects to the pool.
Disabled this feature for now.
Bug:
70616950
Test: Manual
Change-Id: Ib70096aa35accfeb93108f60e3cfe8440b9cd6e8
Jeff Sharkey [Wed, 13 Dec 2017 22:48:03 +0000 (22:48 +0000)]
Merge "Start accepting Executors instead of Handlers."
Ta-wei Yen [Wed, 13 Dec 2017 22:29:36 +0000 (22:29 +0000)]
Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled" am:
8244ebfc4e am:
a02bbdb8d8
am:
3d89874bb5
Change-Id: I6b1882e006a7b708c5979b4970a2ddc9be35f93b
Siarhei Vishniakou [Wed, 13 Dec 2017 21:48:50 +0000 (13:48 -0800)]
Keyguard can be on even if not showing
It is possible for keyguard to be in "restricted input" state even if
isKeyguardShowingAndNotOccluded returns false. The previous CL to
deprecate inKeyguardRestrictedInputMode has also changed the behaviour
of isKeyguardLocked. Return to the old behaviour here, but keep the API
deprecated.
Bug:
70411251
Test: 1) add Google account to phone 2) Enable google assistant and set
up active edge to trigger the assistant 3) Ensure phone is in the
always-on-display mode 4) Squeeze the phone to trigger the assistant.
Previously, the assistant would not launch. The expected behaviour is
that assistant gets launched. Without this change, display will turn on
but the assistant will not get launched.
Change-Id: Ic299f3fc223ebdc3b0f6eea97cb4a89a3142e44a
Ta-wei Yen [Wed, 13 Dec 2017 22:17:45 +0000 (22:17 +0000)]
Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled" am:
8244ebfc4e
am:
a02bbdb8d8
Change-Id: Ife2c39388ab647b0e4f5677d920da780b6eb39ca
Android Build Merger (Role) [Wed, 13 Dec 2017 22:13:03 +0000 (22:13 +0000)]
Merge "Merge "Add reference counted resources to IpSecService" am:
e11366f38a am:
adb6437fea am:
012739e9ad"
Benedict Wong [Wed, 13 Dec 2017 22:11:20 +0000 (22:11 +0000)]
Merge "Add reference counted resources to IpSecService" am:
e11366f38a am:
adb6437fea
am:
012739e9ad
Change-Id: Iae17a5d33d71e8abf24211cbf2b215520f45c619
TreeHugger Robot [Wed, 13 Dec 2017 22:09:55 +0000 (22:09 +0000)]
Merge "Add OWNERS for dreams"
Ta-wei Yen [Wed, 13 Dec 2017 22:07:17 +0000 (22:07 +0000)]
Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled"
am:
8244ebfc4e
Change-Id: Iea3c38056e17abc09af7f7d933cbb9627575d8ee
Benedict Wong [Wed, 13 Dec 2017 22:00:26 +0000 (22:00 +0000)]
Merge "Add reference counted resources to IpSecService" am:
e11366f38a
am:
adb6437fea
Change-Id: I927ac534570b3836510e0fb4feda8cf544f5a9e4
Treehugger Robot [Wed, 13 Dec 2017 21:56:12 +0000 (21:56 +0000)]
Merge "Deprecate setVoicemailRingtoneUri and setVoicemailVibrationEnabled"
Benedict Wong [Wed, 13 Dec 2017 21:50:19 +0000 (21:50 +0000)]
Merge "Add reference counted resources to IpSecService"
am:
e11366f38a
Change-Id: If218f4c241199e22e3295a5bcb049980d7949f4e
TreeHugger Robot [Wed, 13 Dec 2017 21:45:11 +0000 (21:45 +0000)]
Merge "Bug fix for device idle mode light"
gomo [Sat, 11 Nov 2017 04:35:46 +0000 (20:35 -0800)]
Duty Cycling and Low Power Mode GNSS feature implementations
Implementaion of 2 GNSS Android-P features:
- The Duty Cycling API to enable high accuracy applications development
- The Low Power Mode GNSS API to save power when indoor
Bug:
64009176
Test: Existing unit tests still pass.
Change-Id: I3ba3b86a635a54927c694fdd66a038757e843937
TreeHugger Robot [Wed, 13 Dec 2017 21:38:14 +0000 (21:38 +0000)]
Merge "Fix deadlock when fetching active voice interaction service component."
Benedict Wong [Wed, 13 Dec 2017 21:33:38 +0000 (21:33 +0000)]
Merge "Add reference counted resources to IpSecService"
TreeHugger Robot [Wed, 13 Dec 2017 21:12:32 +0000 (21:12 +0000)]
Merge "Make DevicePolicyManager.isAffiliatedUser public"
Jeff Sharkey [Wed, 13 Dec 2017 00:26:23 +0000 (17:26 -0700)]
Start accepting Executors instead of Handlers.
After discussion in API council, our new best-practices are to have
developers provide an Executor to dispatch callbacks/listeners on,
instead of the previous guidance of using a Handler.
Define Context.getMainExecutor() to easily obtain an Executor
associated with the main thread of application. This allows new
APIs to require a @NonNull Executor. Also define a new
@CallbackExecutor auto-doc annotation that explains background and
points developers at new Context method above.
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.cts.ContextTest#testMainLooper
Test: cts-tradefed run commandAndExit cts-dev -m CtsContentTestCases -t android.content.cts.ContextTest#testMainExecutor
Bug:
70348426
Change-Id: I536892bcd80fcfba1bb1ddf67648c08a26d7ddd2
Colin Cross [Wed, 13 Dec 2017 20:55:23 +0000 (20:55 +0000)]
Merge "Make services.core the final priorityboosted jar" am:
a0c1780d3c am:
93de069ec9
am:
ff6fcaec0b
Change-Id: I6ba33f829ed72ee799b4855021ba1f136ea49bd4
TreeHugger Robot [Wed, 13 Dec 2017 20:50:13 +0000 (20:50 +0000)]
Merge "SkPixelSerialize is deprecated (and unneeded in this case)"
Colin Cross [Wed, 13 Dec 2017 20:43:20 +0000 (20:43 +0000)]
Merge "Make services.core the final priorityboosted jar" am:
a0c1780d3c
am:
93de069ec9
Change-Id: Ib1a626060f2e2d617ca0b51e016cc7e06cae27d8
Julia Reynolds [Wed, 13 Dec 2017 20:35:54 +0000 (15:35 -0500)]
Add an output chooser dialog to volume panel
It shows paired bluetooth devices, filtered on major type
audio_video and uncategorized.
Test: manual
Bug:
63096355
Change-Id: I606cbd581f382752a05b4ffec7707427252ac788
Jason Monk [Thu, 16 Nov 2017 22:15:37 +0000 (17:15 -0500)]
Add AppComponentFactory API
API to allow some classloader control over instantiation of
items from application's manifest. Unlike the first attempt
this does not encourage developers to extend Application, it simply
provides a small surface to allow control over the creation of objects
like Activities, Services, Receivers, and Providers.
Test: manual
Bug:
70623879
Change-Id: Idcab7c60f54ce3f4575ac29dcdcae321cf458bf3
Paul McLean [Mon, 11 Dec 2017 15:36:41 +0000 (08:36 -0700)]
Adding ability to control how the USB data is dumped.
Also added tracing to android.UsbDevice creation.
Test: Try each dump command with CALYX Pat USB DAC & Dragonfly Red USB DAC
Change-Id: I2ec05dfa9c544d0c50ee59e3b990e9010cbe0aa0