I believe you are confusing *foreground* from a shell perspective and Android perspective (foreground activity):
$ ps | grep fg makes no sense to me. Have a look to this question<http://programmers.stackexchange.com/questions/162940/how-do-i-implement-the-bg-and-fg-commands-functionaliity-in-my-custom-unix-s>. I believe the Original Poster has the same misunderstanding as you here. Good luck, Emeric On Mon, Jul 15, 2013 at 9:41 PM, Boyan Vladinov <boyan.vladi...@gmail.com>wrote: > Hello, > > I know that only visible application is with foreground priority, but when > I get process list ps | grep fg I see not only the visible app there, but > many more. > Is this ok or some I miss something in my configuration? > > -- > -- > unsubscribe: android-kernel+unsubscr...@googlegroups.com > website: http://groups.google.com/group/android-kernel > --- > You received this message because you are subscribed to the Google Groups > "Android Linux Kernel Development" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to android-kernel+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel --- You received this message because you are subscribed to the Google Groups "Android Linux Kernel Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-kernel+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.