OSDN Git Service
Jeff Sharkey [Fri, 19 Sep 2014 18:08:45 +0000 (11:08 -0700)]
Fix bugs when system apps reclaim permissions.
Recently we started letting system apps always take precedence over
third-party apps when defining permissions. This change fixes that
logic to claim the permission immediately, instead of delaying until
after the next reboot. (Permissions are always reevaluated after
each install.)
We also tighten the constraints slightly to prevent two system
apps from fighting over a permission definition; the first system
app to claim the permission wins.
Bug:
17526617
Change-Id: I49686407f5e99322bc511795c653c5d702becd9d
Chris Craik [Fri, 19 Sep 2014 17:42:21 +0000 (17:42 +0000)]
Merge "Hide other color filter mutability" into lmp-dev
Adam Powell [Fri, 19 Sep 2014 17:25:33 +0000 (17:25 +0000)]
Merge "Make panel menu windows respect elevation" into lmp-dev
John Reck [Fri, 19 Sep 2014 17:22:16 +0000 (17:22 +0000)]
Merge "glFinish to flush deletes" into lmp-dev
Jason Monk [Fri, 19 Sep 2014 17:19:39 +0000 (17:19 +0000)]
Merge "QS: Fix accessibility announce for dual tiles" into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 17:12:32 +0000 (17:12 +0000)]
Merge "Handling service number convert while roaming." into lmp-dev
John Reck [Fri, 19 Sep 2014 17:10:19 +0000 (10:10 -0700)]
glFinish to flush deletes
Bug:
17479800
Change-Id: I4d4a3eeda510e037f806052025184f3cde18c847
Christoph Studer [Fri, 19 Sep 2014 16:43:45 +0000 (16:43 +0000)]
Merge "Remove FLAG_FOREGROUND_SERVICE on Service.stopForeground()" into lmp-dev
Jeff Sharkey [Fri, 19 Sep 2014 16:32:51 +0000 (16:32 +0000)]
Merge "Only revoke ownerless grants when unprivileged." into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 16:21:00 +0000 (16:21 +0000)]
Merge "Delete file containing removed attributes and styles" into lmp-dev
Jeff Sharkey [Fri, 19 Sep 2014 16:14:34 +0000 (09:14 -0700)]
Only revoke ownerless grants when unprivileged.
Recently we relaxed revokeUriPermission() to allow apps to revoke
Uri permissions that had been granted to them, but this uncovered
bugs in apps that had been relying on the previous no-op behavior.
To mitigate this, only revoke ownerless Uri permissions when in the
unprivileged state; an active owner indicates that another component
of the calling app still needs the permission.
Bug:
17554268
Change-Id: Icc412933b29041ffb699d20136a623440ecc71ec
John Spurlock [Fri, 19 Sep 2014 16:04:35 +0000 (16:04 +0000)]
Merge "When dozing, re-enable falsing threshold and log events." into lmp-dev
Chris Craik [Tue, 16 Sep 2014 17:51:45 +0000 (10:51 -0700)]
Hide other color filter mutability
bug:
17262092
Change-Id: Ia6c0e1a684365c372803d1a6be41a478a05e0dd0
Amith Yamasani [Fri, 19 Sep 2014 15:51:38 +0000 (15:51 +0000)]
Merge "Allow primary user profile owner to set device restrictions" into lmp-dev
John Spurlock [Fri, 19 Sep 2014 12:30:21 +0000 (08:30 -0400)]
When dozing, re-enable falsing threshold and log events.
- Reactivate our configured keyguard falsing swipe threshold
for secure keyguards, but only when dozing.
- Add DozeLog helper to capture/maintain interesting events
about the doze + unlock process, enabled by default, but
only on devices that start dozing at least once.
- Dump summary counts + logged events to dumpsys output.
- Pass notification pulse "instance" as an extra to the scheduled
intent, so we can log accordingly.
Bug:
17496795
Change-Id: I7e88f93bfc967bdc06550cf1fe5e74d535edd774
Baligh Uddin [Fri, 19 Sep 2014 15:42:00 +0000 (15:42 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
George Mount [Fri, 19 Sep 2014 15:39:44 +0000 (15:39 +0000)]
Merge "Fix exception when fragment container has no View." into lmp-dev
George Mount [Fri, 19 Sep 2014 15:39:02 +0000 (15:39 +0000)]
Merge "Fix NPE when shared element listener is null." into lmp-dev
Chris Craik [Fri, 19 Sep 2014 15:31:17 +0000 (15:31 +0000)]
Merge "Fix garbage showing up beneath dialogs" into lmp-dev
Alan Viverette [Fri, 19 Sep 2014 15:21:51 +0000 (08:21 -0700)]
Delete file containing removed attributes and styles
These were already removed from public.xml, so this change does
not affect current.txt or public resource IDs.
BUG:
17577849
Change-Id: I3a754e968732705e5facfbc96e6e14c901d08596
Jessica Hummel [Fri, 19 Sep 2014 14:22:42 +0000 (14:22 +0000)]
Merge "bug fix: Allow enableSystemApps to be called by profile and device owner." into lmp-dev
Jason Monk [Thu, 18 Sep 2014 20:11:09 +0000 (16:11 -0400)]
QS: Fix accessibility announce for dual tiles
Bug:
17512411
Change-Id: I3515804fce2742e9553d65dab9693ccc0b9f39cf
Paul Jensen [Fri, 19 Sep 2014 11:59:48 +0000 (11:59 +0000)]
Merge "Fix to make repeated lingerings work." into lmp-dev
Jessica Hummel [Tue, 16 Sep 2014 10:56:50 +0000 (11:56 +0100)]
bug fix: Allow enableSystemApps to be called by profile and device owner.
We had an additional check for managed profile in there, so it wasn't working for device owners. Also needed to look at uninstalled packages.
Change-Id: I4813f23b00d7905e92ade582ce082a6f295a322d
Bug:
17384318
Kenny Guy [Fri, 19 Sep 2014 09:44:21 +0000 (09:44 +0000)]
Merge "Remove suggested key names as its confusing." into lmp-dev
Christoph Studer [Thu, 18 Sep 2014 18:35:36 +0000 (20:35 +0200)]
Remove FLAG_FOREGROUND_SERVICE on Service.stopForeground()
When services call Service.stopForeground(), remove
FLAG_FOREGROUND_SERVICE from the notification that was supplied
to Service.startForeground().
This enables services to post notifications that become user
dismissable when they switch to being a background service.
Restrict this to targetSdk=L apps to reduce the risk of breaking
existing apps.
Bug:
17551106
Change-Id: Iff8541e5bb2a23ad1fbc9ad80df5fd6eb683148b
Yohei Yukawa [Fri, 19 Sep 2014 05:19:03 +0000 (05:19 +0000)]
Merge "Speculative fix of IMMS crash" into lmp-dev
Yohei Yukawa [Fri, 19 Sep 2014 04:22:15 +0000 (13:22 +0900)]
Speculative fix of IMMS crash
This CL is a follow up CL for I6571d464a46453934f0a8f5e790.
Do not propagate Resources.NotFoundException to the caller
of InputMethodInfo.isDefault().
BUG:
17553712
BUG:
17549437
BUG:
17517332
Change-Id: Ie95880c1f68f49eb63518e69b7dfa20af3ce8737
Dan Sandler [Fri, 19 Sep 2014 03:32:30 +0000 (03:32 +0000)]
Merge "Fix LayoutInflater copy constructor logic." into lmp-dev
Dan Sandler [Fri, 19 Sep 2014 02:11:18 +0000 (22:11 -0400)]
Fix LayoutInflater copy constructor logic.
Avoids an NPE in mFilterMap.
Bug:
17548265
Change-Id: I6556373862f706dbcf5549eaec61c3e10a47b482
Dianne Hackborn [Fri, 19 Sep 2014 02:01:57 +0000 (02:01 +0000)]
Merge "Fix issue #
17564607: Apps in the managed profile can send any intent..." into lmp-dev
Dianne Hackborn [Fri, 19 Sep 2014 01:38:30 +0000 (18:38 -0700)]
Fix issue #
17564607: Apps in the managed profile can send any intent...
...to the primary user, even if it was not whitelisted to be forwarded.
The path where getActivityInfo is called for the ResolverActivity
would not correctly apply the requested user ID to the result, so
it wouldn't run under the correct user.
Change-Id: I1da47c54bbed26091832a28236d0b06762c92437
Mike Lockwood [Fri, 19 Sep 2014 02:00:25 +0000 (02:00 +0000)]
Merge "USB string descriptors are not UTF8, so it is not safe to treat them as such." into lmp-dev
w19976 [Sat, 13 Sep 2014 06:09:05 +0000 (23:09 -0700)]
Handling service number convert while roaming.
When roaming, change *611 to +
19085594899.
Bug:
17202092
Change-Id: Ibd130911131e9ed245cca7130853176f831e361e
Adam Powell [Fri, 19 Sep 2014 01:22:29 +0000 (18:22 -0700)]
Make panel menu windows respect elevation
Bug
17430536
Change-Id: I962dfa10d3cb4f735dcaa68f17e7ff278d1580a2
Alan Viverette [Fri, 19 Sep 2014 01:16:21 +0000 (01:16 +0000)]
Merge "Always apply window insets to action modes" into lmp-dev
Amit Mahajan [Fri, 19 Sep 2014 01:07:22 +0000 (01:07 +0000)]
Merge "Fix voice mail number to modify when insert H3G Denmark sim card." into lmp-dev
Yigit Boyar [Fri, 19 Sep 2014 00:59:52 +0000 (00:59 +0000)]
Merge "Fix scroll position calculation when clipToPadding is false" into lmp-dev
giseok.seo [Wed, 7 May 2014 03:04:49 +0000 (12:04 +0900)]
Fix voice mail number to modify when insert H3G Denmark sim card.
1.H3G Denmark SIM Card is set to "not available" in UST(Usim service Table) to
EF_MBDN file of SIM CARD.
so do not edit voicemail number.
2.AOSP default voicemail number is empty.
so if inserted H3G Denmark SIM card, User cann't edit voicemail number and
do not use voicemail service.
Bug:
14093735
Change-Id: I2469ef8e8bda376adcdc9549bf4227bc4c0ddb2e
Winson Chung [Thu, 18 Sep 2014 23:50:35 +0000 (23:50 +0000)]
Merge "Try and bind search widget before initial calculations of transition rects. (Bug
17456094)" into lmp-dev
Winson Chung [Thu, 18 Sep 2014 23:50:31 +0000 (23:50 +0000)]
Merge "Handling broader set of exceptions when startingActivity from Recents. (Bug
17481968)" into lmp-dev
Yigit Boyar [Thu, 18 Sep 2014 23:01:28 +0000 (16:01 -0700)]
Fix scroll position calculation when clipToPadding is false
Bug:
17568582
Change-Id: I904450d62c93105db5c61a071c7816278bb441be
Craig Mautner [Thu, 18 Sep 2014 23:08:24 +0000 (23:08 +0000)]
Merge "Don't count finishing activities as effective activities." into lmp-dev
Chris Craik [Thu, 18 Sep 2014 23:05:35 +0000 (16:05 -0700)]
Fix garbage showing up beneath dialogs
bug:
17463894
Fixes the setViewport method to immediately affect the return values
of getViewportWidth/Height methods.
Also works around tiling extension issues observed on first frame
after window resize by disabling tiling for that frame.
Change-Id: Ie172d572d20d74a1be9cc58ad389af2cffa0e4b6
George Mount [Thu, 18 Sep 2014 22:51:22 +0000 (22:51 +0000)]
Merge "Fix broken logic in isValidTarget" into lmp-dev
Alan Viverette [Thu, 18 Sep 2014 22:46:42 +0000 (15:46 -0700)]
Always apply window insets to action modes
BUG:
17567245
Change-Id: I3c37d228e3a9d3060a4fd1a86abf2ffbf91802e8
Winson Chung [Thu, 18 Sep 2014 22:45:23 +0000 (22:45 +0000)]
Merge "Listening for widget changes while Recents is in the background. (Bug
17153663)" into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 22:38:33 +0000 (15:38 -0700)]
Don't count finishing activities as effective activities.
They were being counted as effectiveRoot even though they were
finishing.
Fixes bug
17550936.
Change-Id: Iaf7201e6150095e55f88344e4b257e4ae8f19a2b
George Mount [Wed, 17 Sep 2014 23:59:36 +0000 (16:59 -0700)]
Fix NPE when shared element listener is null.
Bug
17544867
The shared element listener will be null after the transitions
have been canceled.
Change-Id: Id1182639b44ece27fc267702623641438f9974d5
Alan Viverette [Thu, 18 Sep 2014 22:26:02 +0000 (22:26 +0000)]
Merge "Fix the underlined spinner asset to match text field" into lmp-dev
George Mount [Wed, 17 Sep 2014 23:36:42 +0000 (16:36 -0700)]
Fix exception when fragment container has no View.
Bug
17535259
Change-Id: I29c9ef53dd693cbb4043ebfb4750753870c9e99a
Amith Yamasani [Thu, 18 Sep 2014 16:42:42 +0000 (09:42 -0700)]
Allow primary user profile owner to set device restrictions
In addition to device owners, profile owners on the primary user
can also set user restrictions that are necessary to lock down the
user.
This is to enable the case of a profile owner registered after setup
wizard is completed, on the primary user.
Also make managed profile vs. profile wording consistent in the
DevicePolicyManager docs.
Bug:
17555025
Change-Id: Ib9d08b8af34a99b25e11757fa7dc83673a7deb32
Adrian Roos [Thu, 18 Sep 2014 21:29:58 +0000 (21:29 +0000)]
Merge "Additional check to determine insets for recents animation" into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 21:28:09 +0000 (21:28 +0000)]
Merge "Disable QS user switcher when not supported" into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 21:25:22 +0000 (21:25 +0000)]
Merge "Remove activity icon bitmaps from system process." into lmp-dev
Craig Mautner [Thu, 18 Sep 2014 21:16:26 +0000 (14:16 -0700)]
Remove activity icon bitmaps from system process.
When a TaskDescription is sent up to the system process, the Bitmap
contained in the mIcon member is immediately flushed to disk and the
name of the file replaces it in the TaskDescription. Thereby saving
mucho RAM for better uses.
Fixes bug
17527308.
Change-Id: Ifac63ea5d12ed091d1eb03e178b8b847a827f940
wsmlby [Thu, 18 Sep 2014 21:11:15 +0000 (21:11 +0000)]
Merge "Add leanback support to AppCompatiblityTest" into lmp-dev
wsmlby [Thu, 18 Sep 2014 20:33:18 +0000 (13:33 -0700)]
Add leanback support to AppCompatiblityTest
Change-Id: Ia9da14b8551c4ec5834a047f0792a5a213a3ac04
Christopher Tate [Thu, 18 Sep 2014 20:56:24 +0000 (20:56 +0000)]
Merge "Log alarm delivery only when localLOGV" into lmp-dev
Alan Viverette [Thu, 18 Sep 2014 20:54:43 +0000 (20:54 +0000)]
Merge "Fix parsing of old-style intent URIs" into lmp-dev
Christopher Tate [Thu, 18 Sep 2014 20:47:57 +0000 (13:47 -0700)]
Log alarm delivery only when localLOGV
Logspam is spam.
Change-Id: I3bb63f3026fc6222eb8e1496b3a5db4cdf3c7f57
Svetoslav [Thu, 18 Sep 2014 20:34:22 +0000 (20:34 +0000)]
Merge "Print UI stuck when backing out of documents UI." into lmp-dev
Svetoslav [Thu, 18 Sep 2014 01:38:27 +0000 (18:38 -0700)]
Print UI stuck when backing out of documents UI.
When user chooses to save to PDF we open the document chooser UI.
Now if the user now backs to the print UI without choosing a file,
the print UI has all options disabled and the back button does
not work - the user is stuck. This is because we were not
transitioning the print UI in the correct state.
bug:
17557454
Change-Id: I385129e106ed41564b89137ca54d409127ba8ff0
Alan Viverette [Thu, 18 Sep 2014 20:25:21 +0000 (20:25 +0000)]
Merge "Use action bar theme for action modes, fix ViewStub inflation theme" into lmp-dev
Jon Miranda [Thu, 18 Sep 2014 20:14:04 +0000 (20:14 +0000)]
Merge "Adds support for Theme dumping via DDM." into lmp-dev
John Reck [Thu, 18 Sep 2014 20:01:14 +0000 (20:01 +0000)]
Merge "Revert "Make starting window hw-accelerated"" into lmp-dev
Jeff Brown [Thu, 18 Sep 2014 19:53:36 +0000 (19:53 +0000)]
Merge "Create an Application object for the system process." into lmp-dev
Ye Wen [Thu, 18 Sep 2014 19:53:23 +0000 (19:53 +0000)]
Merge "Add new error result code for mms config loading failure (1/2)" into lmp-dev
Alan Viverette [Thu, 18 Sep 2014 19:53:16 +0000 (12:53 -0700)]
Fix parsing of old-style intent URIs
Improves bounds checking to restrict category matches to within the
category(...) item. Fixes CTS failure in IntentTest.testGetIntentOld().
BUG:
17557490
Change-Id: I1859fe18eaa881b771bab373d705d8fbeb6406c4
Alan Viverette [Thu, 18 Sep 2014 19:45:53 +0000 (12:45 -0700)]
Fix the underlined spinner asset to match text field
Removes the spinner_textfield asset and replaces it with layered
spinner and textfield assets.
BUG:
17557459
Change-Id: I5dc98727c84ec22bc73328f2f94a380d920f1b7d
John Reck [Thu, 18 Sep 2014 19:27:48 +0000 (19:27 +0000)]
Revert "Make starting window hw-accelerated"
Bug:
17516789
This change corresponds to a sudden influx of bad surface crashes.
Reverting to see if stability returns as this was an optimization
CL
This reverts commit
29ff1bc57ac2c995c56f15ed6e56e5fb247b2a44.
Change-Id: I7835e89017161d94ad05fe46d81bd437c3dae3a7
Dianne Hackborn [Thu, 18 Sep 2014 19:24:58 +0000 (19:24 +0000)]
Merge "Lock in final resource IDs." into lmp-dev
Adrian Roos [Thu, 18 Sep 2014 19:11:20 +0000 (21:11 +0200)]
Disable QS user switcher when not supported
Bug:
17570310
Change-Id: Id32e076928c92c663645024f0d38b26ec4667b78
Martijn Coenen [Thu, 18 Sep 2014 18:52:56 +0000 (18:52 +0000)]
Merge "Upper-case incoming AIDs." into lmp-dev
Nancy Chen [Thu, 18 Sep 2014 18:46:42 +0000 (18:46 +0000)]
Merge "Replace get*PhoneAccounts* public API methods with new method (1/3)" into lmp-dev
Ye Wen [Thu, 18 Sep 2014 18:42:45 +0000 (11:42 -0700)]
Add new error result code for mms config loading failure (1/2)
b/
17556258
Change-Id: I589a7b77be215dc98fb9f2c9b1a04cac5ee53558
Winson Chung [Mon, 15 Sep 2014 22:58:25 +0000 (00:58 +0200)]
Enabling recents stack clipping
The taskviews now avoid overdraw by clipping invisible
parts. Also adapted some timings of the animation.
Bug:
17455301
Change-Id: Ifbf7bab363e530cb2ad842baed50fc16dcfcc4c4
Jorim Jaggi [Thu, 18 Sep 2014 18:33:40 +0000 (18:33 +0000)]
Merge "Add option for recents to use fake shadows" into lmp-dev
Selim Cinek [Thu, 18 Sep 2014 18:33:25 +0000 (18:33 +0000)]
Merge "Removed round rect clipping and hardware layers from recents" into lmp-dev
Dianne Hackborn [Thu, 18 Sep 2014 18:32:39 +0000 (11:32 -0700)]
Lock in final resource IDs.
Change-Id: I6da2c05737b7bc361a7c6f0862166f05de86c63f
Adrian Roos [Thu, 18 Sep 2014 18:32:06 +0000 (18:32 +0000)]
Merge "Reinitialize emergency calls only view if configuration changes" into lmp-dev
Jason Monk [Thu, 18 Sep 2014 18:29:50 +0000 (18:29 +0000)]
Merge "Add material camera_click sound" into lmp-dev
Jon Miranda [Tue, 16 Sep 2014 00:48:10 +0000 (17:48 -0700)]
Adds support for Theme dumping via DDM.
Bug:
17515415
Change-Id: Ice145a4b452177e36345cf2e071377bb7b3feeb3
Jason Monk [Mon, 15 Sep 2014 15:13:35 +0000 (11:13 -0400)]
Block QS in sec. users setup when simple
When simple user switcher is enabled block QS for secondary users
during setup.
Bug:
16782635
Change-Id: Ibc39c61675f8728d73a5f8ef04d0613ff36af909
George Mount [Thu, 18 Sep 2014 18:21:09 +0000 (11:21 -0700)]
Fix broken logic in isValidTarget
Bug
17553253
Change-Id: I9f3f2c80e59128fd5f8d4b1b2a67692c00804f62
Esteban Talavera [Thu, 18 Sep 2014 18:15:47 +0000 (18:15 +0000)]
Merge "Make dpm command output more test friendly" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:31 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:10:14 +0000 (18:10 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Thu, 18 Sep 2014 18:00:16 +0000 (18:00 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev
Esteban Talavera [Thu, 18 Sep 2014 17:32:45 +0000 (18:32 +0100)]
Make dpm command output more test friendly
Added 'Success' at the beginning of the command output every time
it didn't fail, so that we can easily check the output in tests.
The command is brand new, only used by us on CTS tests, so this
shouldn't break anybody.
Bug:
17312478
Change-Id: Ie67bf5b2f44e658e7009e5bd87f8cb81be515584
Craig Mautner [Thu, 18 Sep 2014 17:20:50 +0000 (17:20 +0000)]
Merge "Don't remove active stacks from window manager" into lmp-dev
Alexandra Gherghina [Thu, 18 Sep 2014 17:07:12 +0000 (17:07 +0000)]
Merge "Add new icon for managed provisioning" into lmp-dev
George Mount [Thu, 18 Sep 2014 16:56:44 +0000 (16:56 +0000)]
Merge "Default to using hardware layer during fade transition." into lmp-dev
Jason Monk [Thu, 18 Sep 2014 15:21:57 +0000 (11:21 -0400)]
Add material camera_click sound
Bug:
17281234
Change-Id: I3f9a7592cfe8171fcae44ea075bf7faafaa482fe
Jason Monk [Thu, 18 Sep 2014 16:12:05 +0000 (16:12 +0000)]
Merge "Fix crash from USER_PRESENT broadcast in sysui" into lmp-dev
Kenny Guy [Thu, 18 Sep 2014 15:24:31 +0000 (16:24 +0100)]
Remove suggested key names as its confusing.
Update java doc to not suggest package names
as it confused people into thinking it would
limit access to that package which isn't the
case.
Bug:
15177676
Change-Id: I0736976956d8bb604e5097326c8c4316b3007d64
Adrian Roos [Thu, 18 Sep 2014 15:25:09 +0000 (17:25 +0200)]
Fix wrong face unlock size
Bug:
17533062
Change-Id: I532d7197fcd59baffd8f6c4e76a9fb8eda389eac
Alexandra Gherghina [Thu, 18 Sep 2014 15:14:10 +0000 (16:14 +0100)]
Add new icon for managed provisioning
This will be used for managed provisioning notifications and status
bar.
Bug:
17521583
Change-Id: Ic92d52a6a6366ca696ee85f42325f64ecce744b9
Jason Monk [Wed, 17 Sep 2014 20:22:19 +0000 (16:22 -0400)]
Fix crash from USER_PRESENT broadcast in sysui
Since sending the USER_PRESENT broadcast too early in the boot
process can result in a SecurityException, don't do auto-unlock
until after the boot has completed.
Bug:
17464800
Change-Id: Iee3d0b9723ed38abddf0bdde009f95331881008b
Alexandra Gherghina [Thu, 18 Sep 2014 13:07:26 +0000 (13:07 +0000)]
Merge "Fix broken svg icon" into lmp-dev