Skip to content

Commit

Permalink
Use marquee instead of truncate at end event provider
Browse files Browse the repository at this point in the history
Signed-off-by: Saul Henriquez <saul_henriquez@hotmail.com>
  • Loading branch information
saulhdev committed Feb 25, 2021
1 parent 884fc80 commit abbc2f7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ class OmegaSmartspaceController(val context: Context) {

data class Line @JvmOverloads constructor(
val text: CharSequence,
val ellipsize: TextUtils.TruncateAt? = TextUtils.TruncateAt.END) {
val ellipsize: TextUtils.TruncateAt? = TextUtils.TruncateAt.MARQUEE) {

constructor(context: Context, textRes: Int) : this(context.getString(textRes))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,10 @@ public class PluginManagerImpl extends BroadcastReceiver implements PluginManage
private Looper mLooper;

public PluginManagerImpl(Context context, PluginInitializer initializer) {
this(context, new PluginInstanceManagerFactory(), Build.IS_DEBUGGABLE,
this(context, new PluginInstanceManagerFactory(), true,
(UncaughtExceptionHandler) invoke(sGetUncaughtExceptionPreHandler, null), initializer);
}

@VisibleForTesting
PluginManagerImpl(Context context, PluginInstanceManagerFactory factory, boolean debuggable,
UncaughtExceptionHandler defaultHandler, final PluginInitializer initializer) {
mContext = context;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
/*
* Copyright (C) 2017 The Android Open Source Project
* This file is part of Omega Launcher
* Copyright (c) 2021 Saul Henriquez
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* http://www.apache.org/licenses/LICENSE-2.0
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

package com.android.systemutils;
Expand Down

0 comments on commit abbc2f7

Please sign in to comment.