12745 Commits

Author SHA1 Message Date
Craig Mautner
1603077067 Convert mHistory to mTaskHistory (5)
- Remove commented out resetTaskIfNeededLocked.
- Remove mHistory from performClearTaskLocked(int, ActivityRecord).
- Remove mHistory from performClearTaskAtIndexLocked.
- Remove mHistory from performClearTaskLocked(int).
- Remove mHistory from getTaskAccessInfoLocked.

Change-Id: I3616147f9e9befa297f244dc4fd5d7b1e97300b3
2013-02-26 16:05:47 -08:00
Craig Mautner
000f002891 Convert mHistory to mTaskHistory (4)
- Remove mHistory from getTaskForActivityLocked.
- Remove mHistory from findTaskLocked.
- Remove mHistory from findActivityLocked.
- Minimize mHistory usage in switchUserLocked.
- Remove mHistory from resumeTopActivityLocked.
- Remove mHistory from validateAppTokensLocked.

Change-Id: I0cc7cf2f1b5a66a1e3b3a9baff7712a3f2f0d5c4
2013-02-26 15:04:29 -08:00
Craig Mautner
d74f7d728f Convert mHistory to mTaskHistory (3)
- Remove mHistory from topRunningActivityLocked(IBinder).
- Remove mHistory from topRunningNonDelayedActivityLocked.
- Remove mHistory from topRunningActivityLocked(ActivityRecord).
- Remove indexOfTokenLocked and its uses in
requestFinishActivityLocked and finishActivityAffinityLocked.

Change-Id: I96b44f66486406b4006b7937360fd92e8dd73060
2013-02-26 13:46:27 -08:00
Craig Mautner
f81b908752 Remove AppTokenIterator from DisplayContent.
Simplify accessing successive AppWindowTokens from different
TaskLists.

Change-Id: Icf6265dd6c7953c9c770c97e1342f0f81256c017
2013-02-26 13:04:35 -08:00
Maggie Benthall
3316f30add am 40bbc3bb: Merge "Add location sharing toggle user restriction." into jb-mr2-dev
* commit '40bbc3bb9997c6e9ea9aae42edd6bb4430d70978':
  Add location sharing toggle user restriction.
2013-02-25 21:49:03 +00:00
Craig Mautner
bc8cbe5ce8 Merge "Convert mHistory to mTaskHistory (2)" 2013-02-25 21:46:16 +00:00
Maggie Benthall
40bbc3bb99 Merge "Add location sharing toggle user restriction." into jb-mr2-dev 2013-02-25 21:42:13 +00:00
Geremy Condra
61f542ab95 Merge "Added the KeySetManager." 2013-02-25 21:42:12 +00:00
Romain Guy
25e8804340 am eb9dddbf: Merge "Lookup permission groups by name" into jb-mr2-dev
* commit 'eb9dddbffb9f2d568d2222454c5dd7582efa819d':
  Lookup permission groups by name
2013-02-25 21:38:59 +00:00
Romain Guy
eb9dddbffb Merge "Lookup permission groups by name" into jb-mr2-dev 2013-02-25 21:35:29 +00:00
Romain Guy
01d159d88a Lookup permission groups by name
When a top-level permission group is specified, lookup the group id
by name instead of parsing the value as an integer. This matches
what we do when the group tag is a child of <permission/>.

Change-Id: I54954ae683cecdf72cf846f75383bf6ba862dc5b
2013-02-25 13:22:42 -08:00
Craig Mautner
716e57b611 Merge "Conversion from mHistory to mTaskHistory." 2013-02-25 20:57:49 +00:00
Jeff Sharkey
7235e1c39d am 954e3e90: Merge "Require command and argument separation, cleanup." into jb-mr2-dev
* commit '954e3e90181533041858f230cc10388f4c90e014':
  Require command and argument separation, cleanup.
2013-02-25 19:17:42 +00:00
Jeff Sharkey
7b4596fd68 Require command and argument separation, cleanup.
When invoking NativeDaemonCommands, require that base command and
arguments are separate.  Clean up reverse tethering commands, and
remove deprecated throttle events.

Change-Id: I302a74130b4f7c3f3045815a56d566e89c8969f6
2013-02-25 11:02:50 -08:00
Craig Mautner
56f52db423 Convert mHistory to mTaskHistory (2)
- findActivityInHistoryLocked
- moveActivityToFrontLocked
- forceStopPackageLocked

Change-Id: I9dec65fc4cff12184e144b1ad2d39ffbfed0b270
2013-02-25 10:03:01 -08:00
Maggie Benthall
6794458f86 Add location sharing toggle user restriction.
And add support for respecting it.

