79479514

Date: 2025-03-02 18:17:28
Score: 1.5
Natty:
Report link

Thanks to Mike M who is a star I am posting the java solution to the question I asked.

int[] systemitems = getResources().getSystem().getIntArray(     
getResources().getSystem().getIdentifier(
"config_defaultNotificationVibePattern", 
"array",
"android"));
                 
long[] long_vibrate = new long[systemitems.length];
                  
for (int i = 0; i < systemitems.length; i++) 
  {
  long_vibrate[i] = Long.valueOf(systemitems[i]);
  }
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cymro