OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "DO NOT MERGE Fix DropBoxManager.Entry parcels with fds." 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

9 years agoMerge "Make IMMS#mSettingsObserver multiuser-aware." 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

9 years agoDO NOT MERGE Fix DropBoxManager.Entry parcels with fds.
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)

9 years agoMerge "Move crypt commands to a different listener in vold" into mnc-dev
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

9 years agoAdd a missing check for null pointer.
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

9 years agoMerge "Expose RSA and ECDSA Signature from Android Keystore Provider." into mnc-dev
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

9 years agoMerge changes If241e329,Ib69b6987 into mnc-dev
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.

9 years agoMerge "Add carrier package name field to check for carrier vvm app." into mnc-dev
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

9 years agoMerge "Processing non-long clicks on application icon." 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

9 years agoMerge "Streamline Android Keystore delete entry operation." 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

9 years agoMerge "Reliably delete keys if key generation fails." 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

9 years agoMerge "Camera: Change origin of poseTranslation." 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

9 years agoMerge "Ensure RenderScript tracing is always balanced via try/finally" 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

9 years agoMerge "Fix CameraManager#open exception handling." 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

9 years agoExpose RSA and ECDSA Signature from Android Keystore Provider.
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

9 years agoCamera: Change origin of poseTranslation.
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

9 years agoProcessing non-long clicks on application icon.
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

9 years agoMerge "CameraManager: Ensure all public methods connect to camera service." into...
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

9 years agoCameraManager: Ensure all public methods connect to camera service.
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

9 years agoMerge "Make WindowInsets#hasInsets check for stable insets as well" into mnc-dev
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

9 years agoMerge "Add optional additional entropy to finish" 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

9 years agoMerge "AAPT2: Change xml file parsing to DOM based" into mnc-dev
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

9 years agoMake WindowInsets#hasInsets check for stable insets as well
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

9 years agoMerge "Add DENSITY_360" into mnc-dev
Adam Powell [Thu, 4 Jun 2015 19:36:39 +0000 (19:36 +0000)]
Merge "Add DENSITY_360" into mnc-dev

9 years agoFix CameraManager#open exception handling.
Ruben Brunk [Thu, 4 Jun 2015 02:40:22 +0000 (19:40 -0700)]
Fix CameraManager#open exception handling.

Bug: 21620938
Change-Id: I062989c5fed6f99c0566da2f56bfb6b657734a33

9 years agoFixed punctuation in comment.
Amit Mahajan [Thu, 4 Jun 2015 19:17:00 +0000 (12:17 -0700)]
Fixed punctuation in comment.

Bug: 21559800
Change-Id: I47dc8e7be809cc586c307e72c7e9e11d5268cd5f

9 years agoMerge "Update getVoiceMessageCount() comments." into mnc-dev
Amit Mahajan [Thu, 4 Jun 2015 19:13:52 +0000 (19:13 +0000)]
Merge "Update getVoiceMessageCount() comments." into mnc-dev

9 years agoMerge "Ringtone: keep a reference until playback completion." 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

9 years agoUpdate getVoiceMessageCount() comments.
Amit Mahajan [Thu, 4 Jun 2015 19:05:18 +0000 (12:05 -0700)]
Update getVoiceMessageCount() comments.

Bug: 21559800
Change-Id: I7a737ae8a93c59391f232b5da6e3b36874126f3a

9 years agoAdd carrier package name field to check for carrier vvm app.
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

9 years agoMerge "Fix the empty reason field in connectivity change intent." into mnc-dev
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

9 years agoFix the empty reason field in connectivity change intent.
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

9 years agoAAPT2: Change xml file parsing to DOM based
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

9 years agoStreamline Android Keystore delete entry operation.
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

9 years agoMerge "Fix abi detection for system apks" into mnc-dev
Dmitriy Ivanov [Thu, 4 Jun 2015 18:32:06 +0000 (18:32 +0000)]
Merge "Fix abi detection for system apks" into mnc-dev

9 years agoFix abi detection for system apks
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