Change-Id: Ia5cf9134c5f5741c3f55afadbe54f862da7bfe5b
2013-02-25 12:45:14 -05:00
Craig Mautner
d44711ddd3 Conversion from mHistory to mTaskHistory.
Change-Id: I7c43a923ce248edb4ca7d5fc6d1e0c492522f5a0
2013-02-23 11:24:36 -08:00
Craig Mautner
e3a74d5d64 Refactor resetTaskIfNeededLocked for tasks.
Change-Id: I1ad8b7ffe1f17490ebcb98ea48d57f0b15f888c9
2013-02-23 08:37:20 -08:00
Michael Wright
c50536b85a Merge "Disable kernel keyrepeat" 2013-02-23 06:33:08 +00:00
Dianne Hackborn
c4aad01cbb Formalize overscan metrics.
The window manager now maintains and reports a new formal
"overscan insets" for each window, much like the existing
content and visible insets.  This is used to correctly
position the various UI elements in the various combination
of layout options.  In particular, this allows us to have
an activity that is using fitSystemWindows to have the content
of its UI extend out to the visible content part of the screen
while still positioning its fixed UI elements inside the
standard content rect (and the entire window extending all
the way into the overscan area to fill the screen as desired).

Okay, maybe that is not written so clearly.  Well, it made
my head hurt too, so suffer!

The key thing is that windows now need to know about three
rectangles: the overall rectangle of the window, the rectangle
inside of the overscan area, and the rectangle inside of the
content area.  The FLAG_LAYOUT_IN_OVERSCAN option controls
whether the second rectangle is pushed out to fill the entire
overscan area.

Also did some improvements to debug dumping in the window
manager.

Change-Id: Ib2368c4aff5709d00662c799507c37b6826929fd
2013-02-22 19:14:37 -08:00
Robert Greenwalt
e436e4f8a4 Remove two new permission checks
These checks while technically reasonable are a hard to swallow API change
that may break existing apps and pragmatically serves no purpose:  the protected
data is available in publicly readable java VM properties.

Change-Id: I522c493c2604a33e28d99e2be31054326c9a8323
2013-02-22 15:36:33 -08:00
Michael Wright
a0a72850c2 Disable kernel keyrepeat
Bug: 6332980
Change-Id: Ife69167285aad24ed3e4fa5b65abf59d8dfa4f0a
2013-02-22 14:46:49 -08:00
Robert Greenwalt
a3f0665c62 Merge "Improve ConnectivityManager docs" 2013-02-22 20:02:02 +00:00
Craig Mautner
12e563fff9 Merge "Create rotation animation modes." 2013-02-22 18:51:21 +00:00
Craig Mautner
3c1743705c Create rotation animation modes.
Allow fullscreen windows to specify crossfade or jumpcut animations
that override the default rotation animation. Only if the incoming
and outgoing topmost windows are fullscreen and both specify the
same animation to use.

Fixes bug 8182773.

Change-Id: I6b3c0020d7bd2cdfba5c66189e114ec62cd54fcf
2013-02-22 10:44:52 -08:00
Irfan Sheriff
d99375528c Merge "Clean up scan handling" 2013-02-22 18:40:24 +00:00
Robert Greenwalt
5a6bdc46e2 Improve ConnectivityManager docs
Also fix some permission problems.
bug:5738328

Change-Id: Ib32c223f425b1fc03b8cce528456bcb50b540fdf
2013-02-22 10:39:20 -08:00
Irfan Sheriff
bcc97ca43a Clean up scan handling
Remove obsolete active/passive scan handling - drivers always
do active scan.

Also, remove AP_SCAN hack for preventing connections and use
the TYPE=ONLY scan.

Bug: 8158647
Change-Id: I8f70e19219ad789b7501a40529bcd6b6524739e8
2013-02-22 09:23:55 -08:00
Craig Mautner
be88cb1d6c am 47e8074d: Merge "Update histories simultaneously."
* commit '47e8074d401b0a2c38b376329bfe8bf1f62da23b':
  Update histories simultaneously.
2013-02-21 20:06:14 -08:00
Craig Mautner
47e8074d40 Merge "Update histories simultaneously." 2013-02-22 04:02:24 +00:00
Craig Mautner
b44de0d910 Update histories simultaneously.
In moveTaskToBackLocked calls that used mHistory were being made
between the times that mTaskHistory and mHistory were modified. This
caused an inconsistent state that led to Windows arranged out of
order. Updating both history stacks at the same time fixes this.

Fixes bug 8244261.

Change-Id: I9669762ad39b06ab6d401122702b74969d4dc658
2013-02-21 20:00:58 -08:00
Christopher Tate
835aac396c am ab6b77fd: Merge "Be cool in backup/restore of apps that can\'t touch external storage"
* commit 'ab6b77fd85979212299d8aef0b2c83c005b13abc':
  Be cool in backup/restore of apps that can't touch external storage
