OSDN Git Service

android-x86/packages-apps-Trebuchet.git
4 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86 cm-14.1-x86
Chih-Wei Huang [Tue, 22 Oct 2019 08:02:12 +0000 (16:02 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

4 years agoAutomatic translation import
Michael Bestas [Tue, 6 Aug 2019 17:34:15 +0000 (20:34 +0300)]
Automatic translation import

Change-Id: I830c395918ab6d0d379ff8ead042d2c6a2d8824a

5 years agoAutomatic translation import
Michael Bestas [Sun, 10 Mar 2019 22:23:09 +0000 (00:23 +0200)]
Automatic translation import

Change-Id: I77e96fff556ebb3ac189ce768713ac86c1a641de

5 years agoAutomatic translation import
Michael Bestas [Sun, 14 Oct 2018 10:49:49 +0000 (13:49 +0300)]
Automatic translation import

Change-Id: Icefea39151374f42bbc057a157644082307851aa

5 years agoAutomatic translation import
Michael Bestas [Sat, 5 May 2018 16:20:42 +0000 (19:20 +0300)]
Automatic translation import

Change-Id: I9777ee9c40d56c5650df2e436d15c7df0513fc24

5 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Chih-Wei Huang [Wed, 2 May 2018 14:41:12 +0000 (22:41 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

6 years agoAutomatic translation import
Michael Bestas [Tue, 27 Mar 2018 22:48:32 +0000 (01:48 +0300)]
Automatic translation import

Change-Id: I1a8b88281d490368e030d1c00c0082be4bb2d086

6 years agoAutomatic translation import
Michael W [Sat, 17 Feb 2018 13:33:48 +0000 (14:33 +0100)]
Automatic translation import

Change-Id: I7bf9774b0eab1a579140e8622128c2860521b300

6 years agoDisable apps statistics by default
Chih-Wei Huang [Wed, 14 Feb 2018 04:13:02 +0000 (12:13 +0800)]
Disable apps statistics by default

Google warned we have exceeded the limit of 10 million hits per month.

6 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Chih-Wei Huang [Tue, 13 Feb 2018 03:07:05 +0000 (11:07 +0800)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

6 years agoAutomatic translation import
Michael Bestas [Sun, 4 Feb 2018 02:33:30 +0000 (04:33 +0200)]
Automatic translation import

Change-Id: I0d7969246add65bce960fba2bc95ab19667bc3af

6 years agoAutomatic translation import
Abhisek Devkota [Sat, 16 Dec 2017 19:33:50 +0000 (11:33 -0800)]
Automatic translation import

Change-Id: I61ddc7bf936732480a235c181e4b2919f8db0ee5

6 years agoAutomatic translation import
Abhisek Devkota [Tue, 12 Dec 2017 05:56:15 +0000 (21:56 -0800)]
Automatic translation import

Change-Id: I94ccbaba679372289946f82230e5427a73a3d80f

6 years agoTrebuchet: Use ICU4J public APIs
Gabriele M [Sun, 19 Nov 2017 16:26:34 +0000 (17:26 +0100)]
Trebuchet: Use ICU4J public APIs

The private implementation of AlphabeticIndexCompat in libcore.icu
has been removed, so Trebuchet always uses BaseAlphabeticIndex,
which doesn't work properly with all the alphabets. Since Android
7.0, the Android platform exposes a subset of the ICU4J APIs, so
switch to that and drop the fallback code.

Change-Id: Id8e5538f70d074d5ffeea0c23ef3f2a72ec0f3bf

6 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
meijjaa [Sat, 21 Oct 2017 11:47:42 +0000 (13:47 +0200)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

6 years agoRemove obsolete values-be translations
Michael Bestas [Sat, 30 Sep 2017 15:41:44 +0000 (18:41 +0300)]
Remove obsolete values-be translations

* values-be-rBY is used now

Change-Id: Ib133dae7f3b44ce47bbbebe3af7f56a5a0a1b41d

6 years agoAutomatic translation import
Abhisek Devkota [Mon, 18 Sep 2017 18:48:17 +0000 (11:48 -0700)]
Automatic translation import

Change-Id: Ide83bf07333fdbf235acf307025a18ea6c6b44c9

6 years agoAutomatic translation import
Abhisek Devkota [Sat, 19 Aug 2017 22:34:51 +0000 (15:34 -0700)]
Automatic translation import

Change-Id: I49c2cf320fb42f572e4078c0cfa782a3c83fb48b

6 years agoAutomatic translation import
Abhisek Devkota [Fri, 4 Aug 2017 05:47:48 +0000 (22:47 -0700)]
Automatic translation import

Change-Id: Ia815e7b27f3daddd9cdee7048eb1c52ecd357221

6 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Jaap Jan Meijer [Tue, 1 Aug 2017 14:57:06 +0000 (16:57 +0200)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

6 years agoTrebuchet: Rename settings provider
Arne Coucheron [Sat, 24 Jun 2017 04:44:14 +0000 (06:44 +0200)]
Trebuchet: Rename settings provider

Rename in order to avoid conflicts with AOSP launcher and
other launchers based on it.

Change-Id: Ib44f96add26d0f60d08e642044b1cde35f489cd3

6 years agoAutomatic translation import
Abhisek Devkota [Thu, 1 Jun 2017 03:10:07 +0000 (20:10 -0700)]
Automatic translation import

Change-Id: Iac7bf4c71571f0e90811512226942034eea6cb51

6 years agoTrebuchet: Sign with platform key
Arne Coucheron [Mon, 29 May 2017 19:22:28 +0000 (21:22 +0200)]
Trebuchet: Sign with platform key

Guest user needs android.permission.INTERACT_ACROSS_USERS,
or else Trebuchet will crash.

Change-Id: Idef34f1752bd9be25f244c9ba3c0fa710b7df4bb

6 years agoAdd null check in Launcher onNewIntent() before moveToDefaultScreen().
Tony [Mon, 26 Oct 2015 00:39:37 +0000 (17:39 -0700)]
Add null check in Launcher onNewIntent() before moveToDefaultScreen().

There is a race condition that occurs primarily (maybe entirely) with
Android Auto, it seems because they hijack the Home intent or something
similar. I'm not exactly sure how Android Auto works, but if I pair my
phone with the Desktop Head Unit (car dashboard emulator), I can repro
the NPE fairly easily by simply force closing Android Auto and then
disconnecting my phone from the DHU. If I don't force close Android
Auto, then pressing home launches Android Auto or other apps that I
assume handle some custom intent, such as Car Home Ultra, instead of
normal Home intents such as Launcher3/Google Now Launcher. So I think
what's happening is that, when the phone is disconnected from the car,
Android Auto restores and launches the real home intent (Launcher 3)
around the same time that it destroys the previous home intent
(Android Auto, Car Home Ultra, etc.). This could cause the NPE if both
intents are actually Launcher 3, as is the case when Android Auto is
already closed, because mWorkspace is set to null in
Launcher#onDestroy() (something like onNewIntent() --> post() called
--> onDestroy() --> post() runs). This is consistent with the fact
that I can guarantee a repro if I use postDelayed() instead of post().

Long-winded explanation aside, I think this fix is safe, especially
since we already have a null check for mWorkspace in onNewIntent(),
just not inside the post().

Bug: 24610231

Change-Id: I42f75b83946f375d947be1961a1f2a03a3707a84

6 years agoHandle OutOfMemoryException gracefully in WallpaperCropActivity.
Tony Wickham [Wed, 4 Nov 2015 23:01:54 +0000 (15:01 -0800)]
Handle OutOfMemoryException gracefully in WallpaperCropActivity.

Now instead of crashing, it says "Couldn't load image."

Bug: 25326319
Change-Id: I6918b7b34e0a9b40036b1405fc449c10c2e1d40a

6 years agoFixing All apps not respecting scaled icon size
Sunny Goyal [Thu, 10 Dec 2015 20:28:21 +0000 (12:28 -0800)]
Fixing All apps not respecting scaled icon size

Change-Id: I3d05c713939fd69d04f5896cdc5db91480b0d4d1

6 years agoAdding workaround to jump in wallpaper offsets.
Winson [Tue, 2 Aug 2016 19:03:34 +0000 (12:03 -0700)]
Adding workaround to jump in wallpaper offsets.

- Just skip the animation if we are animating to the same wallpaper
  offset (which is the case when we are adding from all apps)

Bug: 28587903
Change-Id: Ib7b1828c1b099a665d68c22cb33ee62693f33f35

6 years agoAutomatic translation import
Abhisek Devkota [Thu, 18 May 2017 05:22:53 +0000 (22:22 -0700)]
Automatic translation import

Change-Id: I204064390b0337d67c1ffa5a63e53ffc122cd4ae

6 years agoTrebuchet: Add Jelly to hotseat
Arne Coucheron [Tue, 2 May 2017 17:17:24 +0000 (19:17 +0200)]
Trebuchet: Add Jelly to hotseat

Change-Id: I1aaefe1ab6227d45e2ddc5a182494a8b582396e9

7 years agoTrebuchet: lineage launcher icon
qjohn [Sat, 18 Mar 2017 15:40:21 +0000 (22:40 +0700)]
Trebuchet: lineage launcher icon

Change-Id: Ibf4e1add2f9dc88907430070bbbf74751dec2070

7 years agoTrebuchet: Do not crash if normalized string for sorting is empty
Vitaliy Tomin [Wed, 26 Apr 2017 07:25:20 +0000 (15:25 +0800)]
Trebuchet: Do not crash if normalized string for sorting is empty

* Fixes emty string leads to
 java.lang.StringIndexOutOfBoundsException: length=0; regionStart=0; regionLength=1
  at java.lang.String.substring(String.java:1931)
at com.android.launcher3.compat.BaseAlphabeticIndex.getBucketIndex(AlphabeticIndexCompat.java:38)

Change-Id: I9879b33e02a67aed4fb63e85921a51551c2ef208

7 years agoDon't show market links if market app is protected
Gabriele M [Sun, 2 Apr 2017 17:22:40 +0000 (19:22 +0200)]
Don't show market links if market app is protected

Trebuchet is a protected component manager, therefore it can start
protected apps without asking for a password. When a user looks for
an app that isn't installed using the search box in the app drawer,
Trebuchet shows a link to start the default market app. This allows
any user to start the market app without inserting the password, even
when protected, so hide the link in this case.

BUGBASH-358

Change-Id: Ic42355cfc1b689818c5d6682a61cf1c98d37bc80

7 years agoTrebuchet: use normalized strings for sorting into bucket
gismo2004 [Sun, 2 Apr 2017 13:11:54 +0000 (15:11 +0200)]
Trebuchet: use normalized strings for sorting into bucket

converts letters like \u00c4,\u00d6,\u00dc to A,O,U

Change-Id: Ie15d2bf9e1212f5e90b27359032503f641f664a4

7 years agoAutomatic translation import
Abhisek Devkota [Thu, 20 Apr 2017 19:09:15 +0000 (12:09 -0700)]
Automatic translation import

Change-Id: I7aa1e49ea5fd1f623b9fd0482f858ad67a0a8d0d

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 29 Mar 2017 21:26:08 +0000 (14:26 -0700)]
Automatic translation import

Change-Id: If86d1585f992734665d5b4b1136fad4e1a1a5935

7 years agoMoving a few testing classes to a separate package
Sunny Goyal [Fri, 26 Jun 2015 02:35:49 +0000 (19:35 -0700)]
Moving a few testing classes to a separate package

Change-Id: Ied1c063de3e938695493e4937f554686e0719dad

7 years agoTrebuchet: Remove ambient SDK leftover
Gabriele M [Sun, 26 Mar 2017 16:32:37 +0000 (18:32 +0200)]
Trebuchet: Remove ambient SDK leftover

Change-Id: Ifc876984c253a48ab5a52d983c0eabaacf732ed5

7 years agoAutomatic translation import
Abhisek Devkota [Mon, 20 Mar 2017 20:55:35 +0000 (13:55 -0700)]
Automatic translation import

Change-Id: I730c15eccc7bbaf3c30a550f6777793d7e00df49

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 15 Mar 2017 20:37:42 +0000 (13:37 -0700)]
Automatic translation import

Change-Id: I5569b2daea8316827c79bb7df1bd403fe118ca42

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 8 Mar 2017 22:05:21 +0000 (14:05 -0800)]
Automatic translation import

Change-Id: I92b1a68fec1c649500c19505b6e86705b482f599

7 years agoAutomatic translation import
Michael W [Thu, 2 Mar 2017 14:45:54 +0000 (15:45 +0100)]
Automatic translation import

Change-Id: I5198b48034b8f61743f510c3738528ac63a87e91

7 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Jaap Jan Meijer [Sat, 25 Feb 2017 12:05:06 +0000 (13:05 +0100)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

7 years agoAutomatic translation import
Abhisek Devkota [Fri, 24 Feb 2017 03:17:48 +0000 (19:17 -0800)]
Automatic translation import

Change-Id: I3778827bd4f576dac7f360eb8cdd3a1210279af2

7 years agoAutomatic translation import
Abhisek Devkota [Sun, 19 Feb 2017 23:05:42 +0000 (15:05 -0800)]
Automatic translation import

Change-Id: Icb3f7c0bc4b2feba89b6802c8b323a90eec30662

7 years agoAutomatic translation import
Abhisek Devkota [Sat, 11 Feb 2017 20:42:48 +0000 (12:42 -0800)]
Automatic translation import

Change-Id: Id92d10def1816e05dc95538b5bfac9fac7b9cac9

7 years agoAutomatic translation import
Abhisek Devkota [Sun, 5 Feb 2017 00:21:05 +0000 (16:21 -0800)]
Automatic translation import

Change-Id: Ia9b6c8f5a4c4b09f81d88ce1504a90d1edba9b1e

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 1 Feb 2017 05:41:16 +0000 (21:41 -0800)]
Automatic translation import

Change-Id: I3a95bd1c8d57280028d9df6955ab7711ae267954

7 years agoAutomatic translation import
Abhisek Devkota [Wed, 25 Jan 2017 21:47:52 +0000 (13:47 -0800)]
Automatic translation import

Change-Id: I164cc635a31f8452be72d9f0e34a2472aeedeb9d

7 years agoAutomatic translation import
pinky@build01 [Sun, 25 Dec 2016 02:45:41 +0000 (18:45 -0800)]
Automatic translation import

Change-Id: I01a5f355b1d556df5b5bc7a182c7f27abed43f81
Ticket: -

7 years agoAutomatic translation import
clyde@build01 [Thu, 22 Dec 2016 02:29:01 +0000 (18:29 -0800)]
Automatic translation import

Change-Id: I4e5a8b0a6dd356b17db5ba31929fd20afd7e6382
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sun, 18 Dec 2016 02:37:13 +0000 (18:37 -0800)]
Automatic translation import

Change-Id: Ib11db648f10126e6cae39b19505d87192951b917
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sun, 11 Dec 2016 03:08:13 +0000 (19:08 -0800)]
Automatic translation import

Change-Id: Ic246eb4c8e65ab7fa0c0dd75a37701db469524f6
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Fri, 9 Dec 2016 06:52:13 +0000 (22:52 -0800)]
Automatic translation import

