Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jellybean #2

Closed
wants to merge 5 commits into from
Closed

Jellybean #2

wants to merge 5 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Jul 18, 2012

No description provided.

Serban Zodian and others added 5 commits July 18, 2012 21:42
relies on current LEGACY_TRACKPAD board define

Change-Id: I366e68ae527aace010ce3b5838d58ded7e30726d
Change-Id: Ic31d72aaca6782c40efc28eae4ab378a2967afbd
Change-Id: Iceb3243f8a4b862ab757d870dedeb262ec15e02b

Conflicts:

	services/input/InputReader.cpp
	services/input/InputReader.h
Parameter will be used to decide wheter to apply filters to the touch
events of devices with bad touchscreens (such as bravo or passion).

Change-Id: I50b74717edb0af082b067a552d6b10467c0eb3f2

libinput: Add applyFilters() and applyFiltersWithId functions.

Functions are called when filterTouchInput parameter is true.

Change-Id: I3b6d76ef02ea2253a5f900da411cc4aabf0d254a

libinput: MultiTouchInputMapper: hook up JumpyTouchFilter.

Change-Id: If934b1a4e5c82bb9ed6ebad7a385cbf16767fa8f

libinput: MultiTouchInputMapper: modify JumpyTouchFilter.

    - Drop more points when transitioning
    - Drop both coordinates when transitioning
    - If last event was hovering reset the dropped points count and
      do nothing

Change-Id: Ife47fa1375dc344cde18a58aeaea8c9b3420bcd4

libinput: MultiTouchInputMapper: add BadTouchReleaseFilter.

When lifting one of two fingers on HTC Bravo's touchscreen an jump to
0x0 is emmited. The BadTouchReleaseFilter seaches for a jump like this
and replaces all points with the last ones.

Change-Id: I806a5c1e8dd400b3d3a45f049cd9ffa033f6c758

Conflicts:

	services/input/InputReader.cpp
	services/input/InputReader.h
Change-Id: Ic7d392646b3c915142574dccb4bd34f04f4ab18b
@ghost
Copy link
Author

ghost commented Jul 18, 2012

D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (1620, 5325) with (1623, 5334).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (1620, 4252).
D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (1619, 5322) with (1623, 5334).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (1620, 4252).
D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (2030, 4774) with (2034, 4795).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (2037, 3828).
D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (2030, 4767) with (2034, 4795).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (2037, 3828).
D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (1984, 3705) with (1945, 3675).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (609, 6474).
D/InputReader( 328): BadTouchReleaseFilter: Found jump to (0, 0), replacing new points.
D/InputReader( 328): BadTouchReleaseFilter: Replacing (1986, 3706) with (1945, 3675).
D/InputReader( 328): BadTouchReleaseFilter: Replacing (0, 0) with (609, 6474).

i guess thats good ?

@ghost ghost closed this Jul 24, 2012
napodan pushed a commit to napodan/android_frameworks_base that referenced this pull request Dec 23, 2012
This change fixes the following bug:

1. Playing a movie (especially Full HD) by Gallery.
2. Press the Home button.
3. Press the Gallery shortcut on Launcher.
4. Very quickly repeat Evervolv#2 and Evervolv#3 several times.

Result: "Sorry, this video cannot be played" alert is shown.

Change-Id: Idf9d222ca1e0bb90bfe06f6dc807dfbc71b6415b
Signed-off-by: Yuriy Zabroda <yuriy.zabroda@ti.com>
ev-gerrit pushed a commit that referenced this pull request Jul 25, 2013
Also:
 * add a second history section that logs
 * log mesg as text instead of number
 * dump Sync Status as a table

 Sample log:
Recent Sync History
  #1  : 2012-10-11 15:06:11     USER    0.4s            aagmtest1@gmail.com/com.google u0  com.android.calendar                                  com.google.android.calendar
  #2  : 2012-10-11 15:06:11     USER    0.1s            aagmtest1@gmail.com/com.google u0  subscribedfeeds                                       android.uid.system:1000
    mesg=parse-error
  #3  : 2012-10-11 15:06:11     USER    0.0s            aagmtest1@gmail.com/com.google u0  com.google.android.apps.uploader.PicasaUploadProvider android.uid.system:1000
  #4  : 2012-10-11 15:06:10     USER    0.1s            aagmtest1@gmail.com/com.google u0  com.google.android.gms.plus.action                    android.uid.system:1000

Recent Sync History Extras
  #1  : 2012-10-11 15:06:11     USER   aagmtest1@gmail.com/com.google u0  com.android.calendar                                  Bundle[{feed=aagmtest1@gmail.com, force=true, ignore_settings=true, ignore_backoff=true}]
  #2  : 2012-10-11 15:06:11     USER   aagmtest1@gmail.com/com.google u0  subscribedfeeds                                       Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]
  #3  : 2012-10-11 15:06:11     USER   aagmtest1@gmail.com/com.google u0  com.google.android.apps.uploader.PicasaUploadProvider Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]
  #4  : 2012-10-11 15:06:10     USER   aagmtest1@gmail.com/com.google u0  com.google.android.gms.plus.action                    Bundle[{ignore_backoff=true, force=true, ignore_settings=true}]

Sync Status
Account aagmtest1@gmail.com u0 com.google
=======================================================================
Authority                                           Syncable  Enabled  Delay  Loc  Poll  Per  Serv  User  Tot  Time  Last Sync            Periodic
-------------------------------------------------------------------------------------------------------------------------------------------------------------
com.google.android.apps.currents                    1         true            0    2     1    2     1     6    0:35  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:40  2012-10-13 14:58:13
com.google.android.music.MusicContent               1         true            0    0     1    2     1     4    0:09  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:18  2012-10-13 14:58:13
com.google.android.gms.plus.action                  1         true            0    0     1    1     1     3    0:00  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:15  2012-10-13 14:58:13
com.google.android.apps.magazines                   1         true            0    1     1    2     1     5    0:14  PERIODIC SUCCESS     86400
                                                                                                                     2012-10-12 14:59:00  2012-10-13 14:58:13

