OSDN Git Service

android-x86/packages-apps-Trebuchet.git
9 years agoMerge "Removing InstallWidgetReceiver related obsolete code." into ub-now-queens
Sunny Goyal [Wed, 5 Nov 2014 18:58:16 +0000 (18:58 +0000)]
Merge "Removing InstallWidgetReceiver related obsolete code." into ub-now-queens

9 years agoRemoving InstallWidgetReceiver related obsolete code.
Sunny Goyal [Wed, 5 Nov 2014 18:34:43 +0000 (10:34 -0800)]
Removing InstallWidgetReceiver related obsolete code.

Change-Id: I61700b363f8af6434e750bcb5323e0ad4e5bf011

9 years agoMerge "Updating page indicator assets" into ub-now-queens
Adam Cohen [Tue, 4 Nov 2014 00:24:38 +0000 (00:24 +0000)]
Merge "Updating page indicator assets" into ub-now-queens

9 years agoUpdating page indicator assets
Adam Cohen [Tue, 4 Nov 2014 00:13:45 +0000 (16:13 -0800)]
Updating page indicator assets

Bug: 17318376
Change-Id: I4e73bf4892575bbb31f28d2cf1a4e476f8895dfa

9 years agoMerge "Moving methods which update internal sets on a separate thread" into ub-now...
Sunny Goyal [Mon, 3 Nov 2014 20:11:05 +0000 (20:11 +0000)]
Merge "Moving methods which update internal sets on a separate thread" into ub-now-queens

9 years agoFix folder hint text color. Likely a regression from upgrading the Activity theme
Adam Cohen [Fri, 31 Oct 2014 23:58:00 +0000 (16:58 -0700)]
Fix folder hint text color. Likely a regression from upgrading the Activity theme

Bug: 18204650
Change-Id: I5e23df5f4f8f1f8ca7a22c8a62797e77c9a4a9e1

9 years agoOverlay shouldn't show up above Intro screen
Adam Cohen [Fri, 31 Oct 2014 23:15:36 +0000 (16:15 -0700)]
Overlay shouldn't show up above Intro screen

bug: 18173340
Change-Id: Icf738a55398023ab6bad5cced05b25e053dec0a2

9 years agoAdding a couple memory optimizations to Launcher
Adam Cohen [Fri, 31 Oct 2014 18:48:25 +0000 (11:48 -0700)]
Adding a couple memory optimizations to Launcher

-> Always dispose of widget page views when leaving the activity.
   These pages hold onto many bitmaps.
-> Clear database cache when leaving the activity.

Bug: 17967108
Change-Id: I10ebaaed14e7cd86f09a9afcabd73043705f21b8

9 years agoMoving methods which update internal sets on a separate thread
Sunny Goyal [Thu, 30 Oct 2014 17:16:49 +0000 (10:16 -0700)]
Moving methods which update internal sets on a separate thread

Bug: 18152117
Change-Id: I5fccd203b5fe65e79dcc5aead6cb1cb6c3b622fe

9 years agoFailing restore, if we have an item outside screen bounds
Sunny Goyal [Wed, 29 Oct 2014 17:51:54 +0000 (10:51 -0700)]
Failing restore, if we have an item outside screen bounds

Bug: 17552590
Change-Id: I2d25847fd05d9579bc29ccbfa62e34809d4855d1

9 years agoMerge "Updating backup restore logic" into ub-now-queens
Sunny Goyal [Wed, 29 Oct 2014 17:19:23 +0000 (17:19 +0000)]
Merge "Updating backup restore logic" into ub-now-queens

9 years agoMerge "Fixing insets of launcher clings" into ub-now-queens
Sunny Goyal [Tue, 28 Oct 2014 23:37:10 +0000 (23:37 +0000)]
Merge "Fixing insets of launcher clings" into ub-now-queens

9 years agoFixing insets of launcher clings
Sunny Goyal [Tue, 28 Oct 2014 23:30:20 +0000 (16:30 -0700)]
Fixing insets of launcher clings

