diff options
author | Christian Schneppe <christian@pix-art.de> | 2016-10-23 19:50:43 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-10-23 19:50:43 +0200 |
commit | 00d2b77d874152256dd2e43dcbdf510b0f1dde4a (patch) | |
tree | f9e62d1b0af78201e521627a711d11e1737aa6eb /src/main/java/de/pixart/messenger/ui | |
parent | 86554a846440428fbb4965070956862c3e17c771 (diff) |
Revert "stop rotation in ShareWithActivity"
This reverts commit dbb43eb7a456a9cbdc4d21b6143796c84c5d2ee6.
Diffstat (limited to 'src/main/java/de/pixart/messenger/ui')
-rw-r--r-- | src/main/java/de/pixart/messenger/ui/ShareWithActivity.java | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java index 62bea85f9..e2280bdf2 100644 --- a/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java +++ b/src/main/java/de/pixart/messenger/ui/ShareWithActivity.java @@ -2,7 +2,6 @@ package de.pixart.messenger.ui; import android.app.PendingIntent; import android.content.Intent; -import android.content.pm.ActivityInfo; import android.net.Uri; import android.os.Bundle; import android.util.Log; @@ -144,8 +143,6 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); - setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_NOSENSOR); - if (getActionBar() != null) { getActionBar().setDisplayHomeAsUpEnabled(false); getActionBar().setHomeButtonEnabled(false); @@ -165,7 +162,7 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer } }); - this.share = new Share(); + this.share = new Share(); } @Override @@ -375,11 +372,4 @@ public class ShareWithActivity extends XmppActivity implements XmppConnectionSer super.onBackPressed(); } } - - @Override - public void onStop() { - super.onStop(); - setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED); - } - } |