Pārlūkot izejas kodu

Version 1.1

Added compatibility with the lastest version of "Google Assistant"
Moved this package to the Packix repo.
master
Gil Shahar pirms 6 gadiem
vecāks
revīzija
2c0c4f67c2
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
2 mainītis faili ar 16 papildinājumiem un 2 dzēšanām
  1. +15
    -1
      Tweak.xm
  2. +1
    -1
      control

+ 15
- 1
Tweak.xm Parādīt failu

@@ -6,10 +6,24 @@
@property (nonatomic, assign) OPASearchViewController *searchViewController;
@end

@interface OPAZeroStateViewController
-(void)openMicForVoiceQuery;
@end

%hook OPAViewController
-(void)viewDidLoad{
%orig;
[[NSNotificationCenter defaultCenter] addObserver:self.searchViewController selector:@selector(didTapOnGlifView) name:UIApplicationDidBecomeActiveNotification object:nil];
[self.searchViewController didTapOnGlifView];
}
%end
%end



%hook OPAZeroStateViewController
-(void)viewDidLoad{
%orig;
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(openMicForVoiceQuery) name:UIApplicationDidBecomeActiveNotification object:nil];
[self openMicForVoiceQuery];
}
%end

+ 1
- 1
control Parādīt failu

@@ -1,7 +1,7 @@
Package: com.gilshahar7.instantassistant
Name: InstantAssistant
Depends: mobilesubstrate
Version: 1.0
Version: 1.1
Architecture: iphoneos-arm
Description: Always launches the Google Assistant in "listening mode"
Maintainer: gilshahar7

Notiek ielāde…
Atcelt
Saglabāt