On Wednesday, January 2, 2013 2:46:23 AM UTC-6, futurexiong wrote:
>
> I modified createLockScreen method of LockPatternKeyguardView.java in 
> framework,intend to change default LockScreen. In createLockScreen method I 
> use reflection to new my own lockscreen view in my own lockscreen apk which 
> would be installed in /system/app/.
> It works fine when i build the entire system with eng mode,
>


Sounds like you should build it with eng mode.

 

> but not fine with usr mode.Log shows me that reflection find no such 
> method in my own lockscreen view. I decompile the apk in each build 
> mode,find out that apk build with usr mode does not have constructor,and 
> some other method are lost either.
> Can anyone explain this weird situation for me?
> BTW,my apk share uid with android.uid.system and my Android.mk add this 
> line:LOCAL_JAVA_LIBRARIES := android.policy framework because I need to use 
> some internal apis of Keyguard.
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to