[automerger skipped] Replace direct pid writes with setting task profiles am: 6c245b42f5 am: 8e5f470c97 -s ours am: 66faa3aba1 -s ours am: 827dd59032 -s ours

am skip reason: Change-Id I3e06e25a75cf79674d8381b3356c64790fd5a597 with SHA-1 7a5ff88143 is in history

Change-Id: I7dbdc473cf85c9163838f95cb4c2929503d13e1a