This is required by SettingsGoogle fuel gauge.
This reverts commit da270f9fa1383b6717d6a872dc90eac8a6783c27.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Log:
E AndroidRuntime: FATAL EXCEPTION: main
E AndroidRuntime: Process: com.android.settings, PID: 13426
E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.Button.setText(int)' on a null object reference
E AndroidRuntime: at com.android.settings.wfd.WifiDisplaySettings.onBindViewHolder(WifiDisplaySettings.java:349)
E AndroidRuntime: at androidx.preference.PreferenceGroupAdapter.onBindViewHolder(PreferenceGroupAdapter.java:420)
E AndroidRuntime: at com.android.settings.widget.HighlightablePreferenceGroupAdapter.onBindViewHolder(HighlightablePreferenceGroupAdapter.java:113)
E AndroidRuntime: at com.android.settings.widget.HighlightablePreferenceGroupAdapter.onBindViewHolder(HighlightablePreferenceGroupAdapter.java:44)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onBindViewHolder(RecyclerView.java:7379)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.bindViewHolder(RecyclerView.java:7462)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.tryBindViewHolderByDeadline(RecyclerView.java:6319)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6585)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.getViewForPosition(RecyclerView.java:6425)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.getViewForPosition(RecyclerView.java:6421)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.next(LinearLayoutManager.java:2330)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1631)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1591)
E AndroidRuntime: at androidx.recyclerview.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:668)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:4423)
E AndroidRuntime: at androidx.recyclerview.widget.RecyclerView.onMeasure(RecyclerView.java:3800)
E AndroidRuntime: at android.view.View.measure(View.java:25774)
...
Signed-off-by: Dmitrii <bankersenator@gmail.com>
Log:
Output:
packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/db/BatteryStateDatabase.java:35: error: Schema export directory was not provided to the annotation processor so Room cannot export the schema. You can either provide `room.schemaLocation` annotation processor argument by applying the Room Gradle plugin (id 'androidx.room') OR set exportSchema to false.
public abstract class BatteryStateDatabase extends RoomDatabase {
^
Change-Id: I493d978ee204761e93fb177680bd102c30b45e9c
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
test: confirmed the screen on component does not show empty stat/s
Change-Id: Ie4fa4cf77ea06d699317c2b6fedbd5005d04ab6f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
This default enables auto confirm on a pin length of 4 and
correctly displays it in setup
Squashed:
From: Adithya R <gh0strider.2k18.reborn@gmail.com>
Date: Wed, 27 Dec 2023 20:08:33 +0530
Subject: ChooseLockPassword: Don't uncheck auto confirm above minimum length
Fixes aaf4cd67.
Change-Id: Ic94db010318ecbfc1d58653c3fd85b8cdb653e83
Change-Id: I482be235261de1e636c89e33722df4f4e412b07c
Co-authored-by: Mesquita <mesquita@aospa.co>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
AppPicker in Development options has been existed since 2012 without
too much maintanace. This CL mainly adopt Settings main theme into it,
and migrate from depreaced ListActvity to androidx while reamining restraint.
Bug: 277978841
Preview: https://docs.google.com/spreadsheets/d/1vwzriR1mZj2B2Flw1eu1OwfZY5wRz6YOaq7bDcXxStE
Test: manual, presubmit
Change-Id: I8bf3be499202eba894070cffd5f20f44d3d45de5
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* if app is force stopped, current implementation causes a nasty loop which in turn causes
very high cpu usage: refreshUi() > checkForceStop() > mCheckKillProcessesReceiver > refreshUi()
* fix storage not being updated by running refreshUi() in onRunningStateChanged from AppInfoBase
Change-Id: Iec24bb620d1a6287d7ccf583db978ef338ef762e
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
In application info show the time spent in app menu
item like in stock.
Change-Id: I057f14cbfd6ebfb43b6d591983b55c5ed9e1c765
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
We shouldn't use a technical abbrevation of "avg" here for the common
word "average" now that it's exposed to all users in app info settings,
since we can't expect everyone to know what "avg" stands for.
Languages other than English have been left alone because it looks like
most of them are already using the expanded word.
Change-Id: If7d8881a6a7e135d69f8b07f80119dd5a768fc49
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Legacy devices like the Pixel 2 Series do not support this feature, only show Unavailable for design capacity and maximum capacity in battery information.
* Enabled by default
Test: Build & flash
Signed-off-by: Asriadi Rahim <asriadirahim03@gmail.com>
thanks @daveyannihilation for suggestions about how to check prebuilt apk
NB: this needs the new Turbo.apk in your vendor blobs:
1305ba501e
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Change-Id: I51d0213242ad87bfcfecd71c97e3cbb3ff6fd158
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* Setting up a new SD card is currently using light theme, no matter
the system setting
* Convert to DayNight to have it follow system theme
Change-Id: Iaf41c95a03859f40f9895b713c26ee76ff01fed6
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
* It's unjust to keep such useful feature hidden inside Accessibility.
bringing it to display settings will make it visible and useful.
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>