Change-Id: I9e62fe519a1272b77fa9d2b4491e5c5df7ed7c59

7 years agoDisabling widget debug
Sunny Goyal [Fri, 2 Oct 2015 19:48:37 +0000 (12:48 -0700)]
Disabling widget debug

Change-Id: I876a904358ce455c97a7a25a34c66af5e9316469

7 years agoMerge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86
Jaap Jan Meijer [Tue, 15 Nov 2016 18:46:50 +0000 (19:46 +0100)]
Merge remote-tracking branch 'cm/cm-14.1' into cm-14.1-x86

7 years ago[DO NOT MERGE] Address some spacing issues in all apps related to new support library
Adam Cohen [Tue, 12 Apr 2016 21:17:58 +0000 (14:17 -0700)]
[DO NOT MERGE] Address some spacing issues in all apps related to new support library

issue 27581978

Change-Id: If7a1ea19aa586bb3de6bde960b16e59f86061227

7 years agoAdding small padding between icons in AllApps.
Winson [Wed, 23 Sep 2015 23:11:35 +0000 (16:11 -0700)]
Adding small padding between icons in AllApps.

Bug: 23948851
Change-Id: If7daf84be0c5b314c5afd896d2601028ee243c80

7 years agoCompressing Launcher resources.
Winson [Fri, 4 Sep 2015 15:52:36 +0000 (08:52 -0700)]
Compressing Launcher resources.

