We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
根据Google 的指示对源代码进行实际的完整检查。
从 Android 4.2 开始,keyguard 源位于
frameworks/base/policy/src/com/android/internal/policy/impl/keyguard
。有一个 GitHub 上的镜像,您可以在线查看(我将此链接与 JB MR 1.1 版本挂钩,以防未来版本中位置再次发生变化)。当这个问题最初被回答时,Android 2.3 及更低版本的锁屏源代码位于
frameworks/policies/base/phone/com/android/internal/policy/impl
。您还可以在 GitHub 中在线查看这些源代码镜子;该源代码仍在当前的存储库中运行,但已经好几年没有更新了。
Do an actual full checkout of the source according to Google's directions.
As of Android 4.2, the keyguard source is at
frameworks/base/policy/src/com/android/internal/policy/impl/keyguard
. There's a mirror on GitHub you can look at online (I pegged this link to the JB MR 1.1 release in case the location changes again in a future release).When this question was originally answered, Android 2.3 and lower had their lockscreen source at
frameworks/policies/base/phone/com/android/internal/policy/impl
.You can also view these sources online in their GitHub mirror; that source is still kicking in the current repo, but hasn't been updated in several years.
对于那些使用 kitkat (android 4.4) 或以上源代码的人,代码似乎已移至
For those who are on kitkat (android 4.4) or above source code, it seems the code has been moved to