|
@@ -42,10 +42,10 @@ public class DepartmentList extends AppCompatActivity {
|
|
setContentView(R.layout.activity_department_list);
|
|
setContentView(R.layout.activity_department_list);
|
|
|
|
|
|
//API26에서만 Translucent/Floating 으로 만든 투명한 Activity들은 화면 회전고정을 하지 못하함
|
|
//API26에서만 Translucent/Floating 으로 만든 투명한 Activity들은 화면 회전고정을 하지 못하함
|
|
- try {
|
|
|
|
- setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
|
|
|
- } catch (IllegalStateException ignore) {
|
|
|
|
- }
|
|
|
|
|
|
+// try {
|
|
|
|
+// setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
|
|
|
|
+// } catch (IllegalStateException ignore) {
|
|
|
|
+// }
|
|
|
|
|
|
init();
|
|
init();
|
|
}
|
|
}
|