blob: 8352f7d82f0c3c7891be0056b3878d24b73da108 [file] [log] [blame]
package com.android.car.messenger;
import android.annotation.Nullable;
import android.app.Activity;
import android.os.Bundle;
/**
* No-op Activity that only exists in-order to have an entry in the manifest with SMS specific
* intent-filter.
* <p>
* We need the manifest entry so that PackageManager will grant this pre-installed app SMS related
* permissions. See DefaultPermissionGrantPolicy.grantDefaultSystemHandlerPermissions().
*/
public class MessengerActivity extends Activity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
finish();
}
}