Bug: 23812987

Change-Id: I66452a321c3c48661387282ba782ba948e0aae6b

7 years agoTrebuchet: Remove stats/tracking
Ethan Chen [Fri, 28 Oct 2016 04:11:54 +0000 (21:11 -0700)]
Trebuchet: Remove stats/tracking

Change-Id: I9250ee5f93208cb5749cfe67d53d60850e82f18f

7 years agoRevert "Trebuchet: always set initial wallpaper offsets"
Arne Coucheron [Mon, 31 Oct 2016 04:54:01 +0000 (05:54 +0100)]
Revert "Trebuchet: always set initial wallpaper offsets"

 * Updated wallpaper handling in Android seems to have made
   this workaround obsolete. Reverting it fixes the glitch
   with shifting wallpaper after boot.

This reverts commit 58f05fa6e401815a68a22f62abb16fc935ecda88.

Change-Id: I233ce4338a71510b43ffbaf58eded8bd714ed6b5

7 years agoGet permission from users to collect anonymous data cm-14.0-x86
Chih-Wei Huang [Mon, 8 Aug 2016 13:46:14 +0000 (21:46 +0800)]
Get permission from users to collect anonymous data

To improve the Android-x86 project, we'd like to collect some
anonymous data from the users. We need to ask the permission
from the uses to do these.

