Commit Graph

49925 Commits

Author SHA1 Message Date
Adam Cohen 951e8812ab am ae5f7ce8: Merge "Fixing typo from previous CL" into ub-now-porkchop
* commit 'ae5f7ce8ed2e385cba8d65a67d9b108c9c3590e8':
  Fixing typo from previous CL
2014-10-14 22:15:32 +00:00
Adam Cohen 4079337ea7 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
2014-10-14 22:15:32 +00:00
Sunny Goyal c03f8c0471 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
2014-10-14 22:15:31 +00:00
Adam Cohen ae5f7ce8ed Merge "Fixing typo from previous CL" into ub-now-porkchop 2014-10-14 22:09:00 +00:00
Adam Cohen d61a638e99 Fixing typo from previous CL
Bug 17969770

Change-Id: I4ea04864000d2ed8368ca81ba8cff42b4208d13d
2014-10-14 15:06:54 -07:00
Adam Cohen 755dd70238 Merge "Fix missing screen when adding widget directly to provider" into ub-now-porkchop 2014-10-14 22:00:42 +00:00
Sunny Goyal 4390acea35 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
2014-10-14 14:39:26 -07:00
Sunny Goyal 8cce9dd83a DO NOT MERGE
Rechecking unrestored items when launcher gets created

Bug: 17941096
Change-Id: Ic54464a9c64442d6784cda44ef22fa3d08e22f1f
2014-10-14 14:02:31 -07:00
Adam Cohen eb1ac42fd4 Fix missing screen when adding widget directly to provider
bug: 17969770
Change-Id: Icbd8451d8adde0519917a7bf06365517405759fe
2014-10-14 10:36:27 -07:00
Geoff Mendal 19bc61c6d7 am 76229a7c: (-s ours) Import translations. DO NOT MERGE
* commit '76229a7ccca69e92700f7b5f9d54739ee67276be':
  Import translations. DO NOT MERGE
2014-10-13 13:21:36 +00:00
Geoff Mendal 76229a7ccc Import translations. DO NOT MERGE
Change-Id: Iebcf569cfe852de6157c7dae569f7c607a63671d
Auto-generated-cl: translation import
2014-10-13 06:08:57 -07:00
Geoff Mendal 90b43ad343 Import translations. DO NOT MERGE
Change-Id: I9c6ef0fac498e06571d99b3117509d1fdeddd792
Auto-generated-cl: translation import
2014-10-13 06:08:16 -07:00
Adam Cohen e4fb9335bd am 0014ca20: Removing some dead code
* commit '0014ca20aa35f8937ff0df105e620fba02a538a3':
  Removing some dead code
2014-10-10 02:12:05 +00:00
Adam Cohen 0014ca20aa Removing some dead code
Change-Id: Idbd49302fc7123f72c7dad4c50612aaa662cca0d
2014-10-09 18:53:20 -07:00
Sunny Goyal bc32c898df am 05700ad3: Merge "Keeping icons in disabled state when SD-card is unmounted" into ub-now-queens
* commit '05700ad38f07d859f28a8e5d0cf65137c7c85d23':
  Keeping icons in disabled state when SD-card is unmounted
2014-10-08 18:14:16 +00:00
Sunny Goyal 05700ad38f Merge "Keeping icons in disabled state when SD-card is unmounted" into ub-now-queens 2014-10-08 18:10:40 +00:00
Sunny Goyal 1a745e8f18 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
2014-10-08 11:07:11 -07:00
Sunny Goyal be5f561dec am de326d08: Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens
* commit 'de326d08d8764e7f9c610a5c9b755bfa78ae2eb9':
  Using DeviceDefault theme for Launcher and WallpaperPicker
2014-10-08 17:32:09 +00:00
Sunny Goyal a4edbb0a39 am 7bda3d26: Merge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens
* commit '7bda3d26c77a5aa09d0c391d9d20125b8133801b':
  Updating the wallpaperpicker thumb selection feedback
2014-10-08 17:32:08 +00:00
Sunny Goyal de326d08d8 Merge "Using DeviceDefault theme for Launcher and WallpaperPicker" into ub-now-queens 2014-10-08 17:31:10 +00:00
Sunny Goyal 7bda3d26c7 Merge "Updating the wallpaperpicker thumb selection feedback" into ub-now-queens 2014-10-08 17:30:43 +00:00
Sunny Goyal e03b81294f Using DeviceDefault theme for Launcher and WallpaperPicker
Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
2014-10-08 09:55:59 -07:00
Sunny Goyal 549f9b02a8 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
2014-10-08 09:32:54 -07:00
Sunny Goyal 95b4b19025 am b50cc8c5: Updating icons for sortcuts when the target app updates.
* commit 'b50cc8c5d6125715b139d978887830a5341971aa':
  Updating icons for sortcuts when the target app updates.
2014-10-07 22:05:00 +00:00
Sunny Goyal b50cc8c5d6 Updating icons for sortcuts when the target app updates.
Bug: 17398260
Change-Id: I055abb971d1f72245e8616ac2ce07bcdf37cdd52
2014-10-07 14:56:58 -07:00
Sunny Goyal a6fdb4346d am 2fce90c3: Cleaning up icon resizing code
* commit '2fce90c38a79d318e96a28107dea287e42509861':
  Cleaning up icon resizing code
