~mzanetti/unity8/fix-launcher-count-emblems

Viewing all changes in revision 1350.

  • Committer: CI bot
  • Author(s): Michael Terry
  • Date: 2014-10-09 14:05:08 UTC
  • mfrom: (1258.3.20 emergency-tablet)
  • Revision ID: ps-jenkins@lists.canonical.com-20141009140508-s8fv5whdiuj5c7ql
Fix some security issues with the tablet greeter, which allowed the lockscreen to be bypassed.  (LP: #1367715)

Recent greeter fixes for phone mode did not fully take the tablet scenario into account.  This branch does three main things:

1) Rename fakeActiveForApp because it is nothing but confusing.  I renamed the variable itself to lockedApp and added a new variable hasLockedApp, which is infinitely clearer than fakeActiveForApp !== "", which is what we used to use.  Since that is a very security-sensitive variable, I figured it's best to be clear.

2) Closed a security bug where if the user could plug in a phone showing the emergency dialer to a bigger screen, thus switching to tablet mode, they could get access to other apps.

3) Closed a security bug where the tablet lockscreen could be left-swiped away.

4) Closed a security bug where the tablet would unlock itself if you launched an app from the indicators or launcher.  Now it just focuses the prompt field (much like how the phone shows the lockscreen pin pad). Fixes: 1367715
Approved by: Michael Zanetti

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: