Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5f14ecc0 authored by Joël Stemmer's avatar Joël Stemmer
Browse files

Fix formatting of various backup source files

This is a pure refactor, the following changes were made:
- run `google-java-format --aosp`
- add curly-braces for if statements that don't fit on a single line
- fix function parameter comment style (e.g. /* field= */)

Bug: 403956528
Test: builds successfully
Test: atest FullBackupTest.java
Flag: EXEMPT refactor

Change-Id: I3661af90f42aaf4120ca94a83cf5bfc1322e9a90
parent 0d08facd
Loading
Loading
Loading
Loading
+508 −392

File changed.

Preview size limit exceeded, changes collapsed.

+8 −7
Original line number Original line Diff line number Diff line
@@ -44,7 +44,8 @@ public class BackupAnnotations {
     * Denotes where the backup data is going (e.g. to the cloud or directly to the other device)
     * Denotes where the backup data is going (e.g. to the cloud or directly to the other device)
     * during backup or where it is coming from during restore.
     * during backup or where it is coming from during restore.
     *
     *
     * @hide */
     * @hide
     */
    @Retention(RetentionPolicy.SOURCE)
    @Retention(RetentionPolicy.SOURCE)
    @IntDef({
    @IntDef({
        BackupDestination.CLOUD,
        BackupDestination.CLOUD,
+222 −159

File changed.

Preview size limit exceeded, changes collapsed.

+194 −137

File changed.

Preview size limit exceeded, changes collapsed.