Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00a7d92e authored by Jorge Ruesga's avatar Jorge Ruesga Committed by Danny Baumann
Browse files

DeskClock: User-defined world cities



Support for add user-defined cities to the world clock

Patchset 2: Added GPS query
Patchset 3: Added GPS drawables
            Call requestGpsLocation in background
Patchset 4: Added timezone resolution through Google Api
            Added Marco suggestions
            Rebased
Patchset 5: Remove trailing whitespaces
Patchset 6: Moved cm strings to the end of the file
            Rebased
Patchset 7: Export DbCityProvider. Enforce write permission to DeskClock only
Patchset 8: Fix FC when there is no default timezone
            Add content description to GPS button
            Don't create a new city record of city name + city tz already exists
Patchset 9: Rebased
Patchset 10: Rebased (Moved string to cm_string)
Patchset 11: Cleanup
Patchset 12: Use localized time zone names
Patchset 13: Fix online timezone lookup
Patchset 14: CleanUp. Save dialog state
Patchset 15: Kill of async tasks when closing dialog

Change-Id: Ibb6febc674ca536728367588437fbdacaa437ff3
Signed-off-by: default avatarJorge Ruesga <jorge@ruesga.com>
parent 6d842eb9
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -13,6 +13,12 @@
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.DEVICE_POWER" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="com.android.deskclock.worldclock.permissions.WRITE_DATABASE" />

    <uses-sdk android:minSdkVersion="15"></uses-sdk>

    <application android:label="@string/app_label"
@@ -22,6 +28,11 @@
                android:authorities="com.android.deskclock"
                android:exported="false" />

        <provider android:name="com.android.deskclock.worldclock.db.DbCityProvider"
                android:authorities="com.android.deskclock.worldclock.db"
                android:exported="true"
                android:writePermission="com.android.deskclock.worldclock.permissions.WRITE_DATABASE" />

        <activity android:name="DeskClock"
                android:label="@string/app_label"
                android:theme="@style/DeskClock"
+1.53 KiB
Loading image diff...
+1.53 KiB
Loading image diff...
+1.93 KiB
Loading image diff...
+985 B
Loading image diff...
Loading