a) 定义lockscreen 的在type是在这里:
路径:
alps/mediatek/config/project/ ProjectConfig.mk
修改:MTK_LOCKSCREEN_TYPE = 1
b) 在下面的函数增加一个case;
LockPatternKeyguardView.java
View createLockScreen() {
……
case LOCK_SCREEN_ORI:
default:
curScreen = new LockScreen(
mContext,
mConfiguration,
mLockPatternUtils,
mUpdateMonitor,
mKeyguardScreenCallback);
break;
}
return curScreen;
}
路径:
alps/mediatek/config/project/ ProjectConfig.mk
修改:MTK_LOCKSCREEN_TYPE = 1
b) 在下面的函数增加一个case;
LockPatternKeyguardView.java
View createLockScreen() {
……
case LOCK_SCREEN_ORI:
default:
curScreen = new LockScreen(
mContext,
mConfiguration,
mLockPatternUtils,
mUpdateMonitor,
mKeyguardScreenCallback);
break;
}
return curScreen;
}