Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
marcocipriani01 committed Mar 10, 2021
1 parent 963a2e5 commit 1b964f6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public class MainActivity extends AppCompatActivity implements NavigationView.On
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ProUtils.update(this);
preferences = PreferenceManager.getDefaultSharedPreferences(this);
darkerModeManager = new DarkerModeManager(this, this, preferences);
darkerMode = darkerModeManager.getPref();
Expand Down Expand Up @@ -166,6 +167,7 @@ private void intentAndFragment(Intent intent) {
@Override
protected void onStart() {
super.onStart();
ProUtils.update(this);
connectionManager.addManagerListener(this);
ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE);
for (ActivityManager.RunningServiceInfo service : manager.getRunningServices(Integer.MAX_VALUE)) {
Expand Down

0 comments on commit 1b964f6

Please sign in to comment.