44
55 <uses-sdk />
66
7+ <application
8+ android : name =" .HomeApplication"
9+ android : icon =" @mipmap/ic_launcher"
10+ android : label =" @string/app_name"
11+ android : roundIcon =" @mipmap/ic_launcher_round"
12+ android : supportsRtl =" true"
13+ android : theme =" @style/Theme.GoogleHomeAPISampleApp"
14+ tools : targetApi =" 31" >
15+ <meta-data
16+ android : name =" androidx.lifecycle.ProcessLifecycleOwnerInitializer"
17+ android : value =" androidx.startup" />
18+
19+ <activity
20+ android : name =" .MainActivity"
21+ android : exported =" true"
22+ android : theme =" @style/Theme.GoogleHomeAPISampleApp"
23+ android : windowSoftInputMode =" adjustResize" >
24+
25+ <intent-filter >
26+ <action android : name =" android.intent.action.MAIN" />
27+ <category android : name =" android.intent.category.LAUNCHER" />
28+ </intent-filter >
29+ <intent-filter >
30+ <action android : name =" com.google.android.gms.home.matter.ACTION_START_COMMISSIONING" />
31+ <category android : name =" android.intent.category.DEFAULT" />
32+ </intent-filter >
33+ </activity >
34+
35+ <activity
36+ android : name =" .AccountSwitchProxyActivity"
37+ android : exported =" false"
38+ android : theme =" @android:style/Theme.Translucent.NoTitleBar" />
39+ <service
40+ android : name =" .commissioning.ThirdPartyCommissioningService"
41+ android : exported =" true"
42+ android : enabled =" true" >
43+ <intent-filter >
44+ <action android : name =" com.google.android.gms.home.matter.commissioning.COMMISSION_DEVICE_TO_3P_FABRIC" />
45+ </intent-filter >
46+ </service >
47+ </application >
748 <uses-permission android : name =" android.permission.INTERNET" />
849 <uses-permission android : name =" com.google.android.gms.permission.BIND_COMMISSIONING_SERVICE" />
950 <uses-permission android : name =" android.permission.CHANGE_WIFI_MULTICAST_STATE" />
1960 <uses-permission android : name =" android.permission.CAMERA" />
2061
2162 <uses-feature
22- android : name =" android.hardware.camera"
23- android : required =" false" />
24- <application
25- android : name =" .HomeApplication"
26- android : icon =" @mipmap/ic_launcher"
27- android : label =" @string/app_name"
28- android : roundIcon =" @mipmap/ic_launcher_round"
29- android : supportsRtl =" true"
30- android : theme =" @style/Theme.GoogleHomeAPISampleApp"
31- tools : targetApi =" 31" >
32- <meta-data
33- android : name =" androidx.lifecycle.ProcessLifecycleOwnerInitializer"
34- android : value =" androidx.startup" />
35-
36- <activity
37- android : name =" .MainActivity"
38- android : exported =" true"
39- android : theme =" @style/Theme.GoogleHomeAPISampleApp"
40- android : windowSoftInputMode =" adjustResize" >
41- <intent-filter >
42- <action android : name =" android.intent.action.MAIN" />
43- <category android : name =" android.intent.category.LAUNCHER" />
44- </intent-filter >
45- <intent-filter >
46- <action android : name =" com.google.android.gms.home.matter.ACTION_START_COMMISSIONING" />
47- <category android : name =" android.intent.category.DEFAULT" />
48- </intent-filter >
49- </activity >
50- <activity
51- android : name =" .AccountSwitchProxyActivity"
52- android : exported =" false"
53- android : theme =" @android:style/Theme.Translucent.NoTitleBar" />
54-
55- <service
56- android : name =" .commissioning.ThirdPartyCommissioningService"
57- android : enabled =" true"
58- android : exported =" true"
59- android : permission =" com.google.android.gms.permission.BIND_COMMISSIONING_SERVICE" >
60- <intent-filter >
61- <action android : name =" com.google.android.gms.home.matter.commissioning.COMMISSION_DEVICE_TO_3P_FABRIC" />
62- </intent-filter >
63- </service >
64- </application >
65-
66- </manifest >
63+ android : name =" android.hardware.camera"
64+ android : required =" false" />
65+ </manifest >
0 commit comments