summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
...
| | * DO NOT MERGE ANYWHERE: Don't change screen on time on time changesAdam Lesinski2016-02-241-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Screen on time should be measured in elapsed realtime, not wallclock. Cause a checkIdleStates to occur when reloading stats (on rollover and on time change). When time changes occur in the negative direction, the new stats file we create can overlap the previous one with regards to its end timestamp. Use the begin timestamp to determine which of the latest stats to merge. (b/22716352) Bug: 26488100 Change-Id: If31b29bbbee9e98401205b5e26bce86e181286e7
| | * DO NOT MERGE ANYWHERE: UsageStats: Use new settings key idle_duration2 for ↵Adam Lesinski2016-02-241-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | app idle Ignores the old, re-appropriated key "idle_duration" which is now set to a high value in order to force disable app idle on devices with bug b/26355386 Bug:26355386 Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
| | * Exit getAllValidScorers early if not the primary.Jeremy Joslin2016-02-161-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the crash that occurs when getAllValidScorers() is invoked by a non-primary user when a scorer is active. BUG: 23040221 Change-Id: I42c9e18d74389be3191258ca5626f2c433ca7cc7 (cherry picked from commit 5b294b45d0d7afbed71fd2e59342c5ad7b8b7d76)
| * | Themes: Restore original value if getValue failsd34d2016-04-131-25/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a catch all around the guts of IconCustomizer.getValue and restore the original outValue before returning if an exception does occur, with some log output for our own sanity. Change-Id: I021760cd5dc07d9cfbbced09c514b86fb997f7d0 TICKET: CYNGNOS-2432
| * | Merge tag 'android-6.0.1_r24' into HEADJessica Wagantall2016-04-051-0/+18
| |\ \ | | | | | | | | | | | | | | | | Ticket: CYNGNOS-2213 Android 6.0.1 release 24
| | * | Redact Account info from getCurrentSyncsMatthew Williams2016-03-011-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BUG:26094635 If the caller to ContentResolver#getCurrentSyncs does not hold the GET_ACCOUNTS permission, return a SyncInfo object that does not contain any Account information. Change-Id: I5628ebe1f56c8e3f784aaf1b3281e6b829d19314 (cherry picked from commit b63057e698a01dafcefc7ba09b397b0336bba43d)
| * | | Framework changes for resetting data usage statisticsKamaljeet Maini2016-04-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of data management experience enhancements in Settings application, a new feature is added. This feature allows users to fully reset all data usage stats of currently selected network interface. When data stats are reset for a specific network interface, the total data usage and per app data usage for that interface is reset to zero. There is no way to revert this reset. Prior to this feature, users could only change the data stats cycle to hide older data usage history. Alternatively, users could perform fully factory reset to remove the usage history. This feature allows fully clearing data usage stats history without any other changes. Change-Id: I242331cf85cec00997a8aa34e8bdcbccf0917864
| * | | NetworkManagement: Add ability to restrict app WiFi background data accessKamaljeet Maini2016-04-011-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Settings/SETTINGS-87 Change-Id: I49124f24d27cde349519ca19ffc39675c897c47c
| * | | Implement left swipe on lockscreenDanesh M2016-04-012-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | Allows user to left swipe to live lockscreen and back. Change-Id: Ia94d735695b77a091a240e13858641cf95ac0647
| * | | Revert "fw: Implement hungarian cipher text."Adnan Begovic2016-04-011-18/+1
| | | | | | | | | | | | | | | | | | | | | | | | This reverts commit c2d3185f92bb0a55cde97fb7b71b4cbd7a27ad86. Change-Id: Id2a39d893cfc46d455c9f84fb6014f97ed41841b
| * | | fw: Implement hungarian cipher text.John McAfee2016-03-311-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement sHungarian cipher text for deep visual encryption based in strong machine learning principles that will disrupt markets for years to come. - Supports big data scale. - Applicable to real time neural network creation based in reality. Change-Id: I1ae819c45da78eeeae4983d0ddb84ed8dc30a360
| * | | NullPointerException when starting VoiceInteractionManagerServiceEdward Savage-Jones2016-03-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If an end user disables the package that implements support for Voice Assist (Google App) and reboots, an NPE is thrown during boot, which results in the device getting stuck at the boot animation. Recovery is not possible without USB debugging enabled, leaving factory reset/user data wipe as the only other option. Change-Id: I9c161fff7f096deee13bf8e37d951e20898ae3ff
| * | | camera2 legacy: Allow HDR processing to take a whilenadlabak2016-03-231-1/+4
| | | | | | | | | | | | | | | | Change-Id: Ifc471d5a79299c40b40c2ea6cb457f6e3fd31338
| * | | [1/4] Pass call extras to addcallStephen Bird2016-03-211-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use the bundle to write the origin that the application can pass us. This data will be used to determine which parts of the application/os are used to make calls most often. Ticket: CD-517 Change-Id: I7857ec3bf38cf5c7232f2152d16f17044e3b3e0e
| * | | NetworkManagement : Add ability to restrict app data/wifi usageDanesh M2016-03-212-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | CYAN-3976 CRACKLING-834 Change-Id: Iaa0483d0ad64511184f0f31d93552a93fbab6dd0
| * | | Accept underscore and tilde in web URLs.Danny Baumann2016-03-211-1/+1
| | | | | | | | | | | | | | | | Change-Id: I19bf6854027bb73f9539bb2366ff5615b1f7c71b
* | | | WallpaperService: change pixel format to RGBA8888Wolfgang Wiedmeyer2016-08-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The wallpapers are now sometimes displayed correctly when using llvmpipe. Needs more investigation. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | | | Merge branch 'cm-13.0' of ↵Wolfgang Wiedmeyer2016-03-1867-2749/+1154
|\ \ \ \ | |/ / / | | | | | | | | https://github.com/CyanogenMod/android_frameworks_base into replicant-6.0
| * | | Show icons of only background apps in ToastsMarcel Dopita2016-03-164-7/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As implemented and discussed in I82bf23664eea134f3b1f89ad5a99f6be73906ba8, this patch disables the icons in Tosts for already foreground apps. It's useful, no questions about that but please be aware of: - Icons in Toasts are also displayed in "tooltips" of ActionBar (when you press and hold an action). I think that goes agains material design as the ActionBar component now doesn't even show app icon. - Toasts from Android OS contain the Green robot. (IMHO: It was never intended for system Toast to have an icon) - Toasts are intended "to be as unobtrusive as possible" and this kinds of break it. (From javadoc) - Icons should stay as workaround for finding that badly designed/intrusive app because: "Your app should not create a dialog or toast if it is not currently on screen." (From notifications design paterns) - Not that relevant but not all users welcome this aesthetic: https://www.reddit.com/r/cyanogenmod/comments/3oazh8/does_the_icon_in_the_toast_notification_bother/ https://www.reddit.com/r/cyanogenmod/comments/3jg5c2/icons_on_toasts/ etc. Change-Id: If748297bd422c7ddbf061da735b8e4ed0a41b425
| * | | fix metrics density comparisonsRoman Birg2016-03-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Resources.java, we explicitly call setDensity() on the local DisplayMetircs object when there is a configuration update - which sets some more fields than the original implementation. In fw/b/core/java/android/app/Presentation.java there is a DisplayInfo comparison which fails because our getMetricsWithSize() did not always set those fields that updateConfiguration would always set. So now we always return a DisplayMetrics object with the fields filled out as expected. Ref: OPO-539 Change-Id: Ie80e7a9cfd249ec59d31b4044ad09e07e34d1194 Signed-off-by: Roman Birg <roman@cyngn.com>
| * | | Merge tag 'android-6.0.1_r22' of ↵Steve Kondik2016-03-1132-297/+739
| |\ \ \ | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 22 Change-Id: I0d31899b234156a91accb61e0a7fb3d8d16d5062
| | * | Don't change screen on time on time changesAdam Lesinski2016-01-281-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Screen on time should be measured in elapsed realtime, not wallclock. Cause a checkIdleStates to occur when reloading stats (on rollover and on time change). When time changes occur in the negative direction, the new stats file we create can overlap the previous one with regards to its end timestamp. Use the begin timestamp to determine which of the latest stats to merge. (b/22716352) Bug: 26488100 Change-Id: If31b29bbbee9e98401205b5e26bce86e181286e7
| | * | Don't verify the scrollbar drawableAlan Viverette2016-01-141-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids infinite invalidations caused by re-use of scrollbar drawable during a single draw() pass. Does not address the general problem of drawable reuse causing unnecessary invalidations as a result of calls to setBounds() invoking invalidateSelf(). Bug: 26533725 Change-Id: I99e9c2dfe4ddfc833569e40e7268dcb03e931fc9
| | * | Merge "Add STEM_1, STEM_2 and STEM_3 key as wakeup keys" into cw-e-devChenjie Luo2016-01-141-0/+3
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: 4a577bff96 * commit '4a577bff9674f4bc748ab76bf48ac6e7d3e567cc': Add STEM_1, STEM_2 and STEM_3 key as wakeup keys
| | | * | Add STEM_1, STEM_2 and STEM_3 key as wakeup keysChenjie Luo2016-01-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 25860409 Change-Id: I3f525c9c8df81807d98391c70cd2d1f8c139c8f5
| | * | | Merge "UsageStats: Use new settings key idle_duration2 for app idle" into ↵Adam Lesinski2016-01-141-1/+3
| | |\ \ \ | | | | | | | | | | | | | | | | | | mnc-dr1.5-dev
| | | * | | UsageStats: Use new settings key idle_duration2 for app idleAdam Lesinski2016-01-131-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ignores the old, re-appropriated key "idle_duration" which is now set to a high value in order to force disable app idle on devices with bug b/26355386 Bug:26355386 Change-Id: Iff9de843ad6e547d29c1583687fc7f7ce7e15090
| | * | | | Merge "Revert "Avoid drawable invalidation during draw()"" into mnc-dr1.5-devIan Pedowitz2016-01-131-10/+1
| | |\ \ \ \ | | | |/ / / | | |/| | |
| | | * | | Revert "Avoid drawable invalidation during draw()"Alan Viverette2016-01-131-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e5e59c6da424096da8f57137cdc57d8bd410b079. Drawables expect to be able to call invalidateSelf() during draw() to pump animation frames. We shouldn't break this. Bug: 26533725 Change-Id: Ibe2871f2622faf836637225fc1e3e6f0ca6def47
| | * | | | Merge "Avoid drawable invalidation during draw()" into mnc-dr1.5-devAlan Viverette2016-01-121-1/+10
| | |\ \ \ \ | | | |/ / /
| | | * | | Avoid drawable invalidation during draw()Alan Viverette2016-01-121-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prevents infinite invalidation loop when reusing a drawable asset within a single draw() call. Also reduces unnecessary extra invalidations due to drawable setters (ex. setBounds()) being called during draw(). Bug: 26329675 Change-Id: I31b3c99e8efd4193415cc562a84c8939a2f56c2d (cherry picked from commit 8cda8e915916b3166e4496589b802fd1ed553c77)
| | * | | | Handle null result from getVirtualChildAt()Alan Viverette2016-01-122-16/+8
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also adds final where the method was being called, adds Nullable annotation to method, and updates docs. Bug: 25985497 Change-Id: I847a8507f2e3970f1340cddf4abf8650dda22b35 (cherry picked from commit ad52693cf3dfe3f5e84f5a22fe4c3787f2f2cbfb)
| | * | | Merge changes from topic 'grapheme-dr1.5' into mnc-dr1.5-devRaph Levien2016-01-121-22/+34
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Respect grapheme clusters in Layout#getOffsetForHorizontal. Fix: Cursor can be at an invalid offset in EditText.
| | | * | | Respect grapheme clusters in Layout#getOffsetForHorizontal.Keisuke Kuroyanagi2016-01-111-24/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TextUtils#getOffsetAfter was used for getting the next offset in Layout#getOffsetForHorizontal. However, this method doesn't treat grapheme clusters properly. Changed to use TextLine#getOffsetToLeftRightOf instead of TextUtils#getOffsetAfter. Bug: 25375561 Change-Id: I96c9e6e5da65adfb5266446ecab852c52628dbb5
| | | * | | Fix: Cursor can be at an invalid offset in EditText.Keisuke Kuroyanagi2016-01-111-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "getLineEnd(line) - 1" is used as the return value when the "horiz" is beyond the line end for multiple line text. In this case, the returned value can point an invalid offset like the middle point of a surrogate pair. Bug: 23069901 Change-Id: I1afef7205a15079a42bb0018df73f70fe9ada862 (cherry picked from commit 00ad16d1cd24b788262ab4f62935e720a392da6d)
| | * | | | Fix measurement to respect grapheme and span boundariesRaph Levien2016-01-111-8/+10
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When measuring in TextLine (important for cursor positioning), the substring measured must neither be too short (it can't just be the substring up to the measure limit, but must include additional characters if they form a ligature) nor too long (it can't extend beyond the end of the CharacterStyle span, otherwise the measurement fails to account for the fact that the CharacterStyle span boundary breaks the ligature). This patch gets it just right. Bug: 25375561 Change-Id: I36e1c4bdc66424d3b611cf54031756cf54cf3fec
| | * | | Exit getAllValidScorers early if not the primary.Jeremy Joslin2016-01-051-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes the crash that occurs when getAllValidScorers() is invoked by a non-primary user when a scorer is active. BUG: 23040221 Change-Id: I42c9e18d74389be3191258ca5626f2c433ca7cc7
| | * | | Clear calling identify b4 Beam callback.Martijn Coenen2015-12-211-30/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes AppOps crash, because it notices the calling package is different from the calling UID. Bug: 25492633 Change-Id: I55e2d975fd0a7ee94c4623efb3b19b1b54b72da2
| | * | | Merge "Remove duplicate Bluetooth profiles." into cw-e-devBryce Lee2015-12-181-12/+0
| | |\ \ \ | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | am: 9c27969385 * commit '9c27969385d7a59a535ba3274c279ae96a155d49': Remove duplicate Bluetooth profiles.
| | | * | Merge "Remove duplicate Bluetooth profiles." into cw-e-devBryce Lee2015-12-181-12/+0
| | | |\ \
| | | | * | Remove duplicate Bluetooth profiles.Bryce Lee2015-12-181-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I04fd867511713dd02ef249b113f7a46c69f22f98
| | * | | | Merge "Making ViewRootImpl drop input events when the Activity is in ambient ↵Daniel Koulomzin2015-12-181-1/+11
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode." into cw-e-dev am: cbef517d02 * commit 'cbef517d02f4f3680e155cc1a704ebf5c959d03f': Making ViewRootImpl drop input events when the Activity is in ambient mode.
| | | * | | Merge "Making ViewRootImpl drop input events when the Activity is in ambient ↵Daniel Koulomzin2015-12-181-1/+11
| | | |\ \ \ | | | | |/ / | | | |/| | | | | | | | mode." into cw-e-dev
| | | | * | Making ViewRootImpl drop input events when the Activity is in ambientDaniel Koulomzin2015-12-181-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mode. WearableActivityController tells ViewRootImpl about ambient mode. Bug: 25912259 Bug: 25973146 Bug: 25714113 Change-Id: Idcca2b254db3145039f50f2a7dfd38a224ec287e
| | * | | | Merge "Add setting for declaring disabled bluetooth profiles." into cw-e-devBryce Lee2015-12-172-0/+19
| | |\ \ \ \ | | | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cf91b45c05 * commit 'cf91b45c05358c81ddaccf3ddd4b1ea6d5295faa': Add setting for declaring disabled bluetooth profiles.
| | | * | | Merge "Add setting for declaring disabled bluetooth profiles." into cw-e-devBryce Lee2015-12-172-0/+19
| | | |\ \ \
| | | | * | | Add setting for declaring disabled bluetooth profiles.Bryce Lee2015-12-162-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 25900899 Change-Id: I420a7c590d72ba10f3e466d15dccfdbb520e810a
| | * | | | | Merge "Add UUID to BluetoothHeadsetClientCall" into cw-e-devBryce Lee2015-12-171-2/+24
| | |\ \ \ \ \ | | | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | am: cae2f2415b * commit 'cae2f2415ba04eb854fdcdc6aa66c857ad7148d0': Add UUID to BluetoothHeadsetClientCall
| | | * | | | Add UUID to BluetoothHeadsetClientCallBryce Lee2015-12-161-2/+24
| | | | |/ / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will allow for unique identification of a call as id only provides uniqueness per session. Bug: 26016489 Change-Id: I643d24bf5ff5680c26e530075649ef2a4f378295
| | * | | | DO NOT MERGE Remove more extras during notification lightening.Dan Sandler2015-12-121-5/+18
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically anything Parcelable needs to go since it might be quite large. Note that this includes additional extras such as those contributed by WearableExtender. Cherry-picked from 5012853de26eac023deda82d138a35677fe6117b Bug: 26038546 Change-Id: I00eadd2b23dfc4fccf42332df658373bb05b8a45