11184 Commits

Author SHA1 Message Date
Dianne Hackborn
558a3c1b7b Merge "Kill processes when permissions are revoked." into jb-mr2-dev 2013-04-09 17:38:00 +00:00
Dianne Hackborn
f1b782427f Kill processes when permissions are revoked.
Some permissions are associated with gids, so we need to
kill any running processes if their permission is revoked.
We will do this for any permission being revoked, since
the association between gids and permissions can change
over time.

Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010
2013-04-08 22:28:59 -07:00
Eric Rowe
675d389f6f am fa67c5ad: am 3c09715c: Merge "Change dropbox tag for native crashes." into jb-mr2-dev
* commit 'fa67c5ada25643953144895f961c9ce0f8cc31e7':
  Change dropbox tag for native crashes.
2013-04-08 19:15:19 -07:00
Eric Rowe
fa67c5ada2 am 3c09715c: Merge "Change dropbox tag for native crashes." into jb-mr2-dev
* commit '3c09715cedc737cc6e36c201d9f9188c3615e9a5':
  Change dropbox tag for native crashes.
2013-04-08 17:15:33 -07:00
Eric Rowe
3c09715ced Merge "Change dropbox tag for native crashes." into jb-mr2-dev 2013-04-09 00:11:51 +00:00
Kenny Root
c21e2cb672 am b3be67ce: am 0eee410e: Merge "Check outInfo is not null" into jb-mr2-dev
* commit 'b3be67ce34966dfccfccf4918ee5c93c4971a6d0':
  Check outInfo is not null
2013-04-08 17:05:50 -07:00
Ben Gruver
1b4e91dfbf am 0b909eb6: am 89454f83: Merge "Implement event logging for intent firewall" into jb-mr2-dev
* commit '0b909eb6bf621198f5f5b49f9f13a165597c823d':
  Implement event logging for intent firewall
2013-04-08 17:05:22 -07:00
Robert Greenwalt
00e8d4c1b6 Turn back on global proxy support.
This reverts 138626.

Bug:8557674
Change-Id: I7b117d313c424d75bdeeea507541a96342f256f0
2013-04-08 16:31:26 -07:00
Kenny Root
b3be67ce34 am 0eee410e: Merge "Check outInfo is not null" into jb-mr2-dev
* commit '0eee410e473c1546af80c63ec866655a28833f33':
  Check outInfo is not null
2013-04-08 16:16:44 -07:00
Kenny Root
0eee410e47 Merge "Check outInfo is not null" into jb-mr2-dev 2013-04-08 23:10:50 +00:00
Kenny Root
3b9933d0c2 Check outInfo is not null
Only call keystore if outInfo is not null

Bug: 8568820
Change-Id: I24ab625ad02b8510da489911064453de642b6748
2013-04-08 16:06:24 -07:00
Eric Rowe
88d842cf8a Change dropbox tag for native crashes.
Change-Id: Id2738fc758c3d144e5fdd2c7f1c8617dad129338
2013-04-08 15:00:27 -07:00
Ben Gruver
7b879f4b93 resolved conflicts for merge of 0929c3b1 to master
Change-Id: I70d4b652e804f3e607b1cd1b6837204c77610d87
2013-04-08 14:56:55 -07:00
Ben Gruver
0b909eb6bf am 89454f83: Merge "Implement event logging for intent firewall" into jb-mr2-dev
* commit '89454f8331cd7d582eafca87c6586feb5db509c7':
  Implement event logging for intent firewall
2013-04-08 14:44:46 -07:00
Ben Gruver
0929c3b140 am b1a90d3b: Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev
* commit 'b1a90d3b1422b0eb469e8960e6398a49ec036e0b':
  Remove the sender package filter from the intent firewall
2013-04-08 14:41:06 -07:00
Ben Gruver
89454f8331 Merge "Implement event logging for intent firewall" into jb-mr2-dev 2013-04-08 21:40:26 +00:00
Ben Gruver
b1a90d3b14 Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev 2013-04-08 21:36:37 +00:00
Ben Gruver
a4879c3425 Monitor the firewall rules file for changes
Change-Id: I4e9a8f06cc535ba5a347e6992e1466cff09890e9
2013-04-08 14:27:37 -07:00
Daniel Sandler
a92c7971b1 am 684d24cf: am dc634351: Merge "Clean up language in forced foreground service notifications." into jb-mr2-dev
* commit '684d24cf664330288d7e91d33e0d8426bb3960e0':
  Clean up language in forced foreground service notifications.