Change-Id: Idbf46680f96086c93d667c26dc9ed214eeaf835e

9 years agoMake sure DragLayer layout params are of the correct type
Adam Cohen [Tue, 28 Oct 2014 23:16:02 +0000 (16:16 -0700)]
Make sure DragLayer layout params are of the correct type

bug 18141419

Change-Id: I50695a62cf9e1f25c054ac2c7197cd056d54cfae

9 years agoUpdating backup restore logic
Sunny Goyal [Thu, 16 Oct 2014 16:24:19 +0000 (09:24 -0700)]
Updating backup restore logic

> Adding DeviceProfile information in the backup
> Removing SharedPreference backup
> Adding helper methods to abort backup in the middle
> Comparing keys against the backup journal during restore
to avoid restoring corrupt/lost entries
> Old backups are still compatible, but lost keys verification
will be ignored in that case.

Bug: 17937935
Bug: 17951775
Bug: 17260941
Change-Id: Iad48646cfdd69abaff5c163b2055f3b8a9b39b19

9 years agoMerge "Loading internal default layout if partner layout fails to load" into ub-now...
Sunny Goyal [Tue, 28 Oct 2014 00:15:42 +0000 (00:15 +0000)]
Merge "Loading internal default layout if partner layout fails to load" into ub-now-queens

9 years agoMerge "Removing landscape string overrides" into ub-now-queens
Sunny Goyal [Mon, 27 Oct 2014 23:29:51 +0000 (23:29 +0000)]
Merge "Removing landscape string overrides" into ub-now-queens

9 years agoLoading internal default layout if partner layout fails to load
Sunny Goyal [Thu, 23 Oct 2014 21:21:02 +0000 (14:21 -0700)]
Loading internal default layout if partner layout fails to load

