151135 Commits

Author SHA1 Message Date
Dirk Dougherty
c55214a95c am 6357cd09: am 496cfbf7: Doc change: Add IAB v2 deprecation notice.
* commit '6357cd095abf105f2c62a4cba459e50f49cfd5c7':
  Doc change: Add IAB v2 deprecation notice.
2014-09-18 03:31:23 +00:00
Svetoslav
4c6a4ce03b Some accessibility events wrongly filtered out (regression).
We added new APIs to allow accessibility services to query all
windows a user can touch. Sometimes the window state change
event arrives before the window manager sent over the new window
state which leads to a case that the app gets the event and
asks for the window and the window is not there. To address this
if we do not have the window, we hold on to the event and
fire it as soon as the window arrives. This logic is correct
except we were wrongly expecting that the window should have
input focus.

bug:17464645

Change-Id: I1ef50ebddeb4416a6c0776b096bb16aee703700c
2014-09-18 01:40:27 +00:00
Craig Mautner
0cf001db60 Merge "Protect from null Intent" into lmp-dev 2014-09-18 01:36:09 +00:00
Adam Powell
cc340899cb Merge "Fix UserManager#isUserAGoat" into lmp-dev 2014-09-18 01:27:40 +00:00
Adam Powell
988ae30ff7 Fix UserManager#isUserAGoat
Correctly detect if the user is a goat.

Change-Id: I78577dd7ec8c3685434ee03560010a6ea4db127f
2014-09-17 18:12:13 -07:00
Tsuwei Chen
b610b18a8a Merge "Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key. Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement on GPS features can be specified properly without messing up with the real capability. This will satisfy VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence." into lmp-dev 2014-09-18 01:00:50 +00:00
Dirk Dougherty
6357cd095a am 496cfbf7: Doc change: Add IAB v2 deprecation notice.
* commit '496cfbf7a83e4c0f66ece27f36c2dc3d31994ff1':
  Doc change: Add IAB v2 deprecation notice.
2014-09-18 01:00:09 +00:00
Craig Mautner
47b20ba8f6 Protect from null Intent
No bad intentions.

Fixes bug 17482657.

Change-Id: I0234787eb5e39cbdb548fb219341635cddd8b5d9
2014-09-17 17:23:44 -07:00
Robert Greenwalt
f3b47e95b1 Merge "Use unified Tethering Permission Check" into lmp-dev 2014-09-18 00:02:16 +00:00
John Reck
f16b4940e6 Merge "Special case EGL_BAD_SURFACE" into lmp-dev 2014-09-17 23:30:44 +00:00
Robert Greenwalt
edb47668f0 Use unified Tethering Permission Check
The BT and Wifi mechanisms for enabling Tethering did their own
permission checks.  This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b
2014-09-17 16:18:12 -07:00
John Reck
2cdbc7d228 Special case EGL_BAD_SURFACE
Bug: 17516789

Change-Id: I3dcb10360c2aef6326f7dbbff6815866d4c143b6
2014-09-17 16:09:57 -07:00
Dianne Hackborn
88924b62fc Merge "Fix issue #17536024: The am start's wait option doesn't..." into lmp-dev 2014-09-17 23:07:17 +00:00
Tsuwei Chen
462bcd8194 Allow carrier specific requirement on GPS features to be specified through a dedicated configuration key.
Currently, carrier requirement is specified through CAPABILITIES key, whose original purpose is to indicate
the capability of the hardware, not to enable/disable features in GPS HW. With this fix, carrier requirement
on GPS features can be specified properly without messing up with the real capability. This will satisfy
VzW, Sprint and USC's requirement on SUPL mode, without sacrificing the capability of HW geofence.

Bug: 17423585
Bug: 17288144

Change-Id: I71173722d4b12bfc17562f7b5444d22b01ff4590
2014-09-17 16:04:28 -07:00
Svetoslav
0d2d9637ed Page content sometimes missing in preview when scrolling.
Removed the restriction for the page content providers to
be singletons as the RecyclerView may hold on views with
providers and ask us to bind other views for the same page.
Note that the views that RecyclerView is holding will be
soon rebound or recycled just they are not at the time we
bind other views for the same position. We were guarding
against this but caused some pages not appearing sometimes
on scrolling. Also now keeping the media size and magins
of recycled page view (will be updated if needed on
rebinding) or avoid changes of the background to null as
setting it to not null later causes an undesired layout pass.

bug:17537922