2013-02-21 15:50:16 -08:00
Christopher Tate
ab6b77fd85 Merge "Be cool in backup/restore of apps that can't touch external storage" 2013-02-21 23:45:02 +00:00
Christopher Tate
5cb5c337d5 Be cool in backup/restore of apps that can't touch external storage
Bug: 8241337
Change-Id: I23f6eeba8448b234a7b18ce50d2ced2ba54b4ebd
2013-02-21 15:43:52 -08:00
Jeff Sharkey
fb09c375b1 am 2b3a47b9: Merge "Allow L2TP traffic to lockdown VPN servers."
* commit '2b3a47b9ce0f422323395286937944a2afa51ed6':
  Allow L2TP traffic to lockdown VPN servers.
2013-02-21 14:15:53 -08:00
Jeff Sharkey
0ff9af2ecb am c0997b0e: Merge "Improve notification UI for lockdown VPN."
* commit 'c0997b0e6291d7c97963623eed2a41994a7855cf':
  Improve notification UI for lockdown VPN.
2013-02-21 14:15:51 -08:00
Irfan Sheriff
c538b730d4 am 8a64b1a7: Handle airplane settings properly
* commit '8a64b1a7f4b07e71b9eb0f4a98710cb1409588bf':
  Handle airplane settings properly
2013-02-21 14:15:47 -08:00
Irfan Sheriff
6f85bdcacc am b8c0e009: Restructure wifiservice for clarity
* commit 'b8c0e009a74ac2eaee8946fbe0bb3b3fe2749c9a':
  Restructure wifiservice for clarity
2013-02-21 14:15:45 -08:00
Irfan Sheriff
713422afab am d017f352: Move wifiservice into its own package
* commit 'd017f3523244974a8a3fb653ed4b6d514affcc01':
  Move wifiservice into its own package
2013-02-21 14:15:42 -08:00
Craig Mautner
4636dc4c5d am 7a7360ad: Merge "Add null check to setAppGroupId."
* commit '7a7360ad528576d560aa13fbb4e81740b2c425b2':
  Add null check to setAppGroupId.
2013-02-21 14:15:39 -08:00
Jeff Sharkey
2b3a47b9ce Merge "Allow L2TP traffic to lockdown VPN servers." 2013-02-21 18:33:29 +00:00
Jeff Sharkey
42c0c9f35a Allow L2TP traffic to lockdown VPN servers.
Bug: 8067988
Change-Id: I6cb7d07e0c4b7c6e112a26a06892e859e6b515a8
2013-02-21 10:31:45 -08:00
Jeff Sharkey
c0997b0e62 Merge "Improve notification UI for lockdown VPN." 2013-02-21 17:49:28 +00:00
Jeff Sharkey
4fa63b2d5e Improve notification UI for lockdown VPN.
Bug: 7064111
Change-Id: I9554f6a426697b4abeb2ddd0827d314920e88ed6
2013-02-21 09:47:11 -08:00
Irfan Sheriff
8a64b1a7f4 Handle airplane settings properly
Fix bug dealing with airplane mode settings of whether wifi
is sensitive to airplane mode change and whether wifi is
allowed to override airplane mode that likely has been
broken ever since.

Bug: 8141918
Change-Id: Ia3116c9dfce2952cbe3911e9d81dbbae0430abef
2013-02-21 08:49:54 -08:00
Irfan Sheriff
b8c0e009a7 Restructure wifiservice for clarity
Move seperate operation pieces into own classes

Bug: 8141918
Change-Id: Iacb15ceca5431136051e815aa71617eef89b9fe9
2013-02-21 08:49:07 -08:00
Irfan Sheriff
d017f35232 Move wifiservice into its own package
Change-Id: I3ff378a29cb4dd191605b0b641147eba1f445d13
2013-02-21 08:48:18 -08:00
Craig Mautner
32b44d08e2 Add null check to setAppGroupId.
Fix bug 8217929.

Change-Id: I3bd54c32abcf6683c2fa75a85bf5025f47e09398
2013-02-21 08:26:06 -08:00
Geremy Condra
f1bcca8215 Added the KeySetManager.
Bug: 7554291
Change-Id: Ic693a544f1e2cab20f6540b3fc4ff673e35bd2c6
2013-02-20 20:06:29 -08:00
Craig Mautner
207493c40a am 5161f209: Fix crashing bug in validator.
* commit '5161f20925ec071e72c2b0eb084f7abaa9dffabf':
  Fix crashing bug in validator.
2013-02-20 16:58:42 -08:00