Skip to content

About

Android system screen rotation demo

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Screen Rotation Demo Code

Framework

Since IWindowManager is a hide api, we can only use reflection or add framework.jar to call it, we directly add framework.jar to the project

System Signed

Since the freezeRotation requires SET_ORIENTATION permission , we add permission and used system signature

You should add the following code for system signature

android:sharedUserId="android.uid.system"

Demo apk

We have added the compiled app , you can use it directly

About

Android system screen rotation demo

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages