summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SysUI: Disable window animation when using KeyguardExternalViewd34d2016-01-121-1/+2
| | | | | | | | This prevents the window containing the external view from animating when the keyguard is dismissed. Change-Id: I9aa1f6a034786a598f7957cd9baff6237db06532 TICKET: COG-133
* SysUI: Handle KgdExtView callbacks on UI threadd34d2016-01-121-7/+25
| | | | | | | These callbacks can happen off the UI thread and some of the actions we perform require us to be on the UI thread. Change-Id: Ic3d7007b2df0630d4bdd511d34acde20c1a16a34
* SystemUI: Removing padding on mobile signal group.Adnan Begovic2016-01-121-1/+0
| | | | Change-Id: Ia65c384637eca6ca37708e8027f1705ee16de4cc
* Ringtone: Add support for selection of phone ringtone for SIM-2.Karthik Reddy Katta2016-01-124-8/+202
| | | | | | | | | | | | | | -Issue: "The process android.process.media has stopped" pop up is displayed when ringtone for SIM-2 is selected. -Rootcause: There is no type and URI defined for SIM-2 ringtone in the RingtoneManager. This is leading to SQl exception when executing a selection query. -Fix: Add URIs for the SIM-2 and SIM-3 ringtones. Define interfaces to return them to app side based on subscription ID. TICKET: CYNGNOS-1589 CRs-Fixed: 612945 Change-Id: If68c2d008dd86d2b55d3fb7f5667bbadc238d0b3
* SettingsProvider: Disable data roaming by defaultGabriele M2016-01-121-1/+1
| | | | | | | | Data roaming is disabled by default, however it's automatically enabled as soon as the related config is shown, since the default value is set to true. Change-Id: I7854f8447ace35f1d8865765d50ca4bbe5be0745
* SystemUi: Reintroduce always_show_roaming config.Adnan Begovic2016-01-129-27/+81
| | | | | | | | | Set ro.config.always_show_roaming to true to always show both the current data RAT and roaming when in a roaming scenario. Change-Id: I59416f172f24094547b2594347e6accab0bd7fed TICKET: CYNGNOS-1578
* ThemeService: ManagedProvisioning is a setup package too.Ricardo Cerqueira2016-01-121-0/+2
| | | | | | | | | Do _not_ restart it when applying themes. This causes its crappy state machine to fail horribly when setting up AfW Addresses CYNGNOS-1584 Change-Id: I0d8a59fa0347f168b6bec7b7a038a8c1501e38fb
* SystemUi: Nuke DONT_TRACK label, and introduce CMMetricsLogger constants.Adnan Begovic2016-01-1117-35/+36
| | | | Change-Id: I650f1be28f2cf75f0ac15056aa216b5b5ed33a86
* Make WIFI_IDLE_MS default into an overlayDanesh M2016-01-112-0/+25
| | | | Change-Id: I84982da2e8053c8c690c7887c9dafb6614a25ad3
* Automatic translation importMichael Bestas2016-01-1169-26/+1676
| | | | Change-Id: Icca32de2d5cfed0c6d211a55991b31fc1c45c09d
* Fix drawing of VectorDrawables that are rotated by 90 or 270 degrees.Danny Baumann2016-01-111-6/+6
| | | | | | | | | The SCALE_X / SCALE_Y values of rotated matrices are set to the cosine of the rotation angle, which is 0 for drawables that are rotated by 90 or 270 degrees. Map the matrix onto the bounds rectangle and use the resulting size to determine the scaled size instead. Change-Id: I6cc0f0b5569d43434c829cb5f6e5f848cad995ec
* Increase brightness faster if ambient light is brightening quickly.Danny Baumann2016-01-114-12/+31
| | | | | | | | | The point of doing this is when going from indoors to bright sunlight, the brightness adjustment currently leaves one with looking at an unreadable display for a couple of seconds. Increase responsiveness in that scenario to ramp up brightness faster. Change-Id: Idf8ca8ebcdcea06746b0c4f3ab94d2ddddafb32e
* Optimize GPS property reloading.Danny Baumann2016-01-111-9/+23
| | | | | | | Instead of reloading them on each SIM property change, only reload them if the effective list of MCC/MNC combinations changes. Change-Id: Ibdfcc81170af1be6342ec52f983fd09f0dfd90a6
* Align checkbox and description in permission confirmation dialogGabriele M2016-01-111-3/+1
| | | | Change-Id: I9a9ab3a3f59e3d56fc774174ba37d9e191698fe5
* WiredAccessoryManager: remove warning about Samsung dock supportMichael Gernoth2016-01-101-2/+0
| | | | | | | This warning is generated on all devices which do not have kernel- support for Samsung docks and just adds noise. Get rid of it. Change-Id: I4ed8623e4ad08699b2488d276cb0feee5273572b
* Add Motorola EMU audio dock jack sensing supportnadlabak2016-01-101-0/+15
| | | | | | | Don't route to dock output just because the device is docked. Let the actual jack presence to control it. Change-Id: I4066d08b1aa58ead39aad9410b9dd71624776187
* [WindowManagerService] fix starting window issueRonnie Leng2016-01-081-1/+1
| | | | | | | | | | | | | | | | | | Symptom: 1. Acitivity A and B belong to same task. 2. A is started and start B in its code 3. B is opened with blank screen If starting icon has been display, both startingWindow and startingView should not be null. Current logic only uses judgement on startWindow. In above case, it leads startingView set to null as A and B shares the same starting window due to same task. Then system will not get chance to remove startingView as it is null. It needs add judgement on startingView. Change-Id: I6cfa1a3ebce93ce435cc2d9ada239b1e808988de
* Update private copy of PaletteSteve Kondik2016-01-085-701/+1004
| | | | Change-Id: I9eec47031fa8d11b62b38ae769acc9a4a177ff18
* fw: Remove duplicated locales.Adnan Begovic2016-01-081-1/+0
| | | | | | | Introduced by customize by locale CAF commit. Change-Id: I35d646d245789136ea8d7a518604284c1875c1fc TICKET: CYNGNOS-1548
* SystemUI: fix navbar drawing issues in landscapeRoman Birg2016-01-083-97/+251
| | | | | | | | | | | | | | | | | | | | | Originally StatusBarWindowView was responsible for laying out the scrims and making sure they are full screen (behind navbar), while the other views were respecting the navbar insets. This was broken for two reasons for us: 1) our scrims are more complex and aren't always direct subchildren of the StatusBarWindowView (mainly to display the visualizer correctly) 2) we declared fitSystemWindows=false, so the logic to add insets was never actually executing. We now split out the logic for insets into its own class and apply it to the scrims properly. Ref: CYNGNOS-1502 Change-Id: I5b8295d7a64b72dc911fce6d529936592f24e98b Signed-off-by: Roman Birg <roman@cyngn.com>
* SysUI: Use mContext to get colorsd34d2016-01-071-4/+4
| | | | Change-Id: I7a859bf05235a7082fa66a61a36810fb2615f316
* SystemUI: Add missing close parenthesisBrint E. Kriebel2016-01-071-1/+1
| | | | | | Bug introduced by Change I02793acd749dcdf66a2c7fcacc4b79b89556ca01 Change-Id: I8807b81be4040e519a34ee7947367cfc5e1d34e3
* SystemUI: Expose Add Tiles DetailedView Title and Icon ColorNicholas Chum2016-01-072-4/+13
| | | | | | | Completely expose all QS Add Tiles DetailedView Texts and Icon tints for the themer. Change-Id: I02793acd749dcdf66a2c7fcacc4b79b89556ca01
* fix setting new encryption passwordRoman Birg2016-01-071-2/+10
| | | | | | | Ref: CYNGNOS-1534 Change-Id: Idcc392b3cc5c8f01f10c468243129fa272c2f05f Signed-off-by: Roman Birg <roman@cyngn.com>
* SysUI: Update external keyguard view when component changedd34d2016-01-061-3/+55
| | | | | | | | List for changes to the third party keyguard component and update external keyguard view. Change-Id: I4a4e8157f9302cece7d9edde2a82713bc0df7926 TICKET: CYNGNOS-1481
* SysUI: Update dismiss callbacks for external keyguard viewd34d2016-01-061-2/+6
| | | | Change-Id: If20e66f67f3702710bb1d986157dec598e085387
* Themes: Re-enable changing keyguard wallpaperd34d2016-01-051-6/+0
| | | | Change-Id: I91335aa71046c1d86b7c0dd58bc192de4fc29f68
* SystemUI: Make sure to notifydatasetchange on each tile add.Adnan Begovic2016-01-051-0/+1
| | | | | | | | | Otherwise you may end up in a scenario where there aren't enough pages for tiles to be added causing an IndexOutOfBoundsException. TICKET: CYNGNOS-1526 Change-Id: Ie5fa3947fa94c5aefbdead68eddc26fec13de73c
* aapt: Use a std::map instead of a SortedVectorChristopher R. Palmer2016-01-052-11/+13
| | | | | | | | | | | | | Android's SortedVectorImpl uses arrays that it must insert into the middle of. Each insertion is O(N) time because it must move on average half the elements of the array to make room for the new element. That is, O(N^2) time to build this sorted vector. std::map on the other hand normally uses red/black trees and has a cost of NlogN to add N elements to it. Change-Id: I5da0363ba806ab615b2aad0fb2a43ef9a9bec327
* Merge tag 'android-6.0.1_r10' into HEADJessica Wagantall2016-01-051-1/+6
|\ | | | | | | | | Ticket: CYNGNOS-1404 Android 6.0.1 release 10
| * merge in mnc-mr1-release history after reset to mnc-dr-devThe Android Automerger2015-12-150-0/+0
| |\
| | * DO NOT MERGE SoundPool: add lock for findSample access from SoundPoolThreadAndy Hung2015-12-102-16/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Sample decoding still occurs in SoundPoolThread without holding the SoundPool lock. Bug: 25781119 Change-Id: I11fde005aa9cf5438e0390a0d2dfe0ec1dd282e8 (cherry picked from commit 0275a982abecee683f16c827d405eafe51fb67ae)
| | * DO NOT MERGE Ensure that the device is provisioned before showing Recents.Winson2015-12-101-0/+45
| |/ | | | | | | | | | | Bug: 25476219 Change-Id: Ibbe621748f7275f8c1ccded84612ca16292559eb
| * Don't allow contact sharing by default for device not recognized as carkit.Sanket Padawe2015-12-011-1/+6
| | | | | | | | | | | | | | | | + Don't allow contact sharing by default for devices not recognized as carkit at pair time. Bug: 23607427 Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
* | Default to Resolver Themeherriojr2016-01-041-0/+3
| | | | | | | | | | | | | | | | | | | | In order to support being able to dynamically use internal resources in CMResolver, we need to actually default to a theme if one isn't supplied since whatever is here ends up overriding whatever is defined within the Resolver Application. Change-Id: Id75fafde4208f168577fd29d178443f3c6142954 (cherry picked from commit 865f39ee5507f39a373198ac00018dc775b7422f)
* | Fix Custom Resolver Themingherriojr2016-01-041-19/+25
| | | | | | | | | | | | | | | | | | | | Theming wasn't working with a custom resolver and the culprit was the fact that the PackageManagerService was overriding the theme with no theme. This fix looks through the package and finds the correct theme for the activity. Change-Id: I6b253a236ae2a868acb0374384ba1ae58efa5b5e (cherry picked from commit 86092491495f163ea38283f6b588250deba6cb17)
* | media: Configure audio encode parameters only for valid audio codec.Alok Kediya2016-01-041-1/+1
| | | | | | | | | | | | | | | | | | Added extra check for audio codec in profile (Cherrypicked from commit eed39d0053dee6649424867418e511b918b3c634) Cherry-picked to CM-13.0 to fix crash recording HFR video. Change-Id: Ie1ac5252e3d544ce61af2b3ae5080ec9c6966e44
* | ThemeEngine : Use manifest.mf for hash calculationDanesh M2016-01-042-2/+21
| | | | | | | | | | | | | | | | | | | | Using just AndroidManifest xml is not sufficient since the apk could have different resources yet same manifest. issue-id: YU-922 Change-Id: I5ffa95733110b1c37b5f07ef29b457bb68b50cb2 (cherry picked from commit a22cfa769c591ff5443a750eefec00de27fc6c09)
* | Regional: Customize features for regional packagekaiyiz2016-01-047-19/+167
| | | | | | | | | | | | | | | | | | | | | | | | | | -Customize default Date&Time display format. -Customize mock and Dock on or off for carrier. -Customize accessibility on or off for carrier. -Customize default input method. -Customize default enable data roaming or not. -Customize default enable mobile data or not. -Customize default network. TICKET: CYNGNOS-1473 Change-Id: I3a74d0113d6b730c4d7935aaa2da307ebe500566
* | SystemUI: clean up tunerRoman Birg2016-01-047-92/+153
| | | | | | | | | | | | | | | | | | | | - Remove preferences we handle elsewhere (battery) - Remove link to QSTuner - Separate out statusbar icon prefs into separate preferences so we can launch it externally Change-Id: Icc01b443dab945374a0df19a4f0359e3df4ea7d9 Signed-off-by: Roman Birg <roman@cyngn.com>
* | Avoid wrongly reported SIM PIN mismatch.Danny Baumann2016-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (At least) Qualcomm RILs report SIM unlock success as result=0, attemptsRemaining=0. As reportSimUnlocked() causes showDefaultMessage() to be called (via reportSimUnlocked -> handleSimStateChange -> onSimStateChanged -> resetState -> showDefaultMessage), which accesses mRemainingAttempts to determine the message to show, set mRemainingAttempts before calling reportSimUnlocked(). This resets that code sequence back to AOSP; it got broken in commit 18281968a799556a68abbb992adfd04c4cc754ff. Change-Id: Icf7b15f1bf55bb32c8b58bd6c77109971cbc463b
* | aapt: Speed up the style pruningChristopher R. Palmer2016-01-041-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | Prior to this commit it removed each style one by one which causes the vector to repeatedly be shrunk and reallocated and copied (aka either quadratic or NlogN in the number of items removed). This commit simply makes it remove them all at once to make it linear instead. Change-Id: I541d151675ab19f37d9de1e7a323104d0d3b3c63
* | SystemUI: fix flicker when removing tilesRoman Birg2016-01-043-79/+193
| | | | | | | | | | | | | | | | | | Instead of clearing all tiles and re-adding them all one by one when adding or removing tiles, we'll cache the ones already present and re-use them to avoid having to lay them out from scratch. Change-Id: I6d083337c08aca65f5ba8073f53c486bff6045a0 Signed-off-by: Roman Birg <roman@cyngn.com>
* | SystemUI: add tiles detail viewRoman Birg2016-01-0415-110/+655
| | | | | | | | | | Change-Id: I5da6b6ac4045992faab8dee87e11398c7807b241 Signed-off-by: Roman Birg <roman@cyngn.com>
* | NotificationManager: always restore identity on notification errorRoman Birg2016-01-041-1/+2
| | | | | | | | | | Change-Id: I3fb369c34098c366c3c943da0d7c7c64127387c8 Signed-off-by: Roman Birg <roman@cyngn.com>
* | SettingsProvider: Update icon.artas182x2016-01-035-0/+0
| | | | | | | | Change-Id: I9e1b540e0268643371dd95593eaefa63d4a1827d
* | Revert "AppOps: add a default constructor"Michael Bestas2016-01-031-5/+0
| | | | | | | | | | | | | | | | * Not needed after http://review.cyanogenmod.org/126381 This reverts commit 19e0ce0755d191204ac3bd3106b779898d5daadd. Change-Id: I12bfe4f7d119627a3fe08d01e8ae5b065b0f709a
* | Launch app privacy settings when tapping on PG notification (1/2)Lars Greiss2016-01-032-1/+14
| | | | | | | | | | | | | | Based on https://github.com/SlimRoms/frameworks_base/commit/97ccae06cd0ad1aa366c3a70e8e744277c409b06 JIRA: CYAN-6077 Change-Id: I8632e8c944c1d5d7ad2fb2a2276bae5fe2d4a0a0
* | DndTile: Always open the detailed viewThecrazyskull2016-01-021-1/+1
| | | | | | | | | | | | * Be consistent with the rest of the tiles that have detailed view Change-Id: I7cafeab7211fa080a5f49e6c3f335e672111a746
* | Settings: Don't attempt to forward writes from System -> Global.Davis Mosenkovs2016-01-021-3/+2
| | | | | | | | | | | | | | This breaks 3rd party apps since they can't get access to WRITE_SECURE_SETTINGS. Change-Id: I9c3b19eea046ccd2664ff92f7c0493a911c353e2 (cherry picked from commit 8fdf78cce0a5ba613724c99cdf955a65e9617550)