151268 Commits

Author SHA1 Message Date
Kenny Guy
d00cfc51fb Remove suggested key names as its confusing.
Update java doc to not suggest package names
as it confused people into thinking it would
limit access to that package which isn't the
case.

Bug: 15177676
Change-Id: I0736976956d8bb604e5097326c8c4316b3007d64
2014-09-18 16:34:45 +01:00
Adrian Roos
72cc3702d2 Fix wrong face unlock size
Bug: 17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
2014-09-18 17:25:09 +02:00
Alexandra Gherghina
f8d9eb58f6 Add new icon for managed provisioning
This will be used for managed provisioning notifications and status
bar.

Bug: 17521583
Change-Id: Ic92d52a6a6366ca696ee85f42325f64ecce744b9
2014-09-18 16:16:14 +01:00
Jason Monk
cf5a9530f7 Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.

Bug: 17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
2014-09-18 11:02:19 -04:00
Alexandra Gherghina
a300fca9b8 Merge "Fix broken svg icon" into lmp-dev 2014-09-18 13:07:27 +00:00
Winson Chung
397157ce9c Additional check to determine insets for recents animation
Bug: 17555722

Change-Id: I1474de7960dfebbdd32f159ace6677019a6b87a5
2014-09-18 12:51:48 +00:00
Adrian Roos
763546a15a Merge "Don't crash if a user can't be created" into lmp-dev 2014-09-18 12:47:45 +00:00
Adrian Roos
44876e8df7 Merge "Fix bar visibility after restarting immersive activities" into lmp-dev 2014-09-18 12:40:52 +00:00
Jorim Jaggi
cb5570316d Add option for recents to use fake shadows
Bug: 17522143
Change-Id: I61fdecf8c5aa86b6dacd65ff8729590553d0854a
2014-09-18 14:26:52 +02:00
Selim Cinek
e8199c582d Removed round rect clipping and hardware layers from recents
This saves us a lot of memory and we avoid the clipToOutline.
The view still looks the same, as we now draw the thumbnail
in a rounded rect.
We now only use a hardware layer on the header, which is much
smaller.

Bug: 17522143
Change-Id: I197a1172efe8450ffb0b537c780a240d38f84275
2014-09-18 14:26:35 +02:00
Alexandra Gherghina
e050122fd5 Fix broken svg icon
We need to do this because the old svg had the middle part broken.

Bug: 17544362
Change-Id: I72438a889b6c6a3c1dd50675afe73406f4b49ce9
2014-09-18 13:00:01 +01:00
Sander Alewijnse
d4710c87e6 Merge "Update targetSdkVersion check." into lmp-dev 2014-09-18 11:36:19 +00:00
Dan Sandler
1391d8a9b3 Merge "Living with the LLand." into lmp-dev 2014-09-18 11:34:18 +00:00
Dan Sandler
4455da985d Living with the LLand.
Bug: 15984887
Change-Id: I2a42a064587db3478d865348f860bda07217f7dd
2014-09-18 06:57:28 +00:00
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
Nancy Chen
513c892135 Replace get*PhoneAccounts* public API methods with new method (1/3)
Hide getCallCapablePhoneAccounts and getPhoneAccountsSupportingScheme
because a third party app should not be able to see all phone accounts
registered. Replace instead with getPhoneAccountsForPackage(Context)
which will only return the phone accounts registered by a particular package.

Bug: 17510811
Change-Id: I8465ef4f13b62fe83f51835cfffe1656298041a8
2014-09-17 18:34:13 -07:00
Adam Powell
cc340899cb Merge "Fix UserManager#isUserAGoat" into lmp-dev 2014-09-18 01:27:40 +00:00
Alan Viverette
a9ddb8dc23 Use action bar theme for action modes, fix ViewStub inflation theme
BUG: 17262483
BUG: 17513621
Change-Id: I74764570a11da162a224e94978e21e52d17e2e84
2014-09-17 18:14:32 -07: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
Craig Mautner
6025770e6b Don't remove active stacks from window manager
Background:

In ag/406771 we stopped deleting empty stacks in activity manager
and window manager. This fixed a problem where dormant tasks were
being added back to stacks later.

In ag/476888 we introduced a callback to inform the ActivityView
holder that the embedded task was complete. This callback was made
from the new method ActivityContainer.onTaskListEmpty().

In ag/483035 onTaskListEmpty() was expanded to detach the stack of the
ActivityView and also removed the stack from window manager. There
was a mistake in that CL that causes it to remove any non-home stacks,
not just ones in ActivityViews.

That mistake left us with an empty stack in activity manager and no
corresponding stack in window manager. As a result, when trying to
bring back a task that used to be in this stack window manager threw
up an exception.

This fix limits the stacks detached by onTaskListEmpty() to those
on VirtualDisplays.

Fixes bug 17469145.

Change-Id: I85a4452e8e85625e657d88e4cb9f366fd4026441
2014-09-17 15:53:28 -07:00
George Mount
dc5bf6a7f0 Default to using hardware layer during fade transition.
Bug 17499864

When hasOverlappingRendering() is true, a layer is used to
to fade views because performance can be much worse then.
When hasOverlappingRendering() is false, the performance
is not hurt and a layer is not used.

Change-Id: If3fb1c23ffc8d0bef85c9d16df6c26ff4bbd49ac
2014-09-17 15:41:18 -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
Winson Chung
905950abd0 Listening for widget changes while Recents is in the background. (Bug 17153663)
Change-Id: Ibaff45e988deda21280b684757396a73bb3294c0
2014-09-17 23:25:39 +02: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
Jeff Brown
7fc8e357a4 Create an Application object for the system process.
Change-Id: Icd959fd859a7a556fbcbc519ff8646e1bf95fedc
2014-09-17 14:19:31 -07: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
Paul Jensen
dcbe835613 Fix to make repeated lingerings work.
Previously PendingIntent.getBroadcast() would match an existing Intent
which had the wrong token.  Fixed by distinguishing Intents by action.

bug:17482680
bug:17509008
Change-Id: Ib15bb006888850683cc47ca09920962f0707b351
2014-09-17 16:49:38 -04: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