Flutter Engine
The Flutter Engine
Namespaces | Functions | Variables
native_activity.cc File Reference
#include "flutter/testing/android/native_activity/native_activity.h"
#include "flutter/fml/message_loop.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Functions

 __attribute__ ((visibility("default"))) void ANativeActivity_onCreate(ANativeActivity *activity
 
 if (saved_state_size > 0u)
 

Variables

void * saved_state
 
void size_t saved_state_size
 

Function Documentation

◆ __attribute__()

__attribute__ ( (visibility("default"))  )

◆ if()

if ( saved_state_size  ,
0u   
)

Definition at line 136 of file native_activity.cc.

136 {
137 saved_state_mapping = std::make_unique<fml::MallocMapping>(
139 }
static MallocMapping Copy(const T *begin, const T *end)
Definition: mapping.h:162
void size_t saved_state_size
void * saved_state

Variable Documentation

◆ saved_state

void* saved_state

Definition at line 133 of file native_activity.cc.

◆ saved_state_size

void size_t saved_state_size
Initial value:
{
std::unique_ptr<fml::Mapping> saved_state_mapping

Definition at line 134 of file native_activity.cc.