mirror of
				https://github.com/SimpleMobileTools/Simple-Flashlight.git
				synced 2025-06-05 21:59:19 +02:00 
			
		
		
		
	update commons to 3.0.10
This commit is contained in:
		@@ -37,7 +37,7 @@ android {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
dependencies {
 | 
			
		||||
    implementation 'com.simplemobiletools:commons:3.0.3'
 | 
			
		||||
    implementation 'com.simplemobiletools:commons:3.0.10'
 | 
			
		||||
    implementation 'com.squareup:otto:1.3.8'
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -28,10 +28,10 @@
 | 
			
		||||
            android:name=".activities.SplashActivity"
 | 
			
		||||
            android:theme="@style/SplashTheme">
 | 
			
		||||
            <intent-filter>
 | 
			
		||||
                <action android:name="android.intent.action.MAIN" />
 | 
			
		||||
                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES" />
 | 
			
		||||
                <action android:name="android.intent.action.MAIN"/>
 | 
			
		||||
                <action android:name="android.service.quicksettings.action.QS_TILE_PREFERENCES"/>
 | 
			
		||||
 | 
			
		||||
                <category android:name="android.intent.category.LAUNCHER" />
 | 
			
		||||
                <category android:name="android.intent.category.LAUNCHER"/>
 | 
			
		||||
            </intent-filter>
 | 
			
		||||
        </activity>
 | 
			
		||||
 | 
			
		||||
@@ -87,11 +87,11 @@
 | 
			
		||||
 | 
			
		||||
        <service
 | 
			
		||||
            android:name=".helpers.MyTileService"
 | 
			
		||||
            android:label="@string/app_launcher_name"
 | 
			
		||||
            android:icon="@drawable/img_widget_preview"
 | 
			
		||||
            android:label="@string/app_launcher_name"
 | 
			
		||||
            android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
 | 
			
		||||
            <intent-filter>
 | 
			
		||||
                <action android:name="android.service.quicksettings.action.QS_TILE" />
 | 
			
		||||
                <action android:name="android.service.quicksettings.action.QS_TILE"/>
 | 
			
		||||
            </intent-filter>
 | 
			
		||||
        </service>
 | 
			
		||||
    </application>
 | 
			
		||||
 
 | 
			
		||||
@@ -34,6 +34,7 @@ class MainActivity : SimpleActivity() {
 | 
			
		||||
    override fun onCreate(savedInstanceState: Bundle?) {
 | 
			
		||||
        super.onCreate(savedInstanceState)
 | 
			
		||||
        setContentView(R.layout.activity_main)
 | 
			
		||||
        appLaunched()
 | 
			
		||||
 | 
			
		||||
        mBus = BusProvider.instance
 | 
			
		||||
        translucentWhite = resources.getColor(R.color.translucent_white)
 | 
			
		||||
 
 | 
			
		||||
@@ -38,8 +38,8 @@
 | 
			
		||||
        android:layout_width="@dimen/seekbar_width"
 | 
			
		||||
        android:layout_height="wrap_content"
 | 
			
		||||
        android:layout_margin="@dimen/activity_margin"
 | 
			
		||||
        android:paddingBottom="@dimen/seekbar_vertical_padding"
 | 
			
		||||
        android:paddingTop="@dimen/seekbar_vertical_padding"
 | 
			
		||||
        android:paddingBottom="@dimen/medium_margin"
 | 
			
		||||
        android:paddingTop="@dimen/medium_margin"
 | 
			
		||||
        android:visibility="invisible"/>
 | 
			
		||||
 | 
			
		||||
</LinearLayout>
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,5 @@
 | 
			
		||||
<resources>
 | 
			
		||||
    <dimen name="buttons_margin">30dp</dimen>
 | 
			
		||||
    <dimen name="seekbar_width">250dp</dimen>
 | 
			
		||||
    <dimen name="seekbar_vertical_padding">6dp</dimen>
 | 
			
		||||
    <dimen name="main_button_size">150dp</dimen>
 | 
			
		||||
</resources>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user