Change-Id: If029f6c413e15d4f5c1ba1ac5e4d52ad2cad5904
2014-09-17 23:03:19 +00:00
Dirk Dougherty
496cfbf7a8 Doc change: Add IAB v2 deprecation notice.
Change-Id: Ide22c4aa8c56fdd83cb6ce2989eb8c449c55c7c1

Conflicts:
	docs/html/google/play/billing/index.jd
2014-09-17 15:56:43 -07:00
vandwalle
a434bf303a Merge "fix configure 5GHz RSSI thresholds, Bug:17514073" into lmp-dev 2014-09-17 22:17:49 +00:00
Dianne Hackborn
dd63245097 Merge "Work on issue #17506095: Add ability to lock IME for specified apps" into lmp-dev 2014-09-17 22:09:32 +00:00
vandwalle
f0807353aa fix configure 5GHz RSSI thresholds, Bug:17514073
Change-Id: I5cdecabdfc7a085d4b277096d05cc215f7db4104
2014-09-17 14:55:10 -07:00
Michael Wright
77ebdcbaaa Merge "Remove Rhodi keylayout" into lmp-dev 2014-09-17 21:44:57 +00:00
John Reck
5083943ff8 Merge "Change default fbo cache size to 0" into lmp-dev 2014-09-17 21:35:02 +00:00
David Christie
61ee1eda0a Merge "Add @SystemApi to LocationManager methods used by GmsCore (with reflection). Bug: 17515515" into lmp-dev 2014-09-17 21:20:27 +00:00
John Reck
e9cd97ee88 Change default fbo cache size to 0
Bug: 17479800

 FBO cache is very expensive and no longer necessary, disable
 it by just setting size to 0.

Change-Id: I664616f262c8339919e1d20baaafa5de2b628d7e
2014-09-17 14:09:26 -07:00
Yigit Boyar
fd20f196b1 Merge "Handle action mode changes properly for actionbar tabs" into lmp-dev 2014-09-17 21:00:40 +00:00
Dianne Hackborn
bb8aa5a1e9 Work on issue #17506095: Add ability to lock IME for specified apps
Add a new configuration to speciify apps that partcipate in the
feature.

Change-Id: I8f5139b5ea09e758bff4472b2294df8becc74614
2014-09-17 13:20:38 -07:00
Sandeep Siddhartha
80ea66b102 Merge "Fix issues with multiple languages and multi-users" into lmp-dev 2014-09-17 20:06:43 +00:00
Dianne Hackborn
6cfbb71890 Fix issue #17536024: The am start's wait option doesn't...
...give time in some cases

This switch to multiple stacks broke the check to determine if it
should actually wait for a new activity to be shown.  The new check
now also requires that the top activity be resumed, which means
we may get some false positives where we decide to wait and shouldn't,
but that is better than consistently not deciding to wait in some
cases when we should.  (And we will always finish waiting then next
time something becomes visible).

Also add another time, which is how long it took from the startActivity
call to return with the result.  And fix when we decide to report that
we are done so that, in the case where we are bringing an existing
activity to the foreground, we don't wait until its animation is complete.

Change-Id: Id38ca0070f04e7bf8c73e131fb055808553a0e2f
2014-09-17 12:47:35 -07:00
Alan Viverette
ae1990f406 Merge "Revert body font size to 14sp, fix ActionBar menu text color" into lmp-dev 2014-09-17 19:20:33 +00:00
Alan Viverette
59b2d80f88 Revert body font size to 14sp, fix ActionBar menu text color
BUG: 17549070
BUG: 17538527
Change-Id: Id4d412ae3c035c6f76ae10569658a0d97e36a0e8
2014-09-17 12:19:56 -07:00
ztenghui
d25e864dde Merge "Fix badge asset alpha issue" into lmp-dev 2014-09-17 19:17:25 +00:00
Jeff Sharkey
9d375ecbe6 Merge "NetworkStats always needs arrays." into lmp-dev 2014-09-17 19:01:13 +00:00
Svetoslav
a732950ade Merge "Page content sometimes disappears when scrolling a long doc in print preview." into lmp-dev 2014-09-17 18:52:19 +00:00
ztenghui
45fb8735b2 Fix badge asset alpha issue
b/17544362

Change-Id: Ibf22918ccfebe082a25f28f0d4c1991e700a1fd2
2014-09-17 11:24:04 -07:00
Svetoslav
7fd5ada98a Page content sometimes disappears when scrolling a long doc in print preview.
The operations of the remote renderer have to be performed in order, open,
render some pages, close. One of the tasks was executed on the wrong executor
resuling in a race and an occassional bad state.

