UI Change for 2-profile case:
1. When both personal and work listview are expanded, half height is allocated for each list view
2. When only one listview is expanded, full height is allocated to the list view
Video can be found at go/trust-cred-split-view
- Use 2 ListView instead of 1 ExpandableListView in order to scoll the list independently
- The ui is not changed for only one or more than 3 profiles.
- Remove TrustedCertificateAdapterCommons, and wrap GroupAdapter by ChildAdapter in order to re-use more codes
- clear mAliasLoaders in onDestroy. (Seems it's a bug.)
- When work mode or fbe locked, force to collapse work list view. User message will be prompted when user press on header
- Groups in GroupAdapter is set synchronously instead of async, since we assume the number of users are fixed during initialization
- DataSet events will go through GroupAdapter to notifiy ChildAdapter
Bug:28236955
Change-Id: Iebfcd3fcb6515b42687e133b11696c42db63d18f
Create SettingsDividerItemDecoration which reads PreferenceViewHolder
isDividerAllowedAbove/Below so that will be taken into account as
well as other ViewHolders which implements DividedViewHolder.
Bug: 28445348
Change-Id: I73e298f2ca1688b135e533a8d3ef5f5c154963f7
am: 58f93f1645
* commit '58f93f1645f5a0714c46d8e40c5e2353ae52c3e6':
Do not set order for print services settings.
Change-Id: I7be3cfa303fd4ac2859c5da1603ad8a8d2c26f38
am: 5cc5f2d70e
* commit '5cc5f2d70eaa51ad2c7577e923e2350ed5642d4a':
Do not set order for print services settings.
Change-Id: I5a457d0b2f81121f74b70a5981510becf99b49ca
am: de4e43edda
* commit 'de4e43eddae70b63671083fd6fc95de7df1ed2fd':
Do not set order for print services settings.
Change-Id: Ibca759a4db12c5edb913711344a860cff75022ee
am: de4e43edda
* commit 'de4e43eddae70b63671083fd6fc95de7df1ed2fd':
Do not set order for print services settings.
Change-Id: Icb3b9ca85af76635eb64a60a45cd91fc13ab7bb1
b/28298258
Locale change will be handled in future CL/ dynamic shortcut list
change using a UI will be handled in follow up CL.
Change-Id: I5468b17e8c8b32625139ab0484d5d0386be0961d
am: f2ea09f405
* commit 'f2ea09f40534e65d23126964b90ba1d405ab0f1b':
Fix a bug where negative file sizes were being used.
Change-Id: Ib73852cdb85368df7b32fcdca5bbb1aa62a83c8f
am: 38cdbf7fdc
* commit '38cdbf7fdced67563f26c334dfa6c5dcf78eaecc':
Fix a bug where negative file sizes were being used.
Change-Id: I177311d921c89f30545080b2fec73f95f81a30ef
am: 1ebe441ae2
* commit '1ebe441ae2d35579705e79b63ece3dab6a045962':
More informative title while choosing work lock.
Change-Id: I29a0a8e613954716b09746b4b15328fd9c184d38
am: b735c1baf7
* commit 'b735c1baf7affe1bc26ce6be3abe605026f828e2':
More informative title while choosing work lock.
Change-Id: I56a16ff55bf5c84ccecafb1f6e8d958fbe0890b0
am: 9efcb2e314
* commit '9efcb2e314f4c31de26cea629b03b436f7b84df1':
More informative title while choosing work lock.
Change-Id: I38dce28a33ac847cba1f256d99ec2a0f092d5b4c
am: 9efcb2e314
* commit '9efcb2e314f4c31de26cea629b03b436f7b84df1':
More informative title while choosing work lock.
Change-Id: Ib71598d4112cb10392fa32cc39aa10699ad6855e
am: dc47ac730e
* commit 'dc47ac730ec5489989f922b9a8c9cdd2d452a9d1':
Only ask for credentials in add account if user is locked.
Change-Id: I3b4c678487222d68b209492897b960bbe9c142dd
am: d16c520451
* commit 'd16c52045150854da9efad21623b24d6c443b373':
Only ask for credentials in add account if user is locked.
Change-Id: Iaae924082368b59cec76b5720a604f4eb59f7deb
am: 832c8e4fda
* commit '832c8e4fdadce8b8fd9b13fe584a7dfb0324d0a0':
Only ask for credentials in add account if user is locked.
Change-Id: Ieacd13cc6536fd789b76246de550c4592cfe4b57
am: 832c8e4fda
* commit '832c8e4fdadce8b8fd9b13fe584a7dfb0324d0a0':
Only ask for credentials in add account if user is locked.
Change-Id: Ic93962179b1ce9ac19233810dbf065aedd662168
This fixes the cross profile intent filter test in CtsVerifier.
Activities of action APPLICATION_DEVELOPMENT_SETTINGS and
NFC_PAYMENT_SETTINGS are disabled in managed profile. But we still
want their corresponding intents to be forwarded to personal side.
Bug: 28426865
Change-Id: I65afc06f7faf4532d9e132f44c1faa49f47d1a2e
When Intent ACTION_SET_NEW_PASSWORD is called from a managed profile,
ChooseLockGeneric fragment shows title "Unlock Selection", update that to
"Choose work lock".
Bug: 28451356
Change-Id: I9bcf4698557fa453337aa666f10f94f15e7624fa