194285 Commits

Author SHA1 Message Date
Abodunrinwa Toki
2fe44efced Merge "Also refresh FloatingToolbar for "icon" menu item changes." into mnc-dev 2015-06-04 17:09:11 +00:00
Chad Brubaker
8a07701f38 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
2015-06-04 10:06:00 -07:00
Dianne Hackborn
b0a5e78fc0 Merge "More API changes." into mnc-dev 2015-06-04 16:56:52 +00:00
Alan Viverette
5299968517 Merge "Prevent poorly-extended ParcelableSpans from writing to parcels" into mnc-dev 2015-06-04 16:55:57 +00:00
Selim Cinek
90975e38dd Removed Log message when expanding from HUN
Bug: 20828502
Change-Id: I116afbebe6e6042bb7939892a8ba516d06ba911d
2015-06-04 18:43:58 +02:00
Yorke Lee
13d6e4b33b Merge changes Ia219ff78,I3fd52525 into mnc-dev
* changes:
  Add phone permissions to Shell
  Add adb shell command to register/unregister phone accounts
2015-06-04 16:34:55 +00:00
Eric Laurent
203b411dee 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
2015-06-04 09:29:45 -07:00
Selim Cinek
dfa2f73602 Removed the arrow from the hint animation
Bug: 21513932
Change-Id: I741343c91a4c92d7f53cb673f60a57e733156521
2015-06-04 16:23:53 +00:00
Selim Cinek
cb9400aa23 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
2015-06-04 15:38:29 +00:00
Selim Cinek
72bcaa20af 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
2015-06-04 15:31:40 +00:00
Selim Cinek
bbc580b0bf Fixed layer trashing when opening / closing the shade
Bug: 21445574
Change-Id: I67ed5f28581a366a4fa7fdc6355371c1fdd0dac3
2015-06-04 15:30:55 +00:00
Selim Cinek
04fb25871d 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
2015-06-04 15:28:17 +00:00
Selim Cinek
b18a20f13c Fixed a bug with HUNS and dreams
When a notification came in dreamMode and would become a HUN
we were firing its fullscreen intent imediatelly. If that notification
got updated again a moment later, it would also show an additional
HUN even though we just launched the fullscreen intent. This is very
troublesome to handle on the app level, as the notification state
is the same. We are now introducing a cooldown for HUNs when it just
launched a fullscreen intent.

Bug: 19377091
Change-Id: Ib32341c8983f0e977354432ea8d8e98909a13829
2015-06-04 17:08:35 +02:00
Wale Ogunwale
9a6ef1e94c 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
2015-06-04 07:58:24 -07:00
Selim Cinek
18d669dc59 Merge "Added logging to debug empty keyguard state" into mnc-dev 2015-06-04 13:50:12 +00:00
Selim Cinek
6ef21fa1c2 Merge "Increased the touch target size for the keyboard affordances" into mnc-dev 2015-06-04 13:48:34 +00:00
Selim Cinek
6a1bd2b3db Added logging to debug empty keyguard state
Bug: 21124013
Change-Id: Icdc085e993aae073ed7c42333f49644624971787
2015-06-04 13:47:03 +00:00
Zoltan Szatmary-Ban
df70dcee68 Replace renamed reference to NetworkStats in javadoc
Bug: 21572680
Change-Id: Iad43af4d8a6d178f3396f23a74f1568e6faed311
2015-06-04 14:15:47 +01:00
Paul Jensen
577d79b556 Merge "Revive ConnectivityServiceTest and add some tests." into mnc-dev 2015-06-04 13:11:34 +00:00
Paul Jensen
d7b6ca91e9 Revive ConnectivityServiceTest and add some tests.
Change-Id: I44740a7b21cff18ac2a67d09c4d0e597add19ee0
2015-06-04 09:09:36 -04:00
Lorenzo Colitti
597d3e59fe Merge "Actually close sockets when stopping the receive thread." into mnc-dev 2015-06-04 13:00:50 +00:00
Narayan Kamath
cd1fc1465b 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
2015-06-04 12:35:54 +01:00
Lorenzo Colitti
be843e8394 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
2015-06-04 20:07:14 +09:00
Yohei Yukawa
8148297143 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
2015-06-04 01:55:22 -07:00
Yohei Yukawa
cc71518aef Merge "Include InputMethodSubtypeSwitchingController in state dump." into mnc-dev 2015-06-04 08:06:10 +00:00
Yohei Yukawa
1d283bf269 Merge "Show more logs when switching users and IMMS#DEBUG==true." into mnc-dev 2015-06-04 08:05:05 +00:00
The Android Automerger
658807a801 merge in mnc-release history after reset to mnc-dev 2015-06-04 01:02:31 -07:00
Lorenzo Colitti
b988a080ae Merge "Actually fall back from yiaddr to ciaddr." into mnc-dev 2015-06-04 08:00:42 +00:00
Yohei Yukawa
d724886cc1 Include InputMethodSubtypeSwitchingController in state dump.
In order to diagnose IME issues in multi-user / multi-profile
environment, internal state of
InputMethodSubtypeSwitchingController needs to be included in
the bugreport.

Bug: 19340792
Bug: 19587437
Bug: 21612582
Change-Id: I34aca2c1a4330ec08b5e40441e631809a8bb844e
2015-06-04 00:13:50 -07:00
Yohei Yukawa
90bf7084bf Show more logs when switching users and IMMS#DEBUG==true.
This CL changes nothing but adds more logging points in IMMS when
switching users and IMMS#DEBUG==true.