9 years agoMerge "Fix Flashlight tile animation" into mnc-dev
Jason Monk [Thu, 4 Jun 2015 18:10:29 +0000 (18:10 +0000)]
Merge "Fix Flashlight tile animation" into mnc-dev

9 years agoMove crypt commands to a different listener in vold
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

9 years agoReliably delete keys if key generation fails.
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

9 years agoAdd DENSITY_360
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

9 years agoFix Flashlight tile animation
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

9 years agoMerge "Clean up the enter transition even if there is not entering fragment." into...
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

9 years agoMerge "Don't leak windows on removal with dummy animations" 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

9 years agoClean up the enter transition even if there is not entering fragment.
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

9 years agoDon't leak windows on removal with dummy animations
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

9 years agoMerge "Revert "Synchronize selected item data on-demand after data set invalidation...
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

9 years agoRevert "Synchronize selected item data on-demand after data set invalidation"
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

9 years agoMerge "Also refresh FloatingToolbar for "icon" menu item changes." into mnc-dev
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

9 years agoAdd optional additional entropy to finish
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

9 years agoMerge "More API changes." into mnc-dev
Dianne Hackborn [Thu, 4 Jun 2015 16:56:39 +0000 (16:56 +0000)]
Merge "More API changes." into mnc-dev

9 years agoMerge "Prevent poorly-extended ParcelableSpans from writing to parcels" 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

9 years agoMerge changes Ia219ff78,I3fd52525 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

9 years agoRingtone: keep a reference until playback completion.
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

9 years agoEnabled expansion and dragging down when QS is expanded
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

9 years agoMoved the circle finishing animation to the RenderThread
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

9 years agoFixed layer trashing when opening / closing the shade
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

9 years agoFixed the touch handling when QS was open
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

9 years agoMerge "Added logging to debug empty keyguard state" into mnc-dev
Selim Cinek [Thu, 4 Jun 2015 13:50:10 +0000 (13:50 +0000)]
Merge "Added logging to debug empty keyguard state" into mnc-dev

9 years agoMerge "Increased the touch target size for the keyboard affordances" 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

9 years agoAdded logging to debug empty keyguard state
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

9 years agoMerge "Revive ConnectivityServiceTest and add some tests." into mnc-dev
Paul Jensen [Thu, 4 Jun 2015 13:11:32 +0000 (13:11 +0000)]
Merge "Revive ConnectivityServiceTest and add some tests." into mnc-dev

9 years agoRevive ConnectivityServiceTest and add some tests.
Paul Jensen [Wed, 13 May 2015 18:05:12 +0000 (14:05 -0400)]
Revive ConnectivityServiceTest and add some tests.

Change-Id: I44740a7b21cff18ac2a67d09c4d0e597add19ee0

9 years agoMerge "Actually close sockets when stopping the receive thread." into mnc-dev
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

9 years agoDon't compile all splits when installing one.
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

9 years agoActually close sockets when stopping the receive thread.
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

9 years agoMake IMMS#mSettingsObserver multiuser-aware.
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

9 years agoMerge "Include InputMethodSubtypeSwitchingController in state dump." into mnc-dev
Yohei Yukawa [Thu, 4 Jun 2015 08:06:08 +0000 (08:06 +0000)]
Merge "Include InputMethodSubtypeSwitchingController in state dump." into mnc-dev

9 years agoMerge "Show more logs when switching users and IMMS#DEBUG==true." 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

9 years agoMerge "Actually fall back from yiaddr to ciaddr." into mnc-dev
Lorenzo Colitti [Thu, 4 Jun 2015 08:00:39 +0000 (08:00 +0000)]
Merge "Actually fall back from yiaddr to ciaddr." into mnc-dev

9 years agoInclude InputMethodSubtypeSwitchingController in state dump.
Yohei Yukawa [Thu, 4 Jun 2015 06:56:12 +0000 (23:56 -0700)]
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

9 years agoShow more logs when switching users and IMMS#DEBUG==true.
Yohei Yukawa [Thu, 4 Jun 2015 06:50:27 +0000 (23:50 -0700)]
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

