Closed aaaaalbert closed 7 years ago
There are a ton of further deprecation warnings that I'll just paste here for later reference:
Information:Using javac 1.7.0_95 to compile java sources
Information:Module "app" was fully rebuilt due to project configuration/dependencies changes
Information:04.02.16 15:37 - Compilation completed successfully with 14 warnings in 5s 644ms
/media/sf_sensibility-buildbox32/SensibilityTestbed/sensibility-testbed/app/src/main/java/com/sensibility_testbed/AutostartListener.java
Warning:(39, 56) java: MODE_WORLD_WRITEABLE in android.content.Context has been deprecated
/media/sf_sensibility-buildbox32/SensibilityTestbed/sensibility-testbed/app/src/main/java/com/sensibility_testbed/ScriptActivity.java
Warning:(1030, 58) java: MODE_WORLD_WRITEABLE in android.content.Context has been deprecated
/media/sf_sensibility-buildbox32/SensibilityTestbed/sensibility-testbed/app/src/main/java/com/sensibility_testbed/InstallerService.java
Warning:(155, 15) java: onStart(android.content.Intent,int) in android.app.Service has been deprecated
Warning:(156, 10) java: onStart(android.content.Intent,int) in android.app.Service has been deprecated
Warning:(185, 17) java: setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent) in android.app.Notification has been deprecated
Warning:(310, 21) java: setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent) in android.app.Notification has been deprecated
Warning:(331, 39) java: getAvailableBlocks() in android.os.StatFs has been deprecated
Warning:(332, 28) java: getBlockSize() in android.os.StatFs has been deprecated
Warning:(479, 33) java: Notification(int,java.lang.CharSequence,long) in android.app.Notification has been deprecated
Warning:(485, 17) java: setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent) in android.app.Notification has been deprecated
/media/sf_sensibility-buildbox32/SensibilityTestbed/sensibility-testbed/app/src/main/java/com/sensibility_testbed/ScriptService.java
Warning:(373, 15) java: onStart(android.content.Intent,int) in android.app.Service has been deprecated
Warning:(385, 10) java: onStart(android.content.Intent,int) in android.app.Service has been deprecated
Warning:(431, 33) java: Notification(int,java.lang.CharSequence,long) in android.app.Notification has been deprecated
Warning:(438, 17) java: setLatestEventInfo(android.content.Context,java.lang.CharSequence,java.lang.CharSequence,android.app.PendingIntent) in android.app.Notification has been deprecated
Minor FYI: InstallerService.java
has become obsolete. The entire installation workflow is handled in SensibilityActivity.java
and will be streamlined with https://github.com/aaaaalbert/sensibility-testbed/issues/20.
Thanks for the confirmation, I had suspected this.
Closing!
Lest we forget to fix this as we phase out old Android versions as targets,
InstallerService.java
should stop usingsetLatestEventInfo
which was deprecated a while ago. I currently set (i.e. hack)minSdkVersion
to11
to still get the app built.See also