If you want to stop collecting the data, set the properties

* persist.sys.hw_statistics=false
* persist.sys.apps_statistics=false

7 years agoAutomatic translation import
blinky@build01 [Sat, 13 Aug 2016 20:33:29 +0000 (13:33 -0700)]
Automatic translation import

Change-Id: Ie0c97dc8c64b101bd102bda7e7289682bb3c1698
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Mon, 1 Aug 2016 02:00:44 +0000 (19:00 -0700)]
Automatic translation import

Change-Id: Ibc5d847031a61344e5da5555866a77257ec60ec0
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Sun, 24 Jul 2016 20:43:48 +0000 (13:43 -0700)]
Automatic translation import

Change-Id: I2f5f072bab3ba30082d634377c567cfeef1894b7
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Thu, 21 Jul 2016 18:19:24 +0000 (11:19 -0700)]
Automatic translation import

Change-Id: Ia660b4d2981345247b6c8930e96c422437c97845
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Tue, 19 Jul 2016 17:29:34 +0000 (10:29 -0700)]
Automatic translation import

Change-Id: I647ec09e4b4ee276e6248732bee3c705d5a05146
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sun, 17 Jul 2016 18:16:43 +0000 (11:16 -0700)]
Automatic translation import

Change-Id: I72a6db5ade613f70eda5ee56e81c76b6075eb67b
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sat, 16 Jul 2016 16:43:07 +0000 (09:43 -0700)]
Automatic translation import

Change-Id: I581178e6788fe3d55e7583aa033e6de993eb09c8
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Fri, 15 Jul 2016 17:00:55 +0000 (10:00 -0700)]
Automatic translation import

Change-Id: I030feca26cb2f71265cf238036395e25683ed51a
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Thu, 14 Jul 2016 16:38:47 +0000 (09:38 -0700)]
Automatic translation import

Change-Id: Ia1a9a41465240847c46c8cd51dfab32d6b0f72a4
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Wed, 13 Jul 2016 17:01:39 +0000 (10:01 -0700)]
Automatic translation import

Change-Id: I2f25a91db3dc40544e12087b9241fb942a5ff54b
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Tue, 12 Jul 2016 20:17:07 +0000 (13:17 -0700)]
Automatic translation import

Change-Id: I5ed319d121e169b049f50232a34de88d9f748186
Ticket: -

7 years agoAutomatic translation import
clyde@build01 [Tue, 12 Jul 2016 00:09:48 +0000 (17:09 -0700)]
Automatic translation import

Change-Id: I763ee489bd1fb8934a38aa3fadd7931d28db6d37
Ticket: -

7 years agoTrebuchet hook to export workspace - hidden behind *#*#INFO#*#* wall
Abhishek G [Wed, 6 Jul 2016 00:31:39 +0000 (17:31 -0700)]
Trebuchet hook to export workspace - hidden behind *#*#INFO#*#* wall