9 years agoMerge "Stop offering "Replace..." when there are no suggestions." into mnc-dev
Keisuke Kuroyanagi [Thu, 4 Jun 2015 06:06:48 +0000 (06:06 +0000)]
Merge "Stop offering "Replace..." when there are no suggestions." into mnc-dev

9 years agoActually fall back from yiaddr to ciaddr.
Lorenzo Colitti [Tue, 2 Jun 2015 08:46:24 +0000 (17:46 +0900)]
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

9 years agoMerge "Make RenewingState time out as well." into mnc-dev
Lorenzo Colitti [Thu, 4 Jun 2015 05:42:21 +0000 (05:42 +0000)]
Merge "Make RenewingState time out as well." into mnc-dev

9 years agoMerge "Disable mDefaultDns to see if we can remove it." into mnc-dev
Lorenzo Colitti [Thu, 4 Jun 2015 05:31:56 +0000 (05:31 +0000)]
Merge "Disable mDefaultDns to see if we can remove it." into mnc-dev

9 years agoMerge "FastJNI for android.os.Trace" into mnc-dev
Chris Craik [Thu, 4 Jun 2015 02:42:50 +0000 (02:42 +0000)]
Merge "FastJNI for android.os.Trace" into mnc-dev

9 years agoMerge "Make node retrieval methods in AccessibilityManagerService use separate Region...
Svetoslav Ganov [Thu, 4 Jun 2015 02:20:36 +0000 (02:20 +0000)]
Merge "Make node retrieval methods in AccessibilityManagerService use separate Region instances to make them thread safe." into mnc-dev

9 years agoMake node retrieval methods in AccessibilityManagerService use separate Region instan...
Nirmal Patel [Wed, 3 Jun 2015 01:11:32 +0000 (18:11 -0700)]
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)

9 years agoMerge "Camera2: add high speed video APIs" into mnc-dev
Zhijun He [Thu, 4 Jun 2015 01:58:30 +0000 (01:58 +0000)]
Merge "Camera2: add high speed video APIs" into mnc-dev

9 years agoMerge "camera_metadata: update high speed video recording API" into mnc-dev
Zhijun He [Thu, 4 Jun 2015 01:58:09 +0000 (01:58 +0000)]
Merge "camera_metadata: update high speed video recording API" into mnc-dev

9 years agoRemove trivial GScan logs
Vinit Deshpande [Thu, 4 Jun 2015 01:00:38 +0000 (18:00 -0700)]
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

9 years agoBe more conservative about initial keyguard state
Adrian Roos [Thu, 4 Jun 2015 00:06:46 +0000 (17:06 -0700)]
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

9 years agoCamera2: add high speed video APIs
Zhijun He [Thu, 28 May 2015 19:51:52 +0000 (12:51 -0700)]
Camera2: add high speed video APIs

Interface only.

Bug: 21442271
Change-Id: If81caa0f2dc9f7802af564abcd9541aff3e30901

9 years agoMerge "Wait for KEY_SLEEP UP event before calling goToSleep()" into mnc-dev
Nick Vaccaro [Thu, 4 Jun 2015 00:48:42 +0000 (00:48 +0000)]
Merge "Wait for KEY_SLEEP UP event before calling goToSleep()" into mnc-dev

9 years agoMerge "Allow packagemanager checks for secondary user packages" into mnc-dev
Amith Yamasani [Thu, 4 Jun 2015 00:45:52 +0000 (00:45 +0000)]
Merge "Allow packagemanager checks for secondary user packages" into mnc-dev

9 years agocamera_metadata: update high speed video recording API
Zhijun He [Wed, 27 May 2015 02:46:31 +0000 (19:46 -0700)]
camera_metadata: update high speed video recording API

Update high speed video recording API to support batch mode recording.

Bug: 21442271
Change-Id: I62de6067c75fcfbe6320dd987cce65843d810021

9 years agoAllow packagemanager checks for secondary user packages
Amith Yamasani [Thu, 4 Jun 2015 00:39:40 +0000 (17:39 -0700)]
Allow packagemanager checks for secondary user packages

