1
0
This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
2022-03-04 15:17:38 +08:00

17 lines
384 B
Java

package com.example.weather;
import com.example.weather.slice.MainAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;
/**
* The type Main ability.
*/
public class MainAbility extends Ability {
@Override
public void onStart(Intent intent) {
super.onStart(intent);
super.setMainRoute(MainAbilitySlice.class.getName());
}
}