2013-04-08 12:55:36 -07:00
Daniel Sandler
684d24cf66 am dc634351: Merge "Clean up language in forced foreground service notifications." into jb-mr2-dev
* commit 'dc634351d4f8a59e4b5743c58571d1ef04da668a':
  Clean up language in forced foreground service notifications.
2013-04-08 12:51:33 -07:00
Daniel Sandler
91fe8455d6 Clean up language in forced foreground service notifications.
Old:  [ IC ] %s running
      [ ON ] %s is running

New:  [ IC ] %s is running
      [ ON ] Touch for more information or to stop the app.

Additionally, disallow these misbehaving services from
supplying their own content views; if you attempt to run a
foreground service with icon == 0, this is the notification
you will get, period.

Bug: 8525548
Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35
2013-04-08 13:01:02 -04:00
Ben Gruver
8be8df2141 Implement event logging for intent firewall
Change-Id: If79052d07f3e5c02cfdbd0dd00026b01110045c2
2013-04-07 14:29:34 -07:00
Craig Mautner
d5d5d0f4b8 Prepare WindowManager for multiple stacks.
Create concept of home stack. When moving a new task to the top
move the home stack back.

Change-Id: I2e352722da0c4785b19227713bc30c0850d187b1
2013-04-06 19:01:32 -07:00
Craig Mautner
9e4f28cfa1 Separate stacks into Home and others.
Change-Id: I9434ee6cd9e8a8baf24d4e4ee5a15e99cf11f227
2013-04-06 19:01:32 -07:00
Geremy Condra
0bea440891 am 51ad68b9: am 212af6db: Merge "Add /data/security path for mac_permissions.xml."
* commit '51ad68b9a5d5a8eb705eafd40833efca24731079':
  Add /data/security path for mac_permissions.xml.
2013-04-05 16:43:29 -07:00
Geremy Condra
51ad68b9a5 am 212af6db: Merge "Add /data/security path for mac_permissions.xml."
* commit '212af6dbd7b002bdfcc869fc0ee06d5d3d711fd6':
  Add /data/security path for mac_permissions.xml.
2013-04-05 16:40:59 -07:00
Geremy Condra
0e9fdc9c14 am a1ca6fac: Merge "Fix crash in ConfigUpdater when the target dir doesn\'t exist." into jb-mr2-dev
* commit 'a1ca6faceed2eb8fba81bd7e30b3a5bae82cd484':
  Fix crash in ConfigUpdater when the target dir doesn't exist.
2013-04-05 15:29:43 -07:00
Geremy Condra
a1ca6facee Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." into jb-mr2-dev 2013-04-05 21:52:40 +00:00
Jeff Brown
ae9d6aa6d9 am 4c2a7b23: am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
* commit '4c2a7b23f5f012cf00357035f840a32d4da20eb5':
  Correctly manage the lifecycle of IME InputChannels.
2013-04-05 14:09:41 -07:00
Jeff Brown
4c2a7b23f5 am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
* commit '4a706bc6f1dcf4483b282d5758e22482cf02506f':
  Correctly manage the lifecycle of IME InputChannels.
2013-04-05 14:03:06 -07:00
Jeff Brown
4a706bc6f1 Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev 2013-04-05 20:57:01 +00:00
John Spurlock
8740cb1da6 resolved conflicts for merge of 29211d3a to master
Change-Id: I9691f41b12fbf52d0ef35a9bf5223edef7afdfd2
2013-04-05 16:18:59 -04:00
Geremy Condra
aa3c81e497 Fix crash in ConfigUpdater when the target dir doesn't exist.
Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d
2013-04-05 13:17:07 -07:00
Daniel Sandler
29211d3a16 am 5feceebb: New NotificationListenerService.
* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
  New NotificationListenerService.
2013-04-05 12:58:43 -07:00
Daniel Sandler
5feceebb89 New NotificationListenerService.
This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
2013-04-05 19:54:44 +00:00
Ben Gruver
9cc60e81d7 Remove the sender package filter from the intent firewall
Change-Id: I3124c6969984eef646f22216c709bdfb324d6679
2013-04-05 12:20:24 -07:00
Stephen Smalley
1274612985 Remove /data/system location for mac_permissions.xml.
/data/system is no longer the right location for mac_permissions.xml.
Remove it.

Change-Id: Iabefb734b40d6785013bd6f6427931939fd0648b
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2013-04-05 13:38:02 -04:00
Stephen Smalley
2c90ac6849 Add /data/security path for mac_permissions.xml.
/data/security is now the preferred location for updated policy files.
Add it for mac_permissions.xml.
Separate change will remove the old /data/system location.

Change-Id: I2774661e84c858c9b698ec60e224bbbcdac732f3
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2013-04-05 13:37:27 -04:00
Craig Mautner
e1197547a0 am d339818d: am bab9687e: Merge "Make the min layer go down through all windows" into jb-mr2-dev
* commit 'd339818d9a261974e535cd25797d7a614a17657d':
  Make the min layer go down through all windows
2013-04-05 10:33:53 -07:00
Craig Mautner
d339818d9a am bab9687e: Merge "Make the min layer go down through all windows" into jb-mr2-dev
* commit 'bab9687e6473072d6ff4f7ea5a7b21bcfbf95744':
  Make the min layer go down through all windows
2013-04-05 10:31:35 -07:00
Craig Mautner
bab9687e64 Merge "Make the min layer go down through all windows" into jb-mr2-dev 2013-04-05 17:28:08 +00:00
Craig Mautner
4238e3e4b5 Make the min layer go down through all windows
The min layer was set to only show the windows that matched
the specified app token. But that meant when dialogs were
launched it only showed the dialogs and not the background
windows.

Added improved debugging.

fixes bug 8502844.

Change-Id: I26b49568b872801ec9aa088df20317aa752dacd6
2013-04-05 10:26:19 -07:00
Ben Gruver
60765b285d am a1607a8c: am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev
* commit 'a1607a8c62a630150b4e96ec1148e90dc40ab984':
  Add a config updater component for the intent firewall
2013-04-05 09:41:34 -07:00
Ben Gruver
a1607a8c62 am 65f420ec: Merge "Add a config updater component for the intent firewall" into jb-mr2-dev
* commit '65f420ec98f451cb17e55c6ace3f249d73b33399':
  Add a config updater component for the intent firewall
2013-04-05 09:39:11 -07:00
Jeff Brown
1951ce86c2 Correctly manage the lifecycle of IME InputChannels.
InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process.  This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework.  We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79
2013-04-04 22:45:12 -07:00
Ben Gruver
633dc9bcef Add a config updater component for the intent firewall
Change-Id: I43f6defa16691099592bf87e75f2d1a732135cf3
2013-04-04 19:46:22 -07:00
Geremy Condra
db964a701a Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." 2013-04-05 01:04:04 +00:00
Geremy Condra
9765f94ce7 Fix crash in ConfigUpdater when the target dir doesn't exist.
Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d
2013-04-04 17:48:09 -07:00
Dan Morrill
e4d9a01bfc Phase 1 of refactoring SystemServer.
SystemServer is currently a monolithic class that brings up key system
services. This change is the first phase of refactoring it to be more
configurable. Specifically, it adds a set of on/off switches used to control
startup of individual services. Future plans include finer grained controls
and a more explicit and consistent startup sequence for these services.

Change-Id: I7299f5ce7d7b74a34eb56dffb788366fbc058532
2013-04-04 09:49:22 -07:00
Jeff Sharkey
fdbf07f174 am 07e8fc89: am 9059d377: Merge "Nuke heavy parts of notification before archiving." into jb-mr2-dev
* commit '07e8fc89b0acec9045db9f6ae3fd7730657ae850':
  Nuke heavy parts of notification before archiving.
2013-04-03 23:17:34 -07:00