Commit bc4ba82
Amith Yamasani
Remove user switcher from long-press power menu
Bug: 7252218
Also lock the screen before doing the user switch. This prevents the
janky behavior of showing the target user's homescreen after the switch
and then the lock screen. This is also a privacy issue.
Change-Id: I9f8db047335d06fc93505d7b5cca71e27ca3ac391 parent 195b6e1 commit bc4ba82
File tree
2 files changed
+35
-27
lines changed- policy/src/com/android/internal/policy/impl
- services/java/com/android/server/am
2 files changed
+35
-27
lines changedLines changed: 34 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
289 | 322 | | |
290 | 323 | | |
291 | 324 | | |
| |||
320 | 353 | | |
321 | 354 | | |
322 | 355 | | |
323 | | - | |
| 356 | + | |
324 | 357 | | |
325 | 358 | | |
326 | | - | |
327 | | - | |
328 | | - | |
329 | | - | |
330 | | - | |
331 | | - | |
332 | | - | |
333 | | - | |
334 | | - | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | | - | |
351 | | - | |
352 | 359 | | |
353 | 360 | | |
354 | 361 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14057 | 14057 | | |
14058 | 14058 | | |
14059 | 14059 | | |
| 14060 | + | |
14060 | 14061 | | |
14061 | 14062 | | |
14062 | 14063 | | |
| |||
0 commit comments