Adding trebuchet capability to export out Trebuchet launcher layout
for offline processing. This option is not visible to the user unless
the user enables Trebuchet hidden menu via the *#*#INFO#*#* dialer menu.
This feature simplifies the process around ingesting OOBE launcher layout
requirements.

Change-Id: Iff7b8c89e782b01f73b53e91df2af9251ed7bbd8

7 years agoBring back the custom wallpaper picker [2/5]
d34d [Tue, 7 Jun 2016 22:35:19 +0000 (15:35 -0700)]
Bring back the custom wallpaper picker [2/5]

Change-Id: Iffd0911c0e37a3c27d598f22288b68a682b40154
TICKET: OSS-62

7 years agoAutomatic translation import
inky@build01 [Fri, 17 Jun 2016 21:02:04 +0000 (14:02 -0700)]
Automatic translation import

Change-Id: Idd7d772a2f3e1ab66571c1eeb7c037e9af18f502

7 years agoTrebuchet: Never show page indicator in app drawer
Scott Mertz [Fri, 3 Jun 2016 21:24:28 +0000 (14:24 -0700)]
Trebuchet: Never show page indicator in app drawer

When rotation is enabled and we rotate the app launcher, we attempt
to update the indicator alpha state before the view is attached. This
results in the alpha state not applying to the indicator.  Instead,
always set the view to INVISIBLE when the app drawer is showing and
the workspace is attached.

FEIJ-998
Change-Id: Ia2691a12c2cc79ea76a7e91d7d13e94b97df09b5

7 years agoAutomatic translation import
clyde@build01 [Fri, 3 Jun 2016 22:14:48 +0000 (15:14 -0700)]
Automatic translation import

Change-Id: I8fbf8fdcabec08b3f03765b9641a9b90462094d3

7 years agoAutomatic translation import
inky@build01 [Wed, 1 Jun 2016 19:02:43 +0000 (12:02 -0700)]
Automatic translation import

Change-Id: I8480943712d046c1ef417a56c50220cf7ce3fe4d

7 years agoWallpaper: Allow multiple partners to be loaded
d34d [Wed, 15 Jul 2015 00:19:16 +0000 (17:19 -0700)]
Wallpaper: Allow multiple partners to be loaded

Current implementation only allowed for one partner, and any
additional partner wallpapers would not be loaded.
Partrner.get() still returns the first partner and a new method,
getAllPartners is introduced which returns a list of all partners.

Change-Id: I06b6cd4817d3f812e2110967f075d68ee31cb318