Clear calling identity when calling into package manager for
package info.

Bug: 21613139
Change-Id: I0655122f69cc886a395b7195d108222697769b06

9 years agoMerge "Fix floating toolbar position issues." into mnc-dev
Abodunrinwa Toki [Thu, 4 Jun 2015 00:10:41 +0000 (00:10 +0000)]
Merge "Fix floating toolbar position issues." into mnc-dev

9 years agoMerge "Fixed outOfBoundsException when logging discarded receiver." into mnc-dev
Wale Ogunwale [Thu, 4 Jun 2015 00:01:50 +0000 (00:01 +0000)]
Merge "Fixed outOfBoundsException when logging discarded receiver." into mnc-dev

9 years agoMerge "Fix drop down layout inflation in ThemedSpinnerAdapter classes" into mnc-dev
Alan Viverette [Wed, 3 Jun 2015 23:48:40 +0000 (23:48 +0000)]
Merge "Fix drop down layout inflation in ThemedSpinnerAdapter classes" into mnc-dev

9 years agoPrevent windows below the keyguard from showing
Adrian Roos [Wed, 3 Jun 2015 21:41:18 +0000 (14:41 -0700)]
Prevent windows below the keyguard from showing

Fixes a bug where windows below the lock screen
could become visible if a SHOW_WHEN_LOCKED activity
hides the status bar.

Bug: 21450145
Change-Id: Ie660394cb96d7e6839bd4fb7c2729133bac2dfc5

9 years agoMerge "Update number picker styling for Material" into mnc-dev
Alan Viverette [Wed, 3 Jun 2015 23:34:56 +0000 (23:34 +0000)]
Merge "Update number picker styling for Material" into mnc-dev

9 years agoMerge "Synchronize selected item data on-demand after data set invalidation" into...
Alan Viverette [Wed, 3 Jun 2015 23:29:05 +0000 (23:29 +0000)]
Merge "Synchronize selected item data on-demand after data set invalidation" into mnc-dev

9 years agoFix drop down layout inflation in ThemedSpinnerAdapter classes
Alan Viverette [Wed, 3 Jun 2015 23:27:36 +0000 (16:27 -0700)]
Fix drop down layout inflation in ThemedSpinnerAdapter classes

Bug: 21209640
Change-Id: I32aed1b70977fae25f43714eb3ef6edca53e51e9

9 years agoMerge "Pass setEnabled() value in calendar-mode DatePicker delegate" into mnc-dev
Alan Viverette [Wed, 3 Jun 2015 23:19:53 +0000 (23:19 +0000)]
Merge "Pass setEnabled() value in calendar-mode DatePicker delegate" into mnc-dev

9 years agoMerge "Rename setTextDir to setTextDirection" into mnc-dev
Raph Levien [Wed, 3 Jun 2015 23:09:47 +0000 (23:09 +0000)]
Merge "Rename setTextDir to setTextDirection" into mnc-dev

9 years agoMerge "Fix view foreground tinting" into mnc-dev
Adam Powell [Wed, 3 Jun 2015 22:52:40 +0000 (22:52 +0000)]
Merge "Fix view foreground tinting" into mnc-dev

9 years agoAdd phone permissions to Shell
Yorke Lee [Wed, 3 Jun 2015 21:15:42 +0000 (14:15 -0700)]
Add phone permissions to Shell

These are needed for adb shell telecom commands to work on
non-eng builds.

Also fix a couple of typos in telecom documentation.

Change-Id: Ia219ff78f5d65878e43e6b9216f979185495ce7f

9 years agoMerge "Adding missing permission API to fragment" into mnc-dev
Svetoslav [Wed, 3 Jun 2015 22:44:46 +0000 (22:44 +0000)]
Merge "Adding missing permission API to fragment" into mnc-dev

9 years agoAdding missing permission API to fragment
Svetoslav [Wed, 3 Jun 2015 22:43:59 +0000 (15:43 -0700)]
Adding missing permission API to fragment

Change-Id: I90309a23a08a82f0ab93eb4f6185db09e035aac1