首页 > 代码库 > android 连接USB按power键锁屏2声锁屏音

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

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声锁屏音