Android 锁屏的来源 [英] Source of Android's lock screen

查看:48
本文介绍了Android 锁屏的来源的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找安卓锁屏的源代码.它适用于任何版本的 Android(1.5、1.6、2.0 等).

I am looking for the source code of the android lock screen. It can be for any version of Android (1.5, 1.6, 2.0, etc).

我尝试在存储库中查看:https://android.googlesource.com/,但是它看起来不像在 platform/frameworks/base 下.也许它是闭源的?

I tried looking in the repository at: https://android.googlesource.com/, but it doesn't look like it's under platform/frameworks/base. Maybe it's closed source?

推荐答案

根据 Google 的路线.

从 Android 4.2 开始,keyguard 源位于 frameworks/base/policy/src/com/android/internal/policy/impl/keyguard.有一个 GitHub 上的镜像 您可以在线查看(我将此链接与 JB MR 1.1 版本挂钩,以防将来版本中的位置再次更改).

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).

最初回答这个问题时,Android 2.3 及更低版本的锁屏源位于 frameworks/policies/base/phone/com/android/internal/policy/impl.您还可以在他们的 GitHub 中在线查看 这些资源镜子;该源仍然在当前的存储库中运行,但已经好几年没有更新了.

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.

这篇关于Android 锁屏的来源的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