mirror of
				https://github.com/ARM-software/workload-automation.git
				synced 2025-10-31 15:12:25 +00:00 
			
		
		
		
	AndroidDevice: remove unnecessary escapes from update locksettings command
The single quotes will be escaped further down the command processing chain.
This commit is contained in:
		| @@ -618,7 +618,7 @@ class AndroidDevice(BaseLinuxDevice):  # pylint: disable=W0223 | ||||
|  | ||||
|         """ | ||||
|         lockdb = '/data/system/locksettings.db' | ||||
|         sqlcommand = "update locksettings set value=\\'0\\' where name=\\'screenlock.disabled\\';" | ||||
|         sqlcommand = "update locksettings set value='0' where name='screenlock.disabled';" | ||||
|         self.execute('sqlite3 {} "{}"'.format(lockdb, sqlcommand), as_root=True) | ||||
|  | ||||
|     def disable_selinux(self): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user