Commit Graph

24 Commits

Author SHA1 Message Date
Sunny Goyal f725824fa2 Refactoring getPreferenceKey method
This method was returnning a constant and getting inlined by proguard.

Change-Id: I87348e25b21483adc1b27d16f99dec4b73205701
2015-10-20 09:41:04 -07:00
Sunny Goyal 639e906a0f Fixing work folder addition logic
> Showing animation when folder is added
  > Not showing animation while cling is visible
  > Checking is loader completed from UI thread
  > Running bind complete runnables when bind is completed

Bug: 21772992
Bug: 23181585
Change-Id: I50742850da8294a877478ce02b107a026f68b563
2015-08-20 11:25:02 -07:00
Sunny Goyal 9fc953b94d Version code cleanup
> Renaming Lmp to Lollipop
  > Lollipop_MR1 instead of directly using 22
  > Using M APIs directly instead of reflection

Change-Id: I10a307f46e3be15b3299f549a2fd7e0e215a6a1b
2015-08-17 13:26:01 -07:00
Sunny Goyal c679ed6233 Removing account manager calls
Change-Id: Ic88139f6ef34046eb3b551d8a75d5f97e1fe3d52
2015-08-04 15:10:12 -07:00
Sunny Goyal 2bba4c37c6 Removing some thread priority management logic
> Not saving folder id in onSaveInstance as it is not used.

Change-Id: I176beb77cafe27ec4b7500d65dc86287d2f2e0cb
2015-05-18 15:57:14 -07:00
Sunny Goyal 7066003b20 Various lint error fixes.
> Fixing some RTL errors by specifying both marginStart and marginLeft
> Moving all layout direction checks to Utilities
> Explicitely adding @TargetApi before every method

Change-Id: Ibe9c52b93b5a6adeadb27ace2b312770fd732ea0
2015-05-14 12:28:07 -07:00
Winson Chung dc61c4d414 Refactoring to single path for overview mode.
Change-Id: I590a813c6f031342d75c3a6c3e9c9afda1808f2e
2015-04-21 15:54:22 -07:00
Adam Cohen 091440a9cb Reducing method count by eliminating synthetic accessors
Elimates 304 methods based on dex analysis

The java compiler generates sythetic accessor methods for all private
fields, methods and contructors accessed from inner classes. By marking them
package-private and @Thunk instead, sythentic accessor methods are no
longer needeed. These annotated elements should be treated as private.

Change-Id: Id0dc2c92733474250d8ff12fa793d3a8adeb1f26
2015-03-20 11:15:54 -07:00
Sunny Goyal e03b81294f Using DeviceDefault theme for Launcher and WallpaperPicker
Change-Id: I31bfeedd99d50683fba910f233b25bb3f364ce1f
2014-10-08 09:55:59 -07:00
Sunny Goyal 7661614383 Updating Clings UI
issue: 16127412

Change-Id: Ie5885cabbef086e3b08811da72af88d01c4405e7
2014-08-27 10:57:03 -07:00
Sunny Goyal 424418bb50 Updating clings, removing ununsed clings
issue: 16127412

Change-Id: I1d18515765100ff10d33439b3ac39ebfc5da35c7
2014-08-25 11:38:02 -07:00
Amith Yamasani 5ba21b6024 Don't show clings in guest user
If the SKIP_FIRST_USE_HINTS setting is ON, don't show clings. This
is used for Guest users.

Bug: 15873403
Change-Id: Icae713788c3ed26d55e8e713da7ec7d0d2b25fce
2014-07-02 02:27:54 +00:00
Adam Cohen 5eed5d8c7b Ensure that hotseat callout only occurs when appropriate
issue 13551957

Change-Id: I87bda7eef8047edbd41f066930ed156a17d042df
2014-05-19 13:57:51 -07:00
Adam Cohen 8457d491bf Removing extra clear, load and bind of default workspace
-> If the user clicks "start fresh" we don't need to reload the workspace
   since we've already loaded the default workspace from the primary
   load in onCreate.

Change-Id: I43cb9e66fd49403ab6e0723cab1a03edd3dcac1b
2014-05-16 18:26:15 -07:00
Adam Cohen 6268f2db4c Disable the folder cling in two cases
-> When the user creates a new folder
-> When the user drags an existing folder
-> The folder cling gets cut off in certain instances
   and until we make it more extensible (not worth
   it right now), we're disabling it in the problematic
   cases. Also, in the problematic cases, the user
   is demonstrating some advanced knowledge, so
   it's somewhat justifiable.

issue 14491765

Change-Id: Ib15d2f097c51a9b755f04b95ed6ef468d3bacc60
2014-05-16 18:18:20 -07:00
Winson Chung 69dffdb83a Disabling the focused hotseat app cling if GEL is not preinstalled on the device. (Bug. 13551957)
Change-Id: I24b25a0eada1ac9273a57b02d80a2451d08b02b0
2014-04-04 17:06:02 -07:00
Winson Chung c6c0367111 Disabling cling when the user moves the folder before launching it. (Bug 12963868)
Change-Id: Iddcdf655c78b7240be123bd549f3d45794d02c83
2014-03-06 10:33:41 -08:00
Adam Cohen 71e03b9979 Fix issue where clings didn't appear after set up wizard (issue 13077829)
-> Also removed the db-created as a criteria for showing the clings
   (this was a bit problematic in some cases and going forward)
-> Instead, we use database upgrade as a signal to not show the clings.
   This is used instead of the above criteria (to prevent old users from
   seeing the migration cling and losing their data.)
-> Stripped some old code related to custom clings that's no longer used.

Change-Id: Ib5e5285e5ddbc60e69eb998ee9fd092ae879150d
2014-02-21 14:37:53 -08:00
Winson Chung 0b560dda27 Adding tighter first run checks for migration clings. (Bug 12626290)
Change-Id: I09fc95c9a3d50ce57f9140e89da2ff4856807f92
2014-01-21 13:00:26 -08:00
Winson Chung 205cd7727f Updating Tablet clings. (Bug 11973614)
Change-Id: I6cb10424a345691d50c4fac7969e0b97bbee4b3c
2014-01-16 14:26:07 -08:00
Winson Chung e43a1e7882 Tightening migration conditions. (Bug 11973614)
Change-Id: I6d7417b705227472d035f428cbec933cc6dbf2ce
2014-01-15 11:34:54 -08:00
Winson Chung 285b6e1483 Properly saving migration cling keys.
Change-Id: Id52a12da6af0fc91463dae07bbeb355ee04873d0
2014-01-14 10:30:27 -08:00
Winson Chung 5317c2b7ad Updating assets and text for migration cling. (Bug 11973614)
Change-Id: I69ffc1581cc43511b4f42ebb2735afe4c0b44131
2014-01-10 16:59:09 -08:00
Winson Chung a694524047 Adding migration Clings. (Bug 11973614)
- Refactoring Launcher cling code out to LauncherClings.

Change-Id: Iff4f84f5b8bfeb69b1be0b4802022c3eb20b6f2c
2014-01-10 22:28:16 +00:00