@nativescript/android 8.2.0-alpha.2 → 8.2.0-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/framework/app/build.gradle +3 -3
- package/framework/app/libs/runtime-libs/nativescript-optimized-with-inspector.aar +0 -0
- package/framework/app/libs/runtime-libs/nativescript-optimized.aar +0 -0
- package/framework/app/libs/runtime-libs/nativescript-regular.aar +0 -0
- package/framework/app/src/debug/java/com/tns/ErrorReport.java +5 -0
- package/framework/build-tools/android-metadata-generator.jar +0 -0
- package/framework/build-tools/dts-generator.jar +0 -0
- package/framework/build-tools/jsparser/js_parser.js +1 -1
- package/framework/build-tools/static-binding-generator.jar +0 -0
- package/framework/build.gradle +1 -1
- package/package.json +7 -7
|
@@ -512,15 +512,15 @@ def explodeAar(File compileDependency, File outputDir) {
|
|
|
512
512
|
Enumeration enumEntries = jar.entries()
|
|
513
513
|
while (enumEntries.hasMoreElements()) {
|
|
514
514
|
JarEntry file = (JarEntry) enumEntries.nextElement()
|
|
515
|
+
if (file.isDirectory()) {
|
|
516
|
+
continue
|
|
517
|
+
}
|
|
515
518
|
if (file.name.endsWith(".jar")) {
|
|
516
519
|
def targetFile = new File(outputDir, file.name)
|
|
517
520
|
InputStream inputStream = jar.getInputStream(file)
|
|
518
521
|
new File(targetFile.parent).mkdirs()
|
|
519
522
|
Files.copy(inputStream, targetFile.toPath(), StandardCopyOption.REPLACE_EXISTING)
|
|
520
523
|
}
|
|
521
|
-
if (file.isDirectory()) {
|
|
522
|
-
continue
|
|
523
|
-
}
|
|
524
524
|
}
|
|
525
525
|
jar.close()
|
|
526
526
|
} else if (compileDependency.name.endsWith(".jar")) {
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -154,6 +154,11 @@ class ErrorReport implements TabLayout.OnTabSelectedListener {
|
|
|
154
154
|
}
|
|
155
155
|
|
|
156
156
|
static void startPendingErrorActivity(Context context, Intent intent) throws CanceledException {
|
|
157
|
+
int flags = PendingIntent.FLAG_CANCEL_CURRENT;
|
|
158
|
+
if (Build.VERSION.SDK_INT >= 31) {
|
|
159
|
+
flags = PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE;
|
|
160
|
+
}
|
|
161
|
+
|
|
157
162
|
PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT);
|
|
158
163
|
|
|
159
164
|
pendingIntent.send(context, 0, intent);
|
|
Binary file
|
|
Binary file
|