7 years agoAutomatic translation import
Jessica Wagantall [Fri, 27 May 2016 01:58:02 +0000 (18:58 -0700)]
Automatic translation import

Change-Id: I77d59ac253ceb94007dfe8650b9a0bb8a23a2d9d
Ticket: RM-214

7 years agoAutomatic translation import
Jessica Wagantall [Sat, 21 May 2016 00:04:31 +0000 (17:04 -0700)]
Automatic translation import

Change-Id: I18d123f5cac5d4557bbad16d355ceeb12aea6bcf
Ticket: RM-214

7 years agoMove icons to fit within Dynamic grid upon resize.
cretin45 [Fri, 20 May 2016 17:46:16 +0000 (10:46 -0700)]
Move icons to fit within Dynamic grid upon resize.

Missed part of this patch during forward port:
https://github.com/CyanogenMod/android_packages_apps_Trebuchet/commit/e25ab7bd9525d7a2c67eb8a6d8e88d54940dba58

Issue-id: CYNGNOS-2908

Change-Id: I49fb4e4a1b86d41be263d4f9b84020450f54d3f9

7 years agoTrebuchet: Fix possible OOB
Michael W [Tue, 17 May 2016 22:02:11 +0000 (00:02 +0200)]
Trebuchet: Fix possible OOB

In some cases mText is empty and Substring will then throw an OOB
Add logic to fix this

