Ankita Vyas
18fc54b53e
Merge "Display toast for clone app creation and completion in App Info page." into udc-dev am: f9c62f2275 am: 9dc72b2f94
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21809544
Change-Id: I34a93564916fac6f74e2097cbe5dea508ac3a235
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-09 06:16:52 +00:00
Ankita Vyas
f9c62f2275
Merge "Display toast for clone app creation and completion in App Info page." into udc-dev
2023-03-09 05:10:55 +00:00
Ankita Vyas
0da1131343
Display toast for clone app creation and completion in App Info page.
...
Bug: 271990959
Test: manual
Change-Id: I93641c1bf675ac531fbf8201203d5141aafd39cc
2023-03-08 10:55:37 +00:00
Sunny Shao
cc7eeb6f55
Merge "Add the SPA page enter/leave logging metrcis." into udc-dev am: cb24cb29db am: f336246896
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21787864
Change-Id: I6b1d8d7d542891f55aa42224682d473ca086cf0a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-07 10:40:00 +00:00
Sunny Shao
de797e1198
Add the SPA page enter/leave logging metrcis.
...
- Add the SpaLogProvider and SpaLogData for logging writing.
- Write the SPA page enter/leave logging.
Fixes: 271793388
Bug: 253979024
Test: atest SpaActivityTest SpaLogDataTest MetricsDataModelTest
Change-Id: I0ad5af39ba207ac00d58f6392496effa3adc42f4
2023-03-07 16:10:56 +08:00
Chaohui Wang
06f806f6cd
Merge "Fix App Info item summaries not refreshed" into udc-dev am: f74d6003ff am: bd1715e012
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21647180
Change-Id: I54cf0d02cc52b8c42f61585ddc62b580b95b628a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-03-01 06:50:45 +00:00
Chaohui Wang
f74d6003ff
Merge "Fix App Info item summaries not refreshed" into udc-dev
2023-03-01 05:47:06 +00:00
Chaohui Wang
66c1337ec4
Merge "Disable the middle pages during development" into udc-dev am: e34d95d68e am: 55204b9224
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21469909
Change-Id: Icf7c6ef483b9f2e535dac154c7aae5b10810d03b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-28 19:56:33 +00:00
Chaohui Wang
e34d95d68e
Merge "Disable the middle pages during development" into udc-dev
2023-02-28 11:43:05 +00:00
Chaohui Wang
f46cdad05d
Fix App Info item summaries not refreshed
...
On tablet, "Open by default" & default app shortcut not refreshed when
settings changed.
Changing from liveData to flow fix this issue on tablet.
Bug: 236346018
Test: Manually with App Info
Change-Id: I6e3a174bdbecb154e39e111ecf695b1146c484df
2023-02-28 19:37:55 +08:00
Zaiyue Xue
c6166bc07d
Merge "Fix b/265387286: The total percentage of all apps is not 100%" into udc-dev am: ae0d935dcc
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21502689
Change-Id: Ib0c1ebd27bc65db95fccae3a67514b7687d662b8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-24 13:31:35 +00:00
Zaiyue Xue
6d939b34dc
Fix b/265387286: The total percentage of all apps is not 100%
...
Bug: 265387286
Fix: 265387286
Test: manual
Change-Id: I654f8211a45c818f9a2d4867ac679e72c9ce6eb1
2023-02-24 19:19:28 +08:00
Chaohui Wang
eb26875a32
Merge "Update HomePageProvider to use getSettingsPage" into udc-dev am: 6461dc3814
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/21489365
Change-Id: Ice4d96f8ab8420448f53ffa7da62cbedcb3a30cc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2023-02-22 02:46:01 +00:00
Chaohui Wang
048cf57157
Update HomePageProvider to use getSettingsPage
...
Bug: 244122804
Test: Manually with Settings
Change-Id: I57123d3b5461c06e021ab0ccacc94ce8447d1f43
2023-02-18 03:02:04 +00:00
Carbo Kuo
bd18ca11d0
Merge "Migrate the About page in Settings."
2023-02-17 16:32:54 +00:00
Chaohui Wang
f37d638458
Disable the middle pages during development
...
Set isEnabled to false will prevent these middle pages which under
development get accidentally displayed to users.
During development, please flip isEnabled() of each page to true or
flip SpaEnvironment.IS_DEBUG to true to test these pages.
Bug: 244122804
Test: Manually with Settings
Change-Id: I5c3f835cfa3457b711d224ca37aa5d2b9a248feb
2023-02-17 06:16:09 +00:00
Carbo Kuo
107d7fc5c6
Migrate the About page in Settings.
...
This change adds the "About" page and the "Device name" Preference.
However, due to the lack of editable text support in the alert dialog (SPA widget), the device name can't be changed at the moment.
Bug: 269486170
Test: manual, see screenshots.
Change-Id: Ie6b034d82b1718c8f22366ef525fd6d36e4df9ad
2023-02-16 18:14:36 +00:00
Zoey Chen
e6b32b7d3d
[SPA] Move the network folder to spa/
...
Bug: 268144349
Test: manual
Change-Id: I97dcd047a35ff94f5f6bb7c304a81679f72b10a4
2023-02-14 11:39:18 +00:00
Zoey Chen
405aa17b8a
[SPA] Add new entry: Network & Internet and Airplane mode
...
Network & Internet
Screenshot: https://hsv.googleplex.com/6109427053625344
Network & Internet > Airplane mode
https://hsv.googleplex.com/5087887067447296
Bug: 268144349
Test: manual
Change-Id: Ifc6e8db86a5511af7e43394a3f5e356dfadcfe89
2023-02-09 13:50:28 +08:00
Lyn Han
0a79769c15
Merge "Settings page to manage FSI permission"
2023-02-07 22:52:09 +00:00
Chaohui Wang
cd6946ca5b
Merge "Always use Spp to generate SettingsPage in Settings"
2023-02-02 09:11:45 +00:00
Chaohui Wang
8fcf4d0715
Always use Spp to generate SettingsPage in Settings
...
Bug: 244122804
Test: Manually with Settings
Change-Id: I3625d34abcdfd3f7264e20e94043769f1f9ed699
2023-02-02 15:21:03 +08:00
Lyn
685f1e4771
Settings page to manage FSI permission
...
Apps > Special App Access > Manage Full Screen Intents > App Specific page
Follows new Settings Platform Architecture that the Settings team
is migrating to for UDC.
Bug: 243421660
Test: make SettingsGoogle -j40
adb install -r out/target/product/$TARGET_PRODUCT/system_ext/priv-app/SettingsGoogle/SettingsGoogle.apk
Change-Id: Id2ca18480ddf788bee18b67a3689ef9593059a24
2023-02-02 05:36:52 +00:00
Chaohui Wang
e4c9959fd7
Add AppPermissionPreferenceTest
...
Unit test for AppPermissionPreference.
Bug: 236346018
Test: Unit test
Change-Id: I83e19bd8d4d667fb6cb2be8aed85ba7f0a8f149e
2023-02-02 13:34:09 +08:00
Chaohui Wang
750c6072b9
Use SettingsAlertDialog for app button dialogs
...
Use the spa standard widget SettingsAlertDialog to unify the dialog
style.
Bug: 236346018
Test: Manually with Settings
Test: Unit test
Change-Id: Idb231600e38ec7b0244baa5101da912ed2b9fd3c
2023-01-31 17:42:39 +08:00
Chaohui Wang
c1726d07e5
Launch the correct profile for the App Info items
...
Use the app user handle when SubSettingLauncher launch the new page, to
make sure the new page is opened for the correct profile.
Bug: 236346018
Test: Unit test
Test: Manually with App Info Setting page
Change-Id: Idd6eb183e967b1ced10fcf46b9e74bdff3953280
2023-01-29 01:10:47 +08:00
Ankita Vyas
5fc8308173
Merge "AppClone: Few fixes in Cloned Apps page."
2023-01-20 04:39:19 +00:00
Ankita Vyas
48279a0d72
AppClone: Few fixes in Cloned Apps page.
...
- Trigger uninstall as clone user
- Back navigation
Test: manual
Bug: 259022623
Change-Id: Ic9e0b20d371f6f0a5c70c84b3950e82ba43bc82e
2023-01-19 08:53:39 +00:00
Steven Lee
546d49c3df
Make toggle permission provider list in SettingsSpaEnvironment extendable.
...
Legal tracker bug: 262937731
Privacy tracker bug: 262936913
UX tracker bug: 262938050
Bug: 259436697
Bug: 263163538
Test: Settings builds.
Change-Id: Ida26f11b101d49375bad85380458b018060d9fec
2023-01-18 12:13:00 +08:00
Kuan Wang
96aee4896b
Not show time information in battery optimization page when opened from
...
Settings -> Apps
Test: make RunSettingsRoboTests + manual
Bug: 265130434
Change-Id: Ie7ae6a97041f490e81adbe8e0c530799e09a7c66
2023-01-16 12:07:07 +08:00
Ankita Vyas
149cbf04aa
Merge "AppClone: Changes in AppInfo page for cloned app."
2023-01-12 05:04:43 +00:00
TreeHugger Robot
353cde7109
Merge changes from topic "LifecycleEffect"
...
* changes:
Redirect to AppInfoSettings when SPA is on
Reload package info for each time enter App Info
2023-01-11 05:35:07 +00:00
Chaohui Wang
12b2f7cbe9
Update for AppOpsController changes
...
Bug: 235727273
Test: Manually with Settings
Change-Id: Ic4f4d6354b471500ee727e513ff161f0ee1e3225
2023-01-10 15:33:55 +08:00
Ankita Vyas
3672fb4b85
AppClone: Changes in AppInfo page for cloned app.
...
- Hides preferences for cloneable apps under Cloned Apps page
- Displays Create option for cloneable apps under Cloned Apps page.
- Invokes CloneBackend on click of create and refreshes to display newly
cloned app's AppInfo page.
- Appends suffix 'clone' for cloneable/cloned app.
- Displays text 'Delete' instead of 'uninstall'.
Screencast: https://screencast.googleplex.com/cast/NjI3MDEyMjk1MzAxNTI5NnxhOTIxZDhiZC03Zg
Bug: 262375058
Test: make RunSettingsRoboTests -j64
Change-Id: I34018f6cc7420d2667c25fbca59c832b398d723e
2023-01-06 08:31:20 +00:00
Chaohui Wang
87e3064b33
Redirect to AppInfoSettings when SPA is on
...
From recently opened apps or when click app icon from some app info
pages.
Bug: 236346018
Test: Manually with Settings
Change-Id: Ia4e1789196875eb0d10fdb6363f0d65cb88cb563
2023-01-06 14:46:27 +08:00
Chaohui Wang
7d7bcaf46f
Reload package info for each time enter App Info
...
So disable button and app settings preference status can be updated.
Bug: 236346018
Test: Manually with Settings
Change-Id: I4409cb25f9d959404653de665b55f65b3293c56b
2023-01-06 11:31:00 +08:00
Chaohui Wang
4525cfb462
Merge "Remove EXTRA_USER_HANDLE from startSpaActivityForApp"
2023-01-05 11:06:08 +00:00
Chaohui Wang
875cbba0af
Merge "Add spinner options to "All apps""
2023-01-05 11:05:23 +00:00
Chaohui Wang
c14729295e
Merge "Move common startUninstallActivity to AppUtil"
2023-01-05 03:50:28 +00:00
Chaohui Wang
74b3bfc066
Add spinner options to "All apps"
...
Spinner options only shows when there is any disabled or instant apps.
Fix: 264228237
Test: Manually with Settings
Test: Unit test
Change-Id: I9f916c1076b2d754b8c5f30244eac5d5c0bc78f4
2023-01-04 17:06:12 +08:00
Chaohui Wang
4710cfc7ed
Move common startUninstallActivity to AppUtil
...
And also suppress the warnings.
Bug: 236346018
Test: Unit test
Change-Id: I469e563fdeea0bec0587a255b15fddcaaab7f2c3
2023-01-04 16:58:39 +08:00
Chaohui Wang
afeb7496bb
Remove EXTRA_USER_HANDLE from startSpaActivityForApp
...
Bug: 263553430
Test: Unit test
Change-Id: I6739d4518eac00cfe22905c1a6589b6e9f91a1d3
2023-01-04 16:26:04 +08:00
Yilin Cai
fa93f941ef
Fork the Wi-Fi control setting page to SPA.
...
The page is located at "Apps > Special app access > Wi-Fi control".
Test: atest SettingsSpaUnitTests:com.android.settings.spa.app.specialaccess.WifiControlAppListModelTest
Test: local device (http://screen/3a4mkuAwPJoY6rf , http://screen/4fzttXjBqcEKcXA )
Bug: 262206181
Change-Id: Ibef029e6d83849a0eb0d779e5ed6dedfc2fe4b43
2023-01-04 10:56:44 +08:00
Chaohui Wang
7430578af1
Merge "Add SpaAppBridgeActivity for application usage"
2023-01-03 03:06:18 +00:00
xinghailu
1637a3a10a
Cleanup plurals format
...
Change <one> to <1> in string res file
Test: Update, existing tests still pass
bug: 199230342
Change-Id: Ic3a5259570cb52cd1664638f3b1058c87a631c04
2022-12-27 12:12:11 +08:00
Chaohui Wang
a9c624b0d3
Add SpaAppBridgeActivity for application usage
...
This requires the user to pass into the package name, which enabling
the feature of navigating to app info pages.
Bug: 263553430
Test: Manually with Settings
Change-Id: I9405e3732d99f78cd87e62d73b0c9519a8e2d71f
2022-12-26 20:22:38 +08:00
Chaohui Wang
366649ed1c
Merge "Set setModeByUid to align with current behavior"
2022-12-22 14:14:17 +00:00
Chaohui Wang
35e0ff2fb7
Merge "Add AppNotificationPreference to App Info Settings"
2022-12-21 04:51:04 +00:00
Chaohui Wang
dcd965b816
Add AppNotificationPreference to App Info Settings
...
This is only for the App Info Settings page, which is planed to be
migrated to SPA in Android U.
Currently protected by flag settings_enable_spa, default false.
This will not impacted the AppNotificationSettings, which has no plan
to be migrated.
Bug: 236346018
Test: Unit test
Test: Manual with Settings App
Change-Id: I4ae669ce36eb6ab73f1adf99585f424e03bf90fb
2022-12-21 04:50:12 +00:00
George Chan
d18b422c51
Added Background install control UI code.
...
Change-Id: I1b629fdc04d1df1b08998c9aaae3df3446fab3fe
Bug: 238451991
Test: Manually with settings, atest
2022-12-20 22:38:01 +00:00