码迷,mamicode.com
首页 > 移动开发 > 详细

android 连接USB按power键锁屏2声锁屏音

时间:2015-02-03 22:44:00      阅读:179      评论:0      收藏:0      [点我收藏+]

标签:

alps\frameworks\base\packages\Keyguard\src\com\android\keyguard\KeyguardViewMediator.java
#1384 行左右:
        ///M: [ALPS00827994] always to play sound for user to unlock keyguard
        mSuppressNextLockSound = false;
改动:
        ///M: [ALPS00827994] always to play sound for user to unlock keyguard
        if (authenticated) {
            mSuppressNextLockSound = false;
        } else {
            mSuppressNextLockSound = true;
        }

android 连接USB按power键锁屏2声锁屏音

标签:

原文地址:http://www.cnblogs.com/gcczhongduan/p/4271072.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!