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

Commit 42e79690 authored by Luca Zuccarini's avatar Luca Zuccarini
Browse files

Move Shell annotations to the shared library.

Bug: 323863002
Flag: NA
Test: NA, just a move
Change-Id: I799005cf11d6df08934c81f3c4e03728f08ef0d1
parent f2013edc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -174,6 +174,7 @@ java_library {
    ],
    static_libs: [
        "androidx.dynamicanimation_dynamicanimation",
        "jsr330",
    ],
}

+34 −0
Original line number Diff line number Diff line
package com.android.wm.shell.common.annotations;
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * 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.
 */

package com.android.wm.shell.shared.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2021 The Android Open Source Project
 * Copyright (C) 2024 The Android Open Source Project
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
 * limitations under the License.
 */

package com.android.wm.shell.common.annotations;
package com.android.wm.shell.shared.annotations;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

+31 −0
Original line number Diff line number Diff line
package com.android.wm.shell.common.annotations;
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * 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.
 */

package com.android.wm.shell.shared.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
+31 −0
Original line number Diff line number Diff line
package com.android.wm.shell.common.annotations;
/*
 * Copyright (C) 2024 The Android Open Source Project
 *
 * 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.
 */

package com.android.wm.shell.shared.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.Inherited;
Loading