(Reference: BugReports 13-20160506-12, Line #157)

Change-Id: I2b32b0a56a93977d34b780afb9b3047e9fa566b0

7 years agoAutomatic translation import
Abhisek Devkota [Tue, 17 May 2016 20:12:26 +0000 (22:12 +0200)]
Automatic translation import

Change-Id: I6dca23a474afb664456400ef47209a1d1174676b

7 years agoTrebuchet: Rebind QSB in finishBindingItems
cretin45 [Sun, 15 May 2016 01:36:33 +0000 (18:36 -0700)]
Trebuchet: Rebind QSB in finishBindingItems

Sometimes the GMS QSB doesn't bind properly. Especially
after going through OOBE without network.

Issue-id: CYNGNOS-2833

Change-Id: Ib64fee898b6f55d14f35fe7efc5c36b090422d36

7 years agoAutomatic translation import
Abhisek Devkota [Sat, 14 May 2016 09:18:04 +0000 (11:18 +0200)]
Automatic translation import

Change-Id: If441e5345f298107f32447fbfe573f03eaa7c1d7

7 years agoCheck for null provider info when removing widget
Skrilax_CZ [Thu, 12 May 2016 05:30:50 +0000 (22:30 -0700)]
Check for null provider info when removing widget

When doing clean installation and restoring backup,
any stubs for the widget on the homescreen for apps
are not present (downloading them doesn't help) appear
to have null provider info. Add a check for that in
removeAppWidget to prevent crashing.

Change-Id: I207b6a9ba534f572e1937a7b2a0cdc4eb90aff37

7 years agoTrebuchet: Make workspace layout configurable by prebundled mcc
cretin45 [Wed, 11 May 2016 21:30:53 +0000 (14:30 -0700)]
Trebuchet: Make workspace layout configurable by prebundled mcc

Ported patch: http://review.cyanogenmod.org/#/c/111725/

Issue-id: PAELLA-236

Change-Id: I1d02cfc4f1e7e7fc5b1aaf326072b0ffe8966c05

7 years agoAutomatic translation import
Abhisek Devkota [Tue, 10 May 2016 23:20:35 +0000 (16:20 -0700)]
Automatic translation import

Change-Id: I6ca91be993d3ef1fa65a3c6e4eb7018120867841
Ticket: RM-232

7 years agoPut apps with uncomputable section names in special bucket
Artem Shvadskiy [Tue, 10 May 2016 23:42:31 +0000 (16:42 -0700)]
Put apps with uncomputable section names in special bucket

Change-Id: I8ec0a2a9a46c3f45f2c52ac6a4d4d812881c52b7
issue-id: CYNGNOS-2683

7 years agoTrebuchet: Index folder contents screen and cells on first load
cretin45 [Tue, 10 May 2016 20:36:09 +0000 (13:36 -0700)]
Trebuchet: Index folder contents screen and cells on first load

Issue-id: CYNGNOS-2755

Change-Id: I260d1b098e7759a0134bc40f892b8783452c9528

7 years agoAutomatic translation import
Michael Bestas [Tue, 10 May 2016 15:39:06 +0000 (18:39 +0300)]
Automatic translation import

Change-Id: I35440df52a30c69d6db2a41fc6542f147f65d2a6

7 years agoTrebuchet: Add runtime storage perm check for wallpaper picker
cretin45 [Thu, 5 May 2016 19:52:55 +0000 (12:52 -0700)]
Trebuchet: Add runtime storage perm check for wallpaper picker

Issue-id: FEIJ-441

Change-Id: Iac9a2c249de595568f68313335d337410928d19e

7 years agoPrevent widget previews from showing empty images.
Artem Shvadskiy [Tue, 3 May 2016 22:40:57 +0000 (15:40 -0700)]
Prevent widget previews from showing empty images.

When scrolling through the widget drawer, we submit multiple
AsyncTasks to load and display preview images. On certain
devices, attempting to load these images from
AppWidgetManagerCompat (when we are generating previews for
the first time) on a multi-threaded executor can cause us
to receive empty images. To avoid this, we allow preview
loading from the cache on a multi-threaded executor, but
defer preview generation to a single-threaded executor.

Additionally, the read and write db methods were not using
the same ComponentName output (flattenToString vs
flattenToSimpleString), which was resulting in consistent
cache misses that forced unnecessary preview regeneration.
This has been unified so we properly load from the cache.

Change-Id: I3a90cf88fed531713e5d2df876f4ede822f7d569
issue-id: FEIJ-346

7 years agoTrebuchet: send metrics directly when possible
Roman Birg [Mon, 2 May 2016 18:03:08 +0000 (11:03 -0700)]
Trebuchet: send metrics directly when possible

Use the SDK directly instead of relying on an external package.

Still relies on C-Apps Core to send.

Reverts the revert and fixes the issue (missing aapt flag overlay)
This reverts commit d20f7796e45dcae0e619d3bb76a3a89674705702.

Ticket: CYNGNOS-2545
Change-Id: I9445cadc429c3158cabb6a7d07e016f6fe3dac19

7 years agoUse bitmap filtering for shrinking app icons
Artem Shvadskiy [Mon, 2 May 2016 20:13:28 +0000 (13:13 -0700)]
Use bitmap filtering for shrinking app icons

Change-Id: I54d1bff08c947f54ec0d35ec08b557ddd8e31e23
issue-id: CRACKLING-1051

7 years agoPrevent crash when exiting grid size fragment
Artem Shvadskiy [Mon, 2 May 2016 19:45:46 +0000 (12:45 -0700)]
Prevent crash when exiting grid size fragment

Change-Id: Iea39713b71a8c54bf4bf79f0b1b0c865a7950fa4
issue-id: FEIJ-197

7 years agoRevert "Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform...
Michael Bestas [Sun, 1 May 2016 21:39:28 +0000 (00:39 +0300)]
Revert "Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD"

This reverts commit 1129f556e5097e777bd2071890cc622db6a14f5e, reversing
changes made to e48ef94fd67a228c3ab402bdbb2b77c8a5440012.

Change-Id: Ie2c86d2cf4856b99ac65030c8af3571b926fde53

7 years agoRevert "Trebuchet: send metrics directly when possible"
Roman Birg [Sat, 30 Apr 2016 00:30:26 +0000 (17:30 -0700)]
Revert "Trebuchet: send metrics directly when possible"

This reverts commit 097b9503f45ae2a50c501fa95d13776d656621bb.

Change-Id: I07e8ee6665b8ed112818a4dc596cf91adf94d6f0