192490 Commits

Author SHA1 Message Date
Adam Powell
6d54f81a9e Merge "Preserve ResolverDrawerLayout fully collapsed state across relayout" into mnc-dev 2015-05-15 21:01:17 +00:00
Adam Powell
c9f2293471 Preserve ResolverDrawerLayout fully collapsed state across relayout
Fix a bug where a relayout that grows the size of ResolverDrawerLayout
content would cause it to get stuck in a half-collapsed state. This
could also lead to janky touch interaction behavior in
onStopNestedScroll as it animates to the fully open/closed state after
clicking in a descendant list.

Bug 21202727

Change-Id: I5f0a8b19fc079c57fcf2be7c6fa7627b1cb12a3c
2015-05-15 13:59:40 -07:00
David Christie
f02c7d4391 Merge "Fix issue where GeofenceHardwareImpl can crash. -It can't be instantiated before looper thread is ready. Bug: 21185178" into mnc-dev 2015-05-15 20:50:55 +00:00
Jeff Sharkey
9756d75ec2 Initial pass at storage benchmarks.
Offer an interface for Settings to invoke benchmarks on various
attached volumes.

Bug: 21172095
Change-Id: I847ddc87c58285457d1324be87f70ce10507accb
2015-05-15 13:47:12 -07:00
Wale Ogunwale
4f9fd626d3 Merge "Clean-up broadcast receivers when component is disabled." into mnc-dev 2015-05-15 20:35:40 +00:00
Olawale Ogunwale
358d12a06c Merge "Fix lost singleton provider after force-stopping user or package." into mnc-dev 2015-05-15 20:34:19 +00:00
Olawale Ogunwale
27d8629534 Merge "Also restart provider if there is external handle." into mnc-dev 2015-05-15 20:33:48 +00:00
Wale Ogunwale
ca1c12581a Clean-up broadcast receivers when component is disabled.
Bug: 15804187
Change-Id: Ib672f720bd5c8d81d3846568ef53f7723685f317
2015-05-15 13:33:16 -07:00
Joe Fernandez
14ba009a51 am 6b4c3fed: docs: Refactor Google Services pages for site redesign
* commit '6b4c3fed885db4341076159dc549d6bdae4df02e':
  docs: Refactor Google Services pages for site redesign
2015-05-15 20:24:58 +00:00
David Christie
38feb6f1ec Fix issue where GeofenceHardwareImpl can crash.
-It can't be instantiated before looper thread
 is ready.
Bug: 21185178

Change-Id: I9e5434f7821c608a01bfd962c5482f6c2c2a022d
2015-05-15 13:23:08 -07:00
Joe Fernandez
6b4c3fed88 docs: Refactor Google Services pages for site redesign
b/18225342 - removed outdated advertising ux recommendations
Redirects Change-Id: I669b2c7f216be28603594ae3f2909f50e7eaf60d

Change-Id: I50eada1885156c2abfcc0b1c2bd1f61bfc790e72
2015-05-15 13:12:41 -07:00
Alan Viverette
2a576d9ec1 Merge "Invalidate old accessibility bounds on CONTENT_CHANGE" into mnc-dev 2015-05-15 20:11:20 +00:00
Dan Sandler
696f6a3c48 Mmm mmm mmm mmm.
Change-Id: I23b560694b9cc0eb2103ec16769b0446099d1e83
2015-05-15 16:10:22 -04:00
Vladislav Kaznacheev
58ae164100 Make VPA.setInterpolator(null) unset the interpolator.
Bug:21199392
Change-Id: Iae4b82254ddf6b60d442258e79ff0ea4d54c0a4d
2015-05-15 13:01:32 -07:00
Chad Brubaker
206df8c5e5 Merge "Fix testAuthNeeded test" into mnc-dev 2015-05-15 19:37:26 +00:00
Jeff Brown
3f6405259a Rename file descriptor listener API.
Bug: 21039493
Change-Id: I506c429e99528eb04dbda5b28da2ad000d10b467
2015-05-15 12:28:15 -07:00
Selim Gurun
afabc21722 Merge "Rename PostMessageToMainFrame to PostWebMessage" into mnc-dev 2015-05-15 18:47:45 +00:00
Alan Viverette
2cc4a4755f Merge "Adjust light source for window position" into mnc-dev 2015-05-15 18:31:54 +00:00
Alan Viverette
a7ea65e239 Invalidate old accessibility bounds on CONTENT_CHANGE
Bug: 20950124
Change-Id: Id19924358b538f9b7754de3a0c019433817dc1fc
2015-05-15 11:30:21 -07:00
Chad Brubaker
7a882b5d8d Fix testAuthNeeded test
begin now returns OP_AUTH_REQUIRED for per operations with per op
authorization instead of NO_ERROR.

