summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* UsbManager / UsbService / UsbDeviceManager: delete unused codeNick Kralevich2015-05-102-40/+0
| | | | | | These functions are never called. Change-Id: Ic436e1036bed717d2c64701fddd9a810abb9443e
* Fix devices with primary physical storage.Jeff Sharkey2015-05-101-9/+10
| | | | | | | | | | | | | | | | Always assume the factory-reset default primary storage before parsing storage settings. Without this, we'd always default to picking internal emulated storage during first boot or upgrade. Bump version code to re-evaluate this for devices that default to physical storage as primary. Also restrict available move targets when storage is physical, since we can't really translate between multi-user and non-multi-user aware storage. Bug: 20836019 Change-Id: I186ded1aa3dd9cea67497a4f53b0973031174ccd
* Merge "Replace usages of deprecated version of TextView.setTextAppearance()" ↵Alan Viverette2015-05-095-10/+10
|\ | | | | | | into mnc-dev
| * Replace usages of deprecated version of TextView.setTextAppearance()Alan Viverette2015-05-085-10/+10
| | | | | | | | Change-Id: Ie501affe2e3a275d3172ce8ed584ba1cd5494da8
* | Merge "Disable multi-user background recording" into mnc-devFyodor Kupolov2015-05-094-4/+25
|\ \
| * | Disable multi-user background recordingFyodor Kupolov2015-05-084-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On user switch, kill existing processes of the background user with android.permission.RECORD_AUDIO permission. Home activity should not be killed to avoid an expensive restart of the home launcher, when the user switches back. Introduced DISALLOW_RECORD_AUDIO user restriction, which is enabled for the background user, and removed for the foreground user. Introduced a concept of system controlled user restriction, which can only be set by the system, rather than device administrator. Bug: 20346194 Change-Id: Ic942fd565e80d14424230dae612965a8e229c4ef
* | | Merge "MediaSync: address API review." into mnc-devWei Jia2015-05-081-19/+19
|\ \ \ | |/ / |/| |
| * | MediaSync: address API review.Wei Jia2015-05-081-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | Rename *Settings to *Params; Remove size parameter from MediaSync.queueAudio(); Bug: 20887706 Change-Id: I4c572da92ada51458031a482b96b3f624224e608
* | | Merge "Remove restrictions PIN functionality" into mnc-devFyodor Kupolov2015-05-085-252/+3
|\ \ \
| * | | Remove restrictions PIN functionalityFyodor Kupolov2015-05-065-252/+3
| | | | | | | | | | | | | | | | | | | | Bug: 20852231 Change-Id: I5666ee28ff1341ead9b258bc0852d8ba6d313c5e
* | | | BootReceiver: scrub APANICMark Salyzyn2015-05-081-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (Cherry pick from commit b49dd577f421adbc4e2c7aa7aa88174905b76242) Bug: 19525200 Change-Id: I940e25a6dd20d53d44ad8848f490ac18c5e971e9
* | | | Merge "Zen: Tweak default automatic rules." into mnc-devJohn Spurlock2015-05-083-4/+11
|\ \ \ \
| * | | | Zen: Tweak default automatic rules.John Spurlock2015-05-083-4/+11
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | - Add a new default rule for calendar events. - Rename all default rules to singular form. i.e. Weekend/Weeknight/Event Bug: 20064962 Change-Id: Iee13238e0479fd2a05abdef4a5584455dcdd0c53
* | | | Merge "Zen: Simplify notification policy api, add zenmode api." into mnc-devJohn Spurlock2015-05-087-131/+226
|\ \ \ \
| * | | | Zen: Simplify notification policy api, add zenmode api.John Spurlock2015-05-087-131/+226
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove the concept of a notification policy management token in favor of a simple grant/deny per app. Currently, all requests are immediately granted. - Add zen mode getter/setting, limit to apps that have been granted policy access. - Add intent for zen mode changes. - Public name for zen mode = "interruption filter", moved from NotificationListenerService to NotificationManager. - Add settings metadata for new DND access Settings screen. - Add the split sender settings for calls vs messages to the public Policy api. - This change is meant to finalize the public api, persisting granted app status and showing the user-visible dialog will be done as followups. Bug: 18298798 Change-Id: I511be98d69939f057c0c7dc1a6dfe63d1c468193
* | | | Merge "DeviceInitializerStatus API review changes" into mnc-devCraig Lafayette2015-05-082-39/+7
|\ \ \ \
| * | | | DeviceInitializerStatus API review changesCraig Lafayette2015-05-062-39/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove DeviceInitializerStatus.is*Status() - Remove DeviceInitializerStatus.FLAG_STATUS_RESERVED - Rename STATUS_STATE_CONNECT_BLUETOOTH_PROXY to STATUS_STATE_CONNECTING_BLUETOOTH_PROXY - Rename STATUS_STATE_DISCONNECT_BLUETOOTH_PROXY to STATUS_STATE_DISCONNECTING_BLUETOOTH_PROXY Bug: 20819590 Change-Id: I276c5674a36726d3681dcc29e896ad39888d116d
* | | | | Merge "Cleanup keystore password changing and unlocking" into mnc-devChad Brubaker2015-05-081-2/+2
|\ \ \ \ \
| * | | | | Cleanup keystore password changing and unlockingChad Brubaker2015-05-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add KeyStore.onUserPasswordChanged for the lockscreen to call when the user changes their password. Keystore will then handle the logic of deleting keys. Instead of calling Keystore.password_uid for both unlocking and password changes the behavior has been split into Keystore.unlock and onUserPasswordChanged. Change-Id: I324914c00195d762cbaa8c63084e41fa796b7df8
* | | | | | Merge "Fix: Hard to modify multi-line selection." into mnc-devMady Mellor2015-05-081-10/+14
|\ \ \ \ \ \
| * | | | | | Fix: Hard to modify multi-line selection.Keisuke Kuroyanagi2015-05-071-10/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mTouchWordOffset was not appropriately updated when a selection is modified across multiple lines. Bug: 20650838 Change-Id: I46f5393970dc8d806719467bac489feac0fbe1a5
* | | | | | | Merge "Add 'App Summary' section to meminfo." into mnc-devRichard Uhler2015-05-084-135/+351
|\ \ \ \ \ \ \
| * | | | | | | Add 'App Summary' section to meminfo.Richard Uhler2015-05-084-135/+351
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 'App Summary' section is shown by default when other memory details are shown. This adds a new meminfo flag '-s' to show only the App Summary section. Change-Id: I66913673cd3afca873a8b13e45abe071d4c57b82
* | | | | | | | Merge "Add feature for pro audio" into mnc-devGlenn Kasten2015-05-081-0/+7
|\ \ \ \ \ \ \ \
| * | | | | | | | Add feature for pro audioGlenn Kasten2015-05-081-0/+7
| | |_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The specification for CDD is in progress Bug: 20877157 Change-Id: Iaf37b2ccb21562170a080b53668a41b85c410241
* | | | | | | | Merge "Allow ContextImpl.setTheme(int) to be called after getTheme()" into ↵Alan Viverette2015-05-082-9/+24
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | | | | Allow ContextImpl.setTheme(int) to be called after getTheme()Alan Viverette2015-05-012-9/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously the theme could only be set if it had never been obtained, which was inconsistent with the documentation for Context.setTheme() and the behavior of ContextThemeWrapper. Also prevents double-apply of themes in setTheme(). Bug: 20756250 Bug: 20230451 Change-Id: I2566b3e4546cd1c68db79f10f01a5a1256fd439c
* | | | | | | | | Merge "Fix issue #20655182: API Review: ViewAssistStructure" into mnc-devDianne Hackborn2015-05-0812-114/+152
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Fix issue #20655182: API Review: ViewAssistStructureDianne Hackborn2015-05-0712-114/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the various view assist related APIs. Also remove the blockAssist view attribute, and instead use the window's FLAG_SECURE to drive blocking of the entire hierarchy (which is semantically correct, and will protect existing apps that have already indicated they need it). Change-Id: I6beebc86b202809cba0a356cae9607d8d0fb5e78
* | | | | | | | | | Merge "Don't call updateDisplayListIfDirty outside draw." into mnc-devGeorge Mount2015-05-081-2/+1
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Don't call updateDisplayListIfDirty outside draw.George Mount2015-05-081-2/+1
| | |_|_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 20909826 Change-Id: If332319ba192606cc30fc8d0de00086fc5135deb
* | | | | | | | | | Merge "DevicePolicyManager API review changes" into mnc-devCraig Lafayette2015-05-081-4/+4
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|/ / / / / |/| | | | | | | | |
| * | | | | | | | | DevicePolicyManager API review changesCraig Lafayette2015-05-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Renamed DO_NOT_ASK_CREDENTIALS_ON_BOOT to RESET_PASSWORD_DO_NOT_ASK_CREDENTIALS_ON_BOOT. Bug: 20820907 Change-Id: I6455f9a6d370afbd5154505f402b409dba3b7918
* | | | | | | | | | Merge "Use correct array index for Theme.getTheme()" into mnc-devAlan Viverette2015-05-081-4/+3
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Use correct array index for Theme.getTheme()Alan Viverette2015-05-081-4/+3
| | |_|_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ic462a7b8a81bb87bf08136bb30e3432f10269918
* | | | | | | | | | Merge "Add Build.VERSION.PREVIEW_SDK_INT" into mnc-devAdam Powell2015-05-081-0/+21
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | |
| * | | | | | | | | Add Build.VERSION.PREVIEW_SDK_INTAdam Powell2015-05-061-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a constant to the SDK that apps may use to detect incremental API changes across prerelease preview builds. APIs newer than the latest official API level are not guaranteed to be stable or even present across preview revisions. Change-Id: I14341e55a3ebc3d872977970b9440c400e71f588
* | | | | | | | | | Merge "Optionally add a default MOBILE request." into mnc-devErik Kline2015-05-081-0/+11
|\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | Optionally add a default MOBILE request.Erik Kline2015-05-081-0/+11
| | |/ / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables persisting the mobile internet data connection, even when Wi-Fi is enabled and serving as the default network (for faster network switching). Change-Id: I9d1512b3a8413c4f163c63d57e66bded017101e4
* | | | | | | | | | Merge "Fixed a bug where the heads-up would not show when full screen" into ↵Selim Cinek2015-05-081-1/+9
|\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mnc-dev
| * | | | | | | | | | Fixed a bug where the heads-up would not show when full screenSelim Cinek2015-05-071-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 20728541 Change-Id: I74bc74c4936b003a4c0c37b7c7da2d1fa138c077
* | | | | | | | | | | Use new hierarchy viewer protocol in all View subclassesSiva Velusamy2015-05-0720-4/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A previous CL introduced a new way of encoding view properties for use by heirarchy viewer. This CL updates all views using the old @ExportedProperty annotation to use this new method. The older mechanism will be removed in a subsequent CL. Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
* | | | | | | | | | | Improve hierarchy viewer dump hierarchy latencySiva Velusamy2015-05-077-5/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hierarchy Viewer obtains the properties for each view by using reflection and looking for fields and methods that have the @ExportedProperty annotation. Using reflection made it quite slow for large view hierarchies. This CL adds a new method (encode) to each class that wishes to export data to hiererachy viewer. Inside this method, the object can write a sequence of key, value pairs corresponding to the values it wants exported. With this change, the dump hierarchy operation that used to take more than 10 seconds can be performed in a few hundred milliseconds. Change-Id: I199ac2e7ca3c59ebcfec7e6bd201e134c41fd583
* | | | | | | | | | | Merge "Allow obtaining BLE capabilities in BLE scan only mode." into mnc-devWei Wang2015-05-081-7/+4
|\ \ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|_|/ / / / |/| | | | | | | | | |
| * | | | | | | | | | Allow obtaining BLE capabilities in BLE scan only mode.Wei Wang2015-05-071-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug:20923734 Change-Id: I7f3e5fd4410da39922be4512e4ba6ccdeb32887d
* | | | | | | | | | | Merge "Disable ActionBar animations pending more involved fix" into mnc-devChet Haase2015-05-071-1/+2
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Disable ActionBar animations pending more involved fixChet Haase2015-05-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recycling of ActionBar items can cause problems with the current ActionBar animations, as the system animates views that represent both pre- and post-layout changes, sometimes causing opposit animations to run on the same view, resulting in unpredictable effect slike views remaining invisible. This 'fix' is a workaround to disable item animations pending a more complete and robust fix that involves a more involved system of view recycling that would avoid recycling views that are currently being used in animations. Issue #20538912 Menu missing in Downloads app Change-Id: I7b1d3baf94378e4788f868801a452c6583353842
* | | | | | | | | | | | Merge "Consider punctuation treatment when selecting text." into mnc-devMady Mellor2015-05-072-34/+129
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / |/| | | | | | | | | | |
| * | | | | | | | | | | Consider punctuation treatment when selecting text.Mady Mellor2015-05-072-34/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This treats punctuation as "words", so groups of punctuation will be selected together, i.e. "Hmm... yay!!!" would be treated as four words: Hmm-...-yay-!!! Bug: 19950062 Change-Id: Ic9514c524092734fad1abdf19a736bfa1406157b
* | | | | | | | | | | | Merge "Fix: A part of grapheme cluster can be selected." into mnc-devKeisuke Kuroyanagi2015-05-071-21/+17
|\ \ \ \ \ \ \ \ \ \ \ \