OSDN Git Service
Doris Liu [Fri, 5 Jun 2015 00:57:30 +0000 (00:57 +0000)]
Merge "Make ListView's EdgeEffect respect the clipToPadding flag" into mnc-dev
Ben Kwa [Fri, 5 Jun 2015 00:51:53 +0000 (00:51 +0000)]
Merge "Fix drawer selection to match Material spec." into mnc-dev
Doris Liu [Thu, 4 Jun 2015 18:11:14 +0000 (11:11 -0700)]
Make ListView's EdgeEffect respect the clipToPadding flag
This CL sets the position of EdgeEffect based on whether
clipToPadding is enabled. When enabled, the EdgeEffect will be
bounded to the padding. Otherwise, it will be drawn at the view's
bounds.
Bug:
21595866
Change-Id: I3968e5b8d3a75ce2d7607e2037bc372024694d5b
Svet Ganov [Fri, 5 Jun 2015 00:49:42 +0000 (00:49 +0000)]
Merge "Update the pdfium library - framework" into mnc-dev
Clara Bayarri [Fri, 5 Jun 2015 00:40:41 +0000 (00:40 +0000)]
Merge "Separate the SelectionActionMode into Insertion and Selection." into mnc-dev
Dongwon Kang [Fri, 5 Jun 2015 00:27:01 +0000 (00:27 +0000)]
Merge "TIF: Add sanitization code for the current position" into mnc-dev
Dongwon Kang [Tue, 2 Jun 2015 06:05:33 +0000 (15:05 +0900)]
TIF: Add sanitization code for the current position
+ More documentation on the currnet position
Bug:
21573422
Change-Id: I51d184d03a61270d3ea36b36f880f1f052a99cd1
Wale Ogunwale [Fri, 5 Jun 2015 00:23:25 +0000 (00:23 +0000)]
Merge "Always have a handler for PendingIntents sent in the system process" into mnc-dev
Roozbeh Pournader [Thu, 4 Jun 2015 23:45:26 +0000 (23:45 +0000)]
Merge "Move NotoSansSymbols higher than CJK in the fallback chain." into mnc-dev
Johnson Hsieh [Thu, 4 Jun 2015 23:34:35 +0000 (23:34 +0000)]
Merge "Updates AlarmClock intent API." into mnc-dev
Ben Kwa [Thu, 4 Jun 2015 16:10:05 +0000 (09:10 -0700)]
Fix drawer selection to match Material spec.
- highlighted text changed to match the application primary color
- change highlighted background to light gray
- remove highlight icon tinting (provides insufficient contrast against
the new light gray background)
BUG=
18685226
Change-Id: I4040fa951fd2822cea324e0bd1924d10024b6a11
Yohei Yukawa [Thu, 4 Jun 2015 23:12:02 +0000 (23:12 +0000)]
Merge "Report EditorInfo#packageName based on the actual uid." into mnc-dev
Makoto Onuki [Thu, 4 Jun 2015 22:46:33 +0000 (22:46 +0000)]
Merge "Change option label from "Duplex" to "Two-sided"" into mnc-dev
Alan Viverette [Thu, 4 Jun 2015 22:41:15 +0000 (22:41 +0000)]
Merge "Manually jump ripples when preemptively aborting RT animation" into mnc-dev
Roozbeh Pournader [Thu, 4 Jun 2015 22:22:11 +0000 (15:22 -0700)]
Move NotoSansSymbols higher than CJK in the fallback chain.
This makes sure that symbol characters who have both an alternative
or "full-width" version in the CJK fonts and a more regular version
in the symbols font get the default or "half-width" version by
default in non-CJK locales.
This is not a complete fix: such "full-width" symbol characters only
exist in the Simplfied Chinese font for now, which means in
Traditional Chinese, Japanese, and Korean locales, they characters
would now appear "half-width", which *may* be sub-optimal. The
complete fix would make sure the ones that actually need to be
"full-width" in TC/J/K are also included in the TC/J/K font.
Bug:
21525318
Bug:
21525012
Bug:
21524421
Bug:
21521330
Bug:
21520316
Bug:
21518544
Bug:
21517912
Bug:
21503807
Bug:
21502245
Bug:
21501669
Bug:
21525905
Bug:
21524018
Bug:
21503952
Bug:
21502678
Change-Id: I93cf7119b45ed3c080cd39d631a687e0ef9fd8ce
Alan Viverette [Thu, 4 Jun 2015 22:33:52 +0000 (15:33 -0700)]
Manually jump ripples when preemptively aborting RT animation
Bug:
21079749
Change-Id: If79dcef59aba616c0446efc623863f563cb16250
Jorim Jaggi [Thu, 4 Jun 2015 22:30:47 +0000 (22:30 +0000)]
Merge "Speed up recents -> app #2" into mnc-dev
Jorim Jaggi [Thu, 4 Jun 2015 22:30:26 +0000 (22:30 +0000)]
Merge "Speed up recents -> app" into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 22:16:17 +0000 (22:16 +0000)]
Merge "Export KeyFactory backed by Android Keystore." into mnc-dev
Svet Ganov [Thu, 4 Jun 2015 21:49:16 +0000 (14:49 -0700)]
Update the pdfium library - framework
Change-Id: I4880e9310c02c6e26d4560fb8515f2ce51c597f4
John Reck [Thu, 4 Jun 2015 21:54:07 +0000 (21:54 +0000)]
Merge "Iterate step of launch & iterate" into mnc-dev
Jorim Jaggi [Thu, 4 Jun 2015 21:52:00 +0000 (21:52 +0000)]
Merge "Make entering recents a lot faster" into mnc-dev
Tim Kilbourn [Thu, 4 Jun 2015 21:40:14 +0000 (21:40 +0000)]
Merge "DO NOT MERGE Fix DropBoxManager.Entry parcels with fds." into mnc-dev
Yohei Yukawa [Thu, 4 Jun 2015 21:38:09 +0000 (21:38 +0000)]
Merge "Make IMMS#mSettingsObserver multiuser-aware." into mnc-dev
Tim Kilbourn [Tue, 2 Jun 2015 22:57:45 +0000 (15:57 -0700)]
DO NOT MERGE Fix DropBoxManager.Entry parcels with fds.
When the socketpair communication channel was added to
ParcelFileDescriptor, the CREATOR method for DropBoxManager.Entry was
not updated to read the extra fd from the Parcel. This was causing reads
to end too early.
Also removed comments referring to the now-deleted native methods in
the native Parcel implementation.
Change-Id: I49a9691da6ea927382ceb2fcbfdc7985a601111b
(cherry picked from commit
ba953230f71e5117d819d9e7153da8304b141695)
Paul Lawrence [Thu, 4 Jun 2015 21:32:14 +0000 (21:32 +0000)]
Merge "Move crypt commands to a different listener in vold" into mnc-dev
Pavlin Radoslavov [Thu, 4 Jun 2015 18:46:22 +0000 (11:46 -0700)]
Add a missing check for null pointer.
There is a race condition when processing intents inside
PairingCancelHandler.onReceive() that could trigger NPE.
A speculative list of events (untested) that could trigger it:
1. Trigger Pairing Cancel for a Bluetooth device.
2. Turn Off Bluetooth
This should call CachedBluetoothDeviceManager.onBluetoothStateChanged()
and should remove the device from (1) from the list of cached devices
3. BluetoothEventManager.PairincCancelHander.onReceive() receives
an intent about about Pairing Cancel event.
Within the processing of that intent, cachedDevice.getName()
is called without checking whether cachedDevice is null.
In this specific example, cachedDevice could be null because of (2)
Bug:
21368124
Change-Id: I86f5d5287b440d1d2e0fe147278b1c2257902e95
Alex Klyubin [Thu, 4 Jun 2015 21:19:36 +0000 (21:19 +0000)]
Merge "Expose RSA and ECDSA Signature from Android Keystore Provider." into mnc-dev
Makoto Onuki [Thu, 4 Jun 2015 21:17:03 +0000 (14:17 -0700)]
Change option label from "Duplex" to "Two-sided"
Bug
21640154
Change-Id: Icab4754e0aeb23fc4da178e7306f5c7a74108c22
Jeff Brown [Thu, 4 Jun 2015 21:10:57 +0000 (21:10 +0000)]
Merge changes If241e329,Ib69b6987 into mnc-dev
* changes:
Clarify docs on registerContentObserver.
Add missing docs to StateSet.
Nancy Chen [Thu, 4 Jun 2015 21:09:38 +0000 (21:09 +0000)]
Merge "Add carrier package name field to check for carrier vvm app." into mnc-dev
Vadim Tryshev [Thu, 4 Jun 2015 21:07:36 +0000 (21:07 +0000)]
Merge "Processing non-long clicks on application icon." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 21:06:11 +0000 (21:06 +0000)]
Merge "Streamline Android Keystore delete entry operation." into mnc-dev
Alex Klyubin [Thu, 4 Jun 2015 21:05:39 +0000 (21:05 +0000)]
Merge "Reliably delete keys if key generation fails." into mnc-dev
Eino-Ville Talvala [Thu, 4 Jun 2015 20:51:52 +0000 (20:51 +0000)]
Merge "Camera: Change origin of poseTranslation." into mnc-dev
Chris Craik [Thu, 4 Jun 2015 20:47:33 +0000 (20:47 +0000)]
Merge "Ensure RenderScript tracing is always balanced via try/finally" into mnc-dev
Ruben Brunk [Thu, 4 Jun 2015 20:43:15 +0000 (20:43 +0000)]
Merge "Fix CameraManager#open exception handling." into mnc-dev
Alex Klyubin [Wed, 3 Jun 2015 21:30:10 +0000 (14:30 -0700)]
Expose RSA and ECDSA Signature from Android Keystore Provider.
The RSA Signature supports PKCS#1 and PSS padding.
Bug:
18088752
Bug:
20912868
Change-Id: I03cdc86d1935af36f7c87a0b23d67f813829cfb0
Eino-Ville Talvala [Sat, 30 May 2015 00:17:04 +0000 (17:17 -0700)]
Camera: Change origin of poseTranslation.
No actual defined center for the Android sensor coordinate system
exists, so define the translation relative to the largest camera
device facing the same way.
Bug:
20123879
Change-Id: Ica33d23717c976c063c26b768af5b6148483909c
Vadim Tryshev [Thu, 4 Jun 2015 15:57:56 +0000 (08:57 -0700)]
Processing non-long clicks on application icon.
This CL alone doens't fix the whole bug, see the bug
for the AI list.
In normal mode, clicking at application icon on a task view
is ignored to avoid accidental clicks. To open app properties,
we need a long click.
In accessibility mode, we want to make it easier to open app
properties, and accidental clicks are less likely. Hence, allowing
"simple" clicks.
Bug:
20945599
Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2
Alex Klyubin [Thu, 4 Jun 2015 20:04:43 +0000 (13:04 -0700)]
Export KeyFactory backed by Android Keystore.
The KeyFactory can be used to obtain information (KeyInfo) about
Android Keystore private keys.
Bug:
18088752
Change-Id: Ied1a69928f391537de6765cef7dc7d7241cf62bb
Eino-Ville Talvala [Thu, 4 Jun 2015 20:13:39 +0000 (20:13 +0000)]
Merge "CameraManager: Ensure all public methods connect to camera service." into mnc-dev
Eino-Ville Talvala [Sun, 31 May 2015 00:56:37 +0000 (17:56 -0700)]
CameraManager: Ensure all public methods connect to camera service.
Otherwise, registerAvailabilityCallback won't actually cause caller to
receive callbacks, if no other methods on CameraManager are ever
invoked.
Bug:
21536556
Change-Id: I5cded8a59846a971d6272ac3bced44678a533165
Adam Powell [Thu, 4 Jun 2015 19:49:33 +0000 (19:49 +0000)]
Merge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev
Chad Brubaker [Thu, 4 Jun 2015 19:48:27 +0000 (19:48 +0000)]
Merge "Add optional additional entropy to finish" into mnc-dev
Clara Bayarri [Tue, 2 Jun 2015 19:03:45 +0000 (20:03 +0100)]
Separate the SelectionActionMode into Insertion and Selection.
When we got rid of the paste popup, we merged it into the Selection
ActionMode and moved all its invocations to the ActionMode. Some apps
actually want the paste popup without the Selection ActionMode, hence
separating them again allows them to cancel the one they want.
Bug:
21571422
Change-Id: I91bcd0d9c3e68d9c736698fe0bec010b4c9f5cf3
Adam Lesinski [Thu, 4 Jun 2015 19:40:32 +0000 (19:40 +0000)]
Merge "AAPT2: Change xml file parsing to DOM based" into mnc-dev
Adam Powell [Thu, 4 Jun 2015 19:38:13 +0000 (12:38 -0700)]
Make WindowInsets#hasInsets check for stable insets as well
Bug
20091509
Change-Id: Ia7dda5ab94a0904277c1078f3f73a59a735860d8
Adam Powell [Thu, 4 Jun 2015 19:36:39 +0000 (19:36 +0000)]
Merge "Add DENSITY_360" into mnc-dev
Ruben Brunk [Thu, 4 Jun 2015 02:40:22 +0000 (19:40 -0700)]
Fix CameraManager#open exception handling.
Bug:
21620938
Change-Id: I062989c5fed6f99c0566da2f56bfb6b657734a33
Amit Mahajan [Thu, 4 Jun 2015 19:17:00 +0000 (12:17 -0700)]
Fixed punctuation in comment.
Bug:
21559800
Change-Id: I47dc8e7be809cc586c307e72c7e9e11d5268cd5f
Amit Mahajan [Thu, 4 Jun 2015 19:13:52 +0000 (19:13 +0000)]
Merge "Update getVoiceMessageCount() comments." into mnc-dev
Eric Laurent [Thu, 4 Jun 2015 19:13:46 +0000 (19:13 +0000)]
Merge "Ringtone: keep a reference until playback completion." into mnc-dev
Amit Mahajan [Thu, 4 Jun 2015 19:05:18 +0000 (12:05 -0700)]
Update getVoiceMessageCount() comments.
Bug:
21559800
Change-Id: I7a737ae8a93c59391f232b5da6e3b36874126f3a
Nancy Chen [Thu, 4 Jun 2015 19:00:25 +0000 (12:00 -0700)]
Add carrier package name field to check for carrier vvm app.
The carrier's vvm app's package name will be checked so that if it is
already installed, the dialer vvm will be disabled.
Bug:
2112648e#
Change-Id: I0433037f3bc5c5a380c76a03090d61c430e47e4b
Feixiong Zhang [Thu, 4 Jun 2015 18:54:41 +0000 (18:54 +0000)]
Merge "Fix the empty reason field in connectivity change intent." into mnc-dev
Feixiong Zhang [Tue, 2 Jun 2015 01:07:58 +0000 (18:07 -0700)]
Fix the empty reason field in connectivity change intent.
The code set it to null instead of info.getReason.
Change-Id: I1b26ad040c23da7080dbfaeb5376181998115805
Adam Lesinski [Wed, 3 Jun 2015 21:54:23 +0000 (14:54 -0700)]
AAPT2: Change xml file parsing to DOM based
We modify the XML of layouts and AndroidManifest enough
that it warrants we operate on the tree in memory.
These files are never very large so this should be fine.
Change-Id: I5d597abdb3fca2a203cf7c0b40fcd926aecb3137
Alex Klyubin [Thu, 4 Jun 2015 18:36:26 +0000 (11:36 -0700)]
Streamline Android Keystore delete entry operation.
This ensures that all four entry subtypes are deleted.
Bug:
18088752
Change-Id: Ia020dbede562a123c8c81cc9449ba5ab4aac61dd
Dmitriy Ivanov [Thu, 4 Jun 2015 18:32:06 +0000 (18:32 +0000)]
Merge "Fix abi detection for system apks" into mnc-dev
Jorim Jaggi [Wed, 3 Jun 2015 00:07:39 +0000 (17:07 -0700)]
Speed up recents -> app #2
Creating the thumbnail of the header for the transition was on the
critical path for starting the activity. This moves it off this path
by doing it after onPause().
Change-Id: Ic54a104d5ad4c40e88638566a3a69cc265a0a0fe
Jorim Jaggi [Tue, 2 Jun 2015 23:29:40 +0000 (16:29 -0700)]
Speed up recents -> app
Because we created a bunch of layers, this delayed calling start
activity in the window manager. Disable these layers, as they are
not really needed.
Change-Id: I59343a92726665f72215a0699c52ead76e78a4b3
Jorim Jaggi [Tue, 2 Jun 2015 22:07:33 +0000 (15:07 -0700)]
Make entering recents a lot faster
- Precache the bitmap for the window animation in the preload phase
- Remove some post's so we have a faster path from UP -> startActivity
- Don't dim the headers in the first frame drawn, because layer
creation is slow. Instead, do it in the second frame, when the window
animation is already running.
All these changes combined make going to recents about 40-50ms faster.
Change-Id: I3e4060af1ac57b3f359fe7f86f9e3814c6490323
Dmitriy Ivanov [Mon, 1 Jun 2015 21:13:20 +0000 (14:13 -0700)]
Fix abi detection for system apks
Prebuilts open their libraries directly from apk.
Because of that abi detection is no longer as
special as it was before.
Bug:
20810492
Bug:
8076853
Change-Id: Icbd39d6062f3c1fcad2038e712b98fbdd9aa2196
Jason Monk [Thu, 4 Jun 2015 18:10:29 +0000 (18:10 +0000)]
Merge "Fix Flashlight tile animation" into mnc-dev
John Reck [Wed, 3 Jun 2015 21:42:34 +0000 (14:42 -0700)]
Iterate step of launch & iterate
Bug:
18052916
Tweaked colors, merged some categories
Reduced significance of fast frames
Increased visual weight of janky frames
Change-Id: I5b4e86164c4d51debad7de0e0f8715dda34c7a60
Paul Lawrence [Wed, 3 Jun 2015 21:14:52 +0000 (14:14 -0700)]
Move crypt commands to a different listener in vold
In order to prevent this bug from happening, we must allow vold cryptfs
commands to complete while a long running mount is underway.
While waiting for vold to be changed to a binder interface, we will simply
create two listeners, one for cryptfs and one for everything else.
Bug:
19197175
Change-Id: I8c40211dc1ef5ecec765ab587f093e757f1173d3
Johnson Hsieh [Tue, 2 Jun 2015 00:55:07 +0000 (17:55 -0700)]
Updates AlarmClock intent API.
Changes to the AlarmClock intent API based on feedback from Alarm team:
1. s/VOICE_CANCEL_ALARM/DISMISS_ALARM/g - "Cancel" is a bit unclear, so we're
changing it to "dismiss". Also, remove "VOICE_" since we should also add
support for this in multi-modal.
2. Removed DELETE_ALARM - we will likely not complete this for Android M.
3. Removed ALARM_SEARCH_MODE_NONE = "none". Instead, if
EXTRA_ALARM_SEARCH_MODE is missing (and alarm data URI is not given), then:
* If exactly one active alarm exists, it is dismissed.
* If more than one active alarm exists, the user is prompted to choose
the alarm to dismiss.
4. Add ALARM_SEARCH_MODE_LABEL, which allows searching for alarms by a
(partially) matching label.
5. Add SNOOZE_ALARM for snoozing an alarm, with optional
extra EXTRA_ALARM_SNOOZE_DURATION.
Change-Id: I39502532e54d5f0fe51a8545a4c586615f5e5e89
Alex Klyubin [Thu, 4 Jun 2015 17:42:59 +0000 (10:42 -0700)]
Reliably delete keys if key generation fails.
Bug:
18088752
Change-Id: Iea68f3f96fc872d5628f163a1314ebd080c9d39e
Adam Powell [Wed, 3 Jun 2015 22:50:48 +0000 (15:50 -0700)]
Add DENSITY_360
Add 360dpi as a supported screen density to closer match some
hardware's physical specifications. This gives a dp multiplier of
2.25.
Bug
19529059
Change-Id: Ibf9c768fba53765ea684ff228d24caf091f27a3e
Jason Monk [Thu, 4 Jun 2015 17:36:14 +0000 (13:36 -0400)]
Fix Flashlight tile animation
Don't refresh the state if its not different.
(This way setAllowAnimation won't get called when it shouldn't)
Bug:
21335624
Change-Id: Id6f8961b32d12141db5ac0bb847e4751b8a159b8
George Mount [Thu, 4 Jun 2015 17:32:52 +0000 (17:32 +0000)]
Merge "Clean up the enter transition even if there is not entering fragment." into mnc-dev
Android (Google) Code Review [Thu, 4 Jun 2015 17:30:05 +0000 (17:30 +0000)]
Merge "Don't leak windows on removal with dummy animations" into mnc-dev
George Mount [Wed, 3 Jun 2015 22:47:44 +0000 (15:47 -0700)]
Clean up the enter transition even if there is not entering fragment.
Bug
21618103
Change-Id: Id670465afd0b743f964d24d7d36d49706b459ac8
Stefan Kuhne [Wed, 3 Jun 2015 21:45:26 +0000 (14:45 -0700)]
Don't leak windows on removal with dummy animations
Dummy animations might never end. Do not hold a window removal
for it.
Bug:
21403998
Change-Id: Ie907d31f51e130e245a70249a983d490f3d42b21
Alan Viverette [Thu, 4 Jun 2015 17:19:25 +0000 (17:19 +0000)]
Merge "Revert "Synchronize selected item data on-demand after data set invalidation"" into mnc-dev
Alan Viverette [Thu, 4 Jun 2015 17:18:34 +0000 (17:18 +0000)]
Revert "Synchronize selected item data on-demand after data set invalidation"
This CL was a can of worms. More extensive changes are
needed to decouple AdapterView state from measure/layout
passes.
This reverts commit
abed07f6c0186e16e1c8e8aaceaf8cf961695c66.
Change-Id: I4e4e01692a1f660a04e9dfd16db882f13c3d0b94
Abodunrinwa Toki [Thu, 4 Jun 2015 17:09:09 +0000 (17:09 +0000)]
Merge "Also refresh FloatingToolbar for "icon" menu item changes." into mnc-dev
Chad Brubaker [Fri, 29 May 2015 19:32:51 +0000 (12:32 -0700)]
Add optional additional entropy to finish
If provided the extra entropy will be added to the device before calling
finish. If entropy is provided and the device does not support supplying
additional entropy then finish will fail with KM_ERROR_UNIMPLEMENTED.
(cherry-picked from commit
9ce30624a448f439e19960d0dd88103c04676e7d)
Change-Id: If26be118bf382604f6f8e96e833b76e6f9e94d58
Dianne Hackborn [Thu, 4 Jun 2015 16:56:39 +0000 (16:56 +0000)]
Merge "More API changes." into mnc-dev
Alan Viverette [Thu, 4 Jun 2015 16:55:56 +0000 (16:55 +0000)]
Merge "Prevent poorly-extended ParcelableSpans from writing to parcels" into mnc-dev
Yorke Lee [Thu, 4 Jun 2015 16:34:53 +0000 (16:34 +0000)]
Merge changes Ia219ff78,I3fd52525 into mnc-dev
* changes:
Add phone permissions to Shell
Add adb shell command to register/unregister phone accounts
Eric Laurent [Thu, 4 Jun 2015 01:54:41 +0000 (18:54 -0700)]
Ringtone: keep a reference until playback completion.
Keep a reference on active Ringtones to avoid garbage collection
before playback is complete.
Bug:
11366759.
Change-Id: Icb04da427c20e0b4657e9e8b13b3ecab98e5a333
Selim Cinek [Wed, 3 Jun 2015 14:56:13 +0000 (16:56 +0200)]
Enabled expansion and dragging down when QS is expanded
Previously going to the full shade and expanding notifications
where disabled when QS was expanded even though there was enough
space to allow it. This is now allowed again in order to have
a consistent experience.
Bug:
19712809
Change-Id: Ie756d9c3fbf9dc2e60a05d02f0f4cc5dd6c7ebe0
Selim Cinek [Wed, 3 Jun 2015 13:32:16 +0000 (15:32 +0200)]
Moved the circle finishing animation to the RenderThread
Now the preview clipper animation and our own circle drawing
are in sync again when launching an affordance!
Bug:
21440634
Change-Id: I96cda04926fb9ae62db6690ddebaf73df38e9ca9
Selim Cinek [Wed, 3 Jun 2015 12:11:03 +0000 (14:11 +0200)]
Fixed layer trashing when opening / closing the shade
Bug:
21445574
Change-Id: I67ed5f28581a366a4fa7fdc6355371c1fdd0dac3
Selim Cinek [Tue, 2 Jun 2015 17:58:09 +0000 (19:58 +0200)]
Fixed the touch handling when QS was open
When QS was open, the panel could not always be correctly
scrolled.
Bug:
21525300
Change-Id: If18878d08d20254d9d822d80a295163703d897aa
Wale Ogunwale [Tue, 2 Jun 2015 20:41:00 +0000 (13:41 -0700)]
Always have a handler for PendingIntents sent in the system process
It is possible for deadlocks to occur when sending/processing
PendingIntents due to components like AMS holding global service
locks when dispatching the broadcast without specifying an
handler and the receiver calling back into AMS.
We now set a default handler to process the broadcast on if we
are in the system process and a handler wasn't specified.
Bug:
19502993
Change-Id: Iccde32c6c1df997784155bc41ef39e52ee0f7243
Selim Cinek [Thu, 4 Jun 2015 13:50:10 +0000 (13:50 +0000)]
Merge "Added logging to debug empty keyguard state" into mnc-dev
Selim Cinek [Thu, 4 Jun 2015 13:48:32 +0000 (13:48 +0000)]
Merge "Increased the touch target size for the keyboard affordances" into mnc-dev
Selim Cinek [Tue, 2 Jun 2015 14:02:41 +0000 (16:02 +0200)]
Added logging to debug empty keyguard state
Bug:
21124013
Change-Id: Icdc085e993aae073ed7c42333f49644624971787
Paul Jensen [Thu, 4 Jun 2015 13:11:32 +0000 (13:11 +0000)]
Merge "Revive ConnectivityServiceTest and add some tests." into mnc-dev
Paul Jensen [Wed, 13 May 2015 18:05:12 +0000 (14:05 -0400)]
Revive ConnectivityServiceTest and add some tests.
Change-Id: I44740a7b21cff18ac2a67d09c4d0e597add19ee0
Lorenzo Colitti [Thu, 4 Jun 2015 13:00:46 +0000 (13:00 +0000)]
Merge "Actually close sockets when stopping the receive thread." into mnc-dev
Narayan Kamath [Mon, 11 May 2015 12:35:59 +0000 (13:35 +0100)]
Don't compile all splits when installing one.
This patch consists of two broad changes :
- don't "force" dex2oat when installing a new app. this should never
be necessary because we will always compare checksums.
- when staging a new install, we "inherit" (hard link) all compiled
oat files from the previous install. this will ensure that we compile
only those files that have changed, and not all of them
bug:
20889739
Change-Id: I3e14335f3bcfe76d1d24d233f53a728a6d90e8a1
Lorenzo Colitti [Thu, 4 Jun 2015 07:53:25 +0000 (16:53 +0900)]
Actually close sockets when stopping the receive thread.
Contrary to the expectations of the code, IoUtils.closeQuietly()
does not unblock system calls. So mReceiveThread.halt() was not
actually stopping the receive thread.
This wasn't actually a problem, because after "stopping" the
receive thread, either the interface would go down (interrupting
the previous receive thread with ENETDOWN), or a packet would
arrive to both the old and new receive threads, stopping the
old one. But the lack of a "stopping receive thread" message at
the expected time was confusing.
While I'm at it, also add the string for CMD_TIMEOUT.
Bug:
19704592
Change-Id: I74732429118af780453028898148519b294fa9d3
Yohei Yukawa [Thu, 4 Jun 2015 07:58:59 +0000 (00:58 -0700)]
Make IMMS#mSettingsObserver multiuser-aware.
It turns out that IMMS#SettingsObserver has monitored
only main user's the secure settings. As a result, when the
secondary user changes enabled IMEs in the settigs app,
IMMS only updates internal enabled IME lists only when
the user is switched for secondary users. If a secondary
user enables or disables IMEs at the settings app, such
changes are not correctly notified to IMMS.
This CL addresses above inconsistency by explicitly
specifying the user ID when calling
ContentResolver#registerContentObserver().
This CL also allows dumpsys to contain internal state of
IMMS#mSettingsObserver in case we need to diagnose
problems only with bugreports.
Bug:
19340792
Bug:
19587437
Bug:
21612582
Change-Id: I34b437928c147e9fdbe935f725624cc97c816cb3
Yohei Yukawa [Thu, 4 Jun 2015 08:06:08 +0000 (08:06 +0000)]
Merge "Include InputMethodSubtypeSwitchingController in state dump." into mnc-dev
Yohei Yukawa [Thu, 4 Jun 2015 08:05:04 +0000 (08:05 +0000)]
Merge "Show more logs when switching users and IMMS#DEBUG==true." into mnc-dev
The Android Automerger [Thu, 4 Jun 2015 08:02:31 +0000 (01:02 -0700)]
merge in mnc-release history after reset to mnc-dev