OSDN Git Service

android-x86/packages-apps-Trebuchet.git
7 years agoMerge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86 cm-13.0-x86
Chih-Wei Huang [Mon, 16 Jan 2017 15:29:20 +0000 (23:29 +0800)]
Merge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86

7 years agoAutomatic translation import
blinky@build01 [Fri, 23 Dec 2016 02:15:04 +0000 (18:15 -0800)]
Automatic translation import

Change-Id: I540205a795eaaa857ef942e02ee46b738a878c60
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Thu, 22 Dec 2016 01:19:25 +0000 (17:19 -0800)]
Automatic translation import

Change-Id: Id02f6f59bad72096d35b19d4d70333b96a35aa24
Ticket: -

7 years agoAutomatic translation import
blinky@build01 [Mon, 19 Dec 2016 01:21:56 +0000 (17:21 -0800)]
Automatic translation import

Change-Id: Iecee1b77a4b546c4ac105922dd706130cd5f53c0
Ticket: -

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

Change-Id: I4a6ec416c1c89802308e33ca8bbce2e8fe5e3dbe
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Sat, 3 Dec 2016 00:57:24 +0000 (16:57 -0800)]
Automatic translation import

Change-Id: I0e0096a9454898e16b534efeb4a017b9dbbf62c5
Ticket: -

7 years agoAutomatic translation import
inky@build01 [Tue, 29 Nov 2016 17:39:44 +0000 (09:39 -0800)]
Automatic translation import

Change-Id: I5ef5c31bf01042ac1bb58b044e17cabd6139561f
Ticket: -

7 years agoIconCache: Simplify application of custom titles from STK
Marcos Marado [Tue, 4 Oct 2016 11:03:59 +0000 (12:03 +0100)]
IconCache: Simplify application of custom titles from STK

Instead of trying to deal with multiple icon-cache conditions,
just apply the custom title to the entry right before using it.

This deals with hot-swap, card exchange, and similar weird issues
that were hitting stale cache entries, and is less aggressive
than outright flushing the cache with every STK refresh.

Issue: FEIJAO-815

Change-Id: Iacd7da820f0404b4dc12394d9c9a571bdceadeb0

7 years agoMerge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86
Chih-Wei Huang [Thu, 29 Sep 2016 08:55:22 +0000 (16:55 +0800)]
Merge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86

7 years agoAutomatic translation import
pinky@build01 [Sun, 25 Sep 2016 07:15:39 +0000 (00:15 -0700)]
Automatic translation import

Change-Id: If50d6924949c29c7232a4e8461956a8e0b2a02c8
Ticket: -

7 years agoMerge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86
Chih-Wei Huang [Wed, 21 Sep 2016 05:35:31 +0000 (13:35 +0800)]
Merge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86

7 years agoTrebuchet: fix potential NPE when info is null
emancebo [Sun, 6 Sep 2015 21:23:34 +0000 (14:23 -0700)]
Trebuchet: fix potential NPE when info is null

Previously we were guarding against a null info object, but with the
the STK rename patches we will throw an NPE if info is null

issue-id: JALEBI-636
Issue: FEIJAO-815
Change-Id: I74e95f81b64361c1bb56307c0cc621f24e701648

7 years agoTrebuchet: STK app rename customization for latam region.
Pragnya Paramita [Mon, 23 Mar 2015 10:22:44 +0000 (15:52 +0530)]
Trebuchet: STK app rename customization for latam region.

App name is read from SIM in STK app and sent via a broadcast.
Name is operator specific. Launcher receives the broadcast,
read the name and renames the STK app in all apps screen
and workspace.

Change-Id: If64b278360a0b8433e23e6678f04cdf30fe2cef1
CRs-Fixed: 797995
Issue: FEIJAO-815

7 years agoAutomatic translation import
clyde@build01 [Wed, 7 Sep 2016 03:06:46 +0000 (20:06 -0700)]
Automatic translation import

Change-Id: I576df239b1ea1e17b7314c372eeda7f45ae2fff2
Ticket: -

