OSDN Git Service
Mathieu Chartier [Mon, 6 Mar 2017 16:49:19 +0000 (16:49 +0000)]
Merge "Generate app image for system-server"
TreeHugger Robot [Mon, 6 Mar 2017 16:31:54 +0000 (16:31 +0000)]
Merge "Import translations. DO NOT MERGE"
TreeHugger Robot [Mon, 6 Mar 2017 16:26:21 +0000 (16:26 +0000)]
Merge "Import translations. DO NOT MERGE"
Charlie Tsai [Mon, 6 Mar 2017 13:43:38 +0000 (13:43 +0000)]
Merge "Implement drawPoint and drawPoints of BaseCanvas_Delegate"
Filip Pavlis [Mon, 6 Mar 2017 13:29:28 +0000 (13:29 +0000)]
Merge "Improve preferences for PreferenceDataStore."
Bill Yi [Mon, 6 Mar 2017 12:46:32 +0000 (04:46 -0800)]
Import translations. DO NOT MERGE
Change-Id: Id4a9d4c2e278304cbc4bb76cc59a266b9a6f693e
Auto-generated-cl: translation import
Hugo Benichi [Mon, 6 Mar 2017 12:45:10 +0000 (12:45 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499." am:
704520c392 am:
4cf199383f
am:
22d4258a75
Change-Id: I8e66e223003a38735b707d21d7bedb19170b1937
Hugo Benichi [Mon, 6 Mar 2017 12:37:36 +0000 (12:37 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499." am:
704520c392
am:
4cf199383f
Change-Id: I79234b267fccb31dfd53cf970a8da039654e684b
Hugo Benichi [Mon, 6 Mar 2017 12:30:05 +0000 (12:30 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
am:
704520c392
Change-Id: Ia0ae78f8406b81377491407cf5ef8ca339952def
Hugo Benichi [Mon, 6 Mar 2017 12:20:40 +0000 (12:20 +0000)]
Merge "Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499."
Charlie Tsai [Thu, 2 Mar 2017 18:09:56 +0000 (18:09 +0000)]
Implement drawPoint and drawPoints of BaseCanvas_Delegate
Test: Layoutlib tests
Change-Id: Ic6d81b9581db9dab4ecbacb8f08ab41e0077bab0
Bill Yi [Mon, 6 Mar 2017 11:29:50 +0000 (03:29 -0800)]
Import translations. DO NOT MERGE
Change-Id: Iff822fac67b1b27301b96e63af899e7e1279875f
Auto-generated-cl: translation import
Clara Bayarri [Mon, 6 Mar 2017 10:40:20 +0000 (10:40 +0000)]
Merge "Ignore non-font resource references in TextView constructor"
Anton Philippov [Mon, 6 Mar 2017 10:25:22 +0000 (10:25 +0000)]
Merge "Pass an empty list to PerformBackupTask constructor instead of null"
TreeHugger Robot [Mon, 6 Mar 2017 06:39:34 +0000 (06:39 +0000)]
Merge "Import translations. DO NOT MERGE"
Hugo Benichi [Mon, 6 Mar 2017 06:16:51 +0000 (06:16 +0000)]
Revert "ConnectivityManager: no double NetworkCallback registration" because oit caused regressions b/
35955593, http://b/
35921499.
This reverts commit
faa70976b490116323107166f90fdd944c5bdc77.
Change-Id: I86c07c113f24753be7c977e6d7f570b99391e1b5
Andrii Kulian [Mon, 6 Mar 2017 06:12:33 +0000 (06:12 +0000)]
Merge "Compute merged configuration changes"
Bill Yi [Mon, 6 Mar 2017 03:29:15 +0000 (19:29 -0800)]
Import translations. DO NOT MERGE
Change-Id: I3af1430764f59d462cc653f0a1870611d5ac51a9
Auto-generated-cl: translation import
Jaewan Kim [Mon, 6 Mar 2017 02:57:27 +0000 (02:57 +0000)]
Merge "MediaSessionService: Leave volume key event logs by default"
Mathieu Chartier [Tue, 28 Feb 2017 21:04:43 +0000 (13:04 -0800)]
Generate app image for system-server
Use new override properties.
Bug:
34929159
Test: phone boot
Change-Id: Iea7f50d34020255d27a5a303da2801afecb60f25
Hyundo Moon [Sun, 5 Mar 2017 14:18:07 +0000 (14:18 +0000)]
Merge "Modify JavaDoc of MediaBrowserService.getBrowserRootHints"
Jason Monk [Sat, 4 Mar 2017 02:49:29 +0000 (21:49 -0500)]
Updated QS UI
- Adds footer to QS which contains the date/alarm info
and all touch targets (settings, edit, etc.)
- Swaps out emergency + carrier text on cell tile for a
standard CarrierText from lock screen in the header
to make the header only contain status info.
- Add dividing line
- Work on animations
Test: runtest systemui
Change-Id: I97dfea1b1ea7006b53eb61ac3a1f942c64dd282d
Jason Monk [Fri, 3 Mar 2017 21:53:44 +0000 (16:53 -0500)]
Add plugin API for individual QS tiles
This will allow prototyping of individual QS tiles and/or their
visual representation without having to write a plugin for the
entire panel. This will allow quick iteration on QS UI + dual
target tiles.
Test: Install plugin using new API
Change-Id: I05ca9d9f5a200a1dad2c3582251a36edb5cb9aba
TreeHugger Robot [Sat, 4 Mar 2017 10:10:55 +0000 (10:10 +0000)]
Merge "Don't set auto-fill options when Spinner has no adapter."
TreeHugger Robot [Sat, 4 Mar 2017 10:03:54 +0000 (10:03 +0000)]
Merge "Minor changes on AutoFill Save UI."
Felipe Leme [Sat, 4 Mar 2017 08:17:59 +0000 (00:17 -0800)]
Don't set auto-fill options when Spinner has no adapter.
Change-Id: Ib42fe5ba57d5ef31a00b39945ac3bcacbb217cc8
Fixes:
35965642
Bug:
33550221
Test: compilation only
TreeHugger Robot [Sat, 4 Mar 2017 06:57:21 +0000 (06:57 +0000)]
Merge "Don't run autoFill on detached view or mode=manual"
TreeHugger Robot [Sat, 4 Mar 2017 03:25:40 +0000 (03:25 +0000)]
Merge "Fix bug #
35673706 - null verifier component..."
Paul Lawrence [Sat, 4 Mar 2017 02:29:36 +0000 (02:29 +0000)]
Merge "Make seccomp honor setenforce" am:
c337e32bb0 am:
071dcc02b4
am:
fb350eb0c7
Change-Id: Id8d8c478d9e1d929d216286bbf0fbdc423018c17
TreeHugger Robot [Sat, 4 Mar 2017 02:27:05 +0000 (02:27 +0000)]
Merge "Bluetooth: Use content observer for airplane mode"
Paul Lawrence [Sat, 4 Mar 2017 02:23:14 +0000 (02:23 +0000)]
Merge "Make seccomp honor setenforce" am:
c337e32bb0
am:
071dcc02b4
Change-Id: I95d2303229f38c3d0719d830deefd58cc3280278
Paul Lawrence [Sat, 4 Mar 2017 02:17:43 +0000 (02:17 +0000)]
Merge "Make seccomp honor setenforce"
am:
c337e32bb0
Change-Id: I9d1bfd35f7da304188da2d6aff6b937108ae4680
Treehugger Robot [Sat, 4 Mar 2017 02:08:53 +0000 (02:08 +0000)]
Merge "Make seccomp honor setenforce"
Christopher Tate [Sat, 4 Mar 2017 01:18:20 +0000 (17:18 -0800)]
Fix bug #
35673706 - null verifier component...
...causing an NPE when we attempted to call getPackageName() on it.
This patch avoids the NPE, but does not address the underlying
question of why the component we're attempting to target is coming
back null. This new approach guarantees the security of the broadcast,
though, so we needn't worry further about that.
Test: install app & note verifier action
Change-Id: I0d316e0815210ba1fbb14da6b76d5c23a85c96a4
TreeHugger Robot [Sat, 4 Mar 2017 00:52:43 +0000 (00:52 +0000)]
Merge "fallout of cleaning-up libutils includes"
TreeHugger Robot [Sat, 4 Mar 2017 00:50:49 +0000 (00:50 +0000)]
Merge "AAPT2: Fix Plural::Equals() method"
TreeHugger Robot [Sat, 4 Mar 2017 00:47:32 +0000 (00:47 +0000)]
Merge "expose isSealed() from the installer session"
Ashutosh Joshi [Sat, 4 Mar 2017 00:37:33 +0000 (00:37 +0000)]
Merge "Pass on the Apps Query Response to clients."
TreeHugger Robot [Sat, 4 Mar 2017 00:37:11 +0000 (00:37 +0000)]
Merge "Add forAutoFill suffix on ViewStructure methods that add children."
Billy Lamberta [Sat, 4 Mar 2017 00:19:11 +0000 (00:19 +0000)]
Merge "Set hdf var 'dac' to true in droiddoc options. Allows for DAC template customizations in Doclava."
TreeHugger Robot [Sat, 4 Mar 2017 00:03:42 +0000 (00:03 +0000)]
Merge "Restrict access from apps to bluetooth_address setting"
TreeHugger Robot [Fri, 3 Mar 2017 23:58:16 +0000 (23:58 +0000)]
Merge "Mark ACTION_VOICE_ASSIST as SystemApi"
TreeHugger Robot [Fri, 3 Mar 2017 23:44:02 +0000 (23:44 +0000)]
Merge "Minor documentation fixes."
TreeHugger Robot [Fri, 3 Mar 2017 23:10:28 +0000 (23:10 +0000)]
Merge "Fix crash in secondary user"
Todd Kennedy [Fri, 3 Mar 2017 21:05:12 +0000 (13:05 -0800)]
expose isSealed() from the installer session
Change-Id: I5232a012fbee8931b0e3f584d6bb2e273a789dee
Fixes:
35948628
Test: Manual
Nathan Harold [Fri, 3 Mar 2017 22:51:38 +0000 (22:51 +0000)]
Merge changes from topic 'sms-file-refactor'
* changes:
Permit privileged system apps to send SMS without persisting.
Move newFromRil() function to a utility class
Remove dependency on telephony-common from services/core
Move OTASP_* Consts from ServiceStateTracker to TelephonyManager
Port Utility Functions from DefaultPhoneNotifier
Remove dependency on IccConstants from SmsManager
Merge branch 'stage-telephony-refactor' into master
TreeHugger Robot [Fri, 3 Mar 2017 22:45:20 +0000 (22:45 +0000)]
Merge "Modify SurfaceView to use SurfaceFlinger child surfaces."
Felipe Leme [Fri, 3 Mar 2017 22:29:17 +0000 (14:29 -0800)]
Add forAutoFill suffix on ViewStructure methods that add children.
Change-Id: I36f7bd26b7d45fd809d7398cc86de3d2671f2b28
Fixes:
35764877
Test: m update-api
TreeHugger Robot [Fri, 3 Mar 2017 22:26:46 +0000 (22:26 +0000)]
Merge "Adding support for passing arbitrary extras when requesting to pin a widget. Also defining an extra constant for widget preview which can be used by developers to provide a snapshot of the widget with the pin request"
TreeHugger Robot [Fri, 3 Mar 2017 22:26:16 +0000 (22:26 +0000)]
Merge "Fix qs tiles disappearing when leaving edit"
Billy Lamberta [Fri, 3 Mar 2017 21:09:15 +0000 (13:09 -0800)]
Set hdf var 'dac' to true in droiddoc options.
Allows for DAC template customizations in Doclava.
Test: make offline-sdk-docs
Change-Id: I11aa79eeba2f7440fa68ee92276eecec6db7f836
Alex Klyubin [Fri, 3 Mar 2017 22:08:36 +0000 (14:08 -0800)]
Restrict access from apps to bluetooth_address setting
BluetoothManagerService for some reason leaks the Android's Bluetooth
MAC address via Settings.Secure which is normally readable by all
apps. This lets apps bypass the restriction on access to Bluetooth MAC
address from apps.
This commit fixes the issue by restricting access to bluetooth_address
secure setting (Settings.Secure). Only packages which hold the
android.permission.LOCAL_MAC_ADDRESS permission retain access.
This commit accordingly grants LOCAL_MAC_ADDRESS permission to the
system Shell app because a number of scripts (including Android CTS)
use "adb shell settings get secure bluetooth_address" as a convenient
way to query the device's Bluetooth MAC address over ADB. This is
acceptable because the user of the device can see the Bluetooth MAC
address and thus it's fine for shell to be able to see the address as
well.
Test: See CTS test added in the cts project in this topic.
Test: "adb shell settings get secure bluetooth_address" returns the
Bluetooth MAC address of the Android.
Test: "adb shell settings list secure | grep bluetooth_address"
returns the Bluetooth MAC address of the Android.
Test: Bluetooth works (toggling off/on, pairing, file transfer)
Bug:
33701414
Change-Id: I17b110b96eb3794b25c1661e93d29a7a003e3c9a
Amith Yamasani [Fri, 3 Mar 2017 18:15:57 +0000 (10:15 -0800)]
Mark ACTION_VOICE_ASSIST as SystemApi
.. since it is implemented by a system app. This allows the
CTS test that verifies android.* namespace intents to pass.
Change-Id: I083e1d12a79fa67e15158ca7390353303cd0e06e
Fixes:
35274957
Test: cts-tradefed run cts-dev -m CtsSignatureTestCases
Felipe Leme [Fri, 3 Mar 2017 01:57:06 +0000 (17:57 -0800)]
Minor changes on AutoFill Save UI.
- Fixed subtitle layout.
- Added a Shell command to change snackbar lifetime (so CTS tests can verify
it's dismissed).
BUG:
35727295
Test: CtsAutoFillServiceTestCases (with new tests) pass
Test: manual verification
Change-Id: Ie6d42c94599ad59a319ca6f6a1ab02882f8d5f81
Philip P. Moltmann [Thu, 23 Feb 2017 20:52:46 +0000 (12:52 -0800)]
Don't run autoFill on detached view or mode=manual
We only run autoFill on views that are attached, auto-fillable, not
auto-fill blocked, resolvedMode=auto and focused. If any of the
conditions change we have to re-evaluate the auto-fill state.
This reverts commit
e572989b3f838cc76b51699710d11aa2f992a474.
Test: Ran amended ViewAttributesTest, set a PIN for the device
(previously crashed)
Bug:
35701500
Change-Id: Idcdf1fd7b7dee6bfbc800fb84fdc1c72dcb088f9
Ajay Panicker [Wed, 22 Feb 2017 20:23:15 +0000 (12:23 -0800)]
Bluetooth: Use content observer for airplane mode
We are making this switch as the airplane mode switch intent is going away.
Fix:
35256299
Test: Toggle Airplane Mode
Change-Id: I3b1e5bbdf689b0db98cfbb0ab377198d34f0ba05
TreeHugger Robot [Fri, 3 Mar 2017 21:59:24 +0000 (21:59 +0000)]
Merge "Move framework-specific portions of pathmap.mk into frameworks/base"
TreeHugger Robot [Fri, 3 Mar 2017 21:58:59 +0000 (21:58 +0000)]
Merge "Fix initial StatusBar wiping out disabled state"
Felipe Leme [Fri, 3 Mar 2017 21:56:11 +0000 (13:56 -0800)]
Minor documentation fixes.
Test: m update-api
Bug:
33550221
Change-Id: I757f161eb78a5c0c662743f35a372c91130c5b34
TreeHugger Robot [Fri, 3 Mar 2017 21:36:05 +0000 (21:36 +0000)]
Merge "OMS: Introduce default overlays"
Daniel Nishi [Fri, 3 Mar 2017 21:35:13 +0000 (21:35 +0000)]
Merge "Persist the debug time correction flag."
Makoto Onuki [Fri, 3 Mar 2017 21:33:05 +0000 (13:33 -0800)]
Fix crash in secondary user
Test: manual test
Change-Id: If406807094f216fd3cfd80db7c6498c954a3fc95
Fix:
35938801
Anton Philippov [Fri, 3 Mar 2017 12:58:16 +0000 (12:58 +0000)]
Pass an empty list to PerformBackupTask constructor instead of null
Recent changes to PerformBackupTask made it expect empty list rather
than null for the ArrayList<String> pendingFullBackups argument.
Bug:
35420596
Test: manual
Change-Id: I8e1f69e78856b9bb8fc8aa9ab1adcac634314a36
TreeHugger Robot [Fri, 3 Mar 2017 21:09:43 +0000 (21:09 +0000)]
Merge "Use SkPaint.nothingToDraw instead of PaintUtils helper."
Paul Lawrence [Fri, 3 Mar 2017 21:04:35 +0000 (13:04 -0800)]
Make seccomp honor setenforce
Note: This code is in frameworks, since we might want to have tools
linked against seccomp_policy that continue to enforce seccomp
Bug:
35950093
Test: Builds, Seccomp: 2 is in zygote & zygote64 status
Run setenforce 0 && stop && start
Seccomp: 0 is in zygote & zygote64 status
Change-Id: I797a6c29f58725f84089c570f784125fb99f57ce
Robert Carr [Fri, 3 Mar 2017 18:48:11 +0000 (10:48 -0800)]
Modify SurfaceView to use SurfaceFlinger child surfaces.
Here we have SurfaceView bypass the WindowManager and speak
directly to SurfaceFlinger using child surfaces. We also
implement some logic in the WM to handle child surfaces
in various Surface replacement scenarios.
For those following along in the revert Saga, this
also includes the follow up CLs to the original CL.
- Surface inset calculation
- Animation fixes.
The error causing revert was a deferTransactionUntil(-1)...-1
cast to uint, defer transaction until MAX_UINT.
Bug:
28858420
Bug:
31518219
Bug:
34888808
Bug:
35588318
Bug:
35396882
Test: Existing tests still pass (except for the ones that don't and will be deleted).
Change-Id: Ib37236950a1dd3c4f9f4b58fd41ef9003c0557ef
Philip P. Moltmann [Fri, 3 Mar 2017 20:53:39 +0000 (20:53 +0000)]
Merge "Add autoFillHint property to view"
Paul Mclean [Fri, 3 Mar 2017 20:51:43 +0000 (20:51 +0000)]
Merge "nativemidi: Prototype demonstrating native access to IMidiDeviceServer"
Mathias Agopian [Wed, 1 Mar 2017 01:43:39 +0000 (17:43 -0800)]
fallout of cleaning-up libutils includes
Test: run & compile
Bug: n/a
Change-Id: I0f6a0be03f4b120b1b5876aae0c0618c025d9f2b
TreeHugger Robot [Fri, 3 Mar 2017 20:28:33 +0000 (20:28 +0000)]
Merge "Add API for checking which CA certs were installed by the DO/PO"
Jason Monk [Fri, 3 Mar 2017 15:28:45 +0000 (10:28 -0500)]
Fix initial StatusBar wiping out disabled state
It was injecting some current disabled state before it actually
had any, which made us lose the disabled state.
Change-Id: Ie6947e72733212e3efcfaea09a59e586ae35fb1d
Fixes:
35767933
Test: Set pin, go to bouncer, look at home
Srinivas Visvanathan [Fri, 3 Mar 2017 20:09:35 +0000 (20:09 +0000)]
Merge "Defining extras for New Unread-Message Broadcast"
TreeHugger Robot [Fri, 3 Mar 2017 19:45:42 +0000 (19:45 +0000)]
Merge "Allow resid notification channel group labels."
Jason Monk [Fri, 3 Mar 2017 19:38:46 +0000 (19:38 +0000)]
Merge "QS: Fix up non-dual target touches"
Daniel Nishi [Fri, 3 Mar 2017 19:35:23 +0000 (19:35 +0000)]
Merge "Save/load calculated cache quotas to a file."
Derek Sollenberger [Fri, 3 Mar 2017 19:02:09 +0000 (14:02 -0500)]
Use SkPaint.nothingToDraw instead of PaintUtils helper.
The PaintUtils helper is now shared between all pipelines and was
missing a quick reject test for drawLoopers which are used in
view.setShadowLayer and supported in the Skia pipelines.
Bug:
35809097
Test: added hwui unit test and verified in DocumentsUI app
Change-Id: I3c4a988f1c42b7f421f78ac3659af1daee910ea2
Peter Qiu [Fri, 3 Mar 2017 19:22:10 +0000 (19:22 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am:
6ac19c0d23 am:
be39334afb
am:
8cf05dfe92
Change-Id: Iecbe5a8d084302a2fa8ca49495ef93df78607428
Peter Qiu [Fri, 3 Mar 2017 19:16:14 +0000 (19:16 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am:
6ac19c0d23
am:
be39334afb
Change-Id: I922cadda8d9becd391dbaffc0da7e098bdda89f6
Peter Qiu [Fri, 3 Mar 2017 19:10:46 +0000 (19:10 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
am:
6ac19c0d23
Change-Id: Ia4966b2d8109a85a94f59d7ec57b387a8f6f612e
Treehugger Robot [Fri, 3 Mar 2017 19:02:27 +0000 (19:02 +0000)]
Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
TreeHugger Robot [Fri, 3 Mar 2017 19:00:48 +0000 (19:00 +0000)]
Merge "handle case where user == USER_ALL"
Mikhail Naganov [Thu, 1 Sep 2016 01:08:10 +0000 (18:08 -0700)]
nativemidi: Prototype demonstrating native access to IMidiDeviceServer
Framework changes and a demo app
Comment and finalized Native MIDI API
Replaced fixed PortRegistry tables with std::map.
more error handling.
Removed not-very-useful MidiDeviceManager class.
Made Java API functions @hide.
Bug:
30252756
Test: Manual
Change-Id: Iae98e589f38ef6d625ff0842401193fe98c5d881
Mathias Agopian [Fri, 3 Mar 2017 18:47:49 +0000 (18:47 +0000)]
Merge "Revert "Remove AHardwareBuffer_ API from libandroid""
Bartosz Fabianowski [Wed, 22 Feb 2017 22:41:14 +0000 (23:41 +0100)]
Add API for checking which CA certs were installed by the DO/PO
With this API, the system can determine whether a CA cert was
installed by the user or the user's DO/PO.
Bug:
32692748
Test: unit tests (see DevicePolicyManagerTest.java for invocation)
Test: cts-tradefed run cts-dev --module CtsDevicePolicyManagerTestCases
Change-Id: I3bcae5ac18ec2b110154184fc515df804fd73da6
TreeHugger Robot [Fri, 3 Mar 2017 18:36:25 +0000 (18:36 +0000)]
Merge "AAPT2: Fix escaping sequence processing in XML parsing"
Selim Cinek [Fri, 3 Mar 2017 18:30:56 +0000 (18:30 +0000)]
Merge changes Ie009b2c3,I313b5334,Iae36fc6b
* changes:
Animating the statusbar icons now when closing
Fixed a few issues around notifications and density changes
All touches to low priority headers should be accepted
Selim Cinek [Thu, 2 Mar 2017 00:50:30 +0000 (16:50 -0800)]
Animating the statusbar icons now when closing
On the keyguard the statusbaricons would not animate
in if there were no notifications. We can't just magically
appear them in that case but need to animate them.
Change-Id: Ie009b2c351b7a45f9219ddc1114be79477ea692b
Fixes:
33652041
Selim Cinek [Wed, 1 Mar 2017 23:13:36 +0000 (15:13 -0800)]
Fixed a few issues around notifications and density changes
Because density and font size changes would actually be
delivered by Dependency, the SystemUI could actually get
the onDensityChanged after the onDensityOrFontScaleChanged.
Let's make sure all configuration changes now go through the
same listener.
This also ensures that the caching of the icon offsets is done
correctly, since the statusbar layout may actually be laid out
later then the shelf.
Test: change density from small to large, observe normal layout
Change-Id: I313b5334ccbb57f7929fe03dbd5119396123b137
Fixes:
35678628
Selim Cinek [Wed, 1 Mar 2017 01:22:49 +0000 (17:22 -0800)]
All touches to low priority headers should be accepted
Since there is no conflicting touch target, we now accept
all touches there.
Test: add low-pririty notification, click below text
Fixes:
35851799
Change-Id: Iae36fc6b950a0dbb569bfae43a5505588d9e0ace
Filip Pavlis [Fri, 3 Mar 2017 16:54:22 +0000 (16:54 +0000)]
Improve preferences for PreferenceDataStore.
I have done some important cleanup of java docs where it wasn't clear
enough that there is a PreferenceDataStore option.
I have fixed incorrect behavior when setting default value while data
store is assigned. Previsouly we looked into SharedPreferences which is
incorrect.
I have also changed behavior of methods getSharedPreferences and
getEditor. These methods now return null when custom data store is
assigned. The reason is that we definetly don't want to use
SharedPreferences if data store is assigned. So the original behavior
was a bit ambiguous. Also if we didn't enforce it, we would have
troubles to change that in the future.
Test: Tests are under the same topic.
Change-Id: Ib7303bae13648767c519edba74ef9a7143e703df
Clara Bayarri [Fri, 3 Mar 2017 18:13:28 +0000 (18:13 +0000)]
Ignore non-font resource references in TextView constructor
TextView was blowing up in its constructor when fontFamily was
set in xml to a reference that was not a font, e.g. @style/mystyle.
These values should be ignored as they are not valid, but we don't
want to crash the app for it either.
Bug:
35863153
Test: See topic
run cts -m CtsWidgetTestCases -t android.widget.cts.TextViewTest#testFontResources_setInXmlStyle
Change-Id: I5d9443e70a36122d312c3a9f2c0dcffb530dbca8
Abhijith Shastry [Tue, 14 Feb 2017 21:02:59 +0000 (13:02 -0800)]
Permit privileged system apps to send SMS without persisting.
The system app needs to have MODIFY_PHONE_STATE permission.
Original Change-Id: Ic9242972a211c90378c183c3abf95672c2816ac7
BUG:
35325136
Test: API visibility change, Manual
Change-Id: I37b185feaa72e330a0845eff137ea310ad0dca08
Nathan Harold [Wed, 25 Jan 2017 01:08:34 +0000 (17:08 -0800)]
Move newFromRil() function to a utility class
Remove a dependency on frameworks/opt from SmsMessage for CDMA
-Code move to frameworks/opt/telephony../cdma/SmsMessageConverter
Bug:
33414487
Test: Manually verified GSM and CDMA SMS: MO and MT
Change-Id: I730d292c4aad6524b03b18c0751738a73a71ecf7
Nathan Harold [Wed, 14 Dec 2016 19:40:03 +0000 (11:40 -0800)]
Remove dependency on telephony-common from services/core
After migrating all the dependencies from frameworks/opt/telephony
to frameworks/base, the dependency is no longer needed and should
never have been created in the first place. Happily removed.
Bug:
33414487
Test: compilation
Change-Id: I261da4c6b819b3c960ce56d2cab5c80cb34e852e
Nathan Harold [Wed, 14 Dec 2016 19:24:48 +0000 (11:24 -0800)]
Move OTASP_* Consts from ServiceStateTracker to TelephonyManager
-Move the OTASP_* constants from SST
-Update references to those constants in TelephonyRegistry
Bug:
33414487
Test: compilation
Change-Id: I9516a8dfa9623d69d7e051749815e91ed3d013fa
Nathan Harold [Wed, 14 Dec 2016 18:48:00 +0000 (10:48 -0800)]
Port Utility Functions from DefaultPhoneNotifier
-Move static utility functions from frameworks/opt/telephony/
..DefaultPhoneNotifier to a new utility class in frameworks/base
-Update TelephonyRegistry to point to the new functions.
Bug:
33414487
Test: compilation
Change-Id: I36a113cb5122569d451ec3a2dfa71d72d590fa52
Nathan Harold [Wed, 14 Dec 2016 03:03:09 +0000 (19:03 -0800)]
Remove dependency on IccConstants from SmsManager
-Redefine the length of the SmsRecord in SmsManager
Bug:
33414487
Test: compilation
Change-Id: I941085e96f45164152528c123102a59930859546
Dan Willemsen [Tue, 14 Feb 2017 22:17:12 +0000 (14:17 -0800)]
Merge branch 'stage-telephony-refactor' into master
Bug:
33644781
Change-Id: If571e3ad9432035811714e3a92d9dfff39311c61
Dianne Hackborn [Fri, 3 Mar 2017 18:07:53 +0000 (18:07 +0000)]
Merge "Add tracking of bg check violations in broadcast stats."
Garfield Tan [Fri, 3 Mar 2017 18:00:36 +0000 (18:00 +0000)]
Merge "Address feedback from API council for INITIAL_URI."