mirror of
https://github.com/vector-im/riotX-android
synced 2025-10-06 00:02:48 +02:00
Merge branch 'develop' into feature/bma/posthog
This commit is contained in:
@@ -160,7 +160,7 @@ Formatter\.formatShortFileSize===1
|
||||
# android\.text\.TextUtils
|
||||
|
||||
### This is not a rule, but a warning: the number of "enum class" has changed. For Json classes, it is mandatory that they have `@JsonClass(generateAdapter = false)`. If the enum is not used as a Json class, change the value in file forbidden_strings_in_code.txt
|
||||
enum class===108
|
||||
enum class===110
|
||||
|
||||
### Do not import temporary legacy classes
|
||||
import org.matrix.android.sdk.internal.legacy.riot===3
|
||||
|
@@ -25,3 +25,8 @@
|
||||
|
||||
### Use style="@style/Widget.Vector.TextView.*" instead of textSize attribute
|
||||
android:textSize===9
|
||||
|
||||
### Use `@id` and not `@+id` when referencing ids in layouts
|
||||
layout_(.*)="@\+id
|
||||
accessibilityTraversal(.*)="@\+id
|
||||
toolbarId="@\+id
|
||||
|
26
tools/compressVideo.sh
Executable file
26
tools/compressVideo.sh
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
#
|
||||
# Copyright (c) 2021 New Vector Ltd
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set -e
|
||||
echo "Converting file $1"
|
||||
file=$(echo $1 | sed 's/\.[^.]*$//')
|
||||
ffmpeg -i $1 -filter_complex "[0:v] fps=12,scale=480:-1,split [a][b];[a] palettegen [p];[b][p] paletteuse" $file-tmp.gif
|
||||
echo "Converting to Gif"
|
||||
gifsicle -O3 --lossy=80 -o $file.gif $file-tmp.gif
|
||||
rm $file-tmp.gif
|
||||
echo "Done, $file.gif has been generated"
|
@@ -105,8 +105,6 @@
|
||||
suggest="${underscoreToCamelCase(classToResource(fragmentClass))}ViewEvents"
|
||||
default="MainViewEvents"
|
||||
help="The name of the view events to create" />
|
||||
|
||||
|
||||
|
||||
<parameter
|
||||
id="packageName"
|
||||
|
Reference in New Issue
Block a user