7 years agoMerge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86
Jaap Jan Meijer [Mon, 5 Sep 2016 18:10:03 +0000 (20:10 +0200)]
Merge remote-tracking branch 'cm/cm-13.0' into cm-13.0-x86

7 years agoAutomatic translation import
pinky@build01 [Sun, 28 Aug 2016 03:32:36 +0000 (20:32 -0700)]
Automatic translation import

Change-Id: I1ffce56d0ff686e4b777664e6c308c5cc0f496cf
Ticket: -

7 years agoAutomatic translation import
pinky@build01 [Sat, 27 Aug 2016 21:22:39 +0000 (14:22 -0700)]
Automatic translation import

Change-Id: I00b68c643349d874ce08f3861091eff9c248fc88
Ticket: -

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 agoGet permission from users to collect anonymous data
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
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

7 years agoTrebuchet: send metrics directly when possible
Roman Birg [Fri, 22 Apr 2016 18:59:14 +0000 (11:59 -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.

Ticket: CYNGNOS-2545

Change-Id: I1af8106917e77b9ba70c57f18f5894087fc2f274
Signed-off-by: Roman Birg <roman@cyngn.com>
7 years agoTrebuchet: Don't create shadow on 0 width/height icon
cretin45 [Thu, 28 Apr 2016 20:11:19 +0000 (13:11 -0700)]
Trebuchet: Don't create shadow on 0 width/height icon

Issue-id: CYNGNOS-2646

Change-Id: Iccadeaf28ec5e36b1c5a2f7ce714aa31d4439167

8 years agoTrebuchet : Update default workspace for dialer
Richard MacGregor [Mon, 18 Apr 2016 21:23:42 +0000 (14:23 -0700)]
Trebuchet : Update default workspace for dialer

Ticket CD-544

Change-Id: I47602367254732390ff73ae4676e569b7f27b819

8 years agoTrebuchet: sign when not building with test keys
Roman Birg [Wed, 13 Apr 2016 18:20:52 +0000 (11:20 -0700)]
Trebuchet: sign when not building with test keys

Ticket: CYNGNOS-2339
Change-Id: I1b05cda4757152d3851d917b4c9888b00203256b
Signed-off-by: Roman Birg <roman@cyngn.com>
8 years agoAutomatic translation import
Michael Bestas [Sat, 16 Apr 2016 14:48:39 +0000 (17:48 +0300)]
Automatic translation import

Change-Id: I2e0792868eb45ea6df3b68f05cfdee577b37d7eb

8 years agoTrebuchet: Always cancel any pending dim animations
cretin45 [Thu, 14 Apr 2016 20:21:44 +0000 (13:21 -0700)]
Trebuchet: Always cancel any pending dim animations

Issue-id: CYNGNOS-2470

Change-Id: Id66a6acfa65af63a0c44b73b56769c566b09961c

8 years agoavoid NPE
Marcos Marado [Thu, 14 Apr 2016 14:41:42 +0000 (15:41 +0100)]
avoid NPE

Change-Id: I8a2d74c8c305112fcbb76d56b126d15a6015de8b

8 years agoTrebuchet: Don't crash when AppWidgetService is unavailable
cretin45 [Wed, 13 Apr 2016 21:52:04 +0000 (14:52 -0700)]
Trebuchet: Don't crash when AppWidgetService is unavailable

Issue-id: CYNGNOS-2437

Change-Id: Ie83f26482539a821f498e07bec6d955c849b02c7

8 years agoTrebuchet: add gello to hotseat
jrizzoli [Sun, 13 Mar 2016 14:51:01 +0000 (15:51 +0100)]
Trebuchet: add gello to hotseat

Also migrate shortcuts from aosp browser to gello and vice versa

Change-Id: I713539365b16dfc9f2ee37a7917d49f245fd5df0
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
8 years agoAutomatic translation import
Michael Bestas [Tue, 5 Apr 2016 22:19:36 +0000 (01:19 +0300)]
Automatic translation import

Change-Id: I8625d748fc555085c11ecf48ac07b317c3e54c38

8 years agoAutomatic translation import
Michael Bestas [Sun, 27 Mar 2016 21:47:05 +0000 (00:47 +0300)]
Automatic translation import

Change-Id: I3c1fc9541cddb25aea2812aaf8ed0b3f8f17ca11

8 years agoIgnore tap below scrubber in the app container padding area
Kamaljeet Maini [Fri, 18 Mar 2016 00:25:48 +0000 (17:25 -0700)]
Ignore tap below scrubber in the app container padding area

When user taps on the padding area of all apps container below
the scrubber, the tap should be ignored. Before this patch, the
tap was sent back to parent view, which led to scrolling of the
background wallpaper. Now the tap is ignored.

Change-Id: Ic8840c9eafaf254d2bfbffe556f3dc7ab20fdccc
Issue-Id: CyanogenOS/CYNGNOS-1933

8 years agoTrebuchet: Fix NPE while binding unavailable items
cretin45 [Thu, 24 Mar 2016 18:37:44 +0000 (11:37 -0700)]
Trebuchet: Fix NPE while binding unavailable items

Issue-id: CYNGNOS-2282

Change-Id: I6895c3c043a2b8a9506f3dc2f8a357942d8f35c4

8 years agoFix metric reporting for remote folder
Artem Shvadskiy [Thu, 17 Mar 2016 22:11:55 +0000 (15:11 -0700)]
Fix metric reporting for remote folder

Change-Id: I07ff54f2bd2c615ffb8625b4016704468bfb006f
issue-id: CYNGNOS-2251

8 years agoAutomatic translation import
Michael Bestas [Thu, 17 Mar 2016 20:01:10 +0000 (22:01 +0200)]
Automatic translation import

Change-Id: Ic450029d8807acf69f4ed04201c75f1ab7b9ad02

8 years agoTrebuchet: Fix some issues with the DB upgrade path
cretin45 [Tue, 15 Mar 2016 23:07:53 +0000 (16:07 -0700)]
Trebuchet: Fix some issues with the DB upgrade path

Issue-id: CYNGNOS-2249

Change-Id: If124a9ac51c665c869cf5a745390374658b87156

8 years agoShow apps as unavailable when on unmounted storage
d34d [Fri, 17 Jul 2015 17:06:20 +0000 (10:06 -0700)]
Show apps as unavailable when on unmounted storage

This patch allows shortcuts to apps that are currently unavailable
due to being on unmounted external storage to remain on the workspace
and in folders.  The icons will be disabled and grayed out until
the external storage is mounted.

Issue-id: CYNGNOS-1344

Change-Id: I971483806b27e3a75ef0d5bb89d8dfb86f97511e

8 years agoMerge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages...
Steve Kondik [Sun, 13 Mar 2016 12:46:43 +0000 (05:46 -0700)]
Merge tag 'android-6.0.1_r22' of https://android.googlesource.com/platform/packages/apps/Launcher3 into HEAD

Android 6.0.1 release 22

8 years agoTrebuchet: Guard against NPE while querying for widget updates
cretin45 [Tue, 8 Mar 2016 23:47:45 +0000 (15:47 -0800)]
Trebuchet: Guard against NPE while querying for widget updates

Issue-id: CYNGNOS-1867

Change-Id: I43db0096da5f35bd2810f8793d8281607afea1ff

8 years agoTrebuchet: Highlight section being touched even when not scrolling scrubber
cretin45 [Tue, 8 Mar 2016 20:18:15 +0000 (12:18 -0800)]
Trebuchet: Highlight section being touched even when not scrolling scrubber

Issue-id: CYNGNOS-1882

Change-Id: Ief8b6593528c1a04a95ffaeea44c379659427fd8

8 years agoAutomatic translation import
Michael Bestas [Fri, 4 Mar 2016 22:19:28 +0000 (00:19 +0200)]
Automatic translation import

Change-Id: I98daa98338bc850ab4a6a88b2250f5a546f2d769

8 years agoTrebuchet: Handle random crash during theme change / user switch
cretin45 [Mon, 29 Feb 2016 22:05:59 +0000 (14:05 -0800)]
Trebuchet: Handle random crash during theme change / user switch

Sometimes the IconCacheDB fails to open in writable mode
during a theme change or user switch.
Don't bother updating the icon cache when this happens.
It will update later just fine.

Issue-id: CYNGNOS-2083

Change-Id: I022ef436ff07880c188642456afad847ad9f41d3

8 years agoTrebuchet: Scale icons in portrait if using condensed grid
cretin45 [Mon, 29 Feb 2016 19:23:05 +0000 (11:23 -0800)]
Trebuchet: Scale icons in portrait if using condensed grid

Issue-id: CYNGNOS-1993

Change-Id: I4b74402ebf61a7faed28a74683d87592121bb090

8 years agoTrebuchet: re-enable rotation by default on tablets
Andreas Blaesius [Tue, 23 Feb 2016 20:18:10 +0000 (21:18 +0100)]
Trebuchet: re-enable rotation by default on tablets

allow rotation pref got moved to overlay panel on commit 72f2ccb08f297836d18b61d5d80de9fcd7a69042
but it wasn't moved on sw600dp overlay.

Change-Id: Idbdef7804d50d4144d0a1fb5e6ea7dd6c7f5f257

8 years agoTrebuchet: Featured Apps uses themed composed icons and responds to theme changes
Tyson Miller [Tue, 16 Feb 2016 23:25:25 +0000 (15:25 -0800)]
Trebuchet: Featured Apps uses themed composed icons and responds to theme changes

Issue-Id: CYNGNOS-1789
Change-Id: I1e94b7688c4069932a36319bc6c216839056280e

8 years agoAutomatic translation import
Michael Bestas [Mon, 22 Feb 2016 03:14:51 +0000 (05:14 +0200)]
Automatic translation import

Change-Id: Ie8f4666d774cb1b8cbe149d38adad58db1c345ea

8 years agoTrebuchet: Don't do reveal animation from apps/widgets to overview
cretin45 [Wed, 17 Feb 2016 20:48:40 +0000 (12:48 -0800)]
Trebuchet: Don't do reveal animation from apps/widgets to overview

Issued-id: OPO-423

Change-Id: I218605be2215d5f6f8a2b2b8b786e0fdddb00643

8 years agoTrebuchet: always set initial wallpaper offsets
Roman Birg [Tue, 8 Jul 2014 00:03:40 +0000 (17:03 -0700)]
Trebuchet: always set initial wallpaper offsets

After a fresh boot, computeScrollOffset() always returns false. So the
result was the offsets were never properly being set on a fresh boot and
they were only being applied on first drag of the home screen, which
finally triggered computeScrollOffset() to return true.

Change-Id: Iccaedd742bed861fca1f50dd54e2e4537fd4c9b0

8 years agoAdd remote folder hook for view setup.
Artem Shvadskiy [Mon, 15 Feb 2016 23:32:54 +0000 (15:32 -0800)]
Add remote folder hook for view setup.

Change-Id: Iffeb93e9344ce17f3aa2fbdc855f59c6f3a3b235
issue-id: CYNGNOS-2025

8 years agoTrebuchet: Don't animate folder if locked state changed
cretin45 [Mon, 15 Feb 2016 19:47:25 +0000 (11:47 -0800)]
Trebuchet: Don't animate folder if locked state changed

Issue-id: CYNGNOS-2046

Change-Id: If6488d018b83b8e20874dbe0d32479f19ceac4cc

8 years agoTrebuchet: Fix measuring error when reloading app drawer
cretin45 [Mon, 15 Feb 2016 17:20:04 +0000 (09:20 -0800)]
Trebuchet: Fix measuring error when reloading app drawer

Issue-id: CYNGNOS-1883

Change-Id: I77705be7020120bc58a45f507b288838a5eba2bb

8 years agoAutomatic translation import
Michael Bestas [Sun, 14 Feb 2016 14:26:00 +0000 (16:26 +0200)]
Automatic translation import

Change-Id: I1161ad6d10aa711f757ff9bdc8650bed193be498

8 years agoTrebuchet: Handle the NPE when user has no Google Apps installed
LuK1337 [Wed, 3 Feb 2016 17:46:05 +0000 (18:46 +0100)]
Trebuchet: Handle the NPE when user has no Google Apps installed

Change-Id: Ie04d940d56497fd5e09fd4b1c44682527b20bdc5

8 years agoTrebuchet: Lock orientation while in grid size fragment
cretin45 [Thu, 11 Feb 2016 23:20:07 +0000 (15:20 -0800)]
Trebuchet: Lock orientation while in grid size fragment

Issue-id: CYNGNOS-2013

Change-Id: I14a8dfd98acd615c7ffd4b311027f5c46072cea8

8 years agoRefactor Launcher settings.
Artem Shvadskiy [Thu, 11 Feb 2016 21:44:10 +0000 (13:44 -0800)]
Refactor Launcher settings.

Change-Id: If5dcaaa9f4dad1a3eb151627622357331e8ad4da
issue-id: CYNGNOS-1987

8 years agoTrebuchet: Open settings panel when clicking settings
cretin45 [Thu, 11 Feb 2016 18:11:22 +0000 (10:11 -0800)]
Trebuchet: Open settings panel when clicking settings

Issue-id: CYNGNOS-2002

Change-Id: I4fc2ffd17febc8f1e5fa804e6a26feaa51a29c4b

8 years agoTrebuchet: Move allow rotation to home settings section
cretin45 [Wed, 10 Feb 2016 22:47:46 +0000 (14:47 -0800)]
Trebuchet: Move allow rotation to home settings section

Issue-id: CYNGNOS-1929

Change-Id: Ib1e615ccbce7991a31e15a967c942994fc3c01c2

8 years agoSplit remote folder settings into home and drawer sections
Artem Shvadskiy [Wed, 10 Feb 2016 22:27:25 +0000 (14:27 -0800)]
Split remote folder settings into home and drawer sections

Change-Id: I0265ac00b4926007de3bda7619c0b1dbedb7580b
issue-id: CYNGNOS-1984

8 years agoTrebuchet: Change icon labels setting to switch
cretin45 [Wed, 10 Feb 2016 21:54:58 +0000 (13:54 -0800)]
Trebuchet: Change icon labels setting to switch

Issue-id: CYNGNOS-1900

Change-Id: Ife68fe84867be631c59cc1de7c44205817e07130

8 years agoTrebuchet: Revise protected app folders UI
cretin45 [Tue, 9 Feb 2016 00:11:19 +0000 (16:11 -0800)]
Trebuchet: Revise protected app folders UI

Issue-id: CYNGNOS-1881

Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897

8 years agoPrevent finalizing of remote folder
Artem Shvadskiy [Tue, 9 Feb 2016 21:27:40 +0000 (13:27 -0800)]
Prevent finalizing of remote folder

Change-Id: I69872c917e710e93db38891817a509c7a3e65e63
issue-id: CYNGNOS-1948
issue-id: CYNGNOS-1951

8 years agoAdd remote folder feedback metric
Artem Shvadskiy [Mon, 8 Feb 2016 21:20:12 +0000 (13:20 -0800)]
Add remote folder feedback metric

Change-Id: I3bd17f882d51c92bd02a237fd27a6a0b1c43873a
issue-id: CYNGNOS-1869

8 years agoAdd network/unlock receivers and additional metric event
Artem Shvadskiy [Fri, 5 Feb 2016 23:54:14 +0000 (15:54 -0800)]
Add network/unlock receivers and additional metric event

Change-Id: Ifc6fa10fac09ab735e77b963d869b87007265fe4
issue-id: CYNGNOS-1788