Loading packages/SettingsProvider/src/com/android/providers/settings/GenerationRegistry.java +7 −3 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ import java.io.IOException; /** * This class tracks changes for config/global/secure/system tables * on a per user basis and updates shared memory regions which * on a per-user basis and updates shared memory regions which * client processes can read to determine if their local caches are * stale. */ Loading Loading @@ -196,7 +196,9 @@ final class GenerationRegistry { if (backingStore == null) { try { if (mNumBackingStore >= NUM_MAX_BACKING_STORE) { if (DEBUG) { Slog.e(LOG_TAG, "Error creating backing store - at capacity"); } return null; } backingStore = new MemoryIntArray(MAX_BACKING_STORE_SIZE); Loading Loading @@ -256,9 +258,11 @@ final class GenerationRegistry { + " on user:" + SettingsState.getUserIdFromKey(key)); } } else { if (DEBUG) { Slog.e(LOG_TAG, "Could not allocate generation index"); } } } return index; } Loading Loading
packages/SettingsProvider/src/com/android/providers/settings/GenerationRegistry.java +7 −3 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ import java.io.IOException; /** * This class tracks changes for config/global/secure/system tables * on a per user basis and updates shared memory regions which * on a per-user basis and updates shared memory regions which * client processes can read to determine if their local caches are * stale. */ Loading Loading @@ -196,7 +196,9 @@ final class GenerationRegistry { if (backingStore == null) { try { if (mNumBackingStore >= NUM_MAX_BACKING_STORE) { if (DEBUG) { Slog.e(LOG_TAG, "Error creating backing store - at capacity"); } return null; } backingStore = new MemoryIntArray(MAX_BACKING_STORE_SIZE); Loading Loading @@ -256,9 +258,11 @@ final class GenerationRegistry { + " on user:" + SettingsState.getUserIdFromKey(key)); } } else { if (DEBUG) { Slog.e(LOG_TAG, "Could not allocate generation index"); } } } return index; } Loading