Suphon Thanakornpakapong
a47aa62474
Theme work mode tab and toggle
2021-10-17 22:24:17 +07:00
Samuel Fufa
e79b469986
Allow AllApps to restore current selected tab on activity recreate
...
This CL also fixes:
- Wrong tab selection on RTL
- Fixes header protection hydraulic scroll issue
- Work toggle button text background contrast
Bug: 186005219
Bug: 191250799
Bug: 191227662
Bug: 191349226
Test: Manual
Change-Id: I3777474c954ed0d542ac38ff552367904be147d3
2021-06-17 16:59:56 -05:00
Samuel Fufa
efa5df380c
Merge "Refactor FolderInsetAnimationCallback to be used with any view" into sc-dev
2021-06-17 18:48:49 +00:00
Thiru Ramasamy
6f0e75740f
Add logging for tapped on 'Turn on/off work apps' button in all apps
...
Bug: 190050582
Test: Manual
Change-Id: Ib83fba6dc9199ba40a500e0743c0e64cc4d4d0a0
2021-06-16 17:03:49 -07:00
Samuel Fufa
d04a92d1ed
Refactor FolderInsetAnimationCallback to be used with any view
...
- Update ic_corp_off icon to outline
- Remove shadow from work toggle
- Translate work fab when keyboard is shown
Screenshot: https://screenshot.googleplex.com/593tEg7bE4kSS4y
Bug: 191251404
Bug: 191250785
Test: local
Change-Id: Ie7dddfd17eb90575a1e1f67e281070dd8d268f8d
2021-06-16 17:25:53 -05:00
Samuel Fufa
dfc274364e
Add work toggle to work apps paused message
...
This also fixes scrolling issues in landscape
Bug: 186857875
Bug: 161929312
Bug: 189983516
Bug: 190567199
screenshot: https://screenshot.googleplex.com/BCjcyJFqJo6W4Tr
Test: local
Change-Id: I7bcf23cc4be2fca936eba41342731789eb8f3292
2021-06-15 14:58:05 -05:00
Samuel Fufa
45e0e26971
[AllApps][Work] Introduce work toggle Fab
...
Screenshot: https://screenshot.googleplex.com/C4r7kKPxv3PKdyN
Bug: 186856928
Test: on-device
Change-Id: Ifd8ce20fcf2247a6e80537dc7631458e594a8a63
2021-06-13 20:01:20 -05:00
Sunny Goyal
28daf4a76f
Removing multiple system RPCs to packageMAnager and userManager from UI thread
...
Bug: 158427348
Change-Id: Ibb1837fe932000b69cf5683bb01727fc32abca91
2020-06-08 17:56:36 -07:00
Sunny Goyal
0e7a338e8b
Fixing SecondaryDisplay Launcher
...
> All apps layout broken in landscpae UI
> Crash when manager profile is added
> Wrong icon size on low resolution
Change-Id: If01dacf9f62a0384ebd8b31b62500178416d3ab4
2020-04-21 23:19:11 -07:00
Samuel Fufa
b2b1a0b351
Remove swipe support on WorkModeSwitch
...
Bug: 153063698
Test: Manual
Change-Id: I0c59617772e1cedff364fd18413dcaec8031cd06
2020-04-13 21:54:58 -07:00
Samuel Fufa
22557d7a8b
Resolve work switch drawable RTL issue
...
Bug: 153680914
Test: Manual
Change-Id: I54f0240b8845c89f96bf61705fea0dff74c68668
2020-04-12 17:23:51 -07:00
Samuel Fufa
9f7f9d9e34
Show work switch tip
...
This shows a tip view on the third visit to work tab
Bug: 151407879
Test: Manual
Change-Id: Ia28860e97113f8a9c246c3a82b0a1da4a53d8e07
2020-04-01 11:43:27 -07:00
Samuel Fufa
45c3b10448
Work profile accessibility fixes
...
- Remove TextView and use work switches text
- Allow talkback to read recyclerview overlay
Bug: 151884799
Bug: 151803591
Bug: 151274763
Bug: 151585835
Test: Manual
Change-Id: Ieee0d37d0244eb12ecb923d710cbbd6a86281062
2020-03-20 11:52:03 -07:00
Sunny Goyal
337c81f664
Removing static instances of UserManagerCompat and AppWidgetManager
...
> Changing the lifecycle to follow other static objects in Launcher
> Removing compat interface and inlining everything to helpers
Bug: 141376165
Change-Id: I82bd5db1969101de9a7eac77f32728d70195bb35
2019-12-11 10:03:19 -08:00
TreeHugger Robot
9e26e26f00
Merge "Prevent the work mode switch thumb from being dragged." into ub-launcher3-master
2018-08-15 17:39:24 +00:00
arangelov
1502c673d0
Prevent the work mode switch thumb from being dragged.
...
When we normally press the work mode switch, it waits for the profile to
receive the ACTION_MANAGED_PROFILE_AVAILABLE broadcast before the button
UI actually toggles. The user never interacts directly with that switch.
However, dragging the switch thumb used to bypass that logic. This CL
makes sure dragging the switch thumb cannot happen in the first place.
Change-Id: Ib3b4ae7591136c35e6d02783387d752e246cfb5b
Fixes: 111211805
Test: Manual
2018-08-15 16:46:13 +01:00
Rajeev Kumar
88a2391f1d
Make AsyncTask static to prevent memory leak in WorkModeSwitch class
...
Bug: 112163931
Test: Manual testing
Change-Id: I17d0cb871103693d9e901758fba2abb2b73874fb
2018-08-03 12:16:10 -07:00
Tony Mak
b5950bbd6c
Update label accordingly when work mode is changed
...
Also, updates the work related strings accordingly.
Fix: 71987096
Change-Id: Iedbf6ee04f3a165a392efdf2bd351817997817ca
2018-01-16 21:33:56 +00:00
Tony Mak
9f082604b0
Rename trySetQuietModeEnabled to requestQuietModeEnabled as per ...
...
the feedback from API council
Fix: 71818127
Test: Build
Change-Id: I4bfb0eecb281961e24a4f613485420e9e8b357ab
2018-01-13 16:10:33 +00:00
Tony Mak
6eeb040d86
Consume work mode API
...
Fix: 69905244
Change-Id: I5958b3a2ebba2fa0e0f69448d5526dc72ed6a97b
2018-01-04 19:06:01 +00:00