No impact in production code.

Bug: 19340792
Bug: 19587437
Bug: 21612582
Change-Id: Ibaeb77ae50d246fc322cb023da7750d7415a58ab
2015-06-03 23:50:27 -07:00
Keisuke Kuroyanagi
4186b1d4d8 Merge "Stop offering "Replace..." when there are no suggestions." into mnc-dev 2015-06-04 06:06:52 +00:00
Lorenzo Colitti
f68edb1611 Actually fall back from yiaddr to ciaddr.
The initial implementation of toDhcpResults attempted to get the
leased IP address from ciaddr if yiaddr was 0.0.0.0, but it never
actually did so because a) it used == instead of equals(), and b)
the parsing code never populated mClientIp for a DhcpOfferPacket
or DhcpAckPacket.

Fix this and add a test for it.. Technically DHCP does not use
ciaddr (only bootp uses it), but in 5.0 we would use ciaddr if
yiaddr was 0.0.0.0 and a bit more compatibility shouldn't hurt.

Bug: 19704592
Change-Id: I1f58555f0c10b9c576995a6edb759a83d8938ea0
2015-06-04 14:57:11 +09:00
Lorenzo Colitti
2b885195cd Merge "Make RenewingState time out as well." into mnc-dev 2015-06-04 05:42:24 +00:00
Justin Harrison
6715ef754a am 4f2927d2: am 0eeb3bb8: am 33aa55b1: am 127d0b80: Merge "Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""" into lmp-mr1-dev
* commit '4f2927d22415b9a38f34645ae7909592d574c170':
  Revert "Revert "During early boot, send LOCALE_CHANGED only to registered receivers""
2015-06-04 05:33:03 +00:00
Justin Harrison
95be178daf am c4d7c826: am f8c2ffef: am c8fd50b1: am 29b98884: Merge "Revert "During early boot, send LOCALE_CHANGED only to registered receivers"" into lmp-mr1-dev
* commit 'c4d7c826486868e31bacfe2265b96af1ff3115ea':
  Revert "During early boot, send LOCALE_CHANGED only to registered receivers"
2015-06-04 05:32:58 +00:00
Lorenzo Colitti
76f087502d Merge "Disable mDefaultDns to see if we can remove it." into mnc-dev 2015-06-04 05:31:59 +00:00
Chris Craik
f1bbdf5182 Merge "FastJNI for android.os.Trace" into mnc-dev 2015-06-04 02:42:52 +00:00
Svetoslav Ganov
b387647439 Merge "Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe." into mnc-dev 2015-06-04 02:21:09 +00:00
Nirmal Patel
386a824384 Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe.
b/21087793

Change-Id: Ice690e3d7494788fb9e1e234a54f14831bd4e0d3
(cherry picked from commit ebd8eb4610d6bb9322a374f8965a78ba1c39ee63)
2015-06-03 19:18:00 -07:00
Zhijun He
b7c3e931cd Merge "Camera2: add high speed video APIs" into mnc-dev 2015-06-04 01:58:32 +00:00
Zhijun He
b3c27b184a Merge "camera_metadata: update high speed video recording API" into mnc-dev 2015-06-04 01:58:11 +00:00
Vinit Deshpande
ed10e29cfb Remove trivial GScan logs
These helped once; but now this is just noise. Also
given that GMSCore starts/stops scans many times it is
taking too much of log real estate.

Bug: 20416721

Change-Id: I965ed919afbac56e123e8d019be84d7d33abf3f9
2015-06-03 18:49:58 -07:00
Adrian Roos
02a28885bf Be more conservative about initial keyguard state
Prevents a race condition that could lead to leaking the home screen
if Keyguard is too slow at pushing its state to the window manager while
booting.

Bug: 21128921
Change-Id: I992066c2c4e1bc4f797776c7804408a53b658b03
2015-06-04 01:15:53 +00:00
Zhijun He
b1300e39c7 Camera2: add high speed video APIs
Interface only.

Bug: 21442271
Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901
2015-06-03 17:50:22 -07:00
Nick Vaccaro
d516915740 Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into mnc-dev 2015-06-04 00:49:25 +00:00
Amith Yamasani
fcf2b54ded Merge "Allow packagemanager checks for secondary user packages" into mnc-dev 2015-06-04 00:46:03 +00:00
Zhijun He
fab663ebfd camera_metadata: update high speed video recording API
Update high speed video recording API to support batch mode recording.

Bug: 21442271
Change-Id: I62de6067c75fcfbe6320dd987cce65843d810021
2015-06-03 17:45:48 -07:00
Amith Yamasani
e736001af9 Allow packagemanager checks for secondary user packages
Clear calling identity when calling into package manager for
package info.

Bug: 21613139
Change-Id: I0655122f69cc886a395b7195d108222697769b06
2015-06-03 17:39:40 -07:00
Rich Slogar
34bebb0440 am 16293cf5: Merge "docs: studio 1.2.2.0 updates" into mnc-preview-docs
* commit '16293cf5f493df47a51a75051cf29532ed9b69eb':
  docs: studio 1.2.2.0 updates
2015-06-04 00:37:33 +00:00
Rich Slogar
16293cf5f4 Merge "docs: studio 1.2.2.0 updates" into mnc-preview-docs 2015-06-04 00:26:27 +00:00