Conversation
import android.service.quicksettings.Tile; | ||
import android.service.quicksettings.TileService; | ||
|
||
public class TelecineTileService extends TileService { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, where did my default class template go!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using AS 2.2? http://b.android.com/211484
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep.
a6b31e3
to
ef4eb87
Compare
|
||
<service | ||
android:icon="@drawable/ic_videocam_white_24dp" | ||
android:label="@string/app_name" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably be @string/launch_overlay
to match the shortcut.
I'm also wondering if it would be beneficial to have a version of the launcher icon that can be used here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I was originally planning on using a variation of the launcher icon but you already had this one for notifications so I went with that. The shortcut just uses "Launch". Is the icon enough context to indicate it's Telecine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe a new "Launch Telecine" string then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Also found what might be a quick tiles bug. The system is caching the tile name for some period of time even after the app is updated. Have to remove and add it again.
This is only true of Android 6.0.0 but not 6.0.1+. I guess I'll need to design something for 6.0.0 where we tell you to go to Settings and enable it. Ugh. |
Seems to be true again on N... This was crashing for me until I turned on the permission manually. |
Ah, yeah. The OS restriction is still there. The Play Store automatically grants the permission when you install through it. |
Ah, right. Cool! One less issue to tackle. |
ef4eb87
to
9e54a40
Compare
👍 |
@mattprecious update to 24 proper at your convenience. let's get this shipped! |
9e54a40
to
b0d0397
Compare
Done. Targeting 24 means we have to ask for permissions. |
I may have asked this before, but do we need to target 24 for this? Or is compile 24 all that's needed? |
Leave the target the same.
|
b0d0397
to
0883597
Compare
Wasn't needed. 22 works fine. |
Yes.
|
@mattprecious Your PR is still failing:
Update the TravisCI with this one:
|
0883597
to
89c1f6e
Compare
Can't use JDK 7 anymore, apparently. |
89c1f6e
to
323b887
Compare
It's also yelling because the platform tools are too old. Is there a way to force travis to update? |
@JakeWharton has not responded to my PR here(#115) but my suggestion for this repo would be to "ignore" jdk7. See here:https://github.com/JakeWharton/Telecine/pull/115/files#diff-354f30a63fb0907d4ad57269548329e3R7. |
@mattprecious See here: The platforms tools are still in "preview" but there is a 24 RC1. The latest release is still 23.1. :( |
No the latest is 24. You just can't install it from the standalone SDK IDGAF about JDK 7. It's EOL anyway. On Thu, Jun 16, 2016 at 11:59 AM Jared Burrows notifications@github.com
|
@JakeWharton I'll update my PR as well. |
This is blocked by 2.2.0 being released then which can update the SDK On Thu, Jun 16, 2016 at 12:02 PM Jared Burrows notifications@github.com
|
@mattprecious Try this build again. Platform tools 24 is out. I am doing it here: https://github.com/jaredsburrows/android-gradle-java-app-template/blob/master/.travis.yml. |
323b887
to
d8ea328
Compare
Just saving bytes. |
@mattprecious Lol. Make a quick PR to fix? |
It's already fixed. I believe Jake updated my branch before merging. |
So can't merge this yet for obvious preview-related reasons. Also, as you're already aware, targeting SDK 23+ means storage and draw-over-apps permissions aren't granted automatically. Opening the PR now anyway so there's no duplicate efforts.
Closes #92.