2014-10-07 20:49:02 +00:00
Sunny Goyal 2fce90c38a 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
2014-10-07 12:04:39 -07:00
Ian Parkinson f37dd24ec4 am 33de9454: am 0c2918f4: Use View.generateViewId if available
* commit '33de945451e1380eff2f4c6cd3aa5bb32c0ad368':
  Use View.generateViewId if available
2014-10-06 17:03:46 +00:00
Ian Parkinson 33de945451 am 0c2918f4: Use View.generateViewId if available
* commit '0c2918f4f4c4a9a6609b82cf23155ed51840f2c8':
  Use View.generateViewId if available
2014-10-06 16:59:53 +00:00
Helena Josol f98e731c15 am b2331f66: Merge "Create a central list of files the Launcher writes to the app directory" into ub-now-queens
* commit 'b2331f6601d26cf042e70070e1ef32fe06827f4d':
  Create a central list of files the Launcher writes to the app directory
2014-10-06 16:28:44 +00:00
Helena Josol b2331f6601 Merge "Create a central list of files the Launcher writes to the app directory" into ub-now-queens 2014-10-06 16:25:56 +00:00
Helena Josol 4fbbb3e3e0 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
2014-10-06 17:08:10 +01:00
Ian Parkinson 0c2918f4f4 Use View.generateViewId if available
Bug: 17456181
Change-Id: Ib7e310ba38ed5e392c5c9b8734f197212f518389
2014-10-06 14:27:16 +01:00
Adam Cohen 8b84960215 am e2f25947: am 4b8d11fc: Add missing xxhdpi asset
* commit 'e2f25947844e7cd1f28c367eade49038347c658d':
  Add missing xxhdpi asset
2014-10-03 21:01:35 +00:00
Adam Cohen e2f2594784 am 4b8d11fc: Add missing xxhdpi asset
* commit '4b8d11fcb396760eca75cf2b055a7acd05c594ec':
  Add missing xxhdpi asset
2014-10-03 20:58:06 +00:00
Adam Cohen 4b8d11fcb3 Add missing xxhdpi asset
Bug: 17813013
Change-Id: If1e3448fb109e3f7f0c1ae6562a795fecf3bdf42
2014-10-03 13:47:11 -07:00
Kenny Guy 0047f359b9 am ebb2a66b: am 0cd27191: Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop
* commit 'ebb2a66b79b2761ed29f2f8a3140217c126e448b':
  Remove reference to CODENAME from compat code.
2014-10-03 12:22:44 +00:00
Kenny Guy ebb2a66b79 am 0cd27191: Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop
* commit '0cd271918a7c7baa69e872f7128351a0c7dbbbae':
  Remove reference to CODENAME from compat code.
2014-10-03 12:20:24 +00:00
Kenny Guy 0cd271918a Merge "Remove reference to CODENAME from compat code." into ub-now-porkchop 2014-10-03 12:16:59 +00:00
Kenny Guy 92d6d3b275 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
2014-10-03 12:15:53 +01:00
Adam Cohen b9b12aa6a9 am adf571c7: am 52077b7a: Merge "Don\'t let old Launcher activity interfere with new one" into ub-now-porkchop
* commit 'adf571c7725f0281a3e37a4b6254818da956ca53':
  Don't let old Launcher activity interfere with new one
2014-09-30 23:08:03 +00:00
Adam Cohen adf571c772 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
2014-09-30 23:05:26 +00:00
Adam Cohen 52077b7a95 Merge "Don't let old Launcher activity interfere with new one" into ub-now-porkchop 2014-09-30 23:03:40 +00:00
Bjorn Bringert 76f6e26e85 am ebdb7fcc: am 2ed99e86: Build Launcher3 against prebuilt SDK 21
* commit 'ebdb7fcc8ca851390bcf276929e8990ba23b6869':
  Build Launcher3 against prebuilt SDK 21
2014-09-30 20:37:05 +00:00
Bjorn Bringert ebdb7fcc8c am 2ed99e86: Build Launcher3 against prebuilt SDK 21
* commit '2ed99e861b4be73620fd6fdc24a13230e096921c':
  Build Launcher3 against prebuilt SDK 21
2014-09-30 20:34:13 +00:00
Bjorn Bringert 2ed99e861b Build Launcher3 against prebuilt SDK 21
Bug: 17507423
Change-Id: I9d6dc856bb29e5d0b3926bde437895d0f2ca7b74
2014-09-30 18:53:39 +01:00
Adam Cohen 1a85c5839c 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
2014-09-30 10:23:18 -07:00
Sunny Goyal 03f286d3e4 am 10d03955: am 6d467e27: Merge "Resetting launcherProvider data if restore set was empty" into ub-now-porkchop
* commit '10d03955def60ffa28717cd113c74a18219e2e81':
  Resetting launcherProvider data if restore set was empty
2014-09-29 15:31:55 +00:00
Baligh Uddin 204ec79f06 am f82c86c2: (-s ours) am 10047138: (-s ours) Merge "Import translations. DO NOT MERGE" into ub-now-porkchop
* commit 'f82c86c26c0ba9896b61270b48a8e4f82d7d7fde':
  Import translations. DO NOT MERGE
2014-09-29 15:31:55 +00:00
Sunny Goyal 10d03955de 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
2014-09-29 03:00:45 +00:00