 //
 
 import UIKit
+
+let LockStateChangedNotification = Notification.Name(rawValue: "lock_state_changed")
 
 class TestViewController: UIViewController {
 

        } else {
            print("Phone is now unlocked.")
        }
        // MARK: - Eric You can add code here!! :) 
    }
    
    // MARK: - UI Updates

    override func viewDidLoad() {
        super.viewDidLoad()
        _updateButtonUI()
        NotificationCenter.default.addObserver(
            self,
            selector: #selector(_onAppEnterBackground),
            name: NSNotification.Name.UIApplicationDidEnterBackground,
            object: nil
        )
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }

    private func _listenForDeviceActivity() {
        NotificationCenter.default.addObserver(
            self,
            selector: #selector(_updateLockScreenStatus),
            name: LockStateChangedNotification,
            object: nil
        )
        