(cherry-picked from commit b0addbaaf22b14200db602c41a5bd86847bdc0a9)

Change-Id: I1f472125f46155833e03ab30bf18363ff51b2c58
2015-05-15 11:27:23 -07:00
Paul Lawrence
688af6c574 DOn't save encryption settings when not encrypted
If this setting is saved when unencrypted, it will apply after encryption
and cause the user to get the wrong default in the 'Require pattern to start
device' dialog.

Bug: 21105662
Change-Id: Ibd2918abb6af27e20dc03a1a10f4cad1033bc575
2015-05-15 11:26:17 -07:00
Alex Klyubin
6a5f85080e Merge "Remove "encrypt at rest" flag from new AndroidKeyStore API." into mnc-dev 2015-05-15 18:23:01 +00:00
Alex Klyubin
96481c3ddc Remove "encrypt at rest" flag from new AndroidKeyStore API.
This flag causes issues such as being unable to generate, import, or
use keys when the user/profile secure lock screen credential hasn't
yet been entered after boot.

Bug: 18088752
Change-Id: I992f6dfdc945bcb83e341356a40dfa7d7bc143d8
2015-05-15 11:07:42 -07:00
Selim Gurun
26de90aa2e Rename PostMessageToMainFrame to PostWebMessage
Bug: 20557074

There is no need to keep the name PostMessageToMainFrame since
we may choose to not implement the special condition to posting
to a named subframe. And if we want, we can do this by overloading
the function.

Change-Id: I9896ad479e1c30cda500352cfdb1b7d336383568
2015-05-15 11:02:45 -07:00
Mady Mellor
21417a0d50 Merge "Text selection: Fix moving by character when should move by word" into mnc-dev 2015-05-15 17:56:59 +00:00
Mady Mellor
c25d6c22bb Merge "Fix difficulty grabbing handles for small selections" into mnc-dev 2015-05-15 17:56:57 +00:00
Alan Viverette
9b115a9870 Postpone AnimatedVectorDrawable animator inflation until applyTheme()
This CL works around Animator's lack of support for applying a theme
after inflation by postponing Animator inflation until a theme is
available, either in inflate() or applyTheme().

Includes a workaround for AVDs that don't reference any theme attrs
in their animators and this don't require a call to applyTheme().

We'll follow up with real support for applyTheme() in Animator, at which
point we can remove this workaround.

Bug: 20817800
Change-Id: I5a378a76e3625b9d754cb74ae98c07ba7c5698e5
2015-05-15 10:54:11 -07:00
Yohei Yukawa
79d0c080a0 Merge "Revert "Fix IMMS#mInputShown state inconsistency."" into mnc-dev 2015-05-15 17:40:44 +00:00
Yohei Yukawa
6640d21b2e Revert "Fix IMMS#mInputShown state inconsistency."
This reverts commit 8d4a9117fbd0aaf03b8486ef920c73894a12cfcd.

Because of a regression Bug 21161785.

Bug: 21161785
Bug: 18722991
Bug: 20763994
Bug: 20764441
Bug: 20926844
Change-Id: If58612eda08764be0226832c0a73f03683889cdb
2015-05-15 17:36:53 +00:00
tiger_huang
b7f3f92ac2 Use the correct parent size to initialize animations
The original logic would use out-of-date parent sizes to initialize
animations. If the screen size is changed after assigning mAnimDw and
mAnimDh in the constructor of WindowStateAnimator, the fromDeltaY
(in the most cases) of TranslateAnimation would be initialized
incorrectly.

In this change, we always use up-to-date parent sizes to initialize
animations to prevent the issue.

https://code.google.com/p/android/issues/detail?id=170348

Change-Id: Ib9c609121228934bdb463263feb1924eb389c1d2
2015-05-15 10:27:17 -07:00
riddle_hsu
5ff8ba7ace Fix lost singleton provider after force-stopping user or package.
Case 1 (name == null):
Switch user from guest to owner. All processes of guest
will be killed, it will not include processes which singleton
components live in, but singleton provider records are still
collected and removed.

When the user switch is complete and the process of removed
singleton provider is still alive, there is someone access
the provider, it will create a new ContentProviderRecord and
wait but no one will notify it because the provider process
is alive with different ContentProviderRecord.

Then the access cannot get response unless the process of target
provider is died and restarted.

Case 2 (name != null):
Switch to another non-guest user, launch an application which
contains singleton provider. Go to Settings to force-stop the
package then switch back to owner user. Launch an application
which will access the singleton provider. It will also cannot
get response that similar as case 1.

Solution:
Only collect singleton provider if target user is all or owner.

Change-Id: Ic6828da66645172d1378cfb1f66d092df5966516
2015-05-15 10:17:21 -07:00
Dirk Dougherty
b3fa8bf221 am 7414f97a: am efd254b2: Doc change: fix urls, remove obsolete image.
* commit '7414f97a04658858201760c3a60a9d8fa95042fa':
  Doc change: fix urls, remove obsolete image.
