Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Commit

Permalink
Disable screen rotation (it leaks advertisers)
Browse files Browse the repository at this point in the history
Rotate the screen while advertising, and the advertiser leaks (when the Activity is recreated). From then on, the on/off switch is broken (you're still advertising even if you flip the switch off).  Advertising only stops if you kill the app.

So, disable screen rotation until we support this.
  • Loading branch information
jfarfel authored Aug 11, 2016
1 parent 59b7ff0 commit b130bd9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:label="@string/app_name">
android:label="@string/app_name"
android:screenOrientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>

Expand Down

0 comments on commit b130bd9

Please sign in to comment.