OSDN Git Service

android-x86/frameworks-base.git
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 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 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 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 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 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

9 years agoMerge "Fix Floating tool bar covers text during long press + drag" into mnc-dev
Clara Bayarri [Wed, 3 Jun 2015 22:33:58 +0000 (22:33 +0000)]
Merge "Fix Floating tool bar covers text during long press + drag" into mnc-dev

9 years agoFix view foreground tinting
Adam Powell [Wed, 3 Jun 2015 22:26:51 +0000 (15:26 -0700)]
Fix view foreground tinting

Copy and paste is bad, mmkay?

Bug 21209639

Change-Id: I6c17e8a30fad6d5110f18e4723a5f5e6ddb814b8

9 years agoSynchronize selected item data on-demand after data set invalidation
Alan Viverette [Wed, 3 Jun 2015 22:19:13 +0000 (15:19 -0700)]
Synchronize selected item data on-demand after data set invalidation

Previously, the selected item data could become inconsistent between a
call to Adapter.notifyDataSetChanged()/Invalidated() and the subsequent
layout pass.

Bug: 21614294
Change-Id: I45c9c98b2f6a8d8b8fb17de2065efa505cbf3c92

9 years agoFixed outOfBoundsException when logging discarded receiver.
Wale Ogunwale [Wed, 3 Jun 2015 16:59:45 +0000 (09:59 -0700)]
Fixed outOfBoundsException when logging discarded receiver.

Bug: 21607321
Change-Id: I6f7ee4581ae2f0a0b7caedb84190fadc0edccfe8

9 years agoMerge "Fixing case where we were not preloading tasks correctly." into mnc-dev
Winson Chung [Wed, 3 Jun 2015 21:21:55 +0000 (21:21 +0000)]
Merge "Fixing case where we were not preloading tasks correctly." into mnc-dev

9 years agoMerge "Ensure to reset state of selecting by word/char for new selections" into mnc-dev
Mady Mellor [Wed, 3 Jun 2015 21:15:17 +0000 (21:15 +0000)]
Merge "Ensure to reset state of selecting by word/char for new selections" into mnc-dev

9 years agoPass setEnabled() value in calendar-mode DatePicker delegate
Alan Viverette [Wed, 3 Jun 2015 21:07:26 +0000 (14:07 -0700)]
Pass setEnabled() value in calendar-mode DatePicker delegate

Fixes mContainer referencing wrong view. Also cleans up getCalendarView()
exception message.

Bug: 21211308
Change-Id: I4ad18206a8071b2c9b75d488e14fd53da6f5fa5b

9 years agoFix Floating tool bar covers text during long press + drag
Clara Bayarri [Fri, 15 May 2015 11:18:24 +0000 (12:18 +0100)]
Fix Floating tool bar covers text during long press + drag

The existing implementation started the ActionMode even when knowing
a drag would start. Moved this logic to once the drag is complete,
to avoid the toolbar popping up while the user is still dragging.

Since the existing method selected the initial word when no other
selection existed, refactored that logic so it is also performed at
the start of the drag. Otherwise, the user sees no selection until
he drags over 2 or more words.

Bug: 21144634

Change-Id: I97cf89b1c4c3ebdbbd1af50bd1ce5aa4af72164b

9 years agoMerge "ImageFormat: Update definition of depth formats for confidence." into mnc-dev
Eino-Ville Talvala [Wed, 3 Jun 2015 21:06:29 +0000 (21:06 +0000)]
Merge "ImageFormat: Update definition of depth formats for confidence." into mnc-dev

9 years agoMerge "Expose RSA Cipher from Android Keystore Provider." into mnc-dev
Alex Klyubin [Wed, 3 Jun 2015 21:00:34 +0000 (21:00 +0000)]
Merge "Expose RSA Cipher from Android Keystore Provider." into mnc-dev

9 years agoExpose RSA Cipher from Android Keystore Provider.
Alex Klyubin [Fri, 29 May 2015 21:22:54 +0000 (14:22 -0700)]
Expose RSA Cipher from Android Keystore Provider.

The RSA Cipher supports OAEPPadding, PKCS1Padding and NoPadding
padding schemes.

Bug: 18088752
Bug: 20912868
Change-Id: Ie050e12705bb553a402760a1d253fdb2247a1d50

9 years agoMerge "Document procedure for adding carrier config variables." into mnc-dev
Jonathan Basseri [Wed, 3 Jun 2015 20:59:11 +0000 (20:59 +0000)]
Merge "Document procedure for adding carrier config variables." into mnc-dev

9 years agoMerge "Fix TabHost stealing focus on hardware keyboard keypress" into mnc-dev
James Cook [Wed, 3 Jun 2015 20:58:50 +0000 (20:58 +0000)]
Merge "Fix TabHost stealing focus on hardware keyboard keypress" into mnc-dev

9 years agoFastJNI for android.os.Trace
Chris Craik [Wed, 3 Jun 2015 20:46:11 +0000 (13:46 -0700)]
FastJNI for android.os.Trace

bug:21566713

Change-Id: I129e405fe46268b9d40974d3a43f06a1faf4cadd

9 years agoDelete MAKE_ENUM_FLAGS
Chris Craik [Wed, 3 Jun 2015 00:40:58 +0000 (17:40 -0700)]
Delete MAKE_ENUM_FLAGS

bug:21595702

Settle on namespace-enum for consistency. Also removes k prefix.

Change-Id: Ib89f94cb9263de40b6e4636577dca4860867d0d8

9 years agoRename setTextDir to setTextDirection
Raph Levien [Wed, 3 Jun 2015 20:20:45 +0000 (13:20 -0700)]
Rename setTextDir to setTextDirection

StaticLayout.Builder used "setTextDir" as a shorthand, but it's not
as clear as spelling it out. So, setTextDirection.

Bug: 21572282
Change-Id: Ia94476562d70678f963196b87bb63511d30836b6

9 years agoMerge "Fix bug in MediaCrypto.setMediaDrmSession" into mnc-dev
Jeff Tinker [Wed, 3 Jun 2015 20:03:28 +0000 (20:03 +0000)]
Merge "Fix bug in MediaCrypto.setMediaDrmSession" into mnc-dev

9 years agoEnsure to reset state of selecting by word/char for new selections
Mady Mellor [Fri, 22 May 2015 17:31:12 +0000 (10:31 -0700)]
Ensure to reset state of selecting by word/char for new selections

Previously this value was only updated when interacting with the
selection handles, so if you started a selection, entered by-char mode,
and then started another selection you would still be in by-char mode.
This resulted in incorrect behavior.

This CL alters the logic to update the handle state whenever the cursor
is placed which will included the initial long press to select a word.

Bug: 21301589
Change-Id: I15dbe6f2b76c7edd8ea4b3ba53e7107c47bc48fa

9 years agoMerge "Properly restore RTL state in HorizontalScrollView" into mnc-dev
Adam Powell [Wed, 3 Jun 2015 19:52:25 +0000 (19:52 +0000)]
Merge "Properly restore RTL state in HorizontalScrollView" into mnc-dev

9 years agoFixing case where we were not preloading tasks correctly.
Winson Chung [Tue, 2 Jun 2015 21:11:49 +0000 (14:11 -0700)]
Fixing case where we were not preloading tasks correctly.

- Should use the actual isTopTaskHome check when preloading.

Bug: 21516523
Bug: 20882957

Change-Id: I60cf1e97f7704828426f72a45329c8c7b962a78c

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 3 Jun 2015 19:47:34 +0000 (19:47 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 3 Jun 2015 19:41:03 +0000 (12:41 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8ad8251f4d867e6f2a64782541d7afba1b2bf4a7
Auto-generated-cl: translation import

9 years agoFix floating toolbar position issues.
Abodunrinwa Toki [Wed, 27 May 2015 19:31:01 +0000 (20:31 +0100)]
Fix floating toolbar position issues.

This CL makes the toolbar respect a viewport specified by
the content area (calculated from the globalVisibleRect and
windowInsets). By doing this the toolbar positions
itself appropraitely avoiding the status and nav bars.

Bug: 21324303
Change-Id: I3de9e114194dd43888b7f581ef12c3f8b813b3ca

9 years agoMerge "make WiFi No Network Periodic Scans Interval to 5 minutes" into mnc-dev
Vinit Deshpande [Wed, 3 Jun 2015 19:27:04 +0000 (19:27 +0000)]
Merge "make WiFi No Network Periodic Scans Interval to 5 minutes" into mnc-dev

9 years agoMerge "Fix build" into mnc-dev
Dmitriy Ivanov [Wed, 3 Jun 2015 19:19:47 +0000 (19:19 +0000)]
Merge "Fix build" into mnc-dev