Loading
TopLevelSettings: Fix homepage icons hiding on tablets
On tablets, the Settings homepage icons disappear in certain layouts (specifically portrait mode) because the split-pane context reports a smaller screen size, triggering phone behavior. This patch forces icons to remain visible using a hybrid detection strategy: 1. Checks the `ro.build.characteristics` system property for "tablet". 2. Falls back to `smallestScreenWidthDp >= 600` via Application Context. This ensures the UI is correct on devices that properly set the system property, while maintaining a failsafe for other cases where the prop is missing or defaults to "nosdcard". Suggested-by:Harshit Jain <reach@harsh1998.dev> Change-Id: I26731db13543e2612856b8df234dfad2dee0b4e1 Signed-off-by:
Amrit Ranjan <arktiothome@gmail.com>