Change-Id: Iffeb825e4b4f6217940a39b0dd71e06856f08f3f
zyr3x pushed a commit to zyr3x/android_frameworks_base that referenced this pull request Dec 3, 2013
This commit cleans up the AlarmTile class by removing the unnecessary
listener on the alarm intent. It now listens only to the next alarm
setting value, which was fetched after receiving the intent anyway.

These changes also fix a bug that would cause the tile to not show up
after some actions, like reordering the tiles due to the visibility not
being set on tile creation.

Lastly, some minor code styling issues have been fixed.

Patch set Evervolv#2: collapse onNextAlarmChanged into onChangeUri, remove
mEnabled, use TextUtils to check for string emptiness and mark
updateQuickSettings explicitly as public.

Change-Id: Ic5871a9cc4874f33181dfac14e25a89499c182f2
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Missed one bad javadoc.

Change-Id: Ic70abce0404e966bc9caeabfbd5fd40d170af4de
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 14280857
Change-Id: Ib868cc7a01d24f7169310774a5397b90a2d5b35f
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 14280857
Change-Id: Ib868cc7a01d24f7169310774a5397b90a2d5b35f
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
* commit '767c01161ad4c18bf476e224a93345a7e8a02746':
  Attemp to fix blank lockscreen #2.
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 14656767
Bug: 14294001
Change-Id: Ibc428cbba8b48b6adc26756d8276a63183b8a690
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
* commit 'f80ea6a9a7ef17e67a0f528659347ab0b3242f09':
  Fix lockscreen occluded states #2.
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 14656767
Bug: 14294001
Change-Id: Ibc428cbba8b48b6adc26756d8276a63183b8a690
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Change-Id: I4cbaa762d61e19016f925556c8e02720249dc22c
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
* commit '1fc9180b3437a028085d165de54d0ff8a15919af':
  Fix measure performance of whole status bar window #2.
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
The change appeared to be dropped.
See commit 65ba94f for details.

Change-Id: Ib60968d6327ef04d21e4adca2c394f66343f204b
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
…ounters

an int[] return type.

There are two such instances:

1. "private int[] mRules" within RelativeLayout LayoutParams.
2. "public int[] getLocationOnScreen" in View.

When I added #2, we noticed missing annotated fields/methods in Hierarchy
Viewer, but #1 also caused the same issue (mainly not exporting
alignWithParent field)

Bug: 16844914
Change-Id: I0d83a4391aa0565897cd7f0523995c97b7a4976d
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 17138703
Bug: 17047680
Change-Id: I4058d9a2e349c4a52ab167638471a1eb11753380
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Bug: 17439581
Change-Id: Ib38d9be3271081b33c23b3b17b2ed7790c71729b
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
Change-Id: I649d8d735bda2b0c657217bc86c1a29a2d7eddc2
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
… Recommendations #2" into klp-modular-docs

* commit '1b12b1dc6f0203913ceb0a88dcf5ef1639fe6515':
  docs: remove bad link in the quick view box for TV Recommendations #2
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
…w box for TV Recommendations #2" into klp-modular-docs

* commit '02480cbffabd1ca80441c9676db01b177468883a':
  docs: remove bad link in the quick view box for TV Recommendations #2
ev-gerrit pushed a commit that referenced this pull request Nov 7, 2014
…he quick view box for TV Recommendations #2" into klp-modular-docs

* commit '41b12f2932893ed251a68cb0fe657ee918318c77':
  docs: remove bad link in the quick view box for TV Recommendations #2
ev-gerrit pushed a commit that referenced this pull request Feb 6, 2019
*1 -- not truncate(2) but "PRAGMA wal_checkpoint(TRUNCATE)"

Otherwise, depending on how an app operate on a DB, SQLite may not
have a chance to "shrink" the WAL file.

Fixes: 112777941
Bug: 111939259
Test: atest /android/master/frameworks/base/core/tests/coretests/src/android/database/sqlite/SQLiteCompatibilityWalFlagsTest.java
Test: Manual test with google dailer:
1. With normalized_spam.db-wal > 100MB and receive a phone call
-> WAL file gets truncated to 0 bytes.

2. Restart the dialer process and receive a phone call again
-> WAL file is already 0 bytes; won't be truncated.

3. Restart with the WAL file deleted
Same as #2. WAL file will be created before the added logic, but is 0 bytes,
so it won't be truncated.

4. Test with settings put global sqlite_compatibility_wal_flags truncate_size=1024
-> make sure the threshold is overridden

Merged-in: I2b193603e5dfa493ccccb8123db592f0e9c0e7ae
Change-Id: I2b193603e5dfa493ccccb8123db592f0e9c0e7ae
(cherry picked from commit 96e0600)
ev-gerrit pushed a commit that referenced this pull request Nov 16, 2022
It was shown that given a large phoneAccountHandles that are
over 1 mb, a TransactionTooLarge exception can be silently thrown
causing an empty list to be returned.

In order to prevent this behavior, all Lists that return a
PhoneAccountHandle or PhoneAccount have been switched to
ParceledListSlice.

bug: 236263294

Test: manual #1 - bug exists without fix,
      manual #2 - bug is fixed with patch,
      4 new CTS tests in
      android.telecom.cts.PhoneAccountRegistrarTest

Change-Id: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
Merged-In: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
(cherry picked from commit 76c4d2d)
Merged-In: I025245b2a6f8cfaca86f268851a9d8f0817e07dd
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant