170405 Commits

Author SHA1 Message Date
Sergii Skorokhodov
9edcc7be49 Correct check of is user running
Before the ActivityManagerService sends an intent or
starts an activity it checks if target user is in
mStartedUsers array.

When removing a non-owner user process the
UserStartedState instance will still be in mStartedUsers
array with mState STOPPING or SHUTDOWN.

This should be checked before sending an intent or start
an activity.

isUserRunningLocked(...) will interpret mState STOPPING
and SHUTDOWN as a non running user.

Change-Id: I1b51bcdb62bdd0f6dbe05dab4d529d4ad40d0d44
2014-12-03 08:36:26 +01:00
Craig Mautner
192d60488f Handle keyguard dismiss flags correctly
When FLAG_SHOW_WHEN_LOCKED was set over an unsecure lockscreen the
behavior was incorrect. In such cases the lockscreen was not being
dismissed with or without FLAG_DISMISS_KEYGUARD. This change causes
the lockscreen to be dismissed when FLAG_SHOW_WHEN_LOCKED is set
over an insecure logckscreen.

Fixes bug 18563298.

Change-Id: Iba0d096a59789bf41332e109f1bd3e70834bbb83
2014-12-02 23:24:48 -08:00
Craig Mautner
dad92f3668 Merge "Don't process windows belonging to unshown users" into lmp-mr1-dev 2014-12-03 07:16:37 +00:00
Lorenzo Colitti
dc99c50427 Merge "Make StatusBar display all default networks." into lmp-mr1-dev 2014-12-03 06:58:10 +00:00
Trevor Johns
25bc6be284 am e57dda11: am 5bd139bc: Merge "Docs: Remove NavigationDrawer sample from What\'s New page" into lmp-docs
* commit 'e57dda111ce0aeca025ddac252214726db2ce00e':
  Docs: Remove NavigationDrawer sample from What's New page
2014-12-03 03:04:48 +00:00
Trevor Johns
740b22a522 am 4263334b: am 6d54c699: Merge "Docs: Remove GitHub links from docs/samples/new/index.html" into lmp-docs
* commit '4263334bed38f1d8f3d0318f25cf37ba49926c02':
  Docs: Remove GitHub links from docs/samples/new/index.html
2014-12-03 03:04:44 +00:00
Filip Gruszczynski
0821a56668 am f675cad8: am 6e854ce5: Merge "Add overscan insets to surface frame dimensions in WallpaperService." into lmp-sprout-dev
* commit 'f675cad8f5f5781a29ccd733570d90bae3fe8d84':
  Add overscan insets to surface frame dimensions in WallpaperService.
2014-12-03 02:59:35 +00:00
Trevor Johns
e57dda111c am 5bd139bc: Merge "Docs: Remove NavigationDrawer sample from What\'s New page" into lmp-docs
* commit '5bd139bcf09d51dfdd94a24ed9cdffd0c662df60':
  Docs: Remove NavigationDrawer sample from What's New page
2014-12-03 02:56:57 +00:00
Trevor Johns
4263334bed am 6d54c699: Merge "Docs: Remove GitHub links from docs/samples/new/index.html" into lmp-docs
* commit '6d54c699e8f86be9c7eb424849768ecc5f56993f':
  Docs: Remove GitHub links from docs/samples/new/index.html
2014-12-03 02:56:54 +00:00
Filip Gruszczynski
f675cad8f5 am 6e854ce5: Merge "Add overscan insets to surface frame dimensions in WallpaperService." into lmp-sprout-dev
* commit '6e854ce5728086b3bd293cb37bd83ebeef52aca8':
  Add overscan insets to surface frame dimensions in WallpaperService.
2014-12-03 02:53:41 +00:00
Dongwon Kang
25a0518806 am b0bbaec8: Merge "TIF: call tune() in HardwareSession" into lmp-mr1-dev
* commit 'b0bbaec8bec519e85c33b4a25fa138e8017d6424':
  TIF: call tune() in HardwareSession
2014-12-03 02:39:19 +00:00
Filip Gruszczynski
6e854ce572 Merge "Add overscan insets to surface frame dimensions in WallpaperService." into lmp-sprout-dev 2014-12-03 02:23:33 +00:00
Trevor Johns
5bd139bcf0 Merge "Docs: Remove NavigationDrawer sample from What's New page" into lmp-docs 2014-12-03 02:22:42 +00:00
Trevor Johns
6d54c699e8 Merge "Docs: Remove GitHub links from docs/samples/new/index.html" into lmp-docs 2014-12-03 02:22:27 +00:00
Dongwon Kang
b0bbaec8be Merge "TIF: call tune() in HardwareSession" into lmp-mr1-dev 2014-12-03 02:22:12 +00:00
Sanket Padawe
8e1b08ac26 am b13c12f5: Merge "Call entitlement on clicking tethering tile in quick settings." into lmp-mr1-dev
* commit 'b13c12f58db3026ad30849873b3b6fc664f5ce7b':
  Call entitlement on clicking tethering tile in quick settings.
2014-12-03 02:19:06 +00:00
Jason Sams
e4c825507d am d6e9e61c: Merge "Fix bug in passing of context flags and version." into lmp-mr1-dev
* commit 'd6e9e61c9d9b7ba88ae7ade0418e17a3ac2ef341':
  Fix bug in passing of context flags and version.
2014-12-03 02:19:00 +00:00
Baligh Uddin
ee549e515e am 0fcd3f41: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit '0fcd3f41079880abccf08c498b5e109dccfc4577':
  Import translations. DO NOT MERGE
2014-12-03 02:18:55 +00:00
Baligh Uddin
70b44364a1 am 925c27be: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit '925c27bef875f20f4b34254c588296f10fc5fe5a':
  Import translations. DO NOT MERGE
2014-12-03 02:18:50 +00:00
Baligh Uddin
204f26284c am 91426aa2: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit '91426aa292455aef968e112c2255dd676f7f1ec6':
  Import translations. DO NOT MERGE
2014-12-03 02:18:45 +00:00
Baligh Uddin
eb0fdf48b7 am ed338377: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit 'ed3383770e77b88ab0692bee9acef8d78b2cc7a2':
  Import translations. DO NOT MERGE
2014-12-03 02:18:40 +00:00
Baligh Uddin
c64e49adca am 51bca143: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit '51bca143862c568507206adf119c9003a4f3f764':
  Import translations. DO NOT MERGE
2014-12-03 02:18:35 +00:00
Baligh Uddin
a221d299c0 am d33f84eb: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit 'd33f84eb3e20b781e433d93165d9ff83434d5c99':
  Import translations. DO NOT MERGE
2014-12-03 02:18:30 +00:00
Baligh Uddin
42f0a84346 am fccb3b43: (-s ours) Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev
* commit 'fccb3b43a9dfe4dfd3d03119e37b2c99fc95042c':
  Import translations. DO NOT MERGE
2014-12-03 02:18:24 +00:00
Michael Wright
4de2ab4c55 am 7081a5d1: Merge "Correctly iterate through MediaProjection callbacks." into lmp-mr1-dev
* commit '7081a5d1ae6b9fe5d92dca25a85524c2c2421e1e':
  Correctly iterate through MediaProjection callbacks.
2014-12-03 02:18:19 +00:00
Alan Viverette
bb241c3cde am 4eb2e04f: Merge "Use CURRENT_OR_SELF when checking SPEAK_PASSWORD setting" into lmp-mr1-dev
* commit '4eb2e04f4d3eafdf56840a0988dd730dc433478d':
  Use CURRENT_OR_SELF when checking SPEAK_PASSWORD setting
2014-12-03 02:18:12 +00:00
Dan Sandler
29f89da0a8 am dfb39ce3: Merge "Turn off DEBUG_GESTURES" into lmp-mr1-dev
* commit 'dfb39ce332d4256363d1c2a47e68eecd5f144edc':
  Turn off DEBUG_GESTURES
2014-12-03 02:18:06 +00:00
George Mount
24fac506f0 am 561261d4: Merge "Keep snapshot order matching the shared elements." into lmp-mr1-dev
* commit '561261d4442fb78b314c00f6b836fe7b1c387977':
  Keep snapshot order matching the shared elements.
2014-12-03 02:17:58 +00:00
Trevor Johns
0d78c52bfc Docs: Add "admin" to samples categories
Contains samples for device administration APIs.

Issue: 18544051
Change-Id: I8e157ba163848ac0356f2669a9cadd0f76b4ae9a
2014-12-02 18:17:22 -08:00
Trevor Johns
72f89d140d Docs: Remove NavigationDrawer sample from What's New page
Using old UI conventions, needs to be updated for Material Design.

Issue: 18511422
Change-Id: I7e8189e9dca149c8bacda9b69036fefa34c1e4ca
2014-12-02 17:57:47 -08:00
Trevor Johns
fd9ec8e3bc Docs: Remove GitHub links from docs/samples/new/index.html
Links were present as a workaround for the lack of a code browser
during the L Developer Preview, and are no longer necessary.

Issue: 18511191
Change-Id: I61068e3ff99fc5d8e4b3346c50d05fcd7f02ab32
2014-12-02 17:57:42 -08:00
Sanket Padawe
b13c12f58d Merge "Call entitlement on clicking tethering tile in quick settings." into lmp-mr1-dev 2014-12-03 01:33:43 +00:00
Jason Sams
d6e9e61c9d Merge "Fix bug in passing of context flags and version." into lmp-mr1-dev 2014-12-03 01:27:37 +00:00
Baligh Uddin
0fcd3f4107 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:26:17 +00:00
Baligh Uddin
925c27bef8 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:25:55 +00:00
Baligh Uddin
91426aa292 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:25:37 +00:00
Baligh Uddin
ed3383770e Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:25:17 +00:00
Baligh Uddin
51bca14386 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:24:57 +00:00
Baligh Uddin
d33f84eb3e Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:24:40 +00:00
Baligh Uddin
fccb3b43a9 Merge "Import translations. DO NOT MERGE" into lmp-mr1-dev 2014-12-03 01:24:34 +00:00
Jason Sams
bb7e86ff04 Fix bug in passing of context flags and version.
bug 18592099

Change-Id: Id20906f6f47b573d881025453a3b6356bcf6e9c7
2014-12-02 17:24:17 -08:00
Filip Gruszczynski
a2838dfc2c Add overscan insets to surface frame dimensions in WallpaperService.
Bug: 18595832
Change-Id: Ia5a03cc5e059153d76907627ee0811b0851e35ed
2014-12-02 17:23:41 -08:00
Mathieu Meisser
bc415a3677 Add keylayout for Logitech RedHawk Gamepad DO NO MERGE
Bug: 18596369
Change-Id: Iad03de3384052b360d6b9d887ca9540de68cd21e
2014-12-02 17:21:47 -08:00
Stuart Wells
4a52453ce8 Added Razer USA, Ltd serval DO NOT MERGE
Bug: 18596369
Change-Id: I76b7c36068c3d10ab4acb3123550ef115db0d3d2
2014-12-02 17:21:47 -08:00
Michael Wright
7081a5d1ae Merge "Correctly iterate through MediaProjection callbacks." into lmp-mr1-dev 2014-12-03 01:14:22 +00:00
Wink Saville
47920fac33 Add getSimStateForSubscriber and additional SIM_STATE_XXXX values
Bug: 18364932
Change-Id: I836b751a443635efcfb9987bb3b91f55c4dff9d6
2014-12-02 17:08:14 -08:00
Baligh Uddin
5950a91371 Import translations. DO NOT MERGE
Change-Id: Ia2ccce90103cdc5e6b3814d50394e9c81e38010d
Auto-generated-cl: translation import
2014-12-02 16:50:24 -08:00
Craig Mautner
6ee618509a Don't process windows belonging to unshown users
Add a test for whether a window will be shown to the current user.
Otherwise we wait to process windows that are drawn but will never
be shown. Consequently we end up in a layout loop that continues
to set pendingLayoutChanges at the point where "wallpaper and
commitFinishDrawingLocked true" message is generated.

Fixes bug 18510914.

Change-Id: Ib067b41b5f26b146ee6bdb16c2f3b07d20aa2c54
2014-12-02 16:47:29 -08:00
Baligh Uddin
18e71a31a2 Import translations. DO NOT MERGE
Change-Id: I32d37766e97752a7f9479cdf933470978ca3f616
Auto-generated-cl: translation import
2014-12-02 16:47:06 -08:00
Baligh Uddin
053b538ab2 Import translations. DO NOT MERGE
Change-Id: Id585c5bed5366430b476445a1806748894dd34ac
Auto-generated-cl: translation import
2014-12-02 16:45:14 -08:00