2015-05-15 16:46:24 +00:00
Dirk Dougherty
c259daacde am 3519ddfe: am de401c82: Doc change: More changes to distribute files, Google Services page update.
* commit '3519ddfe07de5847332937c4a0ba29c0378fe26a':
  Doc change: More changes to distribute files, Google Services page update.
2015-05-15 16:46:18 +00:00
Alan Viverette
617da41e8c Merge "Update button visibility as a final step in DayPickerView construction" into mnc-dev 2015-05-15 16:44:23 +00:00
Alan Viverette
b47cea9ba1 Merge "Revert "Strip PNG metadata"" into mnc-dev 2015-05-15 16:43:02 +00:00
Alan Viverette
3b0f421685 Revert "Strip PNG metadata"
Removing the color profiles significantly changed the
appearance of some assets.

This reverts commit fe1ca2c535816bf7528b8b77fb5c24f9db324671.

Change-Id: I60d9b645eda927b0fc5adc8b2bd0902fb536208a
2015-05-15 16:41:26 +00:00
Svet Ganov
4e76ee07f7 Merge "Fix easter egg setting validator to accept valid values" into mnc-dev 2015-05-15 16:34:54 +00:00
Svet Ganov
b1918a0568 Fix easter egg setting validator to accept valid values
bug:21188928

Change-Id: I5f6d445aad7231a907026c552c87f9cdfe024d32
2015-05-15 09:33:00 -07:00
riddle_hsu
dbb902d4ad Also restart provider if there is external handle.
e.g. ContentResolver.getType will call
ActivityManagerService.getProviderMimeType
that will not have connection but increase
externalProcessNoHandleCount.

Change-Id: I649c0b2390a749c77c6be5e7dfadc1acb689ec4c
2015-05-15 09:20:39 -07:00
Zhijun He
99dc89961f Merge "Camera2: get ride of sceneModeOverrides in API doc" into mnc-dev 2015-05-15 16:03:31 +00:00
Paul McLean
0c72f4f9d0 Merge "Change AudioDevicesInfo.getFormats() to getEncodings()." into mnc-dev 2015-05-15 14:35:50 +00:00
Tor Norbye
f02fd46d34 Merge "Add bluetooth permission annotations" into mnc-dev 2015-05-15 14:21:16 +00:00
George Mount
b1f1293355 Merge "Remove hidden/deleted APIs." into mnc-dev 2015-05-15 14:08:19 +00:00
Dan Sandler
d63f9321e6 Icon support comes to Notification.
And you may ask yourself: what is that beautiful icon?
  And you may ask yourself: where does that API go to?
  And you may ask yourself: is it a resource? is it a Bitmap?
  And you may say to yourself: my god, what have I done

(This patch fixes a number of bugs in the initial
implementation, but other than that, it's the same as it
ever was.)

Bug: 18568715
Bug: 21141842
Change-Id: I1d3f9427abd7f0bb57e533fcfac708851ff644b6
2015-05-15 12:35:21 +00:00
Dan Sandler
aee0c2ce39 Merge "Use Context instead of Resources in Icon.createWithResource." into mnc-dev 2015-05-15 04:39:42 +00:00
Ruben Brunk
73e3dbccfe camera2: Fix work-profile eviction handling.
Bug: 20124384

Change-Id: I6fb82dbfd5f98746ed4befed81a583e3709bfee8
2015-05-14 20:57:38 -07:00
Yorke Lee
7eff6c630f Fix missing break in Icon class
This causes RuntimeExceptions to fall through to the next
case statement.

Bug: 21168985
Change-Id: Ie69610b22c6caf9f6536ebd48673067880cb75a2
2015-05-14 20:57:37 -07:00
Sailesh Nepal
34ac6efcbf Fix post dial for remote connections
Use the correct callback (onPostDialChar instead of onPostDialWait).
This fixes a bug where every remote call would prompt the user
to send tones after the call became active.

BUG: 21004101
Change-Id: I1656a4266d0028ef29494a3cee169180267e16cd
2015-05-14 20:57:36 -07:00
Deepanshu Gupta
8c0ece366e Fix build: udpate parser factory method
Change-Id: I78ad55bc924427b44451ec32fbd1032d6cd77544
2015-05-14 20:57:36 -07:00
Deepanshu Gupta
304eae345b Don't keep LayoutlibCallback reference.
Switch to the newer API that enables keeping a reference only to the
ParserFactory which is a much leaner object as compared to
LayoutlibCallback.

Change-Id: I9b7afd93226db23786a00b2951cbf5ae5b8f3e5f
2015-05-14 20:57:35 -07:00