Commit Graph

8 Commits

Author SHA1 Message Date
Jaewan Kim
ccdc3c98fa Reduce storage requirement for Terminal App
This is for cuttlefish tablet which has 16 GB storage
and roughly 8 GB free storage.

Change-Id: I3658fe966f3cf08b5bfea409cff793ba60994cc2
Test: Manually
Flags: Exempt. For testing with cuttlefish
2025-02-18 08:31:55 -08:00
Alex Stetson
99f01f7e7a Allow system services to be optional
Some Android systems may not have certain system services (particularly the VirtualMachineManager). If this is the case, disable the preference rather than requiring the service and crashing the Settings app.

Bug: 388221800
Test: manual
Flag: NONE bugfix
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:5a594828d7e148ac98b077591e8050e424b54966)
Merged-In: I761054caebe3e846f5c6c76e2818662aad2cb511
Change-Id: I761054caebe3e846f5c6c76e2818662aad2cb511
2025-01-24 00:22:14 -08:00
Treehugger Robot
c8e78dc149 Merge "Hide Linux terminal if VM isn't supported" into main 2024-12-28 07:11:08 -08:00
Jaewan Kim
614074e5c7 Hide Linux terminal if VM isn't supported
Bug: 385216798
Test: atest
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I06fe52cf877deb3cd9ebc61af1579931b97d7766
2024-12-21 00:31:55 +09:00
Saswat Padhi
0937b6de17 Reduce the Terminal app storage requirement from 128GB to 64GB.
Bug: 366374130

Change-Id: If22d5388a6e58076626c1019f7f909398c61ccfd
2024-12-11 00:55:46 +00:00
Jeongik Cha
294b41a883 Fix storage requirement for Linux terminal
getPrimaryStorageSize rounds up size by GB, not GiB

Bug: 366374130
Change-Id: Idf43c5cee41172d763b6c271042317d151d41a38
Test: build and run
2024-11-19 07:43:31 +00:00
Jaewan Kim
a6334bc0a3 Hide Linux terminal if device doesn't meet minimum requirement
Bug: 366374130
Test: Manually, atest
Change-Id: Id0ef47099b3fab41175bfae3d0eaf61037ba82ff
2024-11-15 11:10:25 +09:00
Jaewan Kim
ed3abffcfc Make Linux terminal option profile aware
Bug: 374034911
Test: atest, plus following manual test \
  - Test tabbed UI with/without work profile \
  - Test that disabled by work profile launches alert dialog \
  - Test whether toggling an app only toggle the app for the user.
Flag: Build.RELEASE_AVF_SUPPORT_CUSTOM_VM_WITH_PARAVIRTUALIZED_DEVICES
Change-Id: I4bf0a2d521cf3e632f6c0320e0b5cc0154d5b68f
2024-11-11 14:31:19 +09:00