amp-web-push-widget button.amp-subscribe { display: inline-flex; align-items: center; border-radius: 5px; border: 0; box-sizing: border-box; margin: 0; padding: 10px 15px; cursor: pointer; outline: none; font-size: 15px; font-weight: 500; background: #4A90E2; margin-top: 7px; color: white; box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.5); -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } .amp-logo amp-img{width:190px} .amp-menu input{display:none;}.amp-menu li.menu-item-has-children ul{display:none;}.amp-menu li{position:relative;display:block;}.amp-menu > li a{display:block;} /* Inline styles */ img.acss139cf{background-color:#0866FF;}img.acss6ea51{background-color:#12AF0A;}img.acss43e08{background-color:#888990;}img.acss69ec8{background-color:#1A1A1A;}img.acssc8f88{background-color:#0166ff;}div.acss138d7{clear:both;}div.acssf5b84{--relposth-columns:3;--relposth-columns_m:2;--relposth-columns_t:2;}div.acss965ef{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/03/m3-macbook-air-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss6bdea{color:#333333;font-family:Arial;font-size:12px;height:75px;}div.acss533d3{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2023/06/Apple-WWDC23-watchOS-10-5up-230605.jpg.landing-big_2x-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss5fae6{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2019/08/plants-vs-zombies-battle-for-neighborville-trailer-leak_00-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;}div.acss87d80{aspect-ratio:1/1;background:transparent url(https://pc3mag.com/wp-content/uploads/2024/01/youtube-logo-screenshot-150x150.jpg) no-repeat scroll 0% 0%;height:150px;max-width:150px;} .ai-align-left * {margin: 0 auto 0 0; text-align: left;} .ai-align-right * {margin: 0 0 0 auto; text-align: right;} .ai-center * {margin: 0 auto; text-align: center; } .icon-widgets:before {content: "\e1bd";}.icon-search:before {content: "\e8b6";}.icon-shopping-cart:after {content: "\e8cc";}
即時新聞

乾脆了斷 Android P 新增自動強制關閉無反應程式

大家都試過,手機使用期間會因為可用記憶體不足而無法反應,特別是運行一些大型的遊戲、程式。這時候,我們可以選擇繼續等待,或是強制關閉,甚至重新開機以解決問題。為了節省用家的時間,Google 正測試一項新的機制,令用家的手機盡快回復正常。

有些正使用 Android P 的開發者發現,若執行中的程式突然無反應,相比以前還會讓用家一直等待,Android P 則會強制關閉該程式。由於強制關閉程式會被寫進錯誤紀錄中,這能讓開發者可以查看紀錄,以得知程式出錯的原因。

這種激進的方法,其實有利有弊。好的是與其無限期的等待,而且未儲存的工作未必能回復,倒不如強制關閉,盡早使手機回復「有反應」比較實際。不過,壞處是手機一時無反應可能只是暫時性,只要付出耐性就沒有問題,但是一概予以強制關閉,就會令用家未儲存的工作「血本無歸」,代價實在太大。

聽起來,這實在是不近人情。可幸的是,這只是 Android P 於「開發者選項」中一項可選用的功能,並非強制開啟,用家有需要時,就可以選擇啟用。

來源︰Ubergizmo

偽宅男

Windows、iOS、Android 通通都用緊。有穩定版 App 唔用,最愛試 Beta 版