login: ui.conf - Limit Android cpu usage during login

Limit the amount of cpu that Android processes can use during Chrome
login.  Use the cpu cgroup to achieve this.  The limit is removed by
login_manager when Chrome indicates that Android needs priority with the
"PrioritizeArcInstance" D-Bus message.

BUG=chrome-os-partner:56555
TEST=Check Android's cpu.shares value before and after starting the play
store app.

Change-Id: If0bb44ff1df5f613c8fbec22a2c6ce7a2d048add
Signed-off-by: Dylan Reid <dgreid@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/383984
Reviewed-by: Dmitry Torokhov <dtor@chromium.org>
1 file changed