Hacker News new | ask | show | jobs
by jgibson 2903 days ago
Android already does this. When you plug in you get a notification with options for - Charging only (with direction selection if your phone supports it) - USB media protocol - USB flash storage
1 comments

That’s assuming the software can’t be exploited.