Also fixed a NPE if the preview list is flinged and then the user presses
back.

bug:17537922

Change-Id: I5048078ba2b875a2a8335f3a4324afaa34d014a2
2014-09-17 11:11:08 -07:00
Craig Mautner
36e793c73b Merge "Eliminate misleading warning." into lmp-dev 2014-09-17 18:02:44 +00:00
Craig Mautner
941aa1afe3 Merge "Add optimizations to keep TaskPersister queue small." into lmp-dev 2014-09-17 18:01:46 +00:00
Sailesh Nepal
b181492258 Merge "Include code when converting unknown causes to string" into lmp-dev 2014-09-17 17:33:11 +00:00
Robert Ly
5b75935416 am 4243ec2a: am 9efd9f60: am fc95c477: docs: edu changes for launch
* commit '4243ec2a84e9e42237e8e5bfd5cfb675f765d84f':
  docs: edu changes for launch
2014-09-17 17:10:01 +00:00
Andrew Solovay
b1c066fa5c am 67267dcf: am 6c6664c9: am a209406f: Merge "Docs: Updated to include new Subscriptions functionality." into klp-modular-docs
* commit '67267dcf909e080ea3adf902c8a9df115bd1b279':
  Docs: Updated to include new Subscriptions functionality.
2014-09-17 17:09:46 +00:00
Chris Craik
ba9d58516c Merge "Handle premultiplication correctly for ColorMatrixColorFilters" into lmp-dev 2014-09-17 17:01:35 +00:00
Chris Craik
73821c8d2b Handle premultiplication correctly for ColorMatrixColorFilters
bug:17405627

Previously, the input content to the color matrix computation was left
premultiplied. Since the color matrix could reduce the alpha channel,
the alpha was re-multiplied, but this was incomplete, and incorrect.

Instead, apply the color matrix in unpremultiplied space.

Change-Id: I87b8e03d2e228e6ded81f7bbfea952605d7a095c
2014-09-17 10:00:34 -07:00
Craig Mautner
fabab90d1e Eliminate misleading warning.
Remove token from deferred list of tokens to be removed once token
is removed. Leaving it in the list leads to logging messages like
"WindowManager: removeAppFromTaskLocked: token=AppWindowToken{...
} not found" when an attempt to remove it a second time fails.

Discovered in logs from b/17512377.

Change-Id: Ic83d81841b9b74ae5c4c433d1086d3bbda8e1d64
2014-09-17 09:34:30 -07:00
Jeff Sharkey
7a8f1a32dc NetworkStats always needs arrays.
Internal logic relies on Arrays.copyOf(), so always give ourselves
valid arrays, using shared empty objects to save overhead.

Bug: 17502649
Change-Id: I5dbb00545bdfe45bbd48144ab505ea08cc92cbcd
2014-09-17 09:26:31 -07:00
Esteban Talavera
63b328bdeb Merge "Add 'adb dpm' subcommand to set profile owner" into lmp-dev 2014-09-17 15:37:27 +00:00
Robert Ly
4243ec2a84 am 9efd9f60: am fc95c477: docs: edu changes for launch
* commit '9efd9f607006b3e02cda714901884e1ce22475d3':
  docs: edu changes for launch
2014-09-17 15:33:16 +00:00
Robert Ly
9efd9f6070 am fc95c477: docs: edu changes for launch
* commit 'fc95c477835f86d99cf8c7ce5c1dd098fa42e69c':
  docs: edu changes for launch
2014-09-17 15:19:15 +00:00
Robert Ly
fc95c47783 docs: edu changes for launch
Change-Id: Ia9047138bd9972e572b5dd93310339b630a2810d
2014-09-17 15:13:09 +00:00
Christoph Studer
9077cbc30e Merge "SysUI: Add no-wallpaper recents theme for low GFX devices" into lmp-dev 2014-09-17 14:17:33 +00:00
Alexandra Gherghina
16ebe98d9a Merge "Reorder user icon colors so that the first default is teal" into lmp-dev 2014-09-17 11:49:29 +00:00
Christoph Studer
37e4468be1 SysUI: Add no-wallpaper recents theme for low GFX devices
Also add a config flag to control the theme to apply to RecentsActivity.

Bug: 17522143
Change-Id: I8d03e84e37b77698243673f6c4e676b2c53e0d07
2014-09-17 13:28:46 +02:00