forked from upstream-mirrors/OpenTracks
Remove unneeded @TargetApi
fix android lint errors
This commit is contained in:
@@ -43,7 +43,9 @@ limitations under the License.
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout style="@style/TrackWidgetVerticalSeparator" >
|
||||
<LinearLayout
|
||||
android:baselineAligned="false"
|
||||
style="@style/TrackWidgetVerticalSeparator" >
|
||||
<LinearLayout
|
||||
android:layout_weight="2"
|
||||
style="@style/TrackWidgetVerticalSpacer" />
|
||||
@@ -102,7 +104,9 @@ limitations under the License.
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- vertical separator -->
|
||||
<LinearLayout style="@style/TrackWidgetVerticalSeparator" >
|
||||
<LinearLayout
|
||||
android:baselineAligned="false"
|
||||
style="@style/TrackWidgetVerticalSeparator" >
|
||||
<LinearLayout
|
||||
android:layout_weight="1"
|
||||
style="@style/TrackWidgetVerticalLine" />
|
||||
|
||||
@@ -17,7 +17,6 @@ package com.google.android.apps.mytracks.io.backup;
|
||||
|
||||
import com.google.android.apps.mytracks.Constants;
|
||||
|
||||
import android.annotation.TargetApi;
|
||||
import android.app.backup.BackupAgent;
|
||||
import android.app.backup.BackupDataInput;
|
||||
import android.app.backup.BackupDataOutput;
|
||||
@@ -35,7 +34,6 @@ import java.io.IOException;
|
||||
*
|
||||
* @author Rodrigo Damazio
|
||||
*/
|
||||
@TargetApi(8)
|
||||
public class MyTracksBackupAgent extends BackupAgent {
|
||||
private static final String PREFERENCES_ENTITY = "prefs";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user