Bug: 18033885
Change-Id: I8399d0107cc3570c0e03d833601abf2cd194b3d3

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-queens
Geoff Mendal [Mon, 27 Oct 2014 18:20:20 +0000 (18:20 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-queens

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 27 Oct 2014 18:07:51 +0000 (11:07 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iff6f42e2460ae8c08dda9170361be3f010f32b48
Auto-generated-cl: translation import

9 years agoFix edge case where LauncherOverlay scroll woudln't be reset
Adam Cohen [Sat, 25 Oct 2014 00:40:34 +0000 (17:40 -0700)]
Fix edge case where LauncherOverlay scroll woudln't be reset

-> If the Workspace has a single page and the user goes from overscrolling
   in one direction, and then the other, the LauncherOverlay scroll wouldn't
   be set to 0 until the scrolling settled

Change-Id: I29ee9abdfa023ae3599d1590cdaebf457e2220fa

9 years agoAdd InsettableFrameLayout layout params to easily ignore insets
Adam Cohen [Fri, 24 Oct 2014 23:45:59 +0000 (16:45 -0700)]
Add InsettableFrameLayout layout params to easily ignore insets

Change-Id: I117fc34627e24ea5f909c3c87e9c2dbca46babb6

9 years agoTweaking close AllApps / Widgets on KK and below
Adam Cohen [Fri, 24 Oct 2014 20:50:20 +0000 (13:50 -0700)]
Tweaking close AllApps / Widgets on KK and below

Bug: 17956862

Change-Id: I83b8973b7e98c1c3660221ac65dcb9ca8b4c84fd

9 years agoMerge "Was seeing some duplicated icons in the migration flow" into ub-now-queens
Adam Cohen [Fri, 24 Oct 2014 19:52:49 +0000 (19:52 +0000)]
Merge "Was seeing some duplicated icons in the migration flow" into ub-now-queens

9 years agoWas seeing some duplicated icons in the migration flow
Adam Cohen [Fri, 24 Oct 2014 19:20:20 +0000 (12:20 -0700)]
Was seeing some duplicated icons in the migration flow

-> The only delta between the two icons was slightly different flags
-> No need to consider flags for the purposes of duplication

Change-Id: I161f6ad6023d829e5ebbb15f1a9fbc9306795d80

9 years agoMerge "Allow LauncherOverlay to access and manage insets" into ub-now-queens
Adam Cohen [Fri, 24 Oct 2014 19:05:15 +0000 (19:05 +0000)]
Merge "Allow LauncherOverlay to access and manage insets" into ub-now-queens

9 years agoAllow LauncherOverlay to access and manage insets
Adam Cohen [Fri, 24 Oct 2014 00:28:30 +0000 (17:28 -0700)]
Allow LauncherOverlay to access and manage insets

Change-Id: Ib9faf37eb22ad2a0b18c076978ec9f2fd8864c0c

9 years agoDisabling restore for below L devices
Sunny Goyal [Thu, 23 Oct 2014 20:57:41 +0000 (13:57 -0700)]
Disabling restore for below L devices

Change-Id: I262f52e88421637e0d50c048f6d53c6b5754da4e

9 years agoMerge "Some resource fixes for drop target" into ub-now-queens
Sunny Goyal [Thu, 23 Oct 2014 20:29:06 +0000 (20:29 +0000)]
Merge "Some resource fixes for drop target" into ub-now-queens

9 years agoSome resource fixes for drop target
Sunny Goyal [Thu, 23 Oct 2014 18:38:15 +0000 (11:38 -0700)]
Some resource fixes for drop target

> Making it singleline with ellipsis everywhere
> Decreasing the text size on smaller devices
> Decreasing char limit for various labels

Bug: 17563793
Bug: 17938450
Change-Id: I8ad1a156de0601d07419b2cc6418389bc2e24a4e

9 years agoRemoving landscape string overrides
Sunny Goyal [Thu, 23 Oct 2014 18:09:18 +0000 (11:09 -0700)]
Removing landscape string overrides

Change-Id: Idbfc600dfb32b195726f1b035d18be92c26883fd

9 years agoRefactoring LauncherBackupHelper.java
Sunny Goyal [Wed, 22 Oct 2014 18:28:28 +0000 (11:28 -0700)]
Refactoring LauncherBackupHelper.java

> Moving a bunch of variables to Global level to make it easier
to maintain state.

Change-Id: I9ded313bd4f673f45c61556b8c66607dc78a5ae9

9 years agoMerge "Deleting workspace items from db which have an invalid placement" into ub...
Sunny Goyal [Thu, 23 Oct 2014 16:53:44 +0000 (16:53 +0000)]
Merge "Deleting workspace items from db which have an invalid placement" into ub-now-queens

9 years agoMerge "Removing AccessibleTabView and some other dead code." into ub-now-queens
Sunny Goyal [Thu, 23 Oct 2014 16:52:30 +0000 (16:52 +0000)]
Merge "Removing AccessibleTabView and some other dead code." into ub-now-queens

9 years agoMerge "First pass of the Launcher Overlay interface / impl" into ub-now-queens
Adam Cohen [Thu, 23 Oct 2014 00:41:58 +0000 (00:41 +0000)]
Merge "First pass of the Launcher Overlay interface / impl" into ub-now-queens

9 years agoFirst pass of the Launcher Overlay interface / impl
Adam Cohen [Thu, 16 Oct 2014 16:49:24 +0000 (09:49 -0700)]
First pass of the Launcher Overlay interface / impl

-> Added simple reference launcher extension
-> Make launcher able to handle a null qsb

Change-Id: Ib1575243cac800a335e95bbf00cdc394bb4741c3

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Oct 2014 20:02:16 +0000 (13:02 -0700)]
Import translations. DO NOT MERGE

Change-Id: I289d8bb325fa4037936a57c7dfe908186e077be1
Auto-generated-cl: translation import

9 years agoMerge "Updating ItemInfo objects in the worker thread" into ub-now-queens
Sunny Goyal [Tue, 21 Oct 2014 18:30:20 +0000 (18:30 +0000)]
Merge "Updating ItemInfo objects in the worker thread" into ub-now-queens

9 years agoMerge "Not opening all apps again when AppInfo or Uninstall is selected" into ub...
Adam Cohen [Tue, 21 Oct 2014 18:11:34 +0000 (18:11 +0000)]
Merge "Not opening all apps again when AppInfo or Uninstall is selected" into ub-now-queens

9 years agoRemoving AccessibleTabView and some other dead code.
Sunny Goyal [Tue, 21 Oct 2014 17:04:54 +0000 (10:04 -0700)]
Removing AccessibleTabView and some other dead code.

Change-Id: Ia122a6277f924e6077dbf15a4dc40b5042aa987d

9 years agoMerge "Import translations. DO NOT MERGE" into ub-now-queens
Geoff Mendal [Mon, 20 Oct 2014 23:56:46 +0000 (23:56 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-now-queens

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 20 Oct 2014 23:46:58 +0000 (16:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icd10604229b51f3870b346280be11cce2e9f8eeb
Auto-generated-cl: translation import

9 years agoMerge "Showing widgets in a disabled state, when running in safe mode" into ub-now...
Sunny Goyal [Mon, 20 Oct 2014 20:41:47 +0000 (20:41 +0000)]
Merge "Showing widgets in a disabled state, when running in safe mode" into ub-now-queens

9 years agoMerge "Using LinearLayout for overview panel" into ub-now-queens
Sunny Goyal [Mon, 20 Oct 2014 20:35:32 +0000 (20:35 +0000)]
Merge "Using LinearLayout for overview panel" into ub-now-queens

9 years agoRefactoring layout parsing code
Sunny Goyal [Wed, 1 Oct 2014 22:33:41 +0000 (15:33 -0700)]
Refactoring layout parsing code

Change-Id: Iee5b2280cb1e841bcfe91fdcf523de6fa7f7f3b8

9 years agoMerge "Adding ability to list folder items in separate file" into ub-now-queens
Adam Cohen [Fri, 17 Oct 2014 16:30:00 +0000 (16:30 +0000)]
Merge "Adding ability to list folder items in separate file" into ub-now-queens

9 years agoMerge "Removing all traces of Market button and TabIndicator" into ub-now-queens
Sunny Goyal [Fri, 17 Oct 2014 03:12:06 +0000 (03:12 +0000)]
Merge "Removing all traces of Market button and TabIndicator" into ub-now-queens

9 years agoRemoving all traces of Market button and TabIndicator
Sunny Goyal [Thu, 16 Oct 2014 23:03:21 +0000 (16:03 -0700)]
Removing all traces of Market button and TabIndicator

Change-Id: I9dc10d990321697723560986834ebeef3e0f1c0d

9 years agoMerge "Moving the focus indicator instantly to the target position, instead of begini...
Sunny Goyal [Fri, 17 Oct 2014 01:51:31 +0000 (01:51 +0000)]
Merge "Moving the focus indicator instantly to the target position, instead of begining the next animation from the middle." into ub-now-queens

9 years agoAdding ability to list folder items in separate file
Adam Cohen [Thu, 16 Oct 2014 16:49:52 +0000 (09:49 -0700)]
Adding ability to list folder items in separate file

-> remove all apps default layouts

Bug 17569015

Change-Id: I39b899b61d5b1cff2d7801d281dacfc804c403c5

9 years agoUsing LinearLayout for overview panel
Sunny Goyal [Thu, 16 Oct 2014 22:36:57 +0000 (15:36 -0700)]
Using LinearLayout for overview panel

> Using equal weight to ensure that all items are of same width
> The total width of the panel is set in DeviceProfile#layout

Bug: 17456856
Change-Id: Ic98f5c4f7befd4d32d1b52dfe8c9f5b6c58b020a

9 years agoFixing some IconCache methods not thread safe
Sunny Goyal [Thu, 16 Oct 2014 21:07:29 +0000 (14:07 -0700)]
Fixing some IconCache methods not  thread safe

Bug: 17981568
Change-Id: I0d49604c2e38bc9017cba527d87e24e8b086f1da

9 years agoDeleting workspace items from db which have an invalid placement
Sunny Goyal [Thu, 16 Oct 2014 19:18:37 +0000 (12:18 -0700)]
Deleting workspace items from db which have an invalid placement

Change-Id: I1d616e8cd533acd6ecd334d85e6468163f31f6a4

9 years agoNot opening all apps again when AppInfo or Uninstall is selected
Sunny Goyal [Thu, 16 Oct 2014 19:08:41 +0000 (12:08 -0700)]
Not opening all apps again when AppInfo or Uninstall is selected

Bug: 17460202
Change-Id: Id67a9637324abceb5b446fff5999db2a0910401b

9 years agoShowing widgets in a disabled state, when running in safe mode
Sunny Goyal [Wed, 8 Oct 2014 17:47:28 +0000 (10:47 -0700)]
Showing widgets in a disabled state, when running in safe mode

Bug: 15172107

Change-Id: I7209836ca4ffacde7b7b232e230e9b9f1a0e54bb

9 years agoMerge "Add more Launcher files to delete on Clear Launcher Data" into ub-now-queens
Helena Josol [Thu, 16 Oct 2014 16:51:42 +0000 (16:51 +0000)]
Merge "Add more Launcher files to delete on Clear Launcher Data" into ub-now-queens

9 years agoAdd more Launcher files to delete on Clear Launcher Data
Helena Josol [Thu, 9 Oct 2014 16:04:09 +0000 (17:04 +0100)]
Add more Launcher files to delete on Clear Launcher Data

Bug: 12753154
Change-Id: I00679bdc6eff70a1398122aaa955c08eabd556b1

9 years agoMerge "Use LauncherCallbacks model instead of method overrides" into ub-now-queens
Adam Cohen [Wed, 15 Oct 2014 19:47:48 +0000 (19:47 +0000)]
Merge "Use LauncherCallbacks model instead of method overrides" into ub-now-queens

9 years agoMerge "Adding NPE check in InstallShortcutReceiver" into ub-now-queens
Sunny Goyal [Wed, 15 Oct 2014 19:40:31 +0000 (19:40 +0000)]
Merge "Adding NPE check in InstallShortcutReceiver" into ub-now-queens

9 years agoUse LauncherCallbacks model instead of method overrides
Adam Cohen [Wed, 8 Oct 2014 01:14:53 +0000 (18:14 -0700)]
Use LauncherCallbacks model instead of method overrides

-> When extending the Launcher Activity, instead of overriding
   public and protected methods, create a proper interface
-> This helps define the interface when extending Launcher
   more formally and more clearly

Change-Id: Ib38e8a376b2242d4078bf6856bb145f5b5f0da80

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 15 Oct 2014 17:46:05 +0000 (10:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied5954dcd88f900ae2f9e21b1ec0cdbe01cad06b
Auto-generated-cl: translation import

9 years agoAdding NPE check in InstallShortcutReceiver
Sunny Goyal [Tue, 14 Oct 2014 23:42:54 +0000 (16:42 -0700)]
Adding NPE check in InstallShortcutReceiver

> Removing some unused methods

Bug: 17971165
Change-Id: I1bc5c764fd65b44c950a58371b60d2b53c221995

9 years agoMoving the focus indicator instantly to the target position, instead
Sunny Goyal [Tue, 14 Oct 2014 23:12:12 +0000 (16:12 -0700)]
Moving the focus indicator instantly to the target position, instead
of begining the next animation from the middle.

Bug: 17958897
Change-Id: Ie5a39b80ff9788edf368e0f4e23c07c2ed5b3d2c

9 years agoam ae5f7ce8: Merge "Fixing typo from previous CL" into ub-now-porkchop
Adam Cohen [Tue, 14 Oct 2014 22:15:32 +0000 (22:15 +0000)]
am ae5f7ce8: Merge "Fixing typo from previous CL" into ub-now-porkchop

* commit 'ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8':
  Fixing typo from previous CL

9 years agoam 755dd702: Merge "Fix missing screen when adding widget directly to provider" into...
Adam Cohen [Tue, 14 Oct 2014 22:15:32 +0000 (22:15 +0000)]
am 755dd702: Merge "Fix missing screen when adding widget directly to provider" into ub-now-porkchop

* commit '755dd70238162d0b631a8a17c42047c61318be30':
  Fix missing screen when adding widget directly to provider

9 years agoam 8cce9dd8: (-s ours) DO NOT MERGE Rechecking unrestored items when launcher gets...
Sunny Goyal [Tue, 14 Oct 2014 22:15:31 +0000 (22:15 +0000)]
am 8cce9dd8: (-s ours) DO NOT MERGE Rechecking unrestored items when launcher gets created

* commit '8cce9dd83aecd90920db751ab3f8fb6969f087c5':
  DO NOT MERGE Rechecking unrestored items when launcher gets created

9 years agoMerge "Fixing typo from previous CL" into ub-now-porkchop
Adam Cohen [Tue, 14 Oct 2014 22:09:00 +0000 (22:09 +0000)]
Merge "Fixing typo from previous CL" into ub-now-porkchop

9 years agoFixing typo from previous CL
Adam Cohen [Tue, 14 Oct 2014 22:04:34 +0000 (15:04 -0700)]
Fixing typo from previous CL

Bug 17969770

Change-Id: I4ea04864000d2ed8368ca81ba8cff42b4208d13d

9 years agoMerge "Fix missing screen when adding widget directly to provider" into ub-now-porkchop
Adam Cohen [Tue, 14 Oct 2014 22:00:41 +0000 (22:00 +0000)]
Merge "Fix missing screen when adding widget directly to provider" into ub-now-porkchop

9 years agoUpdating ItemInfo objects in the worker thread
Sunny Goyal [Mon, 13 Oct 2014 18:33:11 +0000 (11:33 -0700)]
Updating ItemInfo objects in the worker thread

> Launcher was making non-trivial updates to ItemInfo objects
on UI thread. These updates were getting skipped when the
Activity gets destroyed (possibly due to onConfigurationChange)
> Unregistering SessionCallback on application onTerminate,
rather than activity onDestroy

Bug: 17941096
Change-Id: Iad4a50871fe09470f26139b44a2e9886833032f1

9 years agoDO NOT MERGE
Sunny Goyal [Tue, 14 Oct 2014 18:07:33 +0000 (11:07 -0700)]
DO NOT MERGE
Rechecking unrestored items when launcher gets created

Bug: 17941096
Change-Id: Ic54464a9c64442d6784cda44ef22fa3d08e22f1f

9 years agoFix missing screen when adding widget directly to provider
Adam Cohen [Tue, 14 Oct 2014 15:55:28 +0000 (08:55 -0700)]
Fix missing screen when adding widget directly to provider

bug: 17969770
Change-Id: Icbd8451d8adde0519917a7bf06365517405759fe

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 13 Oct 2014 13:08:57 +0000 (06:08 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iebcf569cfe852de6157c7dae569f7c607a63671d
Auto-generated-cl: translation import

9 years agoRemoving some dead code
Adam Cohen [Fri, 10 Oct 2014 01:43:18 +0000 (18:43 -0700)]
Removing some dead code

Change-Id: Idbd49302fc7123f72c7dad4c50612aaa662cca0d

9 years agoMerge "Keeping icons in disabled state when SD-card is unmounted" into ub-now-queens
Sunny Goyal [Wed, 8 Oct 2014 18:10:39 +0000 (18:10 +0000)]
Merge "Keeping icons in disabled state when SD-card is unmounted" into ub-now-queens

9 years agoKeeping icons in disabled state when SD-card is unmounted
Sunny Goyal [Thu, 2 Oct 2014 22:58:31 +0000 (15:58 -0700)]
Keeping icons in disabled state when SD-card is unmounted

> changing shortcutInfo.isDisabled to be a flag based variable
> on received OnPackageUnavailable, icons are disabled from desktop
instead of being removed. Icons in all apps are removed

Bug: 15852084
Bug: 16238283
Change-Id: I126d23c709682a917d4bbb84de71032593dce8f9

9 years agoMerge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens
Sunny Goyal [Wed, 8 Oct 2014 17:31:10 +0000 (17:31 +0000)]
Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens

9 years agoMerge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens
Sunny Goyal [Wed, 8 Oct 2014 17:30:42 +0000 (17:30 +0000)]
Merge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens

9 years agoUsing DeviceDefault theme for Launcher and WallpaperPicker
Sunny Goyal [Wed, 8 Oct 2014 16:55:24 +0000 (09:55 -0700)]
Using DeviceDefault theme for Launcher and WallpaperPicker

Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f

9 years agoUpdating the wallpaperpicker thumb selection feedback
Sunny Goyal [Tue, 7 Oct 2014 04:37:30 +0000 (21:37 -0700)]
Updating the wallpaperpicker thumb selection feedback

> Using shape drawable instead of 9-patch image
> For L and above, using ripple click feedback with a tick
when selected. The vector path for tick is from go/icons ('Done')

Bug: 17897837

Change-Id: Ic9c9e455eb8bc39322b1474dd55432961b9a6498

9 years agoUpdating icons for sortcuts when the target app updates.
Sunny Goyal [Mon, 6 Oct 2014 23:23:56 +0000 (16:23 -0700)]
Updating icons for sortcuts when the target app updates.

Bug: 17398260
Change-Id: I055abb971d1f72245e8616ac2ce07bcdf37cdd52

9 years agoCleaning up icon resizing code
Sunny Goyal [Tue, 7 Oct 2014 19:01:58 +0000 (12:01 -0700)]
Cleaning up icon resizing code

> For resizing icons, scaling them down instead of cropping them
> Removing duplicate methods and variables

Bug: 17663119
Change-Id: I0f270860c0edaaa939495e63e05da841a603f6e9

9 years agoam 0c2918f4: Use View.generateViewId if available
Ian Parkinson [Mon, 6 Oct 2014 16:59:53 +0000 (16:59 +0000)]
am 0c2918f4: Use View.generateViewId if available

* commit '0c2918f4f4c4a9a6609b82cf23155ed51840f2c8':
  Use View.generateViewId if available

9 years agoMerge "Create a central list of files the Launcher writes to the app directory" into...
Helena Josol [Mon, 6 Oct 2014 16:25:56 +0000 (16:25 +0000)]
Merge "Create a central list of files the Launcher writes to the app directory" into ub-now-queens

9 years agoCreate a central list of files the Launcher writes to the app directory
Helena Josol [Mon, 6 Oct 2014 15:06:46 +0000 (16:06 +0100)]
Create a central list of files the Launcher writes to the app directory

Replace hardcoded Launcher filenames with the defined constants.

Bug: 12753154
Change-Id: I072f202d9388a703b9e6851bde64ea7fafe4b10a

9 years agoUse View.generateViewId if available
Ian Parkinson [Mon, 6 Oct 2014 13:24:31 +0000 (14:24 +0100)]
Use View.generateViewId if available

Bug: 17456181
Change-Id: Ib7e310ba38ed5e392c5c9b8734f197212f518389

9 years agoam 4b8d11fc: Add missing xxhdpi asset
Adam Cohen [Fri, 3 Oct 2014 20:58:06 +0000 (20:58 +0000)]
am 4b8d11fc: Add missing xxhdpi asset

* commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec':
  Add missing xxhdpi asset

9 years agoAdd missing xxhdpi asset
Adam Cohen [Fri, 3 Oct 2014 20:19:33 +0000 (13:19 -0700)]
Add missing xxhdpi asset

Bug: 17813013
Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42

9 years agoam 0cd27191: Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop
Kenny Guy [Fri, 3 Oct 2014 12:20:24 +0000 (12:20 +0000)]
am 0cd27191: Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop

* commit '0cd271918a7c7baa69e872f7128351a0c7dbbbae':
  Remove reference to CODENAME from compat code.

9 years agoMerge "Remove reference to CODENAME from compat code." into ub-now-porkchop
Kenny Guy [Fri, 3 Oct 2014 12:16:59 +0000 (12:16 +0000)]
Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop

9 years agoRemove reference to CODENAME from compat code.
Kenny Guy [Fri, 3 Oct 2014 11:15:53 +0000 (12:15 +0100)]
Remove reference to CODENAME from compat code.

Fixes bug with uninstalling apps for managed profile
as codename check means it fails to include the user
when uninstalling the app.

Bug: 17800161
Change-Id: I6901eff5aa8f00fb3b859e8db37930b95f031625

9 years agoam 52077b7a: Merge "Don\'t let old Launcher activity interfere with new one" into...
Adam Cohen [Tue, 30 Sep 2014 23:05:26 +0000 (23:05 +0000)]
am 52077b7a: Merge "Don\'t let old Launcher activity interfere with new one" into ub-now-porkchop

* commit '52077b7a951153ce77e7354c6096b3bcfbec8c3e':
  Don't let old Launcher activity interfere with new one

9 years agoMerge "Don't let old Launcher activity interfere with new one" into ub-now-porkchop
Adam Cohen [Tue, 30 Sep 2014 23:03:40 +0000 (23:03 +0000)]
Merge "Don't let old Launcher activity interfere with new one" into ub-now-porkchop

9 years agoam 2ed99e86: Build Launcher3 against prebuilt SDK 21
Bjorn Bringert [Tue, 30 Sep 2014 20:34:13 +0000 (20:34 +0000)]
am 2ed99e86: Build Launcher3 against prebuilt SDK 21

* commit '2ed99e861b4be73620fd6fdc24a13230e096921c':
  Build Launcher3 against prebuilt SDK 21

9 years agoBuild Launcher3 against prebuilt SDK 21
Bjorn Bringert [Tue, 30 Sep 2014 17:53:39 +0000 (18:53 +0100)]
Build Launcher3 against prebuilt SDK 21

Bug: 17507423
Change-Id: I9d6dc856bb29e5d0b3926bde437895d0f2ca7b74

9 years agoDon't let old Launcher activity interfere with new one
Adam Cohen [Tue, 30 Sep 2014 16:48:49 +0000 (09:48 -0700)]
Don't let old Launcher activity interfere with new one

-> Launcher uses a static instance of it's loader (across
   multiple activities) since activities can come and go
   (configuration change, eg.) but the data model and loading
   is static.
-> Currently, this is not robust to a sequence of events that
   looks like onCreate(instance A), onCreate(instance B),
   onDestroy(instance B) -- depending on the timing of those
   calls.
-> This CL addresses a symptom of the above scenario by not
   allowing an older Launcher Activity cancel the loader /
   clear the callbacks for a newer Activity.

Bug 17679693

Change-Id: I8ece93e288464b0d578b9669c165b67132d997ed

9 years agoam 6d467e27: Merge "Resetting launcherProvider data if restore set was empty" into...
Sunny Goyal [Mon, 29 Sep 2014 03:00:45 +0000 (03:00 +0000)]
am 6d467e27: Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop

* commit '6d467e27b7e16442d3fb56af2aa3d94e657dff25':
  Resetting launcherProvider data if restore set was empty

9 years agoam 10047138: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
Baligh Uddin [Mon, 29 Sep 2014 03:00:44 +0000 (03:00 +0000)]
am 10047138: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop

* commit '1004713867fa4476201c02c95f35c64361a6dcf2':
  Import translations. DO NOT MERGE

9 years agoMerge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop
Sunny Goyal [Mon, 29 Sep 2014 02:57:17 +0000 (02:57 +0000)]
Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop

9 years agoResetting launcherProvider data if restore set was empty
Sunny Goyal [Sat, 27 Sep 2014 05:09:29 +0000 (22:09 -0700)]
Resetting launcherProvider data if restore set was empty

Bug: 17332300
Change-Id: I6d2187cd1b1fa7a53e49b96eb109263f6b74b258