-
AndroidManifest.xmlの
applicationに設定できるオプション。 -
Android 6.0 Marshmallowから
falseがサポートされた。 -
ネイティブライブラリがどのように端末にストアされるか、についてのオプションである。
-
通常apkのサイズ縮小に関するトピックとして扱われる。
公式のドキュメントから引用
| openapi: "3.0.0" | |
| info: | |
| version: 0.1.0 | |
| title: PAY.JP API | |
| servers: | |
| - url: https://api.pay.jp/v1 | |
| paths: | |
| /tokens: | |
| post: | |
| summary: Create a token |
| (function () { | |
| var i = 0; | |
| document.querySelectorAll('tr.days .dval.vst').forEach(function(e) { | |
| setTimeout(function () { | |
| e.click(); | |
| document.querySelector('#startTime').value = ('10:' + (Math.floor(Math.random() * Math.floor(10)) + 30)); | |
| document.querySelector('#endTime').value = ('20:' + Math.floor(Math.random() * Math.floor(10))); | |
| document.querySelector('#dlgInpTimeOk').click(); | |
| }, 4000 * i); | |
| i++; |
| package com.github.yatatsu.util; | |
| public interface ScheduleUnit { | |
| @NonNull Scheduler io(); | |
| @NonNull Scheduler ui(); | |
| final class AppUnit implements ScheduleUnit { |
| package com.github.yatatsu.android.util; | |
| import android.util.Base64; | |
| import java.io.UnsupportedEncodingException; | |
| import java.security.InvalidAlgorithmParameterException; | |
| import java.security.InvalidKeyException; | |
| import java.security.NoSuchAlgorithmException; | |
| import java.security.SecureRandom; | |
| import java.security.spec.InvalidKeySpecException; | |
| import java.security.spec.KeySpec; |
| ext.applyBuildConfigFields = { def variant, Map<String, Map<String, Object>> configs -> | |
| def flavor = variant.productFlavors.get(0).name | |
| configs.each { key, entries -> | |
| def name = key.toUpperCase() | |
| def entry = entries.find { it.key == flavor } | |
| if (entry == null) throw new InvalidUserDataException("$key doesn't have $flavor value") | |
| if (entry.value instanceof String) { | |
| variant.buildConfigField(entry.value.class.name, name, "\"$entry.value\"") | |
| } else { |
| package com.example.kitagawa.kotlintest; | |
| import kotlin.Metadata; | |
| import kotlin.jvm.JvmName; | |
| @Metadata( | |
| mv = {1, 1, 1}, | |
| bv = {1, 0, 0}, | |
| k = 2, | |
| d1 = {"\u0000\b\n\u0000\n\u0002\u0010\u0002\n\u0000\u001a\u0006\u0010\u0000\u001a\u00020\u0001¨\u0006\u0002"}, |
| package com.github.yatatsu.repository; | |
| import io.realm.RealmObject; | |
| import io.realm.RealmQuery; | |
| public interface RealmObjectQuery<T extends RealmObject> { | |
| T apply(RealmQuery<T> query); | |
| } |
| public enum DialogEventBus { | |
| OK, | |
| CANCEL, | |
| CLOSE, | |
| ; | |
| private final SerializedSubject<String, String> bus; | |
| DialogEventBus() { | |
| bus = new SerializedSubject